summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-10-30 22:10:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-10-30 22:10:26 +0000
commit4e9425d9fb8cd1a4b976d6cd80a993398626f69f (patch)
tree2ae370ce7506f9992c5cb101a8e5117e29fa7a1a /sys/dev/pci
parent2433a27c05d247c2adf45e7e46162cd80a9db615 (diff)
correct mac address fetching; pr 3532, jerry@dunmire.org
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_sis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c
index 561db236e7e..dcbd2526d66 100644
--- a/sys/dev/pci/if_sis.c
+++ b/sys/dev/pci/if_sis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sis.c,v 1.33 2003/07/09 02:09:08 krw Exp $ */
+/* $OpenBSD: if_sis.c,v 1.34 2003/10/30 22:10:25 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -1032,14 +1032,14 @@ void sis_attach(parent, self, aux)
* to at the moment.
*/
if (sc->sis_rev == SIS_REV_630S ||
- sc->sis_rev == SIS_REV_630E ||
- sc->sis_rev == SIS_REV_630EA1)
+ sc->sis_rev == SIS_REV_630E)
sis_read_cmos(sc, pa, (caddr_t)&sc->arpcom.ac_enaddr,
0x9, 6);
else
#endif
if (sc->sis_rev == SIS_REV_635 ||
- sc->sis_rev == SIS_REV_630ET)
+ sc->sis_rev == SIS_REV_630ET ||
+ sc->sis_rev == SIS_REV_630EA1)
sis_read_mac(sc, pa);
else
sis_read_eeprom(sc, (caddr_t)&sc->arpcom.ac_enaddr,