Use aprint_normal() for cfprint routines.
This commit is contained in:
parent
9c1214153c
commit
98b0e9af47
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fd.c,v 1.50 2002/10/23 09:12:43 jdolecek Exp $ */
|
||||
/* $NetBSD: fd.c,v 1.51 2003/01/01 02:31:13 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -416,7 +416,7 @@ fdprint(aux, fdc)
|
||||
register struct fdc_attach_args *fa = aux;
|
||||
|
||||
if (!fdc)
|
||||
printf(" drive %d", fa->fa_drive);
|
||||
aprint_normal(" drive %d", fa->fa_drive);
|
||||
return QUIET;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: grf_machdep.c,v 1.15 2002/10/02 16:02:39 thorpej Exp $ */
|
||||
/* $NetBSD: grf_machdep.c,v 1.16 2003/01/01 02:31:13 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991 University of Utah.
|
||||
@ -220,7 +220,7 @@ void *auxp;
|
||||
const char *pnp;
|
||||
{
|
||||
if(pnp)
|
||||
printf("ite at %s", pnp);
|
||||
aprint_normal("ite at %s", pnp);
|
||||
return(UNCONF);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intio.c,v 1.16 2002/10/02 16:02:40 thorpej Exp $ */
|
||||
/* $NetBSD: intio.c,v 1.17 2003/01/01 02:31:13 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 NetBSD Foundation, Inc.
|
||||
@ -244,13 +244,13 @@ intio_print(aux, name)
|
||||
struct intio_attach_args *ia = aux;
|
||||
|
||||
/* if (ia->ia_addr > 0) */
|
||||
printf (" addr 0x%06x", ia->ia_addr);
|
||||
aprint_normal (" addr 0x%06x", ia->ia_addr);
|
||||
if (ia->ia_intr > 0)
|
||||
printf (" intr 0x%02x", ia->ia_intr);
|
||||
aprint_normal (" intr 0x%02x", ia->ia_intr);
|
||||
if (ia->ia_dma >= 0) {
|
||||
printf (" using DMA ch%d", ia->ia_dma);
|
||||
aprint_normal (" using DMA ch%d", ia->ia_dma);
|
||||
if (ia->ia_dmaintr > 0)
|
||||
printf (" intr 0x%02x and 0x%02x",
|
||||
aprint_normal (" intr 0x%02x and 0x%02x",
|
||||
ia->ia_dmaintr, ia->ia_dmaintr+1);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: neptune.c,v 1.8 2002/10/02 16:02:42 thorpej Exp $ */
|
||||
/* $NetBSD: neptune.c,v 1.9 2003/01/01 02:31:14 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 NetBSD Foundation, Inc.
|
||||
@ -159,7 +159,7 @@ neptune_print(aux, name)
|
||||
struct neptune_attach_args *na = aux;
|
||||
|
||||
/* if (na->na_addr > 0) */
|
||||
printf (" addr 0x%06x", na->na_addr);
|
||||
aprint_normal (" addr 0x%06x", na->na_addr);
|
||||
|
||||
return (QUIET);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: zs.c,v 1.22 2002/10/02 16:02:44 thorpej Exp $ */
|
||||
/* $NetBSD: zs.c,v 1.23 2003/01/01 02:31:14 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 Minoura Makoto
|
||||
@ -302,10 +302,10 @@ zs_print(aux, name)
|
||||
struct zsc_attach_args *args = aux;
|
||||
|
||||
if (name != NULL)
|
||||
printf("%s: ", name);
|
||||
aprint_normal("%s: ", name);
|
||||
|
||||
if (args->channel != -1)
|
||||
printf(" channel %d", args->channel);
|
||||
aprint_normal(" channel %d", args->channel);
|
||||
|
||||
return UNCONF;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pchb.c,v 1.6 2002/10/02 16:02:46 thorpej Exp $ */
|
||||
/* $NetBSD: pchb.c,v 1.7 2003/01/01 02:32:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
|
||||
@ -130,7 +130,7 @@ pchb_print(aux, pnp)
|
||||
struct pcibus_attach_args *pba = aux;
|
||||
|
||||
if (pnp)
|
||||
printf("%s at %s", pba->pba_busname, pnp);
|
||||
printf(" bus %d", pba->pba_bus);
|
||||
aprint_normal("%s at %s", pba->pba_busname, pnp);
|
||||
aprint_normal(" bus %d", pba->pba_bus);
|
||||
return (UNCONF);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pcib.c,v 1.4 2002/10/02 16:02:46 thorpej Exp $ */
|
||||
/* $NetBSD: pcib.c,v 1.5 2003/01/01 02:32:25 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
|
||||
@ -215,6 +215,6 @@ pcib_print(aux, pnp)
|
||||
|
||||
/* Only ISAs can attach to pcib's; easy. */
|
||||
if (pnp)
|
||||
printf("isa at %s", pnp);
|
||||
aprint_normal("isa at %s", pnp);
|
||||
return (UNCONF);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mainbus.c,v 1.5 2002/10/02 16:02:46 thorpej Exp $ */
|
||||
/* $NetBSD: mainbus.c,v 1.6 2003/01/01 02:32:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
|
||||
@ -135,8 +135,8 @@ mainbus_print(aux, pnp)
|
||||
union mainbus_attach_args *mba = aux;
|
||||
|
||||
if (pnp)
|
||||
printf("%s at %s", mba->mba_busname, pnp);
|
||||
aprint_normal("%s at %s", mba->mba_busname, pnp);
|
||||
if (strcmp(mba->mba_busname, "pci") == 0)
|
||||
printf(" bus %d", mba->mba_pba.pba_bus);
|
||||
aprint_normal(" bus %d", mba->mba_pba.pba_bus);
|
||||
return (UNCONF);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user