pxa168_eth.h 642 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. *pxa168 ethernet platform device data definition file.
  3. */
  4. #ifndef __LINUX_PXA168_ETH_H
  5. #define __LINUX_PXA168_ETH_H
  6. struct pxa168_eth_platform_data {
  7. int port_number;
  8. int phy_addr;
  9. /*
  10. * If speed is 0, then speed and duplex are autonegotiated.
  11. */
  12. int speed; /* 0, SPEED_10, SPEED_100 */
  13. int duplex; /* DUPLEX_HALF or DUPLEX_FULL */
  14. /*
  15. * Override default RX/TX queue sizes if nonzero.
  16. */
  17. int rx_queue_size;
  18. int tx_queue_size;
  19. /*
  20. * init callback is used for board specific initialization
  21. * e.g on Aspenite its used to initialize the PHY transceiver.
  22. */
  23. int (*init)(void);
  24. };
  25. #endif /* __LINUX_PXA168_ETH_H */