Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic When a port reset fails, it is important to know ...
details: https://anonhg.NetBSD.org/src/rev/1c0660622f34
branches: trunk
changeset: 772635:1c0660622f34
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Jan 10 01:43:05 2012 +0000
description:
When a port reset fails, it is important to know which port.
diffstat:
sys/dev/ic/ahcisata_core.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ecba73377401 -r 1c0660622f34 sys/dev/ic/ahcisata_core.c
--- a/sys/dev/ic/ahcisata_core.c Mon Jan 09 22:26:44 2012 +0000
+++ b/sys/dev/ic/ahcisata_core.c Tue Jan 10 01:43:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_core.c,v 1.32 2011/08/20 16:03:48 jakllsch Exp $ */
+/* $NetBSD: ahcisata_core.c,v 1.33 2012/01/10 01:43:05 jakllsch Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.32 2011/08/20 16:03:48 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.33 2012/01/10 01:43:05 jakllsch Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -579,7 +579,7 @@
ahci_channel_stop(sc, chp, flags);
if (sata_reset_interface(chp, sc->sc_ahcit, achp->ahcic_scontrol,
achp->ahcic_sstatus) != SStatus_DET_DEV) {
- printf("%s: port reset failed\n", AHCINAME(sc));
+ printf("%s: port %d reset failed\n", AHCINAME(sc), chp->ch_channel);
/* XXX and then ? */
}
if (chp->ch_queue->active_xfer) {
Home |
Main Index |
Thread Index |
Old Index