mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 14:09:55 +07:00
95f259ca3b
Do not add phy include to the board file but platform_data include instead. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
34 lines
689 B
C
34 lines
689 B
C
/*
|
|
*pxa168 ethernet platform device data definition file.
|
|
*/
|
|
#ifndef __LINUX_PXA168_ETH_H
|
|
#define __LINUX_PXA168_ETH_H
|
|
|
|
#include <linux/phy.h>
|
|
|
|
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 */
|
|
phy_interface_t intf;
|
|
|
|
/*
|
|
* 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 */
|