From 8a61ccc83b2e2857552dc684f218e8333933b07c Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 18 Dec 1996 17:44:31 +0000 Subject: Disabled half-baked disk statistics support. It didn't actually generate statistics, so it just wasted scarce disk table slots and screen space. --- sys/dev/fdc/fdc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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 #include #include +#ifdef notyet #include +#endif #include #include #include @@ -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); -- cgit v1.1