| .. | .. |
|---|
| 15 | 15 | #ifndef __ASSEMBLY__ |
|---|
| 16 | 16 | |
|---|
| 17 | 17 | #include <linux/reboot.h> |
|---|
| 18 | +#include <linux/platform_data/eth_ixp4xx.h> |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | #include <asm/types.h> |
|---|
| 20 | 21 | |
|---|
| .. | .. |
|---|
| 90 | 91 | unsigned long cs1_bits; |
|---|
| 91 | 92 | void __iomem *cs0; |
|---|
| 92 | 93 | void __iomem *cs1; |
|---|
| 93 | | -}; |
|---|
| 94 | | - |
|---|
| 95 | | -#define IXP4XX_ETH_NPEA 0x00 |
|---|
| 96 | | -#define IXP4XX_ETH_NPEB 0x10 |
|---|
| 97 | | -#define IXP4XX_ETH_NPEC 0x20 |
|---|
| 98 | | - |
|---|
| 99 | | -/* Information about built-in Ethernet MAC interfaces */ |
|---|
| 100 | | -struct eth_plat_info { |
|---|
| 101 | | - u8 phy; /* MII PHY ID, 0 - 31 */ |
|---|
| 102 | | - u8 rxq; /* configurable, currently 0 - 31 only */ |
|---|
| 103 | | - u8 txreadyq; |
|---|
| 104 | | - u8 hwaddr[6]; |
|---|
| 105 | | -}; |
|---|
| 106 | | - |
|---|
| 107 | | -/* Information about built-in HSS (synchronous serial) interfaces */ |
|---|
| 108 | | -struct hss_plat_info { |
|---|
| 109 | | - int (*set_clock)(int port, unsigned int clock_type); |
|---|
| 110 | | - int (*open)(int port, void *pdev, |
|---|
| 111 | | - void (*set_carrier_cb)(void *pdev, int carrier)); |
|---|
| 112 | | - void (*close)(int port, void *pdev); |
|---|
| 113 | | - u8 txreadyq; |
|---|
| 114 | 94 | }; |
|---|
| 115 | 95 | |
|---|
| 116 | 96 | /* |
|---|