Configuration Options


Set the system configuration options in the file src/config/config_ethdriver_microchip_lan7500.h, as described below.  This section lists the available configuration options and their default values.

ETHDRV_MICROCHIP_LAN7500_LINK_STATUS_POLL_INTERVAL

The poll interval of link status in milliseconds. The default is 500.

Note: Checksum offloading does not work on the LAN9500, so the following four options do not apply to that device.

ETHDRV_MICROCHIP_LAN7500_RX_IP_CHKSUM

Keep this at the default value of 1 to check and filter the checksums of incoming IP packets on the USB Ethernet adapter. Set it to 0 to disable this.

ETHDRV_MICROCHIP_LAN7500_RX_TCPUDP_CHKSUM

Keep this at the default value of 1 to check and filter the checksums of incoming TCP/UDP packets on the USB Ethernet adapter. Set it to 0 to disable this.

ETHDRV_MICROCHIP_LAN7500_TX_IP_CHKSUM

Keep this at the default value of 1 to calculate the checksums of outgoing IP headers on the USB Ethernet adapter. Set it to 0 to disable this.

ETHDRV_MICROCHIP_LAN7500_TX_TCPUDP_CHKSUM

Keep this at the default value of 1 to calculate the checksums of outgoing TCP/UDP headers on the USB Ethernet adapter. Set it to 0 to disable this.

ETHDRV_MICROCHIP_LAN7500_TR_BUF_SIZE

The size of the transfer buffer that contains receive and transmit buffers. The default is ( 32 * 1024 ).