diff options
author | bde <bde@FreeBSD.org> | 1996-12-18 17:44:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-12-18 17:44:31 +0000 |
commit | 8a61ccc83b2e2857552dc684f218e8333933b07c (patch) | |
tree | 861aee719f84d5870a4577dad17e6270509b4e5e /sys/dev/fdc/fdc.c | |
parent | f7bf6b94e560dcf162b40e8351d98ff5388976b3 (diff) | |
download | FreeBSD-src-8a61ccc83b2e2857552dc684f218e8333933b07c.zip FreeBSD-src-8a61ccc83b2e2857552dc684f218e8333933b07c.tar.gz |
Disabled half-baked disk statistics support. It didn't actually generate
statistics, so it just wasted scarce disk table slots and screen space.
Diffstat (limited to 'sys/dev/fdc/fdc.c')
-rw-r--r-- | sys/dev/fdc/fdc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 5076b88..19959a1 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.92 1996/09/06 23:07:18 phk Exp $ + * $Id: fd.c,v 1.93 1996/11/02 23:31:11 joerg Exp $ * */ @@ -69,7 +69,9 @@ #include <sys/malloc.h> #include <sys/proc.h> #include <sys/syslog.h> +#ifdef notyet #include <sys/dkstat.h> +#endif #include <i386/isa/isa.h> #include <i386/isa/isa_device.h> #include <i386/isa/fdreg.h> @@ -166,7 +168,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]; @@ -701,6 +705,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++; @@ -711,6 +716,7 @@ fdattach(struct isa_device *dev) } else { fd->dkunit = -1; } +#endif } return (1); |