diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-09-21 20:28:13 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-22 20:13:23 -0400 |
commit | 1d22e05df8183b36b3cc0760344774040abc74d5 (patch) | |
tree | ec560b450a60045d0607b450ced38b60a9db9ecb /include/asm-arm | |
parent | 28eb177dfa5982d132edceed891cb3885df258bb (diff) |
[PATCH] 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 <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-ep93xx/ep93xx-regs.h | 1 | ||||
-rw-r--r-- | include/asm-arm/arch-ep93xx/platform.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ep93xx/ep93xx-regs.h b/include/asm-arm/arch-ep93xx/ep93xx-regs.h index 8c322975f96e..593f562f85c3 100644 --- a/include/asm-arm/arch-ep93xx/ep93xx-regs.h +++ b/include/asm-arm/arch-ep93xx/ep93xx-regs.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #define EP93XX_DMA_BASE (EP93XX_AHB_VIRT_BASE + 0x00000000) | 27 | #define EP93XX_DMA_BASE (EP93XX_AHB_VIRT_BASE + 0x00000000) |
28 | 28 | ||
29 | #define EP93XX_ETHERNET_BASE (EP93XX_AHB_VIRT_BASE + 0x00010000) | 29 | #define EP93XX_ETHERNET_BASE (EP93XX_AHB_VIRT_BASE + 0x00010000) |
30 | #define EP93XX_ETHERNET_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00010000) | ||
30 | 31 | ||
31 | #define EP93XX_USB_BASE (EP93XX_AHB_VIRT_BASE + 0x00020000) | 32 | #define EP93XX_USB_BASE (EP93XX_AHB_VIRT_BASE + 0x00020000) |
32 | #define EP93XX_USB_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00020000) | 33 | #define EP93XX_USB_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00020000) |
diff --git a/include/asm-arm/arch-ep93xx/platform.h b/include/asm-arm/arch-ep93xx/platform.h index d7a34ce20293..b4a8deb8bdef 100644 --- a/include/asm-arm/arch-ep93xx/platform.h +++ b/include/asm-arm/arch-ep93xx/platform.h | |||
@@ -11,5 +11,11 @@ void ep93xx_init_devices(void); | |||
11 | void ep93xx_clock_init(void); | 11 | void ep93xx_clock_init(void); |
12 | extern struct sys_timer ep93xx_timer; | 12 | extern struct sys_timer ep93xx_timer; |
13 | 13 | ||
14 | struct ep93xx_eth_data | ||
15 | { | ||
16 | unsigned char dev_addr[6]; | ||
17 | unsigned char phy_id; | ||
18 | }; | ||
19 | |||
14 | 20 | ||
15 | #endif | 21 | #endif |