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.7->1.8 (wrstuden)



details:   https://anonhg.NetBSD.org/src/rev/d882b6e70d64
branches:  netbsd-1-4
changeset: 469121:d882b6e70d64
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 28 23:37:42 1999 +0000

description:
pullup 1.7->1.8 (wrstuden)

diffstat:

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

diffs (46 lines):

diff -r b30df9db156d -r d882b6e70d64 sys/dev/pci/ohci_pci.c
--- a/sys/dev/pci/ohci_pci.c    Mon Jun 28 23:22:17 1999 +0000
+++ b/sys/dev/pci/ohci_pci.c    Mon Jun 28 23:37:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci_pci.c,v 1.6.2.1 1999/05/06 19:23:10 perry Exp $   */
+/*     $NetBSD: ohci_pci.c,v 1.6.2.2 1999/06/28 23:37:42 perry Exp $   */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -70,13 +70,6 @@
        sizeof(struct ohci_softc), ohci_pci_match, ohci_pci_attach
 };
 
-struct {
-       pcitag_t        tag;
-       int             valid;
-} ohci_pci_console_info;
-
-void ohci_pci_has_console __P((pcitag_t));
-
 int
 ohci_pci_match(parent, match, aux)
        struct device *parent;
@@ -159,22 +152,6 @@
                return;
        }
 
-       if (ohci_pci_console_info.valid &&
-           memcmp(&ohci_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
-ohci_pci_has_console(tag)
-       pcitag_t tag;
-{
-
-       ohci_pci_console_info.tag = tag;
-       ohci_pci_console_info.valid = 1;
-}



Home | Main Index | Thread Index | Old Index