summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-07-13 09:29:25 +0000
committerkato <kato@FreeBSD.org>1998-07-13 09:29:25 +0000
commit8b9760c8843815ead46a252ff5760ee566fa9f0e (patch)
tree3db42b8fd87c5958e47aa3826ecaa8ab07547410 /sys/pc98
parent1dc298263b8472c42f06ae8d53d88b88d443c895 (diff)
downloadFreeBSD-src-8b9760c8843815ead46a252ff5760ee566fa9f0e.zip
FreeBSD-src-8b9760c8843815ead46a252ff5760ee566fa9f0e.tar.gz
Sync with sys/i386/isa/fd.c and wd.c revisions 1.117 and 1.172,
respectively.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/fdc.c9
-rw-r--r--sys/pc98/pc98/fd.c9
-rw-r--r--sys/pc98/pc98/wd.c8
3 files changed, 9 insertions, 17 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 5fed486..4576db6 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.33 1998/07/06 10:09:37 kato Exp $
+ * $Id: fd.c,v 1.34 1998/07/11 17:02:07 kato Exp $
*
*/
@@ -1055,7 +1055,6 @@ fdattach(struct isa_device *dev)
&fd->subdevs[0],
&fd->subdevs[0].limit,
&fd->subdevs[0].slice,
- NULL,
namebuf);
/* Allow full probing */
fd->subdevs[0].slice->probeinfo.typespecific = NULL;
@@ -1145,7 +1144,6 @@ fdattach(struct isa_device *dev)
&fd->subdevs[i],
&fd->subdevs[i].limit,
&fd->subdevs[i].slice,
- NULL,
namebuf);
/* Allow full probing */
fd->subdevs[i].slice->probeinfo.typespecific = NULL;
@@ -1198,10 +1196,9 @@ fdsinit(void *arg)
struct subdev *sd = arg;
sh_p tp;
- if ((tp = slice_probeall(sd->slice)) != NULL) {
- (*tp->constructor)(sd->slice);
- }
+ slice_start_probe(sd->slice);
config_intrhook_disestablish(&sd->drive->ich);
+ DELAY(2000000); /* XXX */
}
#endif /* SLICE */
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index 5fed486..4576db6 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.33 1998/07/06 10:09:37 kato Exp $
+ * $Id: fd.c,v 1.34 1998/07/11 17:02:07 kato Exp $
*
*/
@@ -1055,7 +1055,6 @@ fdattach(struct isa_device *dev)
&fd->subdevs[0],
&fd->subdevs[0].limit,
&fd->subdevs[0].slice,
- NULL,
namebuf);
/* Allow full probing */
fd->subdevs[0].slice->probeinfo.typespecific = NULL;
@@ -1145,7 +1144,6 @@ fdattach(struct isa_device *dev)
&fd->subdevs[i],
&fd->subdevs[i].limit,
&fd->subdevs[i].slice,
- NULL,
namebuf);
/* Allow full probing */
fd->subdevs[i].slice->probeinfo.typespecific = NULL;
@@ -1198,10 +1196,9 @@ fdsinit(void *arg)
struct subdev *sd = arg;
sh_p tp;
- if ((tp = slice_probeall(sd->slice)) != NULL) {
- (*tp->constructor)(sd->slice);
- }
+ slice_start_probe(sd->slice);
config_intrhook_disestablish(&sd->drive->ich);
+ DELAY(2000000); /* XXX */
}
#endif /* SLICE */
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 28d6292..b61954a 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.57 1998/07/06 10:09:42 kato Exp $
+ * $Id: wd.c,v 1.58 1998/07/11 17:02:48 kato Exp $
*/
/* TODO:
@@ -671,7 +671,6 @@ wdattach(struct isa_device *dvp)
du,
&du->limit,
&du->slice,
- NULL,
namebuf);
/* Allow full probing */
du->slice->probeinfo.typespecific = NULL;
@@ -788,10 +787,9 @@ wds_init(void *arg)
}
}
#endif
- if ((tp = slice_probeall(du->slice)) != NULL) {
- (*tp->constructor)(du->slice);
- }
+ slice_start_probe(du->slice);
config_intrhook_disestablish(&du->ich);
+ DELAY(2000000); /* XXX */
#if 0
wdsclose(du, 0, 0, curproc);
#else
OpenPOWER on IntegriCloud