diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/fooip.c')
-rw-r--r-- | sys/arch/mvme68k/dev/fooip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/fooip.c b/sys/arch/mvme68k/dev/fooip.c index 8e3a2c445e4..980cf73774a 100644 --- a/sys/arch/mvme68k/dev/fooip.c +++ b/sys/arch/mvme68k/dev/fooip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fooip.c,v 1.7 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: fooip.c,v 1.8 2004/07/02 17:57:29 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -88,7 +88,7 @@ fooipattach(parent, self, args) struct fooipsoftc *sc = (struct fooipsoftc *)self; struct confargs *ca = args; - sc->sc_ipicsc = (struct ipicsoftc *)ca->ca_master; + sc->sc_ipicsc = (struct ipicsoftc *)parent; sc->sc_regs = (struct fooipregs *)(ca->ca_vaddr + IPIC_IP_REGOFFSET); sc->sc_slot = ca->ca_offset; |