summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-12-14 01:25:30 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-12-14 01:25:30 +0000
commit746becaa421f24bd1cc7634c789d4440e0d68d33 (patch)
tree4fb18c17c6f46a9e82c68dc90009884e79dff9ae /sys
parent55c2c73e30b3e1a6c2e91f4387f0dd100af899ca (diff)
Hmm, too bad the interrupts do not configure. need pci_intr_fixup().
'commit that' jason@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_hme_pci.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/pci/if_hme_pci.c b/sys/dev/pci/if_hme_pci.c
index 270ad994128..00f508d4519 100644
--- a/sys/dev/pci/if_hme_pci.c
+++ b/sys/dev/pci/if_hme_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_hme_pci.c,v 1.3 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_hme_pci.c,v 1.4 2001/12/14 01:25:29 drahn Exp $ */
/* $NetBSD: if_hme_pci.c,v 1.3 2000/12/28 22:59:13 sommerfeld Exp $ */
/*
@@ -158,7 +158,13 @@ hmeattach_pci(parent, self, aux)
sc->sc_mac = hsc->hsc_memh + 0x6000;
sc->sc_mif = hsc->hsc_memh + 0x7000;
- myetheraddr(sc->sc_enaddr);
+#ifdef __sparc__
+ myetheraddr(sc->sc_enaddr);
+#endif
+#ifdef __powerpc__
+ pci_ether_hw_addr(pa->pa_pc, sc->sc_enaddr);
+#endif
+
sc->sc_burst = 16; /* XXX */