summaryrefslogtreecommitdiffstats
path: root/sys/dev/bge/if_bgereg.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2007-01-15 21:43:43 +0000
committerjkim <jkim@FreeBSD.org>2007-01-15 21:43:43 +0000
commitffb38d52f7b3579a1efb44a06318b0faa572bcc8 (patch)
tree95041596e03942ebeb6200154a4e90f1599203b3 /sys/dev/bge/if_bgereg.h
parent9ca9d354d98eb12e0acd1619a9545f682a7ec672 (diff)
downloadFreeBSD-src-ffb38d52f7b3579a1efb44a06318b0faa572bcc8.zip
FreeBSD-src-ffb38d52f7b3579a1efb44a06318b0faa572bcc8.tar.gz
- Fix BCM5754 support found in Dell PowerEdge SC440.
- Move some PHY bug detections from brgphy.c to if_bge.c. - Do not penalize working PHYs. - Re-arrange bge_flags roughly by their categories. - Fix minor style(9) nits. PR: kern/107257 Obtained from: OpenBSD Tested by: Mike Hibler <mike at flux dot utah dot edu>
Diffstat (limited to 'sys/dev/bge/if_bgereg.h')
-rw-r--r--sys/dev/bge/if_bgereg.h30
1 files changed, 18 insertions, 12 deletions
diff --git a/sys/dev/bge/if_bgereg.h b/sys/dev/bge/if_bgereg.h
index 3dd9106..80a04f6 100644
--- a/sys/dev/bge/if_bgereg.h
+++ b/sys/dev/bge/if_bgereg.h
@@ -303,6 +303,9 @@
#define BGE_CHIPREV_5700_BX 0x71
#define BGE_CHIPREV_5700_CX 0x72
#define BGE_CHIPREV_5701_AX 0x00
+#define BGE_CHIPREV_5703_AX 0x10
+#define BGE_CHIPREV_5704_AX 0x20
+#define BGE_CHIPREV_5704_BX 0x21
#define BGE_CHIPREV_5750_AX 0x40
#define BGE_CHIPREV_5750_BX 0x41
@@ -2445,18 +2448,21 @@ struct bge_softc {
struct resource *bge_res;
struct ifmedia bge_ifmedia; /* TBI media info */
uint32_t bge_flags;
-#define BGE_FLAG_EXTRAM 0x00000001 /* External SSRAM (unused) */
-#define BGE_FLAG_TBI 0x00000002
-#define BGE_FLAG_RX_ALIGNBUG 0x00000004
-#define BGE_FLAG_NO3LED 0x00000008
-#define BGE_FLAG_PCIX 0x00000010
-#define BGE_FLAG_PCIE 0x00000020
-#define BGE_FLAG_JUMBO 0x00000040
-#define BGE_FLAG_5700_FAMILY 0x00000100
-#define BGE_FLAG_5705_PLUS 0x00000200
-#define BGE_FLAG_5714_FAMILY 0x00000400
-#define BGE_FLAG_575X_PLUS 0x00000800
-#define BGE_FLAG_MSI 0x00001000
+#define BGE_FLAG_TBI 0x00000001
+#define BGE_FLAG_JUMBO 0x00000002
+#define BGE_FLAG_MSI 0x00000100
+#define BGE_FLAG_PCIX 0x00000200
+#define BGE_FLAG_PCIE 0x00000400
+#define BGE_FLAG_5700_FAMILY 0x00001000
+#define BGE_FLAG_5705_PLUS 0x00002000
+#define BGE_FLAG_5714_FAMILY 0x00004000
+#define BGE_FLAG_575X_PLUS 0x00008000
+#define BGE_FLAG_RX_ALIGNBUG 0x00100000
+#define BGE_FLAG_NO_3LED 0x00200000
+#define BGE_FLAG_ADC_BUG 0x00400000
+#define BGE_FLAG_5704_A0_BUG 0x00800000
+#define BGE_FLAG_JITTER_BUG 0x01000000
+#define BGE_FLAG_BER_BUG 0x02000000
uint32_t bge_chipid;
uint8_t bge_asicrev;
uint8_t bge_chiprev;
OpenPOWER on IntegriCloud