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

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

#include <driver/network_igb.h>
#include <memory.h>
#include <utils.h>
#include <logging.h>
#include <time/timer.h>
#include <network.h>
#include <network/network_ethernet.h>
#include <network/network_dhcpv4.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.igb")
 
static uint32_t network_igb_read_mmio (const network_igb_dev_t *dev, uint32_t offset)
 
static void network_igb_write_mmio (const network_igb_dev_t *dev, uint32_t offset, uint32_t value)
 
static void network_igb_reset (const network_igb_dev_t *dev)
 
static void network_igb_read_mac_address (const network_igb_dev_t *dev, network_mac_address_t *mac)
 
static void network_igb_disable_interrupts (const network_igb_dev_t *dev)
 
static void network_igb_enable_interrupts (const network_igb_dev_t *dev)
 
static int8_t network_igb_process_tx (void)
 
static int8_t network_igb_rx_init (network_igb_dev_t *dev)
 
static int8_t network_igb_tx_init (network_igb_dev_t *dev)
 
static int32_t network_igb_process_rx (uint64_t args_cnt, void **args)
 
void video_text_print (const char *str)
 
static int8_t network_igb_other_isr (interrupt_frame_ext_t *frame)
 
static int8_t network_igb_tx_isr (interrupt_frame_ext_t *frame)
 
static int8_t network_igb_rx_isr (interrupt_frame_ext_t *frame)
 
int8_t network_igb_init (const pci_dev_t *pci_netdev)
 

Variables

list_tigb_net_devs = NULL
 
uint64_t network_rx_task_id
 

Detailed Description

Intel 8254x (igb) network driver.

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