summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/gdt_common.c5
-rw-r--r--sys/dev/ic/pckbc.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/ic/gdt_common.c b/sys/dev/ic/gdt_common.c
index 16e80a94ab2..2db3a131f18 100644
--- a/sys/dev/ic/gdt_common.c
+++ b/sys/dev/ic/gdt_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt_common.c,v 1.35 2006/05/07 23:18:59 marco Exp $ */
+/* $OpenBSD: gdt_common.c,v 1.36 2006/05/08 19:52:13 deraadt Exp $ */
/*
* Copyright (c) 1999, 2000, 2003 Niklas Hallqvist. All rights reserved.
@@ -465,7 +465,8 @@ gdt_attach(gdt)
gdt->sc_link.openings = (GDT_MAXCMDS - GDT_CMD_RESERVE) /
gdt->sc_ndevs;
- printf("dpmem %x %d-bus %d cache device%s\n", gdt->sc_dpmembase,
+ printf("dpmem %llx %d-bus %d cache device%s\n",
+ (long long)gdt->sc_dpmembase,
gdt->sc_bus_cnt, cdev_cnt, cdev_cnt == 1 ? "" : "s");
printf("%s: ver %x, cache %s, strategy %d, writeback %s, blksz %d\n",
DEVNAME(gdt), gdt->sc_cpar.cp_version,
diff --git a/sys/dev/ic/pckbc.c b/sys/dev/ic/pckbc.c
index 76bda02eb2c..19dd31739a4 100644
--- a/sys/dev/ic/pckbc.c
+++ b/sys/dev/ic/pckbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbc.c,v 1.11 2005/12/29 12:31:29 martin Exp $ */
+/* $OpenBSD: pckbc.c,v 1.12 2006/05/08 19:52:13 deraadt Exp $ */
/* $NetBSD: pckbc.c,v 1.5 2000/06/09 04:58:35 soda Exp $ */
/*
@@ -769,7 +769,9 @@ pckbc_cmdresponse(t, slot, data)
/* try again last command */
goto restart;
} else {
+#ifdef PCKBCDEBUG
printf("pckbc: cmd failed\n");
+#endif
cmd->status = EIO;
/* dequeue */
}