5.24. Realtek RTL8169 - emllRTL8169
The parameters to the Real-time Ethernet Driver Realtek RTL8169 are setup-specific. The function CreateLinkParmsFromCmdLineRTL8169()
in EcSelectLinkLayer.cpp
demonstrates how to initialize the Real-time Ethernet Driver instance.
-
struct EC_T_LINK_PARMS_RTL8169
Public Members
-
EC_T_LINK_PARMS linkParms
Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_RTL8169
-
EC_T_BOOL bNotUseDmaBuffers
EC_FALSE: Use buffers from DMA for receive (default), EC_TRUE: use buffers from heap for receive. EcLinkAllocSendFrame is not supported if bNotUseDmaBuffers = EC_TRUE.
-
EC_T_BOOL bAckErrInIrq
Acknowledge errors in interrupt handler
-
EC_T_DWORD dwRxBuffers
Receive buffer count. Must be a power of 2, maximum 1024
-
EC_T_DWORD dwTxBuffers
Transmit buffer count. Must be a power of 2, maximum 1024
-
EC_T_BOOL bNoPhyAccess
Don’t use MDIO to set up the PHY
5.24.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.24.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)
|