5.18. Realtek RTL8169 - emllRTL8169

The parameters to the Realtek RTL8169 Link Layer are setup-specific. The function CreateLinkParmsFromCmdLineRTL8169() in EcSelectLinkLayer.cpp demonstrates how to initialize the Link Layer instance.

Public Members

Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_RTL8169

EC_TRUE: copy buffer before processing, EC_FALSE: Use buffers from DMA (default)

Acknowledge errors in interrupt handler

Receive buffer count. Must be a power of 2, maximum 1024

Transmit buffer count. Must be a power of 2, maximum 1024

Don’t use MDIO to set up the PHY

5.18.1. RTL8169 usage under Linux

Because the Linux Kernel module de-initializes the PHY on unloading, Linux must be prevented from loading the r8169 module on startup.

5.18.2. Supported PCI devices

RealTek RTL8169 PCI specific definitions (VendorId, DeviceId)

  • PCI_DEVICE_RTL8169 (0x10EC, 0x8169)

  • PCI_DEVICE_RTL8168 (0x10EC/0x19EC, 0x8168)

  • PCI_DEVICE_RTL8169_SC (0x10EC, 0x8167)

  • PCI_DEVICE_DLINK_RTL8169 (0x1186, 0x4300)

  • PCI_DEVICE_RTL8103 (0x10EC, 0x8136)

  • PCI_DEVICE_KILLER_E2600 (0x10EC, 0x2600)

  • PCI_DEVICE_RTL8125 (0x10EC, 0x8125)

  • PCI_DEVICE_RTL8161 (0x10EC, 0x8161)