Cirrus Logic ep93xx ethernet driver
Subsystems (2)
PATCH 1/1 Cirrus Logic ep93xx ethernet driver
The Cirrus Logic ep93xx is an ARM SoC that includes an ethernet MAC -- this patch adds a driver for that ethernet MAC.
Signed-off-by Lennert Buytenhek <[email protected]>
drivers/net/arm/Kconfig +7 -0
@@ -39,3 +39,10 @@ config ARM_AT91_ETHER help If you wish to compile a kernel for the AT91RM9200 and enable ethernet support, then you should always answer Y to this. + +config EP93XX_ETH + tristate "EP93xx Ethernet support" + depends on NET_ETHERNET && ARM && ARCH_EP93XX + help + This is a driver for the ethernet hardware included in EP93xx CPUs. + Say Y if you are building a kernel for EP93xx based devices.
drivers/net/arm/Makefile +1 -0
@@ -8,3 +8,4 @@ obj-$(CONFIG_ARM_ETHERH) += etherh.o obj-$(CONFIG_ARM_ETHER3) += ether3.o obj-$(CONFIG_ARM_ETHER1) += ether1.o obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o +obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o
drivers/net/arm/ep93xx_eth.c new file +944 -0
944 lines not on this page · raw message
include/asm-arm/arch-ep93xx/ep93xx-regs.h +1 -0
@@ -27,6 +27,7 @@#define EP93XX_DMA_BASE (EP93XX_AHB_VIRT_BASE + 0x00000000)#define EP93XX_ETHERNET_BASE (EP93XX_AHB_VIRT_BASE + 0x00010000) +#define EP93XX_ETHERNET_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00010000)#define EP93XX_USB_BASE (EP93XX_AHB_VIRT_BASE + 0x00020000)#define EP93XX_USB_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00020000)
include/asm-arm/arch-ep93xx/platform.h +6 -0
@@ -11,5 +11,11 @@ void ep93xx_init_devices(void);void ep93xx_clock_init (void );extern struct sys_timer ep93xx_timer; +struct ep93xx_eth_data +{ +unsigned char dev_addr[6 ]; +unsigned char phy_id; +}; +#endif
Jeff Garzik
Appliedapplied