summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/mcd.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2010-04-23 15:25:20 +0000
committerjsing <jsing@openbsd.org>2010-04-23 15:25:20 +0000
commitd8b1e0ec2dbc403b285d5ef241509edd31fbdde8 (patch)
tree04bb028f5c45627307a0309e695988420803b660 /sys/dev/isa/mcd.c
parentWhen converting A-Z into a control character, want to subtract 64 not (diff)
downloadwireguard-openbsd-d8b1e0ec2dbc403b285d5ef241509edd31fbdde8.tar.xz
wireguard-openbsd-d8b1e0ec2dbc403b285d5ef241509edd31fbdde8.zip
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/isa/mcd.c')
-rw-r--r--sys/dev/isa/mcd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c
index 1e96f0d2efa..77384462158 100644
--- a/sys/dev/isa/mcd.c
+++ b/sys/dev/isa/mcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mcd.c,v 1.52 2009/08/24 08:51:18 jasper Exp $ */
+/* $OpenBSD: mcd.c,v 1.53 2010/04/23 15:25:21 jsing Exp $ */
/* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */
/*
@@ -753,8 +753,6 @@ mcdgetdisklabel(dev, sc, lp, spoofonly)
lp->d_type = DTYPE_SCSI; /* XXX */
strncpy(lp->d_packname, "fictitious", sizeof lp->d_packname);
DL_SETDSIZE(lp, sc->disksize);
- lp->d_rpm = 300;
- lp->d_interleave = 1;
lp->d_version = 1;
lp->d_magic = DISKMAGIC;