patch-2.2.0-pre8 linux/drivers/block/ide-dma.c
Next file: linux/drivers/block/ide-pci.c
Previous file: linux/drivers/block/ide-disk.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Jan 17 18:23:01 1999
- Orig file:
v2.2.0-pre7/linux/drivers/block/ide-dma.c
- Orig date:
Fri Jan 8 22:36:04 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/block/ide-dma.c linux/drivers/block/ide-dma.c
@@ -369,7 +369,11 @@
return 1;
}
-__initfunc(void ide_setup_dma (ide_hwif_t *hwif, unsigned long dma_base, unsigned int num_ports))
+/*
+ * This can be called for a dynamically installed interface. Don't initfunc it
+ */
+
+void ide_setup_dma (ide_hwif_t *hwif, unsigned long dma_base, unsigned int num_ports)
{
static unsigned long dmatable = 0;
static unsigned leftover = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov