add a couple of comments.
This commit is contained in:
parent
b986c284fe
commit
ff95126059
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cs4231_ebus.c,v 1.1 1999/06/07 14:59:14 mrg Exp $ */
|
||||
/* $NetBSD: cs4231_ebus.c,v 1.2 2000/04/05 14:23:45 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -104,6 +104,12 @@ cs4231_attach_ebus(parent, self, aux)
|
|||
sc->sc_ad1848.sc_writereg = cs4231_write;
|
||||
|
||||
/*
|
||||
* These are the register we get from the prom:
|
||||
* - CS4231 registers
|
||||
* - DMA (play)
|
||||
* - DMA (write)
|
||||
* - AUXIO audio registers
|
||||
*
|
||||
* Map my registers in, if they aren't already in virtual
|
||||
* address space.
|
||||
*/
|
||||
|
@ -120,6 +126,7 @@ cs4231_attach_ebus(parent, self, aux)
|
|||
return;
|
||||
}
|
||||
}
|
||||
/* XXX what to do with the DMA registers ? */
|
||||
|
||||
sc->sc_ad1848.sc_ioh = bh;
|
||||
sc->sc_dmareg = (struct apc_dma *)(bh + CS4231_REG_SIZE);
|
||||
|
@ -132,8 +139,6 @@ cs4231_attach_ebus(parent, self, aux)
|
|||
|
||||
printf("\n");
|
||||
|
||||
/* sbus_establish(&sc->sc_ed, &sc->sc_ad1848.sc_dev); */
|
||||
|
||||
/* Establish interrupt channels */
|
||||
for (i = 0; i < ea->ea_nintrs; i++)
|
||||
bus_intr_establish(ea->ea_bustag,
|
||||
|
|
Loading…
Reference in New Issue