diff options
| author | dyoung <dyoung@NetBSD.org> | 2007-04-16 05:25:36 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2007-04-16 05:25:36 +0000 |
| commit | 339f95c302496155bcbcabf6e5beefe93c50d6d3 (patch) | |
| tree | 28d562bc7cfdb5e8265bdde91b2932aded1df91b /sys/dev | |
| parent | aba740b225932c4e54d6f143ff338cd50b446944 (diff) | |
Make this compile with or without 'options ATADEBUG'.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/wdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index 1ec58663a8e..8de86600096 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.247 2007/03/17 06:41:35 dyoung Exp $ */ +/* $NetBSD: wdc.c,v 1.248 2007/04/16 05:25:36 dyoung Exp $ */ /* * Copyright (c) 1998, 2001, 2003 Manuel Bouyer. All rights reserved. @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.247 2007/03/17 06:41:35 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.248 2007/04/16 05:25:36 dyoung Exp $"); #include "opt_ata.h" @@ -906,7 +906,7 @@ wdc_reset_drive(struct ata_drive_datas *drvp, int flags) struct ata_channel *chp = drvp->chnl_softc; ATADEBUG_PRINT(("wdc_reset_drive %s:%d for drive %d\n", - atac->atac_dev.dv_xname, chp->ch_channel, drvp->drive), + chp->ch_atac->atac_dev.dv_xname, chp->ch_channel, drvp->drive), DEBUG_FUNCS); ata_reset_channel(chp, flags); |
