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