diff options
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/cd.c | 4 | ||||
-rw-r--r-- | sys/scsi/sd.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 1ac999d766d..af6787de82a 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.105 2006/03/04 19:33:22 miod Exp $ */ +/* $OpenBSD: cd.c,v 1.106 2006/03/15 20:20:42 miod Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -213,8 +213,6 @@ cdattach(parent, self, aux) cd->sc_dk.dk_name = cd->sc_dev.dv_xname; disk_attach(&cd->sc_dk); - dk_establish(&cd->sc_dk, &cd->sc_dev); - /* * Note if this device is ancient. This is used in cdminphys(). */ diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index f504840f75e..51448cdb7dc 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.103 2006/03/05 14:58:10 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.104 2006/03/15 20:20:42 miod Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -189,8 +189,6 @@ sdattach(parent, self, aux) sd->sc_dk.dk_name = sd->sc_dev.dv_xname; disk_attach(&sd->sc_dk); - dk_establish(&sd->sc_dk, &sd->sc_dev); - if ((sc_link->flags & SDEV_ATAPI) && (sc_link->flags & SDEV_REMOVABLE)) sc_link->quirks |= SDEV_NOSYNCCACHE; |