summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-01 09:35:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-01 09:35:04 +0000
commit9b233d7209ac57ddc7e2806fed7011b1975f72cf (patch)
treec2bf178400bad3c4fda7a1d899266c6ef435ee3e /sys
parent5b38fd6213a943a0140fb922f6e25b02ba1c6d39 (diff)
all ports have dk_establish
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/cd.c4
-rw-r--r--sys/scsi/sd.c6
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 31105662554..f50dfa66037 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -194,9 +194,7 @@ cdattach(parent, self, aux)
cd->sc_dk.dk_name = cd->sc_dev.dv_xname;
disk_attach(&cd->sc_dk);
-#if !defined(i386)
- dk_establish(&cd->sc_dk, &cd->sc_dev); /* XXX */
-#endif
+ 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 70d24582cd3..890b5413fba 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.11 1996/05/22 11:57:30 deraadt Exp $ */
+/* $OpenBSD: sd.c,v 1.12 1996/06/01 09:35:03 deraadt Exp $ */
/* $NetBSD: sd.c,v 1.100 1996/05/14 10:38:47 leo Exp $ */
/*
@@ -183,9 +183,7 @@ sdattach(parent, self, aux)
sd->sc_dk.dk_name = sd->sc_dev.dv_xname;
disk_attach(&sd->sc_dk);
-#if !defined(i386)
- dk_establish(&sd->sc_dk, &sd->sc_dev); /* XXX */
-#endif
+ dk_establish(&sd->sc_dk, &sd->sc_dev);
/*
* Note if this device is ancient. This is used in sdminphys().