patch-2.4.9 linux/drivers/i2o/i2o_pci.c
Next file: linux/drivers/i2o/i2o_proc.c
Previous file: linux/drivers/i2o/i2o_lan.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Aug 12 11:16:18 2001
- Orig file:
v2.4.8/linux/drivers/i2o/i2o_pci.c
- Orig date:
Tue May 1 16:11:29 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/i2o/i2o_pci.c linux/drivers/i2o/i2o_pci.c
@@ -159,10 +159,10 @@
}
c->bus.pci.irq = -1;
-
c->bus.pci.queue_buggy = 0;
c->bus.pci.dpt = 0;
c->bus.pci.short_req = 0;
+ c->bus.pci.pdev = dev;
c->irq_mask = (volatile u32 *)(mem+0x34);
c->post_port = (volatile u32 *)(mem+0x40);
@@ -255,7 +255,6 @@
#else
i2o_delete_controller(c);
#endif /* MODULE */
- kfree(c);
iounmap(mem);
return -EBUSY;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)