summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2010-04-23 15:25:22 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2010-04-23 15:25:22 +0000
commit38fc778c9782dbaa70fa6da92cfd8daaaa43d6fe (patch)
treeae3cdf39a2c58715ddd572c6ba0e0e6d72ea4ce2 /sys/dev/ata/wd.c
parented069888a3c009f9af5ecffb1dd73b037a5b95c2 (diff)
Recycle unused disklabel fields in order to create a disklabel unique
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
Diffstat (limited to 'sys/dev/ata/wd.c')
-rw-r--r--sys/dev/ata/wd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 5a6182a946a..819d333c80b 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.78 2010/04/11 16:58:06 kettenis Exp $ */
+/* $OpenBSD: wd.c,v 1.79 2010/04/23 15:25:21 jsing Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -820,8 +820,6 @@ wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp)
}
/* XXX - user viscopy() like sd.c */
strncpy(lp->d_packname, wd->sc_params.atap_model, sizeof lp->d_packname);
- lp->d_rpm = 3600;
- lp->d_interleave = 1;
lp->d_flags = 0;
lp->d_version = 1;