]> 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)
commit4dc8fe1c8b658603005680f27908c4636f93c7b1
tree2658bdb4bef662c7febf304de65b6bd15a05dd32
parentfe0bb5c168a001317cfde6c2d0eba554ddc92f6d
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