diff options
author | kato <kato@FreeBSD.org> | 1996-12-19 08:17:08 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1996-12-19 08:17:08 +0000 |
commit | d75e95fdc6c9eb4c90168b436b58d7397f6278ab (patch) | |
tree | 0c54a4d8f75df0fac8b0d2b20650d26a8b30216b /sys | |
parent | 5e9ffc22f0974f39f69ccfa75ac7843f3598c2dc (diff) | |
download | FreeBSD-src-d75e95fdc6c9eb4c90168b436b58d7397f6278ab.zip FreeBSD-src-d75e95fdc6c9eb4c90168b436b58d7397f6278ab.tar.gz |
Synchronize with sys/i386/isa/fd.c revision 1.94 (disable disk
statistics support).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 8 | ||||
-rw-r--r-- | 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 c7fdef8..210be8a 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 <sys/malloc.h> #include <sys/proc.h> #include <sys/syslog.h> +#ifdef notyet #include <sys/dkstat.h> +#endif #ifdef PC98 #include <pc98/pc98/pc98.h> #include <pc98/pc98/epsonio.h> @@ -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 c7fdef8..210be8a 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 <sys/malloc.h> #include <sys/proc.h> #include <sys/syslog.h> +#ifdef notyet #include <sys/dkstat.h> +#endif #ifdef PC98 #include <pc98/pc98/pc98.h> #include <pc98/pc98/epsonio.h> @@ -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); |