diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-16 23:00:36 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-16 23:00:36 +0000 |
commit | 14dd2ec093cfabda3ae7efeeaf0e23c66ebaccc0 (patch) | |
tree | 9a9ce5cff6ef92faa6e07a82785b9a6d6838f7e4 /include/asm-ia64/ide.h | |
parent | 847290510f811c572cc2aa80c1f02a04721410b1 (diff) |
Merge with 2.4.0-test1.
Diffstat (limited to 'include/asm-ia64/ide.h')
-rw-r--r-- | include/asm-ia64/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/ide.h b/include/asm-ia64/ide.h index 1b473c252..c0fe76856 100644 --- a/include/asm-ia64/ide.h +++ b/include/asm-ia64/ide.h @@ -74,6 +74,7 @@ ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port, ide_ioreg_t ctrl_port } if (irq != NULL) *irq = 0; + hw->io_ports[IDE_IRQ_OFFSET] = 0; } static __inline__ void @@ -84,7 +85,6 @@ ide_init_default_hwifs (void) int index; for(index = 0; index < MAX_HWIFS; index++) { - 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); |