RTL8169: Difference between revisions

424 bytes added ,  3 years ago
m
Add device IDs and note about 64-bit descriptor address writes.
[unchecked revision][unchecked revision]
(Remove stub status, as it isn't a stub)
m (Add device IDs and note about 64-bit descriptor address writes.)
Line 2:
 
The RTL8169 is Realtek's next generation of high-performance network cards. This particular chipset is designed to operate at 10/100/1000 Mbps speeds.
 
== Identification ==
The basic interface for the RTL8169 series is common in several Realtek network cards. This applies to the following noncomprehensive list of PCI Vendor and Device IDs from FreeBSD's re driver:
* 10ec:8161
* 10ec:8168
* 10ec:8169
* 1259:c107
* 1737:1032
* 16ec:0116
 
== Basic Startup ==
Line 165 ⟶ 174:
typically not the case in real world kernels
*/
outportl(ioaddr + 0x20, (unsigned long)&Tx_Descriptors[0]; /* Tell the NIC where the first Tx descriptor is. NOTE: If writing a 64-bit address, split it into two 32-bit writes.*/
outportl(ioaddr + 0xE4, (unsigned long)&Rx_Descriptors[0]; /* Tell the NIC where the first Rx descriptor is. NOTE: If writing a 64-bit address, split it into two 32-bit writes.*/
outportb(ioaddr + 0x37, 0x0C); /* Enable Rx/Tx in the Command register */
Anonymous user