summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-09 05:49:36 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-09 05:49:36 +0000
commit30ffb5031624b928543166f65c4b6a8e7b70577b (patch)
tree19b47184d8fed79cb402477b61f4c9611273c00d /sys/dev/pci
parentaa788cfe003b0c53a76b1fb2782c50b95c665905 (diff)
unbreak sparc64 kernel builds after the arpcom change.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_dc_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index 60f75bb90c7..6d0af1de47d 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.32 2002/04/18 19:11:18 jason Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.33 2002/06/09 05:49:35 art Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -491,8 +491,8 @@ void dc_pci_attach(parent, self, aux)
extern void myetheraddr(u_char *);
if (OF_getprop(PCITAG_NODE(pa->pa_tag), "local-mac-address",
- sc->arpcom.ac_enaddr, ETHER_ADDR_LEN) <= 0)
- myetheraddr(sc->arpcom.ac_enaddr);
+ sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN) <= 0)
+ myetheraddr(sc->sc_arpcom.ac_enaddr);
sc->sc_hasmac = 1;
}
#endif