s390/dasd: fix failfast for disconnected devices
[linux-2.6/btrfs-unstable.git] / include / linux / pxa168_eth.h
blobe1ab6e86cdb39491e9a1a311d1e6323bf0b2f9ad
1 /*
2 *pxa168 ethernet platform device data definition file.
3 */
4 #ifndef __LINUX_PXA168_ETH_H
5 #define __LINUX_PXA168_ETH_H
7 #include <linux/phy.h>
9 struct pxa168_eth_platform_data {
10 int port_number;
11 int phy_addr;
14 * If speed is 0, then speed and duplex are autonegotiated.
16 int speed; /* 0, SPEED_10, SPEED_100 */
17 int duplex; /* DUPLEX_HALF or DUPLEX_FULL */
18 phy_interface_t intf;
21 * Override default RX/TX queue sizes if nonzero.
23 int rx_queue_size;
24 int tx_queue_size;
27 * init callback is used for board specific initialization
28 * e.g on Aspenite its used to initialize the PHY transceiver.
30 int (*init)(void);
33 #endif /* __LINUX_PXA168_ETH_H */