Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Don't make a human-readable device description b...



details:   https://anonhg.NetBSD.org/src/rev/84cebaa77972
branches:  trunk
changeset: 475972:84cebaa77972
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Sep 01 07:32:31 1999 +0000

description:
Don't make a human-readable device description being printed at attach time
depend on PCIVERBOSE.

diffstat:

 sys/dev/pci/eap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 49cf1ebc6bf5 -r 84cebaa77972 sys/dev/pci/eap.c
--- a/sys/dev/pci/eap.c Wed Sep 01 05:07:03 1999 +0000
+++ b/sys/dev/pci/eap.c Wed Sep 01 07:32:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eap.c,v 1.26 1999/07/10 16:46:19 kleink Exp $  */
+/*     $NetBSD: eap.c,v 1.27 1999/09/01 07:32:31 kleink Exp $  */
 
 /*
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -390,11 +390,10 @@
        char const *intrstr;
        pci_intr_handle_t ih;
        pcireg_t csr;
-       char devinfo[256];
        mixer_ctrl_t ctl;
 
-       pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo);
-       printf(": %s (rev. 0x%02x)\n", devinfo, PCI_REVISION(pa->pa_class));
+       printf(": Ensoniq AudioPCI (rev. 0x%02x)\n",
+           PCI_REVISION(pa->pa_class));
 
        /* Map I/O register */
        if (pci_mapreg_map(pa, PCI_CBIO, PCI_MAPREG_TYPE_IO, 0,



Home | Main Index | Thread Index | Old Index