patch-1.3.70 linux/drivers/char/cyclades.c
Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/char/console.c
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Fri Mar 1 07:50:40 1996
- Orig file:
v1.3.69/linux/drivers/char/cyclades.c
- Orig date:
Sat Feb 17 16:02:48 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -604,7 +604,7 @@
* while we are probing for submarines.
*/
static void
-cy_probe(int irq, struct pt_regs *regs)
+cy_probe(int irq, void *dev_id, struct pt_regs *regs)
{
int save_xir, save_car;
int index = 0; /* probing interrupts is only for ISA */
@@ -637,7 +637,7 @@
received, out buffer empty, modem change, etc.
*/
static void
-cy_interrupt(int irq, struct pt_regs *regs)
+cy_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
struct tty_struct *tty;
int status;
@@ -1037,7 +1037,7 @@
for (i = 0, mask = 1; i < 16; i++, mask <<= 1) {
if (!(mask & dontgrab)
- && !request_irq(i, cy_probe, SA_INTERRUPT, "serial probe")) {
+ && !request_irq(i, cy_probe, SA_INTERRUPT, "serial probe", NULL)) {
irq_lines |= mask;
}
}
@@ -1054,7 +1054,7 @@
for (i = 0; i < 16; i++) {
if (irq_lines & (1 << i))
- free_irq(i);
+ free_irq(i,NULL);
}
} /* free_all_interrupts */
@@ -2927,7 +2927,7 @@
for (i = 0; i < NR_CARDS; i++) {
if (cy_card[i].base_addr != 0)
{
- free_irq(cy_card[i].irq);
+ free_irq(cy_card[i].irq,NULL);
}
}
}
@@ -2985,7 +2985,7 @@
}
/* allocate IRQ */
- if(request_irq(cy_isa_irq,cy_interrupt,SA_INTERRUPT,"cyclades"))
+ if(request_irq(cy_isa_irq,cy_interrupt,SA_INTERRUPT,"cyclades",NULL))
{
printk("Cyclom-Y/ISA found at 0x%x but could not allocate interrupt IRQ#%d.\n",
(unsigned int) cy_isa_address,cy_isa_irq);
@@ -3082,7 +3082,7 @@
}
/* allocate IRQ */
- if(request_irq(cy_pci_irq,cy_interrupt,SA_INTERRUPT,"cyclades"))
+ if(request_irq(cy_pci_irq,cy_interrupt,SA_INTERRUPT,"cyclades",NULL))
{
printk("Cyclom-Y/PCI found at 0x%x but could not allocate interrupt IRQ%d.\n",
(unsigned int) cy_pci_address,cy_pci_irq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this