summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-03-02 20:56:07 +0000
committerimp <imp@FreeBSD.org>1999-03-02 20:56:07 +0000
commitd1a04540235ee5d1bfd92b51c6f7638742451ac0 (patch)
tree50fadb570d82300bf666b92296c9e762c578c2c4 /sys/dev/aha
parent57bcf97676565454c78f7e428b181cc18fe3f31c (diff)
downloadFreeBSD-src-d1a04540235ee5d1bfd92b51c6f7638742451ac0.zip
FreeBSD-src-d1a04540235ee5d1bfd92b51c6f7638742451ac0.tar.gz
Better logging when the Geometry register probe fails.
Diffstat (limited to 'sys/dev/aha')
-rw-r--r--sys/dev/aha/aha.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c
index dcabdea..20c4239 100644
--- a/sys/dev/aha/aha.c
+++ b/sys/dev/aha/aha.c
@@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aha.c,v 1.18 1998/12/22 22:31:06 imp Exp $
+ * $Id: aha.c,v 1.19 1999/01/20 06:21:26 imp Exp $
*/
#include "pnp.h"
@@ -379,8 +379,8 @@ aha_probe(struct aha_softc* aha)
DELAY(10000);
status = aha_inb(aha, GEOMETRY_REG);
if (status != 0xff && status != 0x00) {
- PRVERB(("%s: Geometry Register test failed\n",
- aha_name(aha)));
+ PRVERB(("%s: Geometry Register test failed 0x%x\n",
+ aha_name(aha), status));
return (ENXIO);
}
}
OpenPOWER on IntegriCloud