-
Notifications
You must be signed in to change notification settings - Fork 0
pychuang/linux.ftmac100
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This package includes: * FTMAC100 driver which supports kernel version >= 2.6.32 Usage: * put the following code in your platform-dpendent initialization sequence. ------------------------>8-------------------------->8------------------------ static struct resource ftmac100_0_resources[] = { { .start = A320_FTMAC100_0_PA_BASE, .end = A320_FTMAC100_0_PA_BASE + SZ_4K - 1, .flags = IORESOURCE_MEM, }, { .start = IRQ_A320_FTMAC100_0, .flags = IORESOURCE_IRQ, }, }; static struct platform_device ftmac100_0_device = { .name = "ftmac100", .id = 0, .dev = { .coherent_dma_mask = DMA_BIT_MASK(32), }, .num_resources = ARRAY_SIZE(ftmac100_0_resources), .resource = ftmac100_0_resources, }; platform_device_register(&ftmac100_0_device); ------------------------>8-------------------------->8------------------------ * make sure the following config options are set CONFIG_NETDEVICES=y CONFIG_NET_ETHERNET=y CONFIG_HAS_DMA=y CONFIG_MII=y
About
Faraday FTMAC100 Ethernet Linux driver which supports kernel version >= 2.6.32
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published