Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ata The vendor and product IDs are 16-bit, print out...
details: https://anonhg.NetBSD.org/src/rev/58dcf74501db
branches: trunk
changeset: 780403:58dcf74501db
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Jul 22 18:17:30 2012 +0000
description:
The vendor and product IDs are 16-bit, print out as such.
diffstat:
sys/dev/ata/satapmp_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5315b76f2c79 -r 58dcf74501db sys/dev/ata/satapmp_subr.c
--- a/sys/dev/ata/satapmp_subr.c Sun Jul 22 18:12:01 2012 +0000
+++ b/sys/dev/ata/satapmp_subr.c Sun Jul 22 18:17:30 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: satapmp_subr.c,v 1.4 2012/07/22 18:12:01 jakllsch Exp $ */
+/* $NetBSD: satapmp_subr.c,v 1.5 2012/07/22 18:17:30 jakllsch 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.4 2012/07/22 18:12:01 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.5 2012/07/22 18:17:30 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -233,7 +233,7 @@
aprint_normal_dev(chp->atabus,
"SATA port multiplier, %d ports\n", PMP_INF_NPORTS(inf));
aprint_verbose_dev(chp->atabus,
- "vendor 0x%x, product 0x%x",
+ "vendor 0x%04x, product 0x%04x",
PMP_ID_VEND(id), PMP_ID_DEV(id));
if (rev & PMP_REV_SPEC_11) {
aprint_verbose(", revision 1.1");
Home |
Main Index |
Thread Index |
Old Index