Adjustments for structure name changes.

This commit is contained in:
mycroft 1999-03-16 13:07:45 +00:00
parent 3e404912dc
commit 9e041fd850
2 changed files with 24 additions and 24 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ess_isa.c,v 1.1 1999/03/02 20:42:10 nathanw Exp $ */
/* $NetBSD: ess_isa.c,v 1.2 1999/03/16 13:07:45 mycroft Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -83,12 +83,12 @@ ess_isa_probe(parent, match, aux)
return 0;
}
sc->sc_in.irq = ia->ia_irq;
sc->sc_in.ist = IST_EDGE;
sc->sc_in.drq = ia->ia_drq;
sc->sc_out.irq = ia->ia_irq;
sc->sc_out.ist = IST_EDGE;
sc->sc_out.drq = ia->ia_drq2;
sc->sc_audio1.irq = ia->ia_irq;
sc->sc_audio1.ist = IST_EDGE;
sc->sc_audio1.drq = ia->ia_drq;
sc->sc_audio2.irq = ia->ia_irq;
sc->sc_audio2.ist = IST_EDGE;
sc->sc_audio2.drq = ia->ia_drq2;
ret = essmatch(sc);
@ -120,12 +120,12 @@ void ess_isa_attach(parent, self, aux)
return;
}
sc->sc_in.irq = ia->ia_irq;
sc->sc_in.ist = IST_EDGE;
sc->sc_in.drq = ia->ia_drq;
sc->sc_out.irq = ia->ia_irq;
sc->sc_out.ist = IST_EDGE;
sc->sc_out.drq = ia->ia_drq;
sc->sc_audio1.irq = ia->ia_irq;
sc->sc_audio1.ist = IST_EDGE;
sc->sc_audio1.drq = ia->ia_drq;
sc->sc_audio2.irq = ia->ia_irq;
sc->sc_audio2.ist = IST_EDGE;
sc->sc_audio2.drq = ia->ia_drq;
printf("%s:", sc->sc_dev.dv_xname);

View File

@ -1,4 +1,4 @@
/* $NetBSD: ess_ofisa.c,v 1.4 1998/08/13 02:10:52 eeh Exp $ */
/* $NetBSD: ess_ofisa.c,v 1.5 1999/03/16 13:07:45 mycroft Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -126,15 +126,15 @@ ess_ofisa_attach(parent, self, aux)
n = ofisa_intr_get(aa->oba.oba_phandle, intr, 2);
if (n == 1) {
sc->sc_in.irq = intr[0].irq;
sc->sc_in.ist = intr[0].share;
sc->sc_out.irq = intr[0].irq;
sc->sc_out.ist = intr[0].share;
sc->sc_audio1.irq = intr[0].irq;
sc->sc_audio1.ist = intr[0].share;
sc->sc_audio2.irq = intr[0].irq;
sc->sc_audio2.ist = intr[0].share;
} else if (n == 2) {
sc->sc_in.irq = intr[0].irq;
sc->sc_in.ist = intr[0].share;
sc->sc_out.irq = intr[1].irq;
sc->sc_out.ist = intr[1].share;
sc->sc_audio1.irq = intr[0].irq;
sc->sc_audio1.ist = intr[0].share;
sc->sc_audio2.irq = intr[1].irq;
sc->sc_audio2.ist = intr[1].share;
} else {
printf(": error getting interrupt data\n");
return;
@ -145,8 +145,8 @@ ess_ofisa_attach(parent, self, aux)
printf(": error getting DMA data\n");
return;
}
sc->sc_in.drq = dma[0].drq;
sc->sc_out.drq = dma[1].drq;
sc->sc_audio1.drq = dma[0].drq;
sc->sc_audio2.drq = dma[1].drq;
sc->sc_ic = aa->ic;