From ff951260592064a3e9cbf447c50b4d300457d1fb Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 5 Apr 2000 14:23:45 +0000 Subject: [PATCH] add a couple of comments. --- sys/arch/sparc64/dev/cs4231_ebus.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc64/dev/cs4231_ebus.c b/sys/arch/sparc64/dev/cs4231_ebus.c index d50780baa399..0cb022c75cd4 100644 --- a/sys/arch/sparc64/dev/cs4231_ebus.c +++ b/sys/arch/sparc64/dev/cs4231_ebus.c @@ -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,