patch-1.3.70 linux/drivers/block/xd.c
Next file: linux/drivers/cdrom/cdu31a.c
Previous file: linux/drivers/block/triton.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Mar 1 07:50:39 1996
- Orig file:
v1.3.69/linux/drivers/block/xd.c
- Orig date:
Mon Oct 23 18:02:04 1995
diff -u --recursive --new-file v1.3.69/linux/drivers/block/xd.c linux/drivers/block/xd.c
@@ -168,10 +168,10 @@
for (i = 0; i < xd_drives; i++)
printk("xd_geninit: drive %d geometry - heads = %d, cylinders = %d, sectors = %d\n",i,xd_info[i].heads,xd_info[i].cylinders,xd_info[i].sectors);
- if (!request_irq(xd_irq,xd_interrupt_handler, 0, "XT harddisk")) {
+ if (!request_irq(xd_irq,xd_interrupt_handler, 0, "XT harddisk", NULL)) {
if (request_dma(xd_dma,"xd")) {
printk("xd_geninit: unable to get DMA%d\n",xd_dma);
- free_irq(xd_irq);
+ free_irq(xd_irq, NULL);
}
}
else
@@ -391,7 +391,7 @@
}
/* xd_interrupt_handler: interrupt service routine */
-static void xd_interrupt_handler(int irq, struct pt_regs * regs)
+static void xd_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs)
{
if (inb(XD_STATUS) & STAT_INTERRUPT) { /* check if it was our device */
#ifdef DEBUG_OTHER
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this