patch-2.1.94 linux/drivers/sound/gus_wave.c
Next file: linux/drivers/sound/local.h.master
Previous file: linux/drivers/sound/gus_card.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Wed Apr 8 17:24:48 1998
- Orig file:
v2.1.93/linux/drivers/sound/gus_wave.c
- Orig date:
Mon Feb 23 18:12:09 1998
diff -u --recursive --new-file v2.1.93/linux/drivers/sound/gus_wave.c linux/drivers/sound/gus_wave.c
@@ -859,26 +859,26 @@
int bank_sizes[4];
int i, j, bits = -1, nbanks = 0;
-/*
- * This routine determines what kind of RAM is installed in each of the four
- * SIMM banks and configures the DRAM address decode logic accordingly.
- */
+ /*
+ * This routine determines what kind of RAM is installed in each of the four
+ * SIMM banks and configures the DRAM address decode logic accordingly.
+ */
-/*
- * Place the chip into enhanced mode
- */
+ /*
+ * Place the chip into enhanced mode
+ */
gus_write8(0x19, gus_read8(0x19) | 0x01);
gus_write8(0x53, gus_look8(0x53) & ~0x02); /* Select DRAM I/O access */
-/*
- * Set memory configuration to 4 DRAM banks of 4M in each (16M total).
- */
+ /*
+ * Set memory configuration to 4 DRAM banks of 4M in each (16M total).
+ */
gus_write16(0x52, (gus_look16(0x52) & 0xfff0) | 0x000c);
-/*
- * Perform the DRAM size detection for each bank individually.
- */
+ /*
+ * Perform the DRAM size detection for each bank individually.
+ */
for (bank = 0; bank < 4; bank++)
{
int size = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov