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)
commit4d0438e56a8f9a1a18ba31bd53b9dc67af224980
tree2658bdb4bef662c7febf304de65b6bd15a05dd32
parent6a931423c918633d4d0cda96df042d7e44ad06b0
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