]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/pxa168_eth.h
UBUNTU: SAUCE: LSM stacking: procfs: add smack subdir to attrs
[mirror_ubuntu-artful-kernel.git] / include / linux / pxa168_eth.h
1 /*
2 *pxa168 ethernet platform device data definition file.
3 */
4 #ifndef __LINUX_PXA168_ETH_H
5 #define __LINUX_PXA168_ETH_H
6
7 #include <linux/phy.h>
8
9 struct pxa168_eth_platform_data {
10 int port_number;
11 int phy_addr;
12
13 /*
14 * If speed is 0, then speed and duplex are autonegotiated.
15 */
16 int speed; /* 0, SPEED_10, SPEED_100 */
17 int duplex; /* DUPLEX_HALF or DUPLEX_FULL */
18 phy_interface_t intf;
19
20 /*
21 * Override default RX/TX queue sizes if nonzero.
22 */
23 int rx_queue_size;
24 int tx_queue_size;
25
26 /*
27 * init callback is used for board specific initialization
28 * e.g on Aspenite its used to initialize the PHY transceiver.
29 */
30 int (*init)(void);
31 };
32
33 #endif /* __LINUX_PXA168_ETH_H */