Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
fdomain_cs: Sort out modules with duplicate description
pcmcia: Whine harder about use of EXCLUSIVE
pcmcia: IRQ_TYPE_EXCLUSIVE is long obsoleted

+20 -10
+1 -1
drivers/bluetooth/bluecard_cs.c
··· 867 867 868 868 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; 869 869 link->io.NumPorts1 = 8; 870 - link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; 870 + link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_HANDLE_PRESENT; 871 871 link->irq.IRQInfo1 = IRQ_LEVEL_ID; 872 872 873 873 link->irq.Handler = bluecard_interrupt;
+4 -2
drivers/bluetooth/bt3c_cs.c
··· 343 343 bt3c_info_t *info = dev_inst; 344 344 unsigned int iobase; 345 345 int iir; 346 + irqreturn_t r = IRQ_NONE; 346 347 347 348 BUG_ON(!info->hdev); 348 349 ··· 375 374 376 375 outb(iir, iobase + CONTROL); 377 376 } 377 + r = IRQ_HANDLED; 378 378 } 379 379 380 380 spin_unlock(&(info->lock)); 381 381 382 - return IRQ_HANDLED; 382 + return r; 383 383 } 384 384 385 385 ··· 659 657 660 658 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; 661 659 link->io.NumPorts1 = 8; 662 - link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; 660 + link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_HANDLE_PRESENT; 663 661 link->irq.IRQInfo1 = IRQ_LEVEL_ID; 664 662 665 663 link->irq.Handler = bt3c_interrupt;
+4 -2
drivers/bluetooth/btuart_cs.c
··· 293 293 unsigned int iobase; 294 294 int boguscount = 0; 295 295 int iir, lsr; 296 + irqreturn_t r = IRQ_NONE; 296 297 297 298 BUG_ON(!info->hdev); 298 299 ··· 303 302 304 303 iir = inb(iobase + UART_IIR) & UART_IIR_ID; 305 304 while (iir) { 305 + r = IRQ_HANDLED; 306 306 307 307 /* Clear interrupt */ 308 308 lsr = inb(iobase + UART_LSR); ··· 337 335 338 336 spin_unlock(&(info->lock)); 339 337 340 - return IRQ_HANDLED; 338 + return r; 341 339 } 342 340 343 341 ··· 588 586 589 587 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; 590 588 link->io.NumPorts1 = 8; 591 - link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; 589 + link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_HANDLE_PRESENT; 592 590 link->irq.IRQInfo1 = IRQ_LEVEL_ID; 593 591 594 592 link->irq.Handler = btuart_interrupt;
+5 -2
drivers/bluetooth/dtl1_cs.c
··· 297 297 unsigned char msr; 298 298 int boguscount = 0; 299 299 int iir, lsr; 300 + irqreturn_t r = IRQ_NONE; 300 301 301 302 BUG_ON(!info->hdev); 302 303 ··· 308 307 iir = inb(iobase + UART_IIR) & UART_IIR_ID; 309 308 while (iir) { 310 309 310 + r = IRQ_HANDLED; 311 311 /* Clear interrupt */ 312 312 lsr = inb(iobase + UART_LSR); 313 313 ··· 345 343 info->ri_latch = msr & UART_MSR_RI; 346 344 clear_bit(XMIT_WAITING, &(info->tx_state)); 347 345 dtl1_write_wakeup(info); 346 + r = IRQ_HANDLED; 348 347 } 349 348 350 349 spin_unlock(&(info->lock)); 351 350 352 - return IRQ_HANDLED; 351 + return r; 353 352 } 354 353 355 354 ··· 571 568 572 569 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; 573 570 link->io.NumPorts1 = 8; 574 - link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; 571 + link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_HANDLE_PRESENT; 575 572 link->irq.IRQInfo1 = IRQ_LEVEL_ID; 576 573 577 574 link->irq.Handler = dtl1_interrupt;
+1 -1
drivers/parport/parport_cs.c
··· 112 112 113 113 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; 114 114 link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; 115 - link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; 115 + link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING; 116 116 link->irq.IRQInfo1 = IRQ_LEVEL_ID; 117 117 link->conf.Attributes = CONF_ENABLE_IRQ; 118 118 link->conf.IntType = INT_MEMORY_AND_IO;
+2 -1
drivers/pcmcia/pcmcia_resource.c
··· 693 693 type = 0; 694 694 if (s->functions > 1) /* All of this ought to be handled higher up */ 695 695 type = IRQF_SHARED; 696 - if (req->Attributes & IRQ_TYPE_DYNAMIC_SHARING) 696 + else if (req->Attributes & IRQ_TYPE_DYNAMIC_SHARING) 697 697 type = IRQF_SHARED; 698 + else printk(KERN_WARNING "pcmcia: Driver needs updating to support IRQ sharing.\n"); 698 699 699 700 #ifdef CONFIG_PCMCIA_PROBE 700 701
+2
drivers/scsi/fdomain.c
··· 290 290 #include <scsi/scsi_ioctl.h> 291 291 #include "fdomain.h" 292 292 293 + #ifndef PCMCIA 293 294 MODULE_AUTHOR("Rickard E. Faith"); 294 295 MODULE_DESCRIPTION("Future domain SCSI driver"); 295 296 MODULE_LICENSE("GPL"); 297 + #endif 296 298 297 299 298 300 #define VERSION "$Revision: 5.51 $"