summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wd.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-10-01 05:31:27 +0000
committermdodd <mdodd@FreeBSD.org>1999-10-01 05:31:27 +0000
commit46fb1edd774c8fe601c4f8fb72ac8daf9c2d83bc (patch)
tree26d424bfee5b085d1d714d0b6689ab53217230f6 /sys/i386/isa/wd.c
parente123ea963c6e909702e748715f7c3a74b5a62a20 (diff)
downloadFreeBSD-src-46fb1edd774c8fe601c4f8fb72ac8daf9c2d83bc.zip
FreeBSD-src-46fb1edd774c8fe601c4f8fb72ac8daf9c2d83bc.tar.gz
Back out an unintended commit. This wasn't supposed to be
in my work directory on freefall.
Diffstat (limited to 'sys/i386/isa/wd.c')
-rw-r--r--sys/i386/isa/wd.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c
index c254781..1e90fcb 100644
--- a/sys/i386/isa/wd.c
+++ b/sys/i386/isa/wd.c
@@ -71,7 +71,6 @@
#include <sys/dkbad.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/sysctl.h>
#include <sys/conf.h>
#include <sys/bus.h>
#include <sys/disklabel.h>
@@ -259,12 +258,6 @@ static int atapictrlr;
static int eide_quirks;
-static char wd_ident[NWD][62] = { NULL, NULL, NULL, NULL };
-SYSCTL_STRING(_hw, OID_AUTO, wd0_ident, CTLFLAG_RD, wd_ident[0], 0, "");
-SYSCTL_STRING(_hw, OID_AUTO, wd1_ident, CTLFLAG_RD, wd_ident[1], 0, "");
-SYSCTL_STRING(_hw, OID_AUTO, wd2_ident, CTLFLAG_RD, wd_ident[2], 0, "");
-SYSCTL_STRING(_hw, OID_AUTO, wd3_ident, CTLFLAG_RD, wd_ident[3], 0, "");
-
/*
* Here we use the pci-subsystem to find out, whether there is
* a cmd640b-chip attached on this pci-bus. This public routine
@@ -466,13 +459,6 @@ wdattach(struct isa_device *dvp)
((dvp->id_flags) >> (16 * unit));
if (wdgetctlr(du) == 0) {
-
- bzero(wd_ident[lunit], sizeof(wd_ident[lunit]);
- snprintf(wd_ident[lunit], sizeof(wd_ident[lunit]),
- "%s %s",
- du->dk_params.wdp_model,
- du->dk_params.wdp_serial);
-
/*
* Print out description of drive.
* wdp_model may not be null terminated.
@@ -492,10 +478,6 @@ wdattach(struct isa_device *dvp)
if (du->cfg_flags & WDOPT_SLEEPHACK)
printf(", sleep-hack");
printf("\n");
- if (bootverbose) {
- printf("wd%d: Serial Number %s\n", lunit,
- du->dk_params.wdp_serial);
- }
if (du->dk_params.wdp_heads == 0)
printf("wd%d: size unknown, using %s values\n",
lunit, du->dk_dd.d_secperunit > 17
OpenPOWER on IntegriCloud