diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-01 09:36:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-01 09:36:53 +0000 |
commit | f9e831b1cff5c82bd6cc13ce0909770eafe71fb1 (patch) | |
tree | 62317d84707b43d290c0e89a26d6a26cd9902a70 /sys | |
parent | bef2006cc77ed2c83e23938b54d5b6e907a0b86a (diff) |
all ports have dk_establish()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/isa/fd.c | 5 | ||||
-rw-r--r-- | sys/dev/isa/fd.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/i386/isa/fd.c b/sys/arch/i386/isa/fd.c index 6508a7bdd39..1146b46da08 100644 --- a/sys/arch/i386/isa/fd.c +++ b/sys/arch/i386/isa/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.15 1996/05/25 22:17:48 deraadt Exp $ */ +/* $OpenBSD: fd.c,v 1.16 1996/06/01 09:36:52 deraadt Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -455,10 +455,7 @@ fdattach(parent, self, aux) fd->sc_dk.dk_driver = &fddkdriver; disk_attach(&fd->sc_dk); -#ifdef NEWCONFIG - /* XXX Need to do some more fiddling with sc_dk. */ dk_establish(&fd->sc_dk, &fd->sc_dev); -#endif /* Needed to power off if the motor is on when we halt. */ fd->sc_sdhook = shutdownhook_establish(fd_motor_off, fd); } diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c index 6508a7bdd39..1146b46da08 100644 --- a/sys/dev/isa/fd.c +++ b/sys/dev/isa/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.15 1996/05/25 22:17:48 deraadt Exp $ */ +/* $OpenBSD: fd.c,v 1.16 1996/06/01 09:36:52 deraadt Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -455,10 +455,7 @@ fdattach(parent, self, aux) fd->sc_dk.dk_driver = &fddkdriver; disk_attach(&fd->sc_dk); -#ifdef NEWCONFIG - /* XXX Need to do some more fiddling with sc_dk. */ dk_establish(&fd->sc_dk, &fd->sc_dev); -#endif /* Needed to power off if the motor is on when we halt. */ fd->sc_sdhook = shutdownhook_establish(fd_motor_off, fd); } |