|
Linux Kernel
3.7.1
|
#include <linux/pci.h>#include <linux/slab.h>#include "tulip.h"#include <linux/init.h>#include <asm/unaligned.h>Go to the source code of this file.
Macros | |
| #define | EE_SHIFT_CLK 0x02 /* EEPROM shift clock. */ |
| #define | EE_CS 0x01 /* EEPROM chip select. */ |
| #define | EE_DATA_WRITE 0x04 /* Data from the Tulip to EEPROM. */ |
| #define | EE_WRITE_0 0x01 |
| #define | EE_WRITE_1 0x05 |
| #define | EE_DATA_READ 0x08 /* Data from the EEPROM chip. */ |
| #define | EE_ENB (0x4800 | EE_CS) |
| #define | eeprom_delay() ioread32(ee_addr) |
| #define | EE_READ_CMD (6) |
Functions | |
| void __devinit | tulip_parse_eeprom (struct net_device *dev) |
| int __devinit | tulip_read_eeprom (struct net_device *dev, int location, int addr_len) |
| #define EE_DATA_WRITE 0x04 /* Data from the Tulip to EEPROM. */ |
| void __devinit tulip_parse_eeprom | ( | struct net_device * | dev | ) |
1.8.2