Turnstone Operating System
Loading...
Searching...
No Matches
network_e1000.64.c File Reference

Intel 8254x (e1000) network driver. More...

#include <driver/network_e1000.h>
#include <memory.h>
#include <utils.h>
#include <logging.h>
#include <time/timer.h>
#include <network.h>
#include <network/network_ethernet.h>
#include <memory/frame.h>
#include <memory/paging.h>
#include <acpi.h>
#include <acpi/aml.h>
#include <cpu/interrupt.h>
#include <cpu.h>
#include <apic.h>
#include <cpu/task.h>

Functions

 MODULE ("turnstone.kernel.hw.network.e1000")
 
uint16_t network_e1000_eeprom_read (network_e1000_dev_t *dev, uint8_t addr)
 
uint16_t network_e1000_phy_read (network_e1000_dev_t *dev, int regaddr)
 
void network_e1000_rx_enable (network_e1000_dev_t *dev)
 
int8_t network_e1000_rx_init (network_e1000_dev_t *dev)
 
int8_t network_e1000_tx_init (network_e1000_dev_t *dev)
 
void network_e1000_rx_poll (const network_e1000_dev_t *netdev)
 
int8_t network_e1000_rx_isr (interrupt_frame_ext_t *frame)
 
int8_t network_e1000_process_tx (void)
 
void network_e1000_phy_write (network_e1000_dev_t *dev, int regaddr, uint16_t data)
 
int8_t network_e1000_init (const pci_dev_t *pci_netdev)
 

Variables

list_te1000_net_devs = NULL
 

Detailed Description

Intel 8254x (e1000) network driver.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.