Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isapnp Reflect version 1.13 of i82365_isa.c. Untested.



details:   https://anonhg.NetBSD.org/src/rev/19f2974b8d1b
branches:  trunk
changeset: 482853:19f2974b8d1b
user:      soren <soren%NetBSD.org@localhost>
date:      Wed Feb 23 17:22:11 2000 +0000

description:
Reflect version 1.13 of i82365_isa.c. Untested.

diffstat:

 sys/dev/isapnp/i82365_isapnp.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r cbed9f4bdfec -r 19f2974b8d1b sys/dev/isapnp/i82365_isapnp.c
--- a/sys/dev/isapnp/i82365_isapnp.c    Wed Feb 23 17:04:06 2000 +0000
+++ b/sys/dev/isapnp/i82365_isapnp.c    Wed Feb 23 17:22:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365_isapnp.c,v 1.7 2000/02/01 22:39:52 chopps Exp $ */
+/*     $NetBSD: i82365_isapnp.c,v 1.8 2000/02/23 17:22:11 soren Exp $  */
 
 /*
  * Copyright (c) 1998 Bill Sommerfeld.  All rights reserved.
@@ -70,7 +70,7 @@
 void   pcic_isapnp_attach __P((struct device *, struct device *, void *));
 
 struct cfattach pcic_isapnp_ca = {
-       sizeof(struct pcic_softc), pcic_isapnp_match, pcic_isapnp_attach
+       sizeof(struct pcic_isa_softc), pcic_isapnp_match, pcic_isapnp_attach
 };
 
 static struct pcmcia_chip_functions pcic_isa_functions = {
@@ -111,6 +111,7 @@
        void *aux;
 {
        struct pcic_softc *sc = (void *) self;
+       struct pcic_isa_softc *isc = (void *) self;
        struct isapnp_attach_args *ipa = aux;
        isa_chipset_tag_t ic = ipa->ipa_ic;
        bus_space_tag_t iot = ipa->ipa_iot;
@@ -162,7 +163,7 @@
        sc->membase = maddr;
        sc->subregionmask = (1 << (msize / PCIC_MEM_PAGESIZE)) - 1;
 
-       sc->intr_est = ic;
+       isc->sc_ic = ic;
        sc->pct = (pcmcia_chipset_tag_t) & pcic_isa_functions;
 
        sc->iot = iot;



Home | Main Index | Thread Index | Old Index