"); //-->
cp * ../linux-2.6.22.1/drivers/net/arm
2.vi include/asm-arm/arch-s3c2410/smdk2410.h
#define pSMDK2410_ETH_IO __phys_to_pfn(0x19000000)
#define vSMDK2410_ETH_IO 0xE0000000
#define SMDK2410_EHT_IRQ IRQ_EINT9
3.vi arch/arm/mach-s3c2410/mach-smdk2410.c
#i nclude <asm/arch/smdk2410.h>
在map_desc smdk2410_iodesc[]
中添加cs8900的对于的io空间映射
static struct map_desc smdk2410_iodesc[] __initdata = {
/* nothing here yet */
{ vSMDK2410_ETH_IO , pSMDK2410_ETH_IO, SZ_1M, MT_DEVICE },
};
4.vi drivers/net/arm/Kconfig
config ARM_CS8900
tristate "CS8900 support"
depends on NET_ETHERNET && ARM && ARCH_SMDK2410
help
Support for CS8900A chipset based Ethernet cards. If you have a network (Ethernet) card of this type, say Y and read the Ethernet-HOWTO,available from as well as .To compile this driver as a module, choose M here and read .The module will be called cs8900.o.
5.vi drivers/net/arm/Makefile
obj-$(CONFIG_ARM_CS8900) += cs8900.o
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。