summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2002-06-02 23:24:40 +0000
committerlukem <lukem@NetBSD.org>2002-06-02 23:24:40 +0000
commitcfb25c839cc7ed0fe471d631f07cdf24bb3c4df7 (patch)
tree8682654557d78755cf7ce6f7dde33956f75f9a03 /sys/dev/cardbus
parent36379d74b462a8477b6f69e35f09cd235de8f2c9 (diff)
make this compile again
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/rbus_ppb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cardbus/rbus_ppb.c b/sys/dev/cardbus/rbus_ppb.c
index 4ece0ff66e7..acfa0c918b6 100644
--- a/sys/dev/cardbus/rbus_ppb.c
+++ b/sys/dev/cardbus/rbus_ppb.c
@@ -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 @@ ppb_cardbus_attach(parent, self, aux)
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 @@ ppb_cardbus_attach(parent, self, aux)
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;