summaryrefslogtreecommitdiff
path: root/sys/dev/ic/wdc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-23 23:48:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-23 23:48:38 +0000
commit4940646a8462a627b7f9a58eb7d5ad1642687b8c (patch)
treede56fb82ce7df6ebb9256c94d9c355c4598e210a /sys/dev/ic/wdc.c
parent69479f7be677f5949222ae9e7454c6787c8a8225 (diff)
little annoying knf
Diffstat (limited to 'sys/dev/ic/wdc.c')
-rw-r--r--sys/dev/ic/wdc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index aaf79e7ab57..21fe713d226 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.104 2009/11/22 12:51:09 jsg Exp $ */
+/* $OpenBSD: wdc.c,v 1.105 2009/11/23 23:48:37 deraadt Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -990,11 +990,13 @@ wdcintr(arg)
}
/* Put all disk in RESET state */
-void wdc_reset_channel(drvp)
+void
+wdc_reset_channel(drvp)
struct ata_drive_datas *drvp;
{
struct channel_softc *chp = drvp->chnl_softc;
int drive;
+
WDCDEBUG_PRINT(("ata_reset_channel %s:%d for drive %d\n",
chp->wdc->sc_dev.dv_xname, chp->channel, drvp->drive),
DEBUG_FUNCS);