Home Home > GIT Browse > stable-xen
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>2004-03-29 02:15:53 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-29 02:15:53 -0800
commitef0f0fa464fb1b6bc6714d68844781bd9cd97abd (patch)
tree1b6c3014e9b847a22e943ba823bac65a868bdc8b
parentd780244a71023ab0e06b219497e921b94a9daa24 (diff)
[PATCH] asm-parisc/ide.h cleanup (there are no standard ports)
Acked by Grant Grundler and Matthew Wilcox.
-rw-r--r--include/asm-parisc/ide.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/include/asm-parisc/ide.h b/include/asm-parisc/ide.h
index db943f0d67dc..230bc4402630 100644
--- a/include/asm-parisc/ide.h
+++ b/include/asm-parisc/ide.h
@@ -41,19 +41,8 @@ static __inline__ void ide_init_hwif_ports(hw_regs_t *hw, ide_ioreg_t data_port,
hw->io_ports[IDE_IRQ_OFFSET] = 0;
}
-static __inline__ void ide_init_default_hwifs(void)
-{
-#ifndef CONFIG_PCI
- hw_regs_t hw;
- int index;
-
- for(index = 0; index < MAX_HWIFS; index++) {
- 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);
- }
-#endif
-}
+/* There are no standard ports. */
+static inline void ide_init_default_hwifs(void) { ; }
#define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id))
#define ide_free_irq(irq,dev_id) free_irq((irq), (dev_id))