patch-2.4.22 linux-2.4.22/arch/mips/lib/ide-std.c
Next file: linux-2.4.22/arch/mips/lib/kbd-no.c
Previous file: linux-2.4.22/arch/mips/lib/ide-no.c
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/lib/ide-std.c
- Orig date:
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/lib/ide-std.c linux-2.4.22/arch/mips/lib/ide-std.c
@@ -62,42 +62,8 @@
hw->io_ports[IDE_IRQ_OFFSET] = 0;
}
-static int std_ide_request_irq(unsigned int irq,
- void (*handler)(int,void *, struct pt_regs *),
- unsigned long flags, const char *device,
- void *dev_id)
-{
- return request_irq(irq, handler, flags, device, dev_id);
-}
-
-static void std_ide_free_irq(unsigned int irq, void *dev_id)
-{
- free_irq(irq, dev_id);
-}
-
-static int std_ide_check_region(ide_ioreg_t from, unsigned int extent)
-{
- return check_region(from, extent);
-}
-
-static void std_ide_request_region(ide_ioreg_t from, unsigned int extent,
- const char *name)
-{
- request_region(from, extent, name);
-}
-
-static void std_ide_release_region(ide_ioreg_t from, unsigned int extent)
-{
- release_region(from, extent);
-}
-
struct ide_ops std_ide_ops = {
&std_ide_default_irq,
&std_ide_default_io_base,
- &std_ide_init_hwif_ports,
- &std_ide_request_irq,
- &std_ide_free_irq,
- &std_ide_check_region,
- &std_ide_request_region,
- &std_ide_release_region
+ &std_ide_init_hwif_ports
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)