summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sisreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-02-09 00:45:29 +0000
committerwpaul <wpaul@FreeBSD.org>2001-02-09 00:45:29 +0000
commit363bdddf694863339f6629340cfb324771b8ffe7 (patch)
tree1a737128a945d29ccc8893ad9ca9cecab5b2fade /sys/pci/if_sisreg.h
parentf565cff4f149afb29f553dce0077233e2f021145 (diff)
downloadFreeBSD-src-363bdddf694863339f6629340cfb324771b8ffe7.zip
FreeBSD-src-363bdddf694863339f6629340cfb324771b8ffe7.tar.gz
Apply patch to add support for the intergrated ethernet in the SiS630E
chipset. The MAC address is stored in the APC CMOS RAM and we have to commit trememdous evil in order to read it. The code to do this is only activated on the i386 platform. Thanks to Cameron Grant for providing access to a test box for me to tinker with. This will fix the problem where the sis driver ends up with a station address of 00:00:00:00:00:00 on boards that use the 630E chipset.
Diffstat (limited to 'sys/pci/if_sisreg.h')
-rw-r--r--sys/pci/if_sisreg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pci/if_sisreg.h b/sys/pci/if_sisreg.h
index d1781b7..96bbd6d 100644
--- a/sys/pci/if_sisreg.h
+++ b/sys/pci/if_sisreg.h
@@ -356,6 +356,13 @@ struct sis_ring_data {
#define SIS_DEVICEID_7016 0x7016
/*
+ * SiS 900 PCI revision codes.
+ */
+#define SIS_REV_630E 0x0081
+#define SIS_REV_630S 0x0082
+#define SIS_REV_630EA1 0x0083
+
+/*
* NatSemi vendor ID
*/
#define NS_VENDORID 0x100B
OpenPOWER on IntegriCloud