⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.ne2000

📁 UBOOT 源码
💻 NE2000
字号:
This driver supports NE2000 compatible cards (those based on DP8390,DP83902 and similar). It can be used with PCMCIA/CF cards providedthat the CCR is correctly initialized.The code is based on sources from the Linux kernel (pcnet_cs.c,8390.h) and eCOS(if_dp83902a.c, if_dp83902a.h). Both of these 2wonderful world are GPL, so this is, of course, GPL.I developed and tested this driver on a custom PXA255 based system andwith a billionton CF network card connected to the PCMCIA interface ofthe micro (have a look at README.PXA_CF for the support of this port).The options you have to specify in the config file are (with thevalue for my board as an example):#define CONFIG_DRIVER_NE2000- Enables the driver#define CONFIG_DRIVER_NE2000_BASE (0x20000000+0x300)- Address where the board is mapped#define CONFIG_DRIVER_NE2000_CCR (0x28000000+0x3f8)- Address of the CCR (card configuration register). It could be foundby enabling DEBUG in cmd_pcmcia.c. If this is not defined nothing isdone as far as PCMCIA support is concerned.#define CONFIG_DRIVER_NE2000_VAL (0x20)- The value to be written in the CCR. It selects among different I/Ospaces that could be used by the card.Enjoy!Christian Pellegrin <chri@ascensit.com>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -