ArvernOS
Loading...
Searching...
No Matches
rtl8139.h File Reference
#include <core/pci.h>
#include <net/net.h>
#include <stdbool.h>
Include dependency graph for rtl8139.h:

Functions

bool rtl8139_init (pci_device_t device)
 
net_driver_t * rtl8139_driver ()
 

Detailed Description

Function Documentation

◆ rtl8139_driver()

net_driver_t * rtl8139_driver ( )

Returns a network driver.

◆ rtl8139_init()

bool rtl8139_init ( pci_device_t device)

Initializes the RTL8139 driver.

Parameters
thePCI device corresponding to a RTL8139 ethernet card
Returns
true when initialization has succeeded, false otherwise