aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-16 15:15:53 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-16 21:10:28 -0400
commitafa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (patch)
tree05444325f8aeeb62b8eecb4a2689948353783bb9 /drivers/net/skge.h
parentda00772fb587841fb1aac57a9edb5e10f2757967 (diff)
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.h6
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 @@
1/* 1/*
2 * Definitions for the new Marvell Yukon / SysKonenct driver. 2 * Definitions for the new Marvell Yukon / SysKonnect driver.
3 */ 3 */
4#ifndef _SKGE_H 4#ifndef _SKGE_H
5#define _SKGE_H 5#define _SKGE_H
@@ -8,8 +8,10 @@
8#define PCI_DEV_REG1 0x40 8#define PCI_DEV_REG1 0x40
9#define PCI_PHY_COMA 0x8000000 9#define PCI_PHY_COMA 0x8000000
10#define PCI_VIO 0x2000000 10#define PCI_VIO 0x2000000
11
11#define PCI_DEV_REG2 0x44 12#define PCI_DEV_REG2 0x44
12#define PCI_REV_DESC 0x4 13#define PCI_VPD_ROM_SZ 7L<<14 /* VPD ROM size 0=256, 1=512, ... */
14#define PCI_REV_DESC 1<<2 /* Reverse Descriptor bytes */
13 15
14#define PCI_STATUS_ERROR_BITS (PCI_STATUS_DETECTED_PARITY | \ 16#define PCI_STATUS_ERROR_BITS (PCI_STATUS_DETECTED_PARITY | \
15 PCI_STATUS_SIG_SYSTEM_ERROR | \ 17 PCI_STATUS_SIG_SYSTEM_ERROR | \