RTL8169: Difference between revisions

477 bytes added ,  15 years ago
no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 1:
{{Stub}}
 
'''Programming Guide for the RTL8169(S)-32/64 Network Interface Chipsets'''
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.
 
Line 31 ⟶ 32:
struct Descriptor
{
unsigned int command, /* command/status dword */
vlan, /* currently unused */
low_buf, /* low 32-bits of physical buffer address */
high_buf; /* high 32-bits of physical buffer address */
};
Line 50 ⟶ 51:
else
{Rx_Descriptors[i].command = (OWN | (rx_buffer_len & 0x3FFF));}
/* VLAN adjustments are not part of this guide at the moment - leave as zeros for normal operation */
Rx_Descriptors[i].low_buf = (unsigned int)&packet_buffer_address; /* this is where the packet data will go */
/* if you are programming for a 64-bit OS, put the high memory location in the 'high_buf' descriptor area */
Line 90 ⟶ 92:
struct Descriptor
{
unsigned int command, /* command/status dword */
vlan, /* currently unused */
low_buf, /* low 32-bits of physical buffer address */
high_buf; /* high 32-bits of physical buffer address */
};
Anonymous user