#include <types.h>
#include <device/device.h>
Go to the source code of this file.
◆ I210_CHECKSUM_ERROR
#define I210_CHECKSUM_ERROR 0x00000010 |
◆ I210_CMDV
#define I210_CMDV 0x01 /* command valid bit */ |
◆ I210_DONE
#define I210_DONE 0x02 /* command done bit */ |
◆ I210_FLASH_UPDATE_ERROR
#define I210_FLASH_UPDATE_ERROR 0x00000020 |
◆ I210_FLUDONE
#define I210_FLUDONE 0x4000000 /* Flash update done indicator */ |
◆ I210_FLUPD
#define I210_FLUPD 0x800000 /* Start flash update bit */ |
◆ I210_INVALID_PARAM
#define I210_INVALID_PARAM 0x00000001 |
◆ I210_NOT_READY
#define I210_NOT_READY 0x00000002 |
◆ I210_PCI_MEM_BAR_OFFSET
#define I210_PCI_MEM_BAR_OFFSET 0x10 |
Definition at line 9 of file i210.h.
◆ I210_POLL_TIMEOUT_US
#define I210_POLL_TIMEOUT_US 300000 /* 300 ms */ |
◆ I210_READ_ERROR
#define I210_READ_ERROR 0x00000004 |
◆ I210_REG_EECTRL
#define I210_REG_EECTRL 0x12010 /* Offset for EEPROM control reg */ |
◆ I210_REG_EEREAD
#define I210_REG_EEREAD 0x12014 /* Offset for EEPROM read reg */ |
◆ I210_REG_EEWRITE
#define I210_REG_EEWRITE 0x12018 /* Offset for EEPROM write reg */ |
◆ I210_SUCCESS
#define I210_SUCCESS 0x00000000 |
◆ I210_TARGET_CHECKSUM
#define I210_TARGET_CHECKSUM 0xBABA /* resulting checksum */ |
◆ I210_WRITE_ERROR
#define I210_WRITE_ERROR 0x00000008 |
◆ MAC_ADDR_LEN
◆ mainboard_get_mac_address()
This function will search for a MAC address which can be assigned to a MACPHY.
- Parameters
-
dev | pointer to PCI device |
mac | buffer where to store the MAC address |
- Returns
- cb_err CB_ERR or CB_SUCCESS
Definition at line 39 of file mainboard.c.
Referenced by init().