From 24fecfc890f9fef4bcf8e37df7b179c7f6d3b44b Mon Sep 17 00:00:00 2001 From: "Dale S. Rahn" Date: Fri, 31 Mar 2000 06:08:27 +0000 Subject: Quiet down boot on openfirmware probe of macobio bus. Does not print devices that are not recognize by drivers, it does not seem right to imply that fd, scsi and adb devices exist on an imac, (ok, they really do but apple did not bring the pins out where they were useable.) --- sys/arch/powerpc/pci/macobio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/arch/powerpc/pci/macobio.c b/sys/arch/powerpc/pci/macobio.c index 60fd121b0a7..38b6416b0ed 100644 --- a/sys/arch/powerpc/pci/macobio.c +++ b/sys/arch/powerpc/pci/macobio.c @@ -104,7 +104,7 @@ obio_attach(parent, self, aux) int32_t intr[5]; char name[32]; - printf("obio ver %x\n", (PCI_PRODUCT(pa->pa_id))); + printf("obio ver %x", (PCI_PRODUCT(pa->pa_id))); switch (PCI_PRODUCT(pa->pa_id)) { @@ -187,6 +187,8 @@ obio_print(aux, obio) { struct confargs *ca = aux; +#if 0 +/* no reason to clutter the screen with unneccessary printfs */ if (obio) printf("%s at %s", ca->ca_name, obio); @@ -194,6 +196,8 @@ obio_print(aux, obio) printf(" offset 0x%x", ca->ca_reg[0]); return UNCONF; +#endif + return QUIET; } typedef int mac_intr_handle_t; -- cgit v1.2.3