diff options
author | Sachin Sanap <ssanap@marvell.com> | 2010-08-13 21:22:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-18 23:30:42 -0700 |
commit | a49f37eed22b74221f271811ea41323654e40dad (patch) | |
tree | 479815196c1fa81aeb9df013eff572f1c63b759e /include | |
parent | e5093aec2e6b60c3df2420057ffab9ed4a6d2792 (diff) | |
download | linux-a49f37eed22b74221f271811ea41323654e40dad.tar.gz linux-a49f37eed22b74221f271811ea41323654e40dad.tar.bz2 linux-a49f37eed22b74221f271811ea41323654e40dad.zip |
net: add Fast Ethernet driver for PXA168.
Signed-off-by: Sachin Sanap <ssanap@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pxa168_eth.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/pxa168_eth.h b/include/linux/pxa168_eth.h new file mode 100644 index 000000000000..18d75e795606 --- /dev/null +++ b/include/linux/pxa168_eth.h @@ -0,0 +1,30 @@ +/* + *pxa168 ethernet platform device data definition file. + */ +#ifndef __LINUX_PXA168_ETH_H +#define __LINUX_PXA168_ETH_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 */ + + /* + * 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 */ |