Blame view
include/linux/sh_eth.h
420 Bytes
71557a37a
|
1 2 |
#ifndef __ASM_SH_ETH_H__ #define __ASM_SH_ETH_H__ |
e47c90523
|
3 |
#include <linux/phy.h> |
574e2af7c
|
4 |
#include <linux/if_ether.h> |
e47c90523
|
5 |
|
71557a37a
|
6 7 8 9 |
enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN}; struct sh_eth_plat_data { int phy; |
18be099ba
|
10 |
int phy_irq; |
71557a37a
|
11 |
int edmac_endian; |
e47c90523
|
12 |
phy_interface_t phy_interface; |
8eac3f60a
|
13 |
void (*set_mdio_gate)(void *addr); |
4923576b8
|
14 |
|
574e2af7c
|
15 |
unsigned char mac_addr[ETH_ALEN]; |
4923576b8
|
16 17 |
unsigned no_ether_link:1; unsigned ether_link_active_low:1; |
150647fb2
|
18 |
unsigned needs_init:1; |
71557a37a
|
19 20 21 |
}; #endif |