diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-10 23:09:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-10 23:09:51 +0000 |
commit | 73133402a1bb286ffa486769bed64ff875f7060d (patch) | |
tree | 0a22006c55f3dc9123acc199c45bbcacb062990d /sys/dev/ata/wd.c | |
parent | d597a5f27fd0e5e7d9f14fcf6fd466fc5ba278d1 (diff) |
support DIOCRLDINFO
Diffstat (limited to 'sys/dev/ata/wd.c')
-rw-r--r-- | sys/dev/ata/wd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index 1c1c0e243ba..6200d445cde 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.5 1999/08/05 00:12:09 niklas Exp $ */ +/* $OpenBSD: wd.c,v 1.6 1999/08/10 23:09:49 deraadt Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -890,6 +890,10 @@ wdioctl(dev, xfer, addr, flag, p) return 0; #endif + case DIOCRLDINFO: + wdgetdisklabel(dev, wd, wd->sc_dk.dk_label, + wd->sc_dk.dk_cpulabel, 0); + return 0; case DIOCGPDINFO: { struct cpu_disklabel osdep; |