Re: Sound on Sun Blade 1000
PJ> You're using a sound card which isn't going to work in a sparc64.
PJ> Basicly, the card only has 30-bits of address space, whereas pci has a
PJ> 32-bit memory address space. The sparc pci controller always assigns
PJ> addreses with the high bit set, so that's just not going to work.
Yep. I did an experiment to get sound out of my Blade 100 in Linux: using
32-bit PCI DMA mask, not the 30-bit one. This has been working for months
without any stability problems. I do not listen much music here, occassional
beeps and one soundplay a week. Works for me but I don't know wheter it really
should :)
Index: drivers/sound/trident.c
===================================================================
RCS file: /vger/linux/drivers/sound/trident.c,v
retrieving revision 1.50
diff -u -r1.50 trident.c
--- drivers/sound/trident.c 10 Nov 2001 08:52:22 -0000 1.50
+++ drivers/sound/trident.c 17 Dec 2001 09:55:21 -0000
@@ -186,7 +186,7 @@
#define TRIDENT_CARD_MAGIC 0x5072696E /* "Prin" */
#define TRIDENT_STATE_MAGIC 0x63657373 /* "cess" */
-#define TRIDENT_DMA_MASK 0x3fffffff /* DMA buffer mask for pci_alloc_consist */
+#define TRIDENT_DMA_MASK 0xffffffff /* DMA buffer mask for pci_alloc_consist */
#define NR_HW_CH 32
--
Meelis Roos (mroos@linux.ee)
Reply to: