KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Macros | |
#define | RT_ERTH(n) ((n) <<24) |
Early RX Threshold multiplier n/16 or 0 for none. | |
#define | RT_RXC_MulERINT 0x00020000 |
0 for Early Receive Interrupt only on familiar protocols 1 for any | |
#define | RT_RXC_RER8 0x00010000 |
1 sets the acceptance of runt error packets | |
#define | RT_RXC_RXFTH(n) ((n) <<13) |
2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for none | |
#define | RT_RXC_RBLEN(n) ((n) <<11) |
Set Rx ring buffer len to 16b + 2^(3+n) kb. | |
#define | RT_RXC_MXDMA(n) ((n) << 8) |
2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for unlimited | |
#define | RT_RXC_WRAP 0x00000080 |
0 to use wrapping mode or 1 to not (Ignored for 64Kb buffer length) | |
#define | RT_RXC_9356SEL 0x00000040 |
0 if EEPROM is 9346, 1 if 9356. | |
#define | RT_RXC_AER 0x00000020 |
Accept Error Packets. | |
#define | RT_RXC_AR 0x00000010 |
Accept Runt (8-64 byte) Packets. | |
#define | RT_RXC_AB 0x00000008 |
Accept Broadcast Packets. | |
#define | RT_RXC_AM 0x00000004 |
Accept Multicast Packets. | |
#define | RT_RXC_APM 0x00000002 |
Accept Physical Match Packets. | |
#define | RT_RXC_AAP 0x00000001 |
Accept Physical Address Packets. | |
From RTL8139C(L) datasheet v1.4.
#define RT_ERTH | ( | n | ) | ((n) <<24) |
Early RX Threshold multiplier n/16 or 0 for none.
#define RT_RXC_9356SEL 0x00000040 |
0 if EEPROM is 9346, 1 if 9356.
RO
#define RT_RXC_AAP 0x00000001 |
Accept Physical Address Packets.
#define RT_RXC_AB 0x00000008 |
Accept Broadcast Packets.
#define RT_RXC_AER 0x00000020 |
Accept Error Packets.
#define RT_RXC_AM 0x00000004 |
Accept Multicast Packets.
#define RT_RXC_APM 0x00000002 |
Accept Physical Match Packets.
#define RT_RXC_AR 0x00000010 |
Accept Runt (8-64 byte) Packets.
#define RT_RXC_MulERINT 0x00020000 |
0 for Early Receive Interrupt only on familiar protocols 1 for any
#define RT_RXC_MXDMA | ( | n | ) | ((n) << 8) |
2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for unlimited
#define RT_RXC_RBLEN | ( | n | ) | ((n) <<11) |
Set Rx ring buffer len to 16b + 2^(3+n) kb.
#define RT_RXC_RER8 0x00010000 |
1 sets the acceptance of runt error packets
#define RT_RXC_RXFTH | ( | n | ) | ((n) <<13) |
2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for none
#define RT_RXC_WRAP 0x00000080 |
0 to use wrapping mode or 1 to not (Ignored for 64Kb buffer length)