RTL8169: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Add device IDs and note about 64-bit descriptor address writes.
m unsigned int -> uint32_t
Line 46: Line 46:
eg:
eg:
<source lang="c">
<source lang="c">
struct Descriptor
struct Descriptor {
uint32_t command; /* command/status uint32_t */
{
unsigned int command, /* command/status uint32_t */
uint32_t vlan; /* currently unused */
uint32_t low_buf; /* low 32-bits of physical buffer address */
vlan, /* currently unused */
low_buf, /* low 32-bits of physical buffer address */
uint32_t high_buf; /* high 32-bits of physical buffer address */
high_buf; /* high 32-bits of physical buffer address */
};
};