]> git.baikalelectronics.ru Git - kernel.git/commit
defxx: Clean up DEFEA resource management
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 21 Nov 2014 14:10:08 +0000 (14:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 21:37:13 +0000 (16:37 -0500)
commit1748761b361f36057d8e2c03408415af47faab10
tree2658bdb4bef662c7febf304de65b6bd15a05dd32
parent536455525a4b13f0def95a7357f9fe3e8c703c11
defxx: Clean up DEFEA resource management

Reserve DEFEA resources according to actual use.  There are three
regions, for the ESIC ASIC's CSRs, for the discrete Burst Holdoff
register, and for the PDQ ASIC's CSRs.  The latter is mapped in the
memory or port I/O address space depending on configuration.  The two
formers are hardwired and always mapped in the port I/O address space.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/defxx.c
drivers/net/fddi/defxx.h