coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | ne2k_append_data (unsigned char *d, int len, unsigned int base) |
int | ne2k_init (unsigned int eth_nic_base) |
void | ne2k_transmit (unsigned int eth_nic_base) |
static void | __ne2k_init (void) |
static void | __ne2k_tx_byte (u8 data) |
static void | __ne2k_tx_flush (void) |
Definition at line 26 of file ne2k.h.
Referenced by console_hw_init().
Definition at line 27 of file ne2k.h.
Referenced by console_interactive_tx_byte().
Definition at line 28 of file ne2k.h.
Referenced by console_tx_flush().
Definition at line 97 of file ne2k.c.
References base, eth_pio_write(), get_count(), set_count(), and TX_START.
int ne2k_init | ( | unsigned int | eth_nic_base | ) |
Definition at line 264 of file ne2k.c.
References c, D8390_COMMAND_RD2, D8390_COMMAND_STP, D8390_DCR_FT1, D8390_DCR_LS, D8390_P0_COMMAND, D8390_P0_DCR, D8390_P0_PSTART, D8390_P0_PSTOP, D8390_P0_RCR, D8390_RCR_MON, ENV_ROMSTAGE, inb(), MEM_16384, MEM_8192, NE_ASIC_OFFSET, NE_RESET, ns8390_reset(), outb(), PCI_DEV_INVALID, PCI_ID, pci_locate_device(), pci_s_write_config32(), pci_s_write_config8(), and void().
Definition at line 195 of file ne2k.c.
References D8390_COMMAND_PS0, D8390_COMMAND_RD2, D8390_COMMAND_STA, D8390_COMMAND_TXP, D8390_ISR_PTX, D8390_P0_COMMAND, D8390_P0_ISR, D8390_P0_TBCR0, D8390_P0_TBCR1, D8390_P0_TPSR, get_count(), inb(), ns8390_tx_header(), outb(), set_count(), and TX_START.