From a413ea0d8a9ebc666ddd9945940e0dc1b0bb8caa Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Thu, 19 Dec 1996 08:17:08 +0000 Subject: [PATCH] Synchronize with sys/i386/isa/fd.c revision 1.94 (disable disk statistics support). --- sys/pc98/cbus/fdc.c | 8 +++++++- sys/pc98/pc98/fd.c | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index c7fdef895b5..210be8a77e6 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.9 1996/11/09 00:39:52 asami Exp $ + * $Id: fd.c,v 1.10 1996/12/04 04:20:43 asami Exp $ * */ @@ -69,7 +69,9 @@ #include #include #include +#ifdef notyet #include +#endif #ifdef PC98 #include #include @@ -202,7 +204,9 @@ static struct fd_data { #define FD_NO_TRACK -2 int track; /* where we think the head is */ int options; /* user configurable options, see ioctl_fd.h */ +#ifdef notyet int dkunit; /* disk stats unit number */ +#endif #ifdef DEVFS void *bdevs[1 + NUMDENS + MAXPARTITIONS]; void *cdevs[1 + NUMDENS + MAXPARTITIONS]; @@ -968,6 +972,7 @@ fdattach(struct isa_device *dev) "rfd%d%c", fdu, 'a' + i); } #endif /* DEVFS */ +#ifdef notyet if (dk_ndrive < DK_NDRIVE) { sprintf(dk_names[dk_ndrive], "fd%d", fdu); fd->dkunit = dk_ndrive++; @@ -978,6 +983,7 @@ fdattach(struct isa_device *dev) } else { fd->dkunit = -1; } +#endif } return (1); diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index c7fdef895b5..210be8a77e6 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.9 1996/11/09 00:39:52 asami Exp $ + * $Id: fd.c,v 1.10 1996/12/04 04:20:43 asami Exp $ * */ @@ -69,7 +69,9 @@ #include #include #include +#ifdef notyet #include +#endif #ifdef PC98 #include #include @@ -202,7 +204,9 @@ static struct fd_data { #define FD_NO_TRACK -2 int track; /* where we think the head is */ int options; /* user configurable options, see ioctl_fd.h */ +#ifdef notyet int dkunit; /* disk stats unit number */ +#endif #ifdef DEVFS void *bdevs[1 + NUMDENS + MAXPARTITIONS]; void *cdevs[1 + NUMDENS + MAXPARTITIONS]; @@ -968,6 +972,7 @@ fdattach(struct isa_device *dev) "rfd%d%c", fdu, 'a' + i); } #endif /* DEVFS */ +#ifdef notyet if (dk_ndrive < DK_NDRIVE) { sprintf(dk_names[dk_ndrive], "fd%d", fdu); fd->dkunit = dk_ndrive++; @@ -978,6 +983,7 @@ fdattach(struct isa_device *dev) } else { fd->dkunit = -1; } +#endif } return (1);