#include <rtl8139.h>
Data Fields | |
| uint16_t | iobase |
| I/O port base address. | |
| uint8_t | irq |
| The IRQ line. | |
| uint8_t | station_address [6] |
| The MAC address. | |
| bool | speed10 |
| 1=10Mbps / 0=100Mbps. | |
| bool | fullduplex |
| 1=full-duplex / 0=half-duplex. | |
| bool | promisc |
| 1=promiscuous mode ON / 0=promiscuous mode OFF. | |
| unsigned | cur_tx |
| Current Tx ring. | |
| unsigned | cur_rx |
| Current Rx ring. | |
| addr_t | rx_phys |
| Physical address of the Rx ring. Must be placed in the DMA memory area. | |
| addr_t | tx_phys |
| Physical address of the Tx ring. Must be placed in the DMA memory area. | |
| uint8_t * | rx_ring |
| The Rx ring buffer (virtual address). | |
| uint8_t * | tx_ring |
| The Tx ring buffer (virtual address). | |
| semaphore_t | mutex |
| A mutual exclusion semaphore for the RTL8139 device. | |
Definition at line 80 of file rtl8139.h.
|
|
Current Rx ring.
|
|
|
Current Tx ring.
|
|
|
1=full-duplex / 0=half-duplex.
|
|
|
I/O port base address.
|
|
|
The IRQ line.
|
|
|
A mutual exclusion semaphore for the RTL8139 device.
|
|
|
1=promiscuous mode ON / 0=promiscuous mode OFF.
|
|
|
Physical address of the Rx ring. Must be placed in the DMA memory area.
|
|
|
The Rx ring buffer (virtual address).
|
|
|
1=10Mbps / 0=100Mbps.
|
|
|
The MAC address.
|
|
|
Physical address of the Tx ring. Must be placed in the DMA memory area.
|
|
|
The Tx ring buffer (virtual address).
|
1.2.18