diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-03-20 19:48:42 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-03-20 19:48:42 +0000 |
commit | 1976785ddb6c34fcd759947c0d773834f864f507 (patch) | |
tree | abd806e1784886bfd0d702bb0c286434024d8def /sys/dev/pci/ips.c | |
parent | 635cc6695bb9e02f5b358920395e7c2ef5162f12 (diff) |
Support bio ``unused'' drives.
Diffstat (limited to 'sys/dev/pci/ips.c')
-rw-r--r-- | sys/dev/pci/ips.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c index 63479c878a8..0d751598050 100644 --- a/sys/dev/pci/ips.c +++ b/sys/dev/pci/ips.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ips.c,v 1.80 2009/03/20 19:44:45 grange Exp $ */ +/* $OpenBSD: ips.c,v 1.81 2009/03/20 19:48:41 grange Exp $ */ /* * Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org> @@ -1215,6 +1215,7 @@ ips_ioctl_disk(struct ips_softc *sc, struct bioc_disk *bd) sizeof(bd->bd_procdev)); if (dev->state & IPS_DVS_READY) { + bd->bd_status = BIOC_SDUNUSED; if (dev->state & IPS_DVS_MEMBER) bd->bd_status = BIOC_SDONLINE; if (dev->state & IPS_DVS_SPARE) |