Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jdolecek-ncq]: src/sys/dev/ata write the device and channel for port mul...
details: https://anonhg.NetBSD.org/src/rev/2a7020ec54bc
branches: jdolecek-ncq
changeset: 352721:2a7020ec54bc
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jul 26 18:12:12 2017 +0000
description:
write the device and channel for port multiplier attach (not just the atabus),
so it's easier to check
diffstat:
sys/dev/ata/satapmp_subr.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r ee59d8d3e82c -r 2a7020ec54bc sys/dev/ata/satapmp_subr.c
--- a/sys/dev/ata/satapmp_subr.c Sun Jul 23 14:14:43 2017 +0000
+++ b/sys/dev/ata/satapmp_subr.c Wed Jul 26 18:12:12 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: satapmp_subr.c,v 1.12.24.4 2017/06/20 20:58:22 jdolecek Exp $ */
+/* $NetBSD: satapmp_subr.c,v 1.12.24.5 2017/07/26 18:12:12 jdolecek Exp $ */
/*
* Copyright (c) 2012 Manuel Bouyer. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.12.24.4 2017/06/20 20:58:22 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.12.24.5 2017/07/26 18:12:12 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -274,8 +274,10 @@
return;
}
- aprint_normal_dev(chp->atabus,
- "SATA port multiplier, %d ports\n", PMP_INF_NPORTS(inf));
+ aprint_normal("%s at %s channel %d: SATA port multiplier, %d ports\n",
+ device_xname(chp->atabus),
+ device_xname(chp->ch_atac->atac_dev), chp->ch_channel,
+ PMP_INF_NPORTS(inf));
aprint_verbose_dev(chp->atabus,
"vendor 0x%04x, product 0x%04x",
PMP_ID_VEND(id), PMP_ID_DEV(id));
Home |
Main Index |
Thread Index |
Old Index