patch-2.3.99-pre9 linux/include/asm-sparc64/ide.h
Next file: linux/include/asm-sparc64/irq.h
Previous file: linux/include/asm-sparc64/delay.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon May 22 09:50:54 2000
- Orig file:
v2.3.99-pre8/linux/include/asm-sparc64/ide.h
- Orig date:
Wed Dec 29 13:13:21 1999
diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-sparc64/ide.h linux/include/asm-sparc64/ide.h
@@ -1,4 +1,4 @@
-/* $Id: ide.h,v 1.17 1999/12/15 22:18:49 davem Exp $
+/* $Id: ide.h,v 1.18 2000/05/22 07:29:43 davem Exp $
* ide.h: Ultra/PCI specific IDE glue.
*
* Copyright (C) 1997 David S. Miller ([email protected])
@@ -59,7 +59,8 @@
int index;
for (index = 0; index < MAX_HWIFS; index++) {
- ide_init_hwif_ports(&hw, ide_default_io_base(index), 0, 0);
+ memset(&hw, 0, sizeof(hw_regs_t));
+ ide_init_hwif_ports(&hw, ide_default_io_base(index), 0, NULL);
hw.irq = ide_default_irq(ide_default_io_base(index));
ide_register_hw(&hw, NULL);
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])