aprintify
This commit is contained in:
parent
4fbe23fdd0
commit
1b940a02fa
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pciide_machdep.c,v 1.6 2006/11/16 01:32:39 christos Exp $ */
|
||||
/* $NetBSD: pciide_machdep.c,v 1.7 2007/12/01 06:05:40 jmcneill Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.6 2006/11/16 01:32:39 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.7 2007/12/01 06:05:40 jmcneill Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -81,11 +81,12 @@ pciide_machdep_compat_intr_establish(struct device *dev,
|
||||
(intr_find_mpmapping(mp_isa_bus, irq, &mpih) == 0 ||
|
||||
intr_find_mpmapping(mp_eisa_bus, irq, &mpih) == 0)) {
|
||||
mpih |= irq;
|
||||
printf("%s: %s channel interrupting at %s\n", dev->dv_xname,
|
||||
PCIIDE_CHANNEL_NAME(chan), intr_string(mpih));
|
||||
aprint_normal("%s: %s channel interrupting at %s\n",
|
||||
dev->dv_xname, PCIIDE_CHANNEL_NAME(chan),
|
||||
intr_string(mpih));
|
||||
} else
|
||||
#endif
|
||||
printf("%s: %s channel interrupting at irq %d\n", dev->dv_xname,
|
||||
aprint_normal("%s: %s channel interrupting at irq %d\n", dev->dv_xname,
|
||||
PCIIDE_CHANNEL_NAME(chan), irq);
|
||||
return (cookie);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pci_map.c,v 1.21 2007/11/20 22:48:49 joerg Exp $ */
|
||||
/* $NetBSD: pci_map.c,v 1.22 2007/12/01 06:05:18 jmcneill Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.21 2007/11/20 22:48:49 joerg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.22 2007/12/01 06:05:18 jmcneill Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -86,7 +86,7 @@ pci_io_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
|
||||
splx(s);
|
||||
|
||||
if (PCI_MAPREG_TYPE(address) != PCI_MAPREG_TYPE_IO) {
|
||||
printf("pci_io_find: expected type i/o, found mem\n");
|
||||
aprint_debug("pci_io_find: expected type i/o, found mem\n");
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user