• Deepak Saxena's avatar
    [PATCH] Add IXDP2x01 board support to CS89x0 driver · c7796032
    Deepak Saxena authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c7796032
cs89x0.h 16.1 KB