Back out an unintended commit. This wasn't supposed to be
in my work directory on freefall.
This commit is contained in:
parent
6a025a98a6
commit
0f25802642
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user