This commit is contained in:
augustss 1998-05-21 19:17:50 +00:00
parent 0b9ec50365
commit aa04459121

View File

@ -1,4 +1,4 @@
/* $NetBSD: wss.c,v 1.45 1998/05/20 16:19:43 augustss Exp $ */
/* $NetBSD: wss.c,v 1.46 1998/05/21 19:17:50 augustss Exp $ */
/*
* Copyright (c) 1994 John Brezak
@ -122,13 +122,14 @@ wssattach(sc)
madattach(sc);
sc->sc_ih = isa_intr_establish(sc->sc_ic, sc->wss_irq, IST_EDGE, IPL_AUDIO,
ad1848_intr, &sc->sc_ad1848);
sc->sc_ih = isa_intr_establish(sc->sc_ic, sc->wss_irq, IST_EDGE,
IPL_AUDIO, ad1848_intr, &sc->sc_ad1848);
ad1848_attach(&sc->sc_ad1848);
printf(": %s", sc->sc_ad1848.chip_name);
version = bus_space_read_1(sc->sc_iot, sc->sc_ioh, WSS_STATUS) & WSS_VERSMASK;
version = bus_space_read_1(sc->sc_iot, sc->sc_ioh, WSS_STATUS)
& WSS_VERSMASK;
printf(" (vers %d)", version);
switch(sc->mad_chip_type) {
case MAD_82C928:
@ -454,7 +455,8 @@ madattach(sc)
if (wssdebug) {
int i;
for (i = MC1_PORT; i <= MC7_PORT; i++)
DPRINTF(("port %03x after init = %02x\n", i, mad_read(sc, i)));
DPRINTF(("port %03x after init = %02x\n",
i, mad_read(sc, i)));
}
#endif
}