diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-03-31 06:08:27 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-03-31 06:08:27 +0000 |
commit | 24fecfc890f9fef4bcf8e37df7b179c7f6d3b44b (patch) | |
tree | d4f6e1c36054570f7da4ebe92eda7acc54316018 /sys | |
parent | 7911a3458263610d25ad5caf610eff8c2e874ce1 (diff) |
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.)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/powerpc/pci/macobio.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |