From: rahnds Date: Fri, 31 Mar 2000 06:08:26 +0000 (+0000) Subject: Quiet down boot on openfirmware probe of macobio bus. Does not print X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2e8692001573560d901b1c3de6a1d8e03cf34851;p=openbsd 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.) --- 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;