Module Name: src
Committed By: jakllsch
Date: Sun Jul 22 18:17:30 UTC 2012
Modified Files:
src/sys/dev/ata: satapmp_subr.c
Log Message:
The vendor and product IDs are 16-bit, print out as such.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ata/satapmp_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ata/satapmp_subr.c
diff -u src/sys/dev/ata/satapmp_subr.c:1.4 src/sys/dev/ata/satapmp_subr.c:1.5
--- src/sys/dev/ata/satapmp_subr.c:1.4 Sun Jul 22 18:12:01 2012
+++ src/sys/dev/ata/satapmp_subr.c Sun Jul 22 18:17:30 2012
@@ -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 @@ satapmp_attach(struct ata_channel *chp)
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");