summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sisreg.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-11-20 15:19:34 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-11-20 15:19:34 +0000
commitdaa6ecbb5037969970ccdff19fe3bb48ef5df504 (patch)
treebffd016dcdb26e56b7d0b19958aeef4294540758 /sys/dev/pci/if_sisreg.h
parentcb007ece077cb347a1c5cdedc21c0aedda206a82 (diff)
Read mac address correctly on rev 0x90; tested by Alexander, patch
provided from FreeBSD via Gabriel Gonzalez. jason@ ok.
Diffstat (limited to 'sys/dev/pci/if_sisreg.h')
-rw-r--r--sys/dev/pci/if_sisreg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sisreg.h b/sys/dev/pci/if_sisreg.h
index 8eb9711a478..e14e05e5450 100644
--- a/sys/dev/pci/if_sisreg.h
+++ b/sys/dev/pci/if_sisreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sisreg.h,v 1.10 2002/07/02 16:44:25 aaron Exp $ */
+/* $OpenBSD: if_sisreg.h,v 1.11 2002/11/20 15:19:33 fgsch Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
@@ -371,7 +371,8 @@ struct sis_ring_data {
#define SIS_REV_630E 0x0081
#define SIS_REV_630S 0x0082
#define SIS_REV_630EA1 0x0083
-#define SIS_REV_630ET 0x0084
+#define SIS_REV_630ET 0x0084
+#define SIS_REV_635 0x0090
struct sis_type {
u_int16_t sis_vid;
@@ -392,6 +393,7 @@ struct sis_softc {
bus_space_tag_t sis_btag;
u_int8_t sis_unit;
u_int8_t sis_type;
+ u_int8_t sis_rev;
u_int8_t sis_link;
struct sis_list_data *sis_ldata;
struct sis_ring_data sis_cdata;