From cfb25c839cc7ed0fe471d631f07cdf24bb3c4df7 Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 2 Jun 2002 23:24:40 +0000 Subject: make this compile again --- sys/dev/cardbus/rbus_ppb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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; -- cgit