Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

rtl8139 Struct Reference
[RTL8139C(L) Fast Ethernet Controller]

The RTL8139 device structure. More...

#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_trx_ring
 The Rx ring buffer (virtual address).

uint8_ttx_ring
 The Tx ring buffer (virtual address).

semaphore_t mutex
 A mutual exclusion semaphore for the RTL8139 device.


Detailed Description

The RTL8139 device structure.

Definition at line 80 of file rtl8139.h.


Field Documentation

unsigned rtl8139::cur_rx
 

Current Rx ring.

Definition at line 97 of file rtl8139.h.

unsigned rtl8139::cur_tx
 

Current Tx ring.

Definition at line 95 of file rtl8139.h.

bool rtl8139::fullduplex
 

1=full-duplex / 0=half-duplex.

Definition at line 91 of file rtl8139.h.

uint16_t rtl8139::iobase
 

I/O port base address.

Definition at line 83 of file rtl8139.h.

uint8_t rtl8139::irq
 

The IRQ line.

Definition at line 85 of file rtl8139.h.

semaphore_t rtl8139::mutex
 

A mutual exclusion semaphore for the RTL8139 device.

Definition at line 110 of file rtl8139.h.

bool rtl8139::promisc
 

1=promiscuous mode ON / 0=promiscuous mode OFF.

Definition at line 93 of file rtl8139.h.

addr_t rtl8139::rx_phys
 

Physical address of the Rx ring. Must be placed in the DMA memory area.

Definition at line 101 of file rtl8139.h.

uint8_t* rtl8139::rx_ring
 

The Rx ring buffer (virtual address).

Definition at line 106 of file rtl8139.h.

bool rtl8139::speed10
 

1=10Mbps / 0=100Mbps.

Definition at line 89 of file rtl8139.h.

uint8_t rtl8139::station_address[6]
 

The MAC address.

Definition at line 87 of file rtl8139.h.

addr_t rtl8139::tx_phys
 

Physical address of the Tx ring. Must be placed in the DMA memory area.

Definition at line 101 of file rtl8139.h.

uint8_t * rtl8139::tx_ring
 

The Tx ring buffer (virtual address).

Definition at line 106 of file rtl8139.h.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 20 15:32:21 2004 for Minirighi by doxygen1.2.18