linux/include/linux/pxa168_eth.h
<<
>>
Prefs
   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
   7
   8#include <linux/phy.h>
   9
  10struct pxa168_eth_platform_data {
  11        int     port_number;
  12        int     phy_addr;
  13
  14        /*
  15         * If speed is 0, then speed and duplex are autonegotiated.
  16         */
  17        int     speed;          /* 0, SPEED_10, SPEED_100 */
  18        int     duplex;         /* DUPLEX_HALF or DUPLEX_FULL */
  19        phy_interface_t intf;
  20
  21        /*
  22         * Override default RX/TX queue sizes if nonzero.
  23         */
  24        int     rx_queue_size;
  25        int     tx_queue_size;
  26
  27        /*
  28         * init callback is used for board specific initialization
  29         * e.g on Aspenite its used to initialize the PHY transceiver.
  30         */
  31        int (*init)(void);
  32};
  33
  34#endif /* __LINUX_PXA168_ETH_H */
  35