summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sisreg.h
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-01-28 10:55:38 +0000
committermbr <mbr@FreeBSD.org>2003-01-28 10:55:38 +0000
commitc4a07224346eda315a80ae43240cf06b18e5b322 (patch)
tree0a81e46d0887e54e69a0f27fe5bbe270b60d20dd /sys/pci/if_sisreg.h
parent70310f135bf7194be508783d9d066eae00995119 (diff)
downloadFreeBSD-src-c4a07224346eda315a80ae43240cf06b18e5b322.zip
FreeBSD-src-c4a07224346eda315a80ae43240cf06b18e5b322.tar.gz
Add PCI revision number for 630A and 900B. Enable parity error detection
on 900B and 635(A). Re-add the enhanced PHY access register method again for older chipsets, they do not seem to work with all old chips. Reviewed by: phk MFC after: 7 days
Diffstat (limited to 'sys/pci/if_sisreg.h')
-rw-r--r--sys/pci/if_sisreg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_sisreg.h b/sys/pci/if_sisreg.h
index 6ec34ce..4e7627e 100644
--- a/sys/pci/if_sisreg.h
+++ b/sys/pci/if_sisreg.h
@@ -114,6 +114,8 @@
#define SIS_CFG_OUTOFWIN_TIMER 0x00000020
#define SIS_CFG_SINGLE_BACKOFF 0x00000040
#define SIS_CFG_PCIREQ_ALG 0x00000080
+#define SIS_CFG_FAIR_BACKOFF 0x00000200 /* 635 & 900B Specific */
+#define SIS_CFG_RND_CNT 0x00000400 /* 635 & 900B Specific */
#define SIS_CFG_EDB_MASTER_EN 0x00002000
#define SIS_EECTL_DIN 0x00000001
@@ -395,6 +397,8 @@ struct sis_ring_data {
/*
* SiS 900 PCI revision codes.
*/
+#define SIS_REV_900B 0x0003
+#define SIS_REV_630A 0x0080
#define SIS_REV_630E 0x0081
#define SIS_REV_630S 0x0082
#define SIS_REV_630EA1 0x0083
OpenPOWER on IntegriCloud