aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/au1550_ac97.c12
-rw-r--r--sound/oss/trident.c18
-rw-r--r--sound/sparc/cs4231.c3
3 files changed, 16 insertions, 17 deletions
diff --git a/sound/oss/au1550_ac97.c b/sound/oss/au1550_ac97.c
index b963c550dae6..bdee0502f3e2 100644
--- a/sound/oss/au1550_ac97.c
+++ b/sound/oss/au1550_ac97.c
@@ -462,7 +462,7 @@ stop_dac(struct au1550_state *s)
462 /* Wait for Transmit Busy to show disabled. 462 /* Wait for Transmit Busy to show disabled.
463 */ 463 */
464 do { 464 do {
465 stat = readl((void *)PSC_AC97STAT); 465 stat = au_readl(PSC_AC97STAT);
466 au_sync(); 466 au_sync();
467 } while ((stat & PSC_AC97STAT_TB) != 0); 467 } while ((stat & PSC_AC97STAT_TB) != 0);
468 468
@@ -491,7 +491,7 @@ stop_adc(struct au1550_state *s)
491 /* Wait for Receive Busy to show disabled. 491 /* Wait for Receive Busy to show disabled.
492 */ 492 */
493 do { 493 do {
494 stat = readl((void *)PSC_AC97STAT); 494 stat = au_readl(PSC_AC97STAT);
495 au_sync(); 495 au_sync();
496 } while ((stat & PSC_AC97STAT_RB) != 0); 496 } while ((stat & PSC_AC97STAT_RB) != 0);
497 497
@@ -541,7 +541,7 @@ set_xmit_slots(int num_channels)
541 /* Wait for Device ready. 541 /* Wait for Device ready.
542 */ 542 */
543 do { 543 do {
544 stat = readl((void *)PSC_AC97STAT); 544 stat = au_readl(PSC_AC97STAT);
545 au_sync(); 545 au_sync();
546 } while ((stat & PSC_AC97STAT_DR) == 0); 546 } while ((stat & PSC_AC97STAT_DR) == 0);
547} 547}
@@ -573,7 +573,7 @@ set_recv_slots(int num_channels)
573 /* Wait for Device ready. 573 /* Wait for Device ready.
574 */ 574 */
575 do { 575 do {
576 stat = readl((void *)PSC_AC97STAT); 576 stat = au_readl(PSC_AC97STAT);
577 au_sync(); 577 au_sync();
578 } while ((stat & PSC_AC97STAT_DR) == 0); 578 } while ((stat & PSC_AC97STAT_DR) == 0);
579} 579}
@@ -1995,7 +1995,7 @@ au1550_probe(void)
1995 /* Wait for PSC ready. 1995 /* Wait for PSC ready.
1996 */ 1996 */
1997 do { 1997 do {
1998 val = readl((void *)PSC_AC97STAT); 1998 val = au_readl(PSC_AC97STAT);
1999 au_sync(); 1999 au_sync();
2000 } while ((val & PSC_AC97STAT_SR) == 0); 2000 } while ((val & PSC_AC97STAT_SR) == 0);
2001 2001
@@ -2018,7 +2018,7 @@ au1550_probe(void)
2018 /* Wait for Device ready. 2018 /* Wait for Device ready.
2019 */ 2019 */
2020 do { 2020 do {
2021 val = readl((void *)PSC_AC97STAT); 2021 val = au_readl(PSC_AC97STAT);
2022 au_sync(); 2022 au_sync();
2023 } while ((val & PSC_AC97STAT_DR) == 0); 2023 } while ((val & PSC_AC97STAT_DR) == 0);
2024 2024
diff --git a/sound/oss/trident.c b/sound/oss/trident.c
index 5f0ad6bb43b9..a21c663e7e12 100644
--- a/sound/oss/trident.c
+++ b/sound/oss/trident.c
@@ -278,16 +278,14 @@ static char *card_names[] = {
278}; 278};
279 279
280static struct pci_device_id trident_pci_tbl[] = { 280static struct pci_device_id trident_pci_tbl[] = {
281 {PCI_VENDOR_ID_TRIDENT, PCI_DEVICE_ID_TRIDENT_4DWAVE_DX, 281 {PCI_DEVICE(PCI_VENDOR_ID_TRIDENT, PCI_DEVICE_ID_TRIDENT_4DWAVE_DX),
282 PCI_ANY_ID, PCI_ANY_ID, 0, 0, TRIDENT_4D_DX}, 282 PCI_CLASS_MULTIMEDIA_AUDIO << 8, 0xffff00, TRIDENT_4D_DX},
283 {PCI_VENDOR_ID_TRIDENT, PCI_DEVICE_ID_TRIDENT_4DWAVE_NX, 283 {PCI_DEVICE(PCI_VENDOR_ID_TRIDENT, PCI_DEVICE_ID_TRIDENT_4DWAVE_NX),
284 PCI_ANY_ID, PCI_ANY_ID, 0, 0, TRIDENT_4D_NX}, 284 0, 0, TRIDENT_4D_NX},
285 {PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_7018, 285 {PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_7018), 0, 0, SIS_7018},
286 PCI_ANY_ID, PCI_ANY_ID, 0, 0, SIS_7018}, 286 {PCI_DEVICE(PCI_VENDOR_ID_ALI, PCI_DEVICE_ID_ALI_5451), 0, 0, ALI_5451},
287 {PCI_VENDOR_ID_ALI, PCI_DEVICE_ID_ALI_5451, 287 {PCI_DEVICE(PCI_VENDOR_ID_INTERG, PCI_DEVICE_ID_INTERG_5050),
288 PCI_ANY_ID, PCI_ANY_ID, 0, 0, ALI_5451}, 288 0, 0, CYBER5050},
289 {PCI_VENDOR_ID_INTERG, PCI_DEVICE_ID_INTERG_5050,
290 PCI_ANY_ID, PCI_ANY_ID, 0, 0, CYBER5050},
291 {0,} 289 {0,}
292}; 290};
293 291
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index e9086e95a31f..fd6543998788 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -69,13 +69,14 @@ struct sbus_dma_info {
69}; 69};
70#endif 70#endif
71 71
72struct snd_cs4231;
72struct cs4231_dma_control { 73struct cs4231_dma_control {
73 void (*prepare)(struct cs4231_dma_control *dma_cont, int dir); 74 void (*prepare)(struct cs4231_dma_control *dma_cont, int dir);
74 void (*enable)(struct cs4231_dma_control *dma_cont, int on); 75 void (*enable)(struct cs4231_dma_control *dma_cont, int on);
75 int (*request)(struct cs4231_dma_control *dma_cont, dma_addr_t bus_addr, size_t len); 76 int (*request)(struct cs4231_dma_control *dma_cont, dma_addr_t bus_addr, size_t len);
76 unsigned int (*address)(struct cs4231_dma_control *dma_cont); 77 unsigned int (*address)(struct cs4231_dma_control *dma_cont);
77 void (*reset)(struct snd_cs4231 *chip); 78 void (*reset)(struct snd_cs4231 *chip);
78 void (*preallocate)(struct snd_cs4231 *chip, struct snd_snd_pcm *pcm); 79 void (*preallocate)(struct snd_cs4231 *chip, struct snd_pcm *pcm);
79#ifdef EBUS_SUPPORT 80#ifdef EBUS_SUPPORT
80 struct ebus_dma_info ebus_info; 81 struct ebus_dma_info ebus_info;
81#endif 82#endif