aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-07-01 22:29:46 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-02 16:58:54 -0400
commit65ca68b30073473583f6ca2f463cbd94ade43ddb (patch)
treef7d4384450fbdfcb2661a74f3c2f28e53721eeb0 /sound/oss
parent63a43399db67d6f94364f933f68f38f58387737a (diff)
[PATCH] irq-flags: sound: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/ad1889.c2
-rw-r--r--sound/oss/ali5455.c2
-rw-r--r--sound/oss/au1000.c4
-rw-r--r--sound/oss/btaudio.c2
-rw-r--r--sound/oss/cmpci.c2
-rw-r--r--sound/oss/cs4281/cs4281m.c2
-rw-r--r--sound/oss/cs46xx.c2
-rw-r--r--sound/oss/emu10k1/main.c2
-rw-r--r--sound/oss/es1370.c2
-rw-r--r--sound/oss/es1371.c2
-rw-r--r--sound/oss/esssolo1.c2
-rw-r--r--sound/oss/forte.c2
-rw-r--r--sound/oss/hal2.c2
-rw-r--r--sound/oss/i810_audio.c2
-rw-r--r--sound/oss/ite8172.c2
-rw-r--r--sound/oss/maestro.c2
-rw-r--r--sound/oss/maestro3.c2
-rw-r--r--sound/oss/nec_vrc5477.c2
-rw-r--r--sound/oss/nm256_audio.c2
-rw-r--r--sound/oss/rme96xx.c2
-rw-r--r--sound/oss/sb_common.c2
-rw-r--r--sound/oss/sh_dac_audio.c2
-rw-r--r--sound/oss/sonicvibes.c2
-rw-r--r--sound/oss/trident.c2
-rw-r--r--sound/oss/via82cxxx_audio.c4
-rw-r--r--sound/oss/wavfront.c2
-rw-r--r--sound/oss/wf_midi.c2
-rw-r--r--sound/oss/ymfpci.c2
28 files changed, 30 insertions, 30 deletions
diff --git a/sound/oss/ad1889.c b/sound/oss/ad1889.c
index 0b09b8b4ec7d..f56f870b4840 100644
--- a/sound/oss/ad1889.c
+++ b/sound/oss/ad1889.c
@@ -1010,7 +1010,7 @@ static int __devinit ad1889_probe(struct pci_dev *pcidev, const struct pci_devic
1010 goto out2; 1010 goto out2;
1011 } 1011 }
1012 1012
1013 if (request_irq(pcidev->irq, ad1889_interrupt, SA_SHIRQ, DEVNAME, dev) != 0) { 1013 if (request_irq(pcidev->irq, ad1889_interrupt, IRQF_SHARED, DEVNAME, dev) != 0) {
1014 printk(KERN_ERR DEVNAME ": unable to request interrupt\n"); 1014 printk(KERN_ERR DEVNAME ": unable to request interrupt\n");
1015 goto out3; 1015 goto out3;
1016 } 1016 }
diff --git a/sound/oss/ali5455.c b/sound/oss/ali5455.c
index 62bb936b1f3d..70dcd703a66f 100644
--- a/sound/oss/ali5455.c
+++ b/sound/oss/ali5455.c
@@ -3460,7 +3460,7 @@ static int __devinit ali_probe(struct pci_dev *pci_dev,
3460 card->channel[4].num = 4; 3460 card->channel[4].num = 4;
3461 /* claim our iospace and irq */ 3461 /* claim our iospace and irq */
3462 request_region(card->iobase, 256, card_names[pci_id->driver_data]); 3462 request_region(card->iobase, 256, card_names[pci_id->driver_data]);
3463 if (request_irq(card->irq, &ali_interrupt, SA_SHIRQ, 3463 if (request_irq(card->irq, &ali_interrupt, IRQF_SHARED,
3464 card_names[pci_id->driver_data], card)) { 3464 card_names[pci_id->driver_data], card)) {
3465 printk(KERN_ERR "ali_audio: unable to allocate irq %d\n", 3465 printk(KERN_ERR "ali_audio: unable to allocate irq %d\n",
3466 card->irq); 3466 card->irq);
diff --git a/sound/oss/au1000.c b/sound/oss/au1000.c
index eacb0aef21e1..e3796231452a 100644
--- a/sound/oss/au1000.c
+++ b/sound/oss/au1000.c
@@ -2015,14 +2015,14 @@ static int __devinit au1000_probe(void)
2015 if ((s->dma_dac.dmanr = request_au1000_dma(DMA_ID_AC97C_TX, 2015 if ((s->dma_dac.dmanr = request_au1000_dma(DMA_ID_AC97C_TX,
2016 "audio DAC", 2016 "audio DAC",
2017 dac_dma_interrupt, 2017 dac_dma_interrupt,
2018 SA_INTERRUPT, s)) < 0) { 2018 IRQF_DISABLED, s)) < 0) {
2019 err("Can't get DAC DMA"); 2019 err("Can't get DAC DMA");
2020 goto err_dma1; 2020 goto err_dma1;
2021 } 2021 }
2022 if ((s->dma_adc.dmanr = request_au1000_dma(DMA_ID_AC97C_RX, 2022 if ((s->dma_adc.dmanr = request_au1000_dma(DMA_ID_AC97C_RX,
2023 "audio ADC", 2023 "audio ADC",
2024 adc_dma_interrupt, 2024 adc_dma_interrupt,
2025 SA_INTERRUPT, s)) < 0) { 2025 IRQF_DISABLED, s)) < 0) {
2026 err("Can't get ADC DMA"); 2026 err("Can't get ADC DMA");
2027 goto err_dma2; 2027 goto err_dma2;
2028 } 2028 }
diff --git a/sound/oss/btaudio.c b/sound/oss/btaudio.c
index bfe3b534ef30..324a81fd3a3b 100644
--- a/sound/oss/btaudio.c
+++ b/sound/oss/btaudio.c
@@ -966,7 +966,7 @@ static int __devinit btaudio_probe(struct pci_dev *pci_dev,
966 btwrite(~0U, REG_INT_STAT); 966 btwrite(~0U, REG_INT_STAT);
967 pci_set_master(pci_dev); 967 pci_set_master(pci_dev);
968 968
969 if ((rc = request_irq(bta->irq, btaudio_irq, SA_SHIRQ|SA_INTERRUPT, 969 if ((rc = request_irq(bta->irq, btaudio_irq, IRQF_SHARED|IRQF_DISABLED,
970 "btaudio",(void *)bta)) < 0) { 970 "btaudio",(void *)bta)) < 0) {
971 printk(KERN_WARNING 971 printk(KERN_WARNING
972 "btaudio: can't request irq (rc=%d)\n",rc); 972 "btaudio: can't request irq (rc=%d)\n",rc);
diff --git a/sound/oss/cmpci.c b/sound/oss/cmpci.c
index de60a059ff5f..ea51aafaf401 100644
--- a/sound/oss/cmpci.c
+++ b/sound/oss/cmpci.c
@@ -3122,7 +3122,7 @@ static int __devinit cm_probe(struct pci_dev *pcidev, const struct pci_device_id
3122 wrmixer(s, DSP_MIX_DATARESETIDX, 0); 3122 wrmixer(s, DSP_MIX_DATARESETIDX, 0);
3123 3123
3124 /* request irq */ 3124 /* request irq */
3125 if ((ret = request_irq(s->irq, cm_interrupt, SA_SHIRQ, "cmpci", s))) { 3125 if ((ret = request_irq(s->irq, cm_interrupt, IRQF_SHARED, "cmpci", s))) {
3126 printk(KERN_ERR "cmpci: irq %u in use\n", s->irq); 3126 printk(KERN_ERR "cmpci: irq %u in use\n", s->irq);
3127 goto err_irq; 3127 goto err_irq;
3128 } 3128 }
diff --git a/sound/oss/cs4281/cs4281m.c b/sound/oss/cs4281/cs4281m.c
index 0004442f9b7e..0400a416dc93 100644
--- a/sound/oss/cs4281/cs4281m.c
+++ b/sound/oss/cs4281/cs4281m.c
@@ -4346,7 +4346,7 @@ static int __devinit cs4281_probe(struct pci_dev *pcidev,
4346 s->pcidev = pcidev; 4346 s->pcidev = pcidev;
4347 s->irq = pcidev->irq; 4347 s->irq = pcidev->irq;
4348 if (request_irq 4348 if (request_irq
4349 (s->irq, cs4281_interrupt, SA_SHIRQ, "Crystal CS4281", s)) { 4349 (s->irq, cs4281_interrupt, IRQF_SHARED, "Crystal CS4281", s)) {
4350 CS_DBGOUT(CS_INIT | CS_ERROR, 1, 4350 CS_DBGOUT(CS_INIT | CS_ERROR, 1,
4351 printk(KERN_ERR "cs4281: irq %u in use\n", s->irq)); 4351 printk(KERN_ERR "cs4281: irq %u in use\n", s->irq));
4352 goto err_irq; 4352 goto err_irq;
diff --git a/sound/oss/cs46xx.c b/sound/oss/cs46xx.c
index 994c71e986e4..5195bf933cb8 100644
--- a/sound/oss/cs46xx.c
+++ b/sound/oss/cs46xx.c
@@ -5177,7 +5177,7 @@ static int __devinit cs46xx_probe(struct pci_dev *pci_dev,
5177 card->ba1.name.reg == 0) 5177 card->ba1.name.reg == 0)
5178 goto fail2; 5178 goto fail2;
5179 5179
5180 if (request_irq(card->irq, &cs_interrupt, SA_SHIRQ, "cs46xx", card)) { 5180 if (request_irq(card->irq, &cs_interrupt, IRQF_SHARED, "cs46xx", card)) {
5181 printk(KERN_ERR "cs46xx: unable to allocate irq %d\n", card->irq); 5181 printk(KERN_ERR "cs46xx: unable to allocate irq %d\n", card->irq);
5182 goto fail2; 5182 goto fail2;
5183 } 5183 }
diff --git a/sound/oss/emu10k1/main.c b/sound/oss/emu10k1/main.c
index 3721c5857b90..c4ce94d6e10c 100644
--- a/sound/oss/emu10k1/main.c
+++ b/sound/oss/emu10k1/main.c
@@ -1301,7 +1301,7 @@ static int __devinit emu10k1_probe(struct pci_dev *pci_dev, const struct pci_dev
1301 card->pci_dev = pci_dev; 1301 card->pci_dev = pci_dev;
1302 1302
1303 /* Reserve IRQ Line */ 1303 /* Reserve IRQ Line */
1304 if (request_irq(card->irq, emu10k1_interrupt, SA_SHIRQ, card_names[pci_id->driver_data], card)) { 1304 if (request_irq(card->irq, emu10k1_interrupt, IRQF_SHARED, card_names[pci_id->driver_data], card)) {
1305 printk(KERN_ERR "emu10k1: IRQ in use\n"); 1305 printk(KERN_ERR "emu10k1: IRQ in use\n");
1306 ret = -EBUSY; 1306 ret = -EBUSY;
1307 goto err_irq; 1307 goto err_irq;
diff --git a/sound/oss/es1370.c b/sound/oss/es1370.c
index 094f569cc6e0..13f483149737 100644
--- a/sound/oss/es1370.c
+++ b/sound/oss/es1370.c
@@ -2650,7 +2650,7 @@ static int __devinit es1370_probe(struct pci_dev *pcidev, const struct pci_devic
2650 ret = -EBUSY; 2650 ret = -EBUSY;
2651 goto err_region; 2651 goto err_region;
2652 } 2652 }
2653 if ((ret=request_irq(s->irq, es1370_interrupt, SA_SHIRQ, "es1370",s))) { 2653 if ((ret=request_irq(s->irq, es1370_interrupt, IRQF_SHARED, "es1370",s))) {
2654 printk(KERN_ERR "es1370: irq %u in use\n", s->irq); 2654 printk(KERN_ERR "es1370: irq %u in use\n", s->irq);
2655 goto err_irq; 2655 goto err_irq;
2656 } 2656 }
diff --git a/sound/oss/es1371.c b/sound/oss/es1371.c
index 4400c8538686..a2ffe723dad5 100644
--- a/sound/oss/es1371.c
+++ b/sound/oss/es1371.c
@@ -2905,7 +2905,7 @@ static int __devinit es1371_probe(struct pci_dev *pcidev, const struct pci_devic
2905 res = -EBUSY; 2905 res = -EBUSY;
2906 goto err_region; 2906 goto err_region;
2907 } 2907 }
2908 if ((res=request_irq(s->irq, es1371_interrupt, SA_SHIRQ, "es1371",s))) { 2908 if ((res=request_irq(s->irq, es1371_interrupt, IRQF_SHARED, "es1371",s))) {
2909 printk(KERN_ERR PFX "irq %u in use\n", s->irq); 2909 printk(KERN_ERR PFX "irq %u in use\n", s->irq);
2910 goto err_irq; 2910 goto err_irq;
2911 } 2911 }
diff --git a/sound/oss/esssolo1.c b/sound/oss/esssolo1.c
index 6861563d7525..82f40a0a5c9c 100644
--- a/sound/oss/esssolo1.c
+++ b/sound/oss/esssolo1.c
@@ -2392,7 +2392,7 @@ static int __devinit solo1_probe(struct pci_dev *pcidev, const struct pci_device
2392 printk(KERN_ERR "solo1: io ports in use\n"); 2392 printk(KERN_ERR "solo1: io ports in use\n");
2393 goto err_region4; 2393 goto err_region4;
2394 } 2394 }
2395 if ((ret=request_irq(s->irq,solo1_interrupt,SA_SHIRQ,"ESS Solo1",s))) { 2395 if ((ret=request_irq(s->irq,solo1_interrupt,IRQF_SHARED,"ESS Solo1",s))) {
2396 printk(KERN_ERR "solo1: irq %u in use\n", s->irq); 2396 printk(KERN_ERR "solo1: irq %u in use\n", s->irq);
2397 goto err_irq; 2397 goto err_irq;
2398 } 2398 }
diff --git a/sound/oss/forte.c b/sound/oss/forte.c
index 44e578098d76..ea1c0207aef2 100644
--- a/sound/oss/forte.c
+++ b/sound/oss/forte.c
@@ -2026,7 +2026,7 @@ forte_probe (struct pci_dev *pci_dev, const struct pci_device_id *pci_id)
2026 chip->iobase = pci_resource_start (pci_dev, 0); 2026 chip->iobase = pci_resource_start (pci_dev, 0);
2027 chip->irq = pci_dev->irq; 2027 chip->irq = pci_dev->irq;
2028 2028
2029 if (request_irq (chip->irq, forte_interrupt, SA_SHIRQ, DRIVER_NAME, 2029 if (request_irq (chip->irq, forte_interrupt, IRQF_SHARED, DRIVER_NAME,
2030 chip)) { 2030 chip)) {
2031 printk (KERN_WARNING PFX "Unable to reserve IRQ"); 2031 printk (KERN_WARNING PFX "Unable to reserve IRQ");
2032 ret = -EIO; 2032 ret = -EIO;
diff --git a/sound/oss/hal2.c b/sound/oss/hal2.c
index dd4f59d30a3a..80ab402dae9a 100644
--- a/sound/oss/hal2.c
+++ b/sound/oss/hal2.c
@@ -1479,7 +1479,7 @@ static int hal2_init_card(struct hal2_card **phal2, struct hpc3_regs *hpc3)
1479 hpc3->pbus_dmacfg[hal2->dac.pbus.pbusnr][0] = 0x8208844; 1479 hpc3->pbus_dmacfg[hal2->dac.pbus.pbusnr][0] = 0x8208844;
1480 hpc3->pbus_dmacfg[hal2->adc.pbus.pbusnr][0] = 0x8208844; 1480 hpc3->pbus_dmacfg[hal2->adc.pbus.pbusnr][0] = 0x8208844;
1481 1481
1482 if (request_irq(SGI_HPCDMA_IRQ, hal2_interrupt, SA_SHIRQ, 1482 if (request_irq(SGI_HPCDMA_IRQ, hal2_interrupt, IRQF_SHARED,
1483 hal2str, hal2)) { 1483 hal2str, hal2)) {
1484 printk(KERN_ERR "HAL2: Can't get irq %d\n", SGI_HPCDMA_IRQ); 1484 printk(KERN_ERR "HAL2: Can't get irq %d\n", SGI_HPCDMA_IRQ);
1485 ret = -EAGAIN; 1485 ret = -EAGAIN;
diff --git a/sound/oss/i810_audio.c b/sound/oss/i810_audio.c
index dd2b871cdac5..ddcddc2347f7 100644
--- a/sound/oss/i810_audio.c
+++ b/sound/oss/i810_audio.c
@@ -3413,7 +3413,7 @@ static int __devinit i810_probe(struct pci_dev *pci_dev, const struct pci_device
3413 goto out_iospace; 3413 goto out_iospace;
3414 } 3414 }
3415 3415
3416 if (request_irq(card->irq, &i810_interrupt, SA_SHIRQ, 3416 if (request_irq(card->irq, &i810_interrupt, IRQF_SHARED,
3417 card_names[pci_id->driver_data], card)) { 3417 card_names[pci_id->driver_data], card)) {
3418 printk(KERN_ERR "i810_audio: unable to allocate irq %d\n", card->irq); 3418 printk(KERN_ERR "i810_audio: unable to allocate irq %d\n", card->irq);
3419 goto out_iospace; 3419 goto out_iospace;
diff --git a/sound/oss/ite8172.c b/sound/oss/ite8172.c
index 00ac1c95a429..68aab3605d74 100644
--- a/sound/oss/ite8172.c
+++ b/sound/oss/ite8172.c
@@ -2019,7 +2019,7 @@ static int __devinit it8172_probe(struct pci_dev *pcidev,
2019 s->io, s->io + pci_resource_len(pcidev,0)-1); 2019 s->io, s->io + pci_resource_len(pcidev,0)-1);
2020 goto err_region; 2020 goto err_region;
2021 } 2021 }
2022 if (request_irq(s->irq, it8172_interrupt, SA_INTERRUPT, 2022 if (request_irq(s->irq, it8172_interrupt, IRQF_DISABLED,
2023 IT8172_MODULE_NAME, s)) { 2023 IT8172_MODULE_NAME, s)) {
2024 err("irq %u in use", s->irq); 2024 err("irq %u in use", s->irq);
2025 goto err_irq; 2025 goto err_irq;
diff --git a/sound/oss/maestro.c b/sound/oss/maestro.c
index e647f2f86279..1d98d100d739 100644
--- a/sound/oss/maestro.c
+++ b/sound/oss/maestro.c
@@ -3545,7 +3545,7 @@ maestro_probe(struct pci_dev *pcidev,const struct pci_device_id *pdid)
3545 mixer_push_state(card); 3545 mixer_push_state(card);
3546 } 3546 }
3547 3547
3548 if((ret=request_irq(card->irq, ess_interrupt, SA_SHIRQ, card_names[card_type], card))) 3548 if((ret=request_irq(card->irq, ess_interrupt, IRQF_SHARED, card_names[card_type], card)))
3549 { 3549 {
3550 printk(KERN_ERR "maestro: unable to allocate irq %d,\n", card->irq); 3550 printk(KERN_ERR "maestro: unable to allocate irq %d,\n", card->irq);
3551 unregister_sound_mixer(card->dev_mixer); 3551 unregister_sound_mixer(card->dev_mixer);
diff --git a/sound/oss/maestro3.c b/sound/oss/maestro3.c
index 4a5e4237a110..5548e3cff7ce 100644
--- a/sound/oss/maestro3.c
+++ b/sound/oss/maestro3.c
@@ -2694,7 +2694,7 @@ static int __devinit m3_probe(struct pci_dev *pci_dev, const struct pci_device_i
2694 } 2694 }
2695 } 2695 }
2696 2696
2697 if(request_irq(card->irq, m3_interrupt, SA_SHIRQ, card_names[card->card_type], card)) { 2697 if(request_irq(card->irq, m3_interrupt, IRQF_SHARED, card_names[card->card_type], card)) {
2698 2698
2699 printk(KERN_ERR PFX "unable to allocate irq %d,\n", card->irq); 2699 printk(KERN_ERR PFX "unable to allocate irq %d,\n", card->irq);
2700 2700
diff --git a/sound/oss/nec_vrc5477.c b/sound/oss/nec_vrc5477.c
index 21c1954d9108..6f7f2f0423e4 100644
--- a/sound/oss/nec_vrc5477.c
+++ b/sound/oss/nec_vrc5477.c
@@ -1909,7 +1909,7 @@ static int __devinit vrc5477_ac97_probe(struct pci_dev *pcidev,
1909 s->io, s->io + pci_resource_len(pcidev,0)-1); 1909 s->io, s->io + pci_resource_len(pcidev,0)-1);
1910 goto err_region; 1910 goto err_region;
1911 } 1911 }
1912 if (request_irq(s->irq, vrc5477_ac97_interrupt, SA_INTERRUPT, 1912 if (request_irq(s->irq, vrc5477_ac97_interrupt, IRQF_DISABLED,
1913 VRC5477_AC97_MODULE_NAME, s)) { 1913 VRC5477_AC97_MODULE_NAME, s)) {
1914 printk(KERN_ERR PFX "irq %u in use\n", s->irq); 1914 printk(KERN_ERR PFX "irq %u in use\n", s->irq);
1915 goto err_irq; 1915 goto err_irq;
diff --git a/sound/oss/nm256_audio.c b/sound/oss/nm256_audio.c
index 6e662ac009ae..7760dddf2b32 100644
--- a/sound/oss/nm256_audio.c
+++ b/sound/oss/nm256_audio.c
@@ -733,7 +733,7 @@ static int
733nm256_grabInterrupt (struct nm256_info *card) 733nm256_grabInterrupt (struct nm256_info *card)
734{ 734{
735 if (card->has_irq++ == 0) { 735 if (card->has_irq++ == 0) {
736 if (request_irq (card->irq, card->introutine, SA_SHIRQ, 736 if (request_irq (card->irq, card->introutine, IRQF_SHARED,
737 "NM256_audio", card) < 0) { 737 "NM256_audio", card) < 0) {
738 printk (KERN_ERR "NM256: can't obtain IRQ %d\n", card->irq); 738 printk (KERN_ERR "NM256: can't obtain IRQ %d\n", card->irq);
739 return -1; 739 return -1;
diff --git a/sound/oss/rme96xx.c b/sound/oss/rme96xx.c
index a1ec9d131ab3..f17d25b6f836 100644
--- a/sound/oss/rme96xx.c
+++ b/sound/oss/rme96xx.c
@@ -994,7 +994,7 @@ static int __devinit rme96xx_probe(struct pci_dev *pcidev, const struct pci_devi
994 994
995 if (pci_enable_device(pcidev)) 995 if (pci_enable_device(pcidev))
996 goto err_irq; 996 goto err_irq;
997 if (request_irq(s->irq, rme96xx_interrupt, SA_SHIRQ, "rme96xx", s)) { 997 if (request_irq(s->irq, rme96xx_interrupt, IRQF_SHARED, "rme96xx", s)) {
998 printk(KERN_ERR RME_MESS" irq %u in use\n", s->irq); 998 printk(KERN_ERR RME_MESS" irq %u in use\n", s->irq);
999 goto err_irq; 999 goto err_irq;
1000 } 1000 }
diff --git a/sound/oss/sb_common.c b/sound/oss/sb_common.c
index 3e8ecac86a89..35bab6e2f998 100644
--- a/sound/oss/sb_common.c
+++ b/sound/oss/sb_common.c
@@ -677,7 +677,7 @@ int sb_dsp_init(struct address_info *hw_config, struct module *owner)
677 * will get shared PCI irq lines we must cope. 677 * will get shared PCI irq lines we must cope.
678 */ 678 */
679 679
680 int i=(devc->caps&SB_PCI_IRQ)?SA_SHIRQ:0; 680 int i=(devc->caps&SB_PCI_IRQ)?IRQF_SHARED:0;
681 681
682 if (request_irq(hw_config->irq, sbintr, i, "soundblaster", devc) < 0) 682 if (request_irq(hw_config->irq, sbintr, i, "soundblaster", devc) < 0)
683 { 683 {
diff --git a/sound/oss/sh_dac_audio.c b/sound/oss/sh_dac_audio.c
index cbf745db4b10..7b168d85f4ab 100644
--- a/sound/oss/sh_dac_audio.c
+++ b/sound/oss/sh_dac_audio.c
@@ -297,7 +297,7 @@ static int __init dac_audio_init(void)
297 dac_audio_set_rate(); 297 dac_audio_set_rate();
298 298
299 retval = 299 retval =
300 request_irq(TIMER1_IRQ, timer1_interrupt, SA_INTERRUPT, MODNAME, 0); 300 request_irq(TIMER1_IRQ, timer1_interrupt, IRQF_DISABLED, MODNAME, 0);
301 if (retval < 0) { 301 if (retval < 0) {
302 printk(KERN_ERR "sh_dac_audio: IRQ %d request failed\n", 302 printk(KERN_ERR "sh_dac_audio: IRQ %d request failed\n",
303 TIMER1_IRQ); 303 TIMER1_IRQ);
diff --git a/sound/oss/sonicvibes.c b/sound/oss/sonicvibes.c
index 42bd276cfc39..8ea532d40198 100644
--- a/sound/oss/sonicvibes.c
+++ b/sound/oss/sonicvibes.c
@@ -2632,7 +2632,7 @@ static int __devinit sv_probe(struct pci_dev *pcidev, const struct pci_device_id
2632 wrindir(s, SV_CIPCMSR1, ((8000 * 65536 / FULLRATE) >> 8) & 0xff); 2632 wrindir(s, SV_CIPCMSR1, ((8000 * 65536 / FULLRATE) >> 8) & 0xff);
2633 wrindir(s, SV_CIADCOUTPUT, 0); 2633 wrindir(s, SV_CIADCOUTPUT, 0);
2634 /* request irq */ 2634 /* request irq */
2635 if ((ret=request_irq(s->irq,sv_interrupt,SA_SHIRQ,"S3 SonicVibes",s))) { 2635 if ((ret=request_irq(s->irq,sv_interrupt,IRQF_SHARED,"S3 SonicVibes",s))) {
2636 printk(KERN_ERR "sv: irq %u in use\n", s->irq); 2636 printk(KERN_ERR "sv: irq %u in use\n", s->irq);
2637 goto err_irq; 2637 goto err_irq;
2638 } 2638 }
diff --git a/sound/oss/trident.c b/sound/oss/trident.c
index 420a866fb933..2813e4c8e365 100644
--- a/sound/oss/trident.c
+++ b/sound/oss/trident.c
@@ -4472,7 +4472,7 @@ trident_probe(struct pci_dev *pci_dev, const struct pci_device_id *pci_id)
4472 4472
4473 /* claim our irq */ 4473 /* claim our irq */
4474 rc = -ENODEV; 4474 rc = -ENODEV;
4475 if (request_irq(card->irq, &trident_interrupt, SA_SHIRQ, 4475 if (request_irq(card->irq, &trident_interrupt, IRQF_SHARED,
4476 card_names[pci_id->driver_data], card)) { 4476 card_names[pci_id->driver_data], card)) {
4477 printk(KERN_ERR "trident: unable to allocate irq %d\n", 4477 printk(KERN_ERR "trident: unable to allocate irq %d\n",
4478 card->irq); 4478 card->irq);
diff --git a/sound/oss/via82cxxx_audio.c b/sound/oss/via82cxxx_audio.c
index 3ada26b3fc7e..08d8c94d01b2 100644
--- a/sound/oss/via82cxxx_audio.c
+++ b/sound/oss/via82cxxx_audio.c
@@ -2013,7 +2013,7 @@ static int via_interrupt_init (struct via_info *card)
2013 tmp8 |= VIA_CR48_FM_TRAP_TO_NMI; 2013 tmp8 |= VIA_CR48_FM_TRAP_TO_NMI;
2014 pci_write_config_byte (card->pdev, VIA_FM_NMI_CTRL, tmp8); 2014 pci_write_config_byte (card->pdev, VIA_FM_NMI_CTRL, tmp8);
2015 } 2015 }
2016 if (request_irq (card->pdev->irq, via_interrupt, SA_SHIRQ, VIA_MODULE_NAME, card)) { 2016 if (request_irq (card->pdev->irq, via_interrupt, IRQF_SHARED, VIA_MODULE_NAME, card)) {
2017 printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n", 2017 printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n",
2018 card->pdev->irq); 2018 card->pdev->irq);
2019 DPRINTK ("EXIT, returning -EBUSY\n"); 2019 DPRINTK ("EXIT, returning -EBUSY\n");
@@ -2022,7 +2022,7 @@ static int via_interrupt_init (struct via_info *card)
2022 } 2022 }
2023 else 2023 else
2024 { 2024 {
2025 if (request_irq (card->pdev->irq, via_new_interrupt, SA_SHIRQ, VIA_MODULE_NAME, card)) { 2025 if (request_irq (card->pdev->irq, via_new_interrupt, IRQF_SHARED, VIA_MODULE_NAME, card)) {
2026 printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n", 2026 printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n",
2027 card->pdev->irq); 2027 card->pdev->irq);
2028 DPRINTK ("EXIT, returning -EBUSY\n"); 2028 DPRINTK ("EXIT, returning -EBUSY\n");
diff --git a/sound/oss/wavfront.c b/sound/oss/wavfront.c
index b1a4eeb9dc08..1dec3958cc7b 100644
--- a/sound/oss/wavfront.c
+++ b/sound/oss/wavfront.c
@@ -2268,7 +2268,7 @@ static int __init wavefront_hw_reset (void)
2268 } 2268 }
2269 2269
2270 if (request_irq (dev.irq, wavefrontintr, 2270 if (request_irq (dev.irq, wavefrontintr,
2271 SA_INTERRUPT|SA_SHIRQ, 2271 IRQF_DISABLED|IRQF_SHARED,
2272 "wavefront synth", &dev) < 0) { 2272 "wavefront synth", &dev) < 0) {
2273 printk (KERN_WARNING LOGNAME "IRQ %d not available!\n", 2273 printk (KERN_WARNING LOGNAME "IRQ %d not available!\n",
2274 dev.irq); 2274 dev.irq);
diff --git a/sound/oss/wf_midi.c b/sound/oss/wf_midi.c
index 7b167b74375b..3f3a390014ca 100644
--- a/sound/oss/wf_midi.c
+++ b/sound/oss/wf_midi.c
@@ -820,7 +820,7 @@ int __init install_wf_mpu (void)
820 820
821 /* OK, now we're configured to handle an interrupt ... */ 821 /* OK, now we're configured to handle an interrupt ... */
822 822
823 if (request_irq (phys_dev->irq, wf_mpuintr, SA_INTERRUPT|SA_SHIRQ, 823 if (request_irq (phys_dev->irq, wf_mpuintr, IRQF_DISABLED|IRQF_SHARED,
824 "wavefront midi", phys_dev) < 0) { 824 "wavefront midi", phys_dev) < 0) {
825 825
826 printk (KERN_ERR "WF-MPU: Failed to allocate IRQ%d\n", 826 printk (KERN_ERR "WF-MPU: Failed to allocate IRQ%d\n",
diff --git a/sound/oss/ymfpci.c b/sound/oss/ymfpci.c
index bf90c124a7e6..6e22472df952 100644
--- a/sound/oss/ymfpci.c
+++ b/sound/oss/ymfpci.c
@@ -2573,7 +2573,7 @@ static int __devinit ymf_probe_one(struct pci_dev *pcidev, const struct pci_devi
2573 goto out_disable_dsp; 2573 goto out_disable_dsp;
2574 ymf_memload(codec); 2574 ymf_memload(codec);
2575 2575
2576 if (request_irq(pcidev->irq, ymf_interrupt, SA_SHIRQ, "ymfpci", codec) != 0) { 2576 if (request_irq(pcidev->irq, ymf_interrupt, IRQF_SHARED, "ymfpci", codec) != 0) {
2577 printk(KERN_ERR "ymfpci: unable to request IRQ %d\n", 2577 printk(KERN_ERR "ymfpci: unable to request IRQ %d\n",
2578 pcidev->irq); 2578 pcidev->irq);
2579 goto out_memfree; 2579 goto out_memfree;