make this compile again

This commit is contained in:
lukem 2002-06-02 23:24:40 +00:00
parent 36379d74b4
commit cfb25c839c
1 changed files with 4 additions and 4 deletions

View File

@ -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;