summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_an_pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pcmcia/if_an_pcmcia.c')
-rw-r--r--sys/dev/pcmcia/if_an_pcmcia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_an_pcmcia.c b/sys/dev/pcmcia/if_an_pcmcia.c
index 385e67fb07f..adf9c4c28b0 100644
--- a/sys/dev/pcmcia/if_an_pcmcia.c
+++ b/sys/dev/pcmcia/if_an_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_an_pcmcia.c,v 1.7 2002/03/14 01:27:00 millert Exp $ */
+/* $OpenBSD: if_an_pcmcia.c,v 1.8 2002/06/09 03:14:18 todd Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -146,7 +146,7 @@ an_pcmcia_detach(dev, flags)
{
struct an_pcmcia_softc *psc = (struct an_pcmcia_softc *)dev;
struct an_softc *sc = (struct an_softc *)dev;
- struct ifnet *ifp = &sc->arpcom.ac_if;
+ struct ifnet *ifp = &sc->sc_arpcom.ac_if;
if (sc->an_gone) {
printf ("%s: already detached\n", sc->sc_dev.dv_xname);
@@ -174,7 +174,7 @@ an_pcmcia_activate(dev, act)
{
struct an_pcmcia_softc *psc = (struct an_pcmcia_softc *)dev;
struct an_softc *sc = &psc->sc_an;
- struct ifnet *ifp = &sc->arpcom.ac_if;
+ struct ifnet *ifp = &sc->sc_arpcom.ac_if;
int s;
s = splnet();