patch-2.4.22 linux-2.4.22/arch/mips/lib/ide-no.c
Next file: linux-2.4.22/arch/mips/lib/ide-std.c
Previous file: linux-2.4.22/arch/mips/lib/dump_tlb.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-no.c
- Orig date:
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/lib/ide-no.c linux-2.4.22/arch/mips/lib/ide-no.c
@@ -29,42 +29,8 @@
{
}
-static int no_ide_request_irq(unsigned int irq,
- void (*handler)(int,void *, struct pt_regs *),
- unsigned long flags, const char *device,
- void *dev_id)
-{
- panic("no_no_ide_request_irq called - shouldn't happen");
-}
-
-static void no_ide_free_irq(unsigned int irq, void *dev_id)
-{
- panic("no_ide_free_irq called - shouldn't happen");
-}
-
-static int no_ide_check_region(ide_ioreg_t from, unsigned int extent)
-{
- panic("no_ide_check_region called - shouldn't happen");
-}
-
-static void no_ide_request_region(ide_ioreg_t from, unsigned int extent,
- const char *name)
-{
- panic("no_ide_request_region called - shouldn't happen");
-}
-
-static void no_ide_release_region(ide_ioreg_t from, unsigned int extent)
-{
- panic("no_ide_release_region called - shouldn't happen");
-}
-
struct ide_ops no_ide_ops = {
&no_ide_default_irq,
&no_ide_default_io_base,
- &no_ide_init_hwif_ports,
- &no_ide_request_irq,
- &no_ide_free_irq,
- &no_ide_check_region,
- &no_ide_request_region,
- &no_ide_release_region
+ &no_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)