]> git.baikalelectronics.ru Git - kernel.git/commit
defxx: Correct DEFEA's ESIC MMIO decoding
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 21 Nov 2014 14:09:57 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 21:37:13 +0000 (16:37 -0500)
commit9f55900a51060cbfde14f9d3ed43856afe3333a7
treed8131b7c12ad58befd1004d1cfaba4a40d43e277
parentb5d11a03907f4e3a3f12b95a81a4538354c751cd
defxx: Correct DEFEA's ESIC MMIO decoding

Use ESIC's memory area 1 (MEMCS1) and its Memory Address High Compare
and Memory Address Low Compare registers to set up the MMIO range for
decoding accesses to PDQ ASIC registers.  Previously the PDQ ASIC was
thought to be addressable with the memory area 0 (MEMCS0) and its Memory
Address Compare and Memory Address Mask registers.

The MMIO range allocated for the option card is preset via ECU (EISA
Configuration Utility) and can be disabled, so handle such a case
gracefully too.

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