diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-16 12:15:53 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-16 21:10:28 -0400 |
commit | afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (patch) | |
tree | 05444325f8aeeb62b8eecb4a2689948353783bb9 /drivers/net/skge.h | |
parent | da00772fb587841fb1aac57a9edb5e10f2757967 (diff) | |
download | linux-afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436.tar.gz linux-afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436.tar.bz2 linux-afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436.zip |
skge: eeprom support
Add ability to read/write EEPROM
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r-- | drivers/net/skge.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index 800329d99b21..51754246d59d 100644 --- a/drivers/net/skge.h +++ b/drivers/net/skge.h @@ -1,5 +1,5 @@ /* - * Definitions for the new Marvell Yukon / SysKonenct driver. + * Definitions for the new Marvell Yukon / SysKonnect driver. */ #ifndef _SKGE_H #define _SKGE_H @@ -8,8 +8,10 @@ #define PCI_DEV_REG1 0x40 #define PCI_PHY_COMA 0x8000000 #define PCI_VIO 0x2000000 + #define PCI_DEV_REG2 0x44 -#define PCI_REV_DESC 0x4 +#define PCI_VPD_ROM_SZ 7L<<14 /* VPD ROM size 0=256, 1=512, ... */ +#define PCI_REV_DESC 1<<2 /* Reverse Descriptor bytes */ #define PCI_STATUS_ERROR_BITS (PCI_STATUS_DETECTED_PARITY | \ PCI_STATUS_SIG_SYSTEM_ERROR | \ |