Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci And commit two files I forgot in the rearrangeme...



details:   https://anonhg.NetBSD.org/src/rev/b3231db59304
branches:  trunk
changeset: 476344:b3231db59304
user:      augustss <augustss%NetBSD.org@localhost>
date:      Tue Sep 14 01:07:13 1999 +0000

description:
And commit two files I forgot in the rearrangement for testing for
interrupt context.

diffstat:

 sys/dev/pci/ohci_pci.c |  4 ++--
 sys/dev/pci/uhci_pci.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 22ebc90e843b -r b3231db59304 sys/dev/pci/ohci_pci.c
--- a/sys/dev/pci/ohci_pci.c    Tue Sep 14 00:55:38 1999 +0000
+++ b/sys/dev/pci/ohci_pci.c    Tue Sep 14 01:07:13 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci_pci.c,v 1.11 1999/09/04 22:00:32 augustss Exp $   */
+/*     $NetBSD: ohci_pci.c,v 1.12 1999/09/14 01:07:13 augustss Exp $   */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -115,7 +115,7 @@
        /* Disable interrupts, so we don't can any spurious ones. */
        bus_space_write_4(sc->iot, sc->ioh, OHCI_INTERRUPT_DISABLE, OHCI_ALL_INTRS);
 
-       sc->sc_dmatag = pa->pa_dmat;
+       sc->sc_bus.dmatag = pa->pa_dmat;
 
        /* Enable the device. */
        csr = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
diff -r 22ebc90e843b -r b3231db59304 sys/dev/pci/uhci_pci.c
--- a/sys/dev/pci/uhci_pci.c    Tue Sep 14 00:55:38 1999 +0000
+++ b/sys/dev/pci/uhci_pci.c    Tue Sep 14 01:07:13 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci_pci.c,v 1.8 1999/08/21 21:35:36 augustss Exp $    */
+/*     $NetBSD: uhci_pci.c,v 1.9 1999/09/14 01:07:14 augustss Exp $    */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -108,7 +108,7 @@
                return;
        }
 
-       sc->sc_dmatag = pa->pa_dmat;
+       sc->sc_bus.dmatag = pa->pa_dmat;
 
        /* Enable the device. */
        csr = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);



Home | Main Index | Thread Index | Old Index