Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / linux / pxa168_eth.h
blobfb09c2c7cb75e036aed944dc986fda56f3bb8902
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 *pxa168 ethernet platform device data definition file.
4 */
5 #ifndef __LINUX_PXA168_ETH_H
6 #define __LINUX_PXA168_ETH_H
8 #include <linux/phy.h>
10 struct pxa168_eth_platform_data {
11 int port_number;
12 int phy_addr;
15 * If speed is 0, then speed and duplex are autonegotiated.
17 int speed; /* 0, SPEED_10, SPEED_100 */
18 int duplex; /* DUPLEX_HALF or DUPLEX_FULL */
19 phy_interface_t intf;
22 * Override default RX/TX queue sizes if nonzero.
24 int rx_queue_size;
25 int tx_queue_size;
28 * init callback is used for board specific initialization
29 * e.g on Aspenite its used to initialize the PHY transceiver.
31 int (*init)(void);
34 #endif /* __LINUX_PXA168_ETH_H */