]> git.hungrycats.org Git - linux/commit
[PATCH] Add IXDP2x01 board support to CS89x0 driver
authorDeepak Saxena <dsaxena@plexity.net>
Fri, 3 Sep 2004 03:26:05 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:26:05 +0000 (20:26 -0700)
commitc77960329ba6a2a819b777224b23039ca2b2f927
treec5a48fa1b076838fe6a777646da863d0d355ccf2
parent973705e279f25125d89424f829fa559863cc05e7
[PATCH] Add IXDP2x01 board support to CS89x0 driver

The following patch modifies the CS89x0 driver to work on Intel's IXDP2401
and IXDP2801 (Intel ARm/XScale based) platforms:

- The main change requried is that the IXDP2x01 boards have the
  chip connected through a CPLD so all registers appear at
  dword-aligned addresses. A macro in the header adjusts the register
  offsets appropriately.

- The boards do not have ISA, so we need to explicitly check for
  IXDP2X01 in Kconfig.

- There is what I believe is a bug in the driver as it currently
  only asks for the signature if ioaddr & 1 is set but then
  reads and checks against the expected signature even when
  !(ioaddr & 1). This causes the driver to not load on the IXDP2x01
  since our ioaddr does not have bit 1 set.

- #ifdef out some bits of code that assume the chip is really
  sitting on an ISA bus.

The main IXDP2x01 support will be coming in through rmk's tree at
a later date when all the drivers are merged upstream.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/Kconfig
drivers/net/cs89x0.c
drivers/net/cs89x0.h