Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/cardbus make this compile again



details:   https://anonhg.NetBSD.org/src/rev/7be74010d18e
branches:  trunk
changeset: 532227:7be74010d18e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jun 02 23:24:40 2002 +0000

description:
make this compile again

diffstat:

 sys/dev/cardbus/rbus_ppb.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b4e09c28d5c6 -r 7be74010d18e sys/dev/cardbus/rbus_ppb.c
--- a/sys/dev/cardbus/rbus_ppb.c        Sun Jun 02 23:17:51 2002 +0000
+++ b/sys/dev/cardbus/rbus_ppb.c        Sun Jun 02 23:24:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rbus_ppb.c,v 1.3 2002/05/16 01:01:28 thorpej Exp $     */
+/*     $NetBSD: rbus_ppb.c,v 1.4 2002/06/02 23:24:40 lukem Exp $       */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rbus_ppb.c,v 1.3 2002/05/16 01:01:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rbus_ppb.c,v 1.4 2002/06/02 23:24:40 lukem Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -705,7 +705,7 @@
        pci_devinfo(ca->ca_id, ca->ca_class, 0, devinfo);
        printf(": %s (rev. 0x%02x)\n", devinfo, PCI_REVISION(ca->ca_class));
 
-       sc->sc_tag = ca->ca_tag;        /* XXX cardbustag_t == pcitag_t */
+       csc->sc_tag = ca->ca_tag;       /* XXX cardbustag_t == pcitag_t */
 
        busdata = cardbus_conf_read(cc, cf, ca->ca_tag, PPB_REG_BUSINFO);
        minbus = pcibios_max_bus;
@@ -780,7 +780,7 @@
        pba.pba_pc   = psc->sc_pc;
        pba.pba_flags    = PCI_FLAGS_IO_ENABLED|PCI_FLAGS_MEM_ENABLED;
        pba.pba_bus      = PPB_BUSINFO_SECONDARY(busdata);
-       pba.pba_bridgetag = &sc->sc_tag;
+       pba.pba_bridgetag = &csc->sc_tag;
        /*pba.pba_intrswiz = parent_sc->sc_intrswiz; */
        pba.pba_intrtag  = psc->sc_pa.pa_intrtag;
 



Home | Main Index | Thread Index | Old Index