Blame view
include/linux/pxa168_eth.h
689 Bytes
a49f37eed net: add Fast Eth... |
1 2 3 4 5 |
/* *pxa168 ethernet platform device data definition file. */ #ifndef __LINUX_PXA168_ETH_H #define __LINUX_PXA168_ETH_H |
95f259ca3 net: pxa168_eth: ... |
6 |
#include <linux/phy.h> |
a49f37eed net: add Fast Eth... |
7 8 9 10 11 12 13 14 15 |
struct pxa168_eth_platform_data { int port_number; int phy_addr; /* * If speed is 0, then speed and duplex are autonegotiated. */ int speed; /* 0, SPEED_10, SPEED_100 */ int duplex; /* DUPLEX_HALF or DUPLEX_FULL */ |
e7de17abe net: pxa168_eth: ... |
16 |
phy_interface_t intf; |
a49f37eed net: add Fast Eth... |
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
/* * Override default RX/TX queue sizes if nonzero. */ int rx_queue_size; int tx_queue_size; /* * init callback is used for board specific initialization * e.g on Aspenite its used to initialize the PHY transceiver. */ int (*init)(void); }; #endif /* __LINUX_PXA168_ETH_H */ |