#ifdef __KERNEL__
-#include <linux/config.h>
-#include <asm/machvec.h>
-#ifndef MAX_HWIFS
-/* Should never have less than 2, ide-pci.c(ide_match_hwif) requires it */
-#define MAX_HWIFS 2
-#endif
-
-static inline int ide_default_irq_hp600(unsigned long base)
-{
- switch (base) {
- case 0x01f0: return 93;
- case 0x0170: return 94;
- default:
- return 0;
- }
-}
-
-static inline int ide_default_irq(unsigned long base)
-{
- if (MACH_HP600) {
- return ide_default_irq_hp600(base);
- }
- switch (base) {
- case 0x01f0: return 14;
- case 0x0170: return 15;
- default:
- return 0;
- }
-}
-
-static inline unsigned long ide_default_io_base_hp600(int index)
-{
- switch (index) {
- case 0:
- return 0x01f0;
- case 1:
- return 0x0170;
- default:
- return 0;
- }
-}
-
-static inline unsigned long ide_default_io_base(int index)
-{
- if (MACH_HP600) {
- return ide_default_io_base_hp600(index);
- }
- switch (index) {
- case 0:
- return 0x1f0;
- case 1:
- return 0x170;
- default:
- return 0;
- }
-}
-
-#ifdef CONFIG_PCI
-#define ide_init_default_irq(base) (0)
-#else
-#define ide_init_default_irq(base) ide_default_irq(base)
-#endif
+#define ide_default_io_ctl(base) (0)
#include <asm-generic/ide_iops.h>