From 1976785ddb6c34fcd759947c0d773834f864f507 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Fri, 20 Mar 2009 19:48:42 +0000 Subject: Support bio ``unused'' drives. --- sys/dev/pci/ips.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci/ips.c') 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 @@ -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) -- cgit v1.2.3