Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/pci pullup 1.5->1.6 (wrstuden)



details:   https://anonhg.NetBSD.org/src/rev/93d790aa026b
branches:  netbsd-1-4
changeset: 469122:93d790aa026b
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 28 23:38:57 1999 +0000

description:
pullup 1.5->1.6 (wrstuden)

diffstat:

 sys/dev/pci/uhci_pci.c |  25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diffs (46 lines):

diff -r d882b6e70d64 -r 93d790aa026b sys/dev/pci/uhci_pci.c
--- a/sys/dev/pci/uhci_pci.c    Mon Jun 28 23:37:42 1999 +0000
+++ b/sys/dev/pci/uhci_pci.c    Mon Jun 28 23:38:57 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci_pci.c,v 1.4.4.1 1999/05/06 19:30:29 perry Exp $   */
+/*     $NetBSD: uhci_pci.c,v 1.4.4.2 1999/06/28 23:38:57 perry Exp $   */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -63,13 +63,6 @@
        sizeof(uhci_softc_t), uhci_pci_match, uhci_pci_attach
 };
 
-struct {
-       pcitag_t        tag;
-       int             valid;
-} uhci_pci_console_info;
-
-void uhci_pci_has_console __P((pcitag_t));
-
 int
 uhci_pci_match(parent, match, aux)
        struct device *parent;
@@ -165,22 +158,6 @@
                return;
        }
 
-       if (uhci_pci_console_info.valid &&
-           memcmp(&uhci_pci_console_info.tag, &pa->pa_tag,
-                  sizeof(pcitag_t)) == 0)
-               sc->sc_bus.has_console = 1;
-       else
-               sc->sc_bus.has_console = 0;
-
        /* Attach usb device. */
        config_found((void *)sc, &sc->sc_bus, usbctlprint);
 }
-
-void
-uhci_pci_has_console(tag)
-       pcitag_t tag;
-{
-
-       uhci_pci_console_info.tag = tag;
-       uhci_pci_console_info.valid = 1;
-}



Home | Main Index | Thread Index | Old Index