1*8ed96046SwdenkThis driver supports NE2000 compatible cards (those based on DP8390, 2*8ed96046SwdenkDP83902 and similar). It can be used with PCMCIA/CF cards provided 3*8ed96046Swdenkthat the CCR is correctly initialized. 4*8ed96046Swdenk 5*8ed96046SwdenkThe code is based on sources from the Linux kernel (pcnet_cs.c, 6*8ed96046Swdenk8390.h) and eCOS(if_dp83902a.c, if_dp83902a.h). Both of these 2 7*8ed96046Swdenkwonderful world are GPL, so this is, of course, GPL. 8*8ed96046Swdenk 9*8ed96046SwdenkI developed and tested this driver on a custom PXA255 based system and 10*8ed96046Swdenkwith a billionton CF network card connected to the PCMCIA interface of 11*8ed96046Swdenkthe micro (have a look at README.PXA_CF for the support of this port). 12*8ed96046Swdenk 13*8ed96046SwdenkThe options you have to specify in the config file are (with the 14*8ed96046Swdenkvalue for my board as an example): 15*8ed96046Swdenk 16*8ed96046Swdenk#define CONFIG_DRIVER_NE2000 17*8ed96046Swdenk 18*8ed96046Swdenk- Enables the driver 19*8ed96046Swdenk 20*8ed96046Swdenk#define CONFIG_DRIVER_NE2000_BASE (0x20000000+0x300) 21*8ed96046Swdenk 22*8ed96046Swdenk- Address where the board is mapped 23*8ed96046Swdenk 24*8ed96046Swdenk#define CONFIG_DRIVER_NE2000_CCR (0x28000000+0x3f8) 25*8ed96046Swdenk 26*8ed96046Swdenk- Address of the CCR (card configuration register). It could be found 27*8ed96046Swdenkby enabling DEBUG in cmd_pcmcia.c. If this is not defined nothing is 28*8ed96046Swdenkdone as far as PCMCIA support is concerned. 29*8ed96046Swdenk 30*8ed96046Swdenk#define CONFIG_DRIVER_NE2000_VAL (0x20) 31*8ed96046Swdenk 32*8ed96046Swdenk- The value to be written in the CCR. It selects among different I/O 33*8ed96046Swdenkspaces that could be used by the card. 34*8ed96046Swdenk 35*8ed96046Swdenk 36*8ed96046SwdenkEnjoy! 37*8ed96046Swdenk 38*8ed96046SwdenkChristian Pellegrin <chri@ascensit.com> 39