|
@@ -1484,17 +1484,19 @@ static inline void ide_release_dma_engine(ide_hwif_t *hwif) { ; }
|
|
#endif /* CONFIG_BLK_DEV_IDEDMA */
|
|
#endif /* CONFIG_BLK_DEV_IDEDMA */
|
|
|
|
|
|
#ifdef CONFIG_BLK_DEV_IDEACPI
|
|
#ifdef CONFIG_BLK_DEV_IDEACPI
|
|
|
|
+int ide_acpi_init(void);
|
|
extern int ide_acpi_exec_tfs(ide_drive_t *drive);
|
|
extern int ide_acpi_exec_tfs(ide_drive_t *drive);
|
|
extern void ide_acpi_get_timing(ide_hwif_t *hwif);
|
|
extern void ide_acpi_get_timing(ide_hwif_t *hwif);
|
|
extern void ide_acpi_push_timing(ide_hwif_t *hwif);
|
|
extern void ide_acpi_push_timing(ide_hwif_t *hwif);
|
|
-extern void ide_acpi_init(ide_hwif_t *hwif);
|
|
|
|
|
|
+void ide_acpi_init_port(ide_hwif_t *);
|
|
void ide_acpi_port_init_devices(ide_hwif_t *);
|
|
void ide_acpi_port_init_devices(ide_hwif_t *);
|
|
extern void ide_acpi_set_state(ide_hwif_t *hwif, int on);
|
|
extern void ide_acpi_set_state(ide_hwif_t *hwif, int on);
|
|
#else
|
|
#else
|
|
|
|
+static inline int ide_acpi_init(void) { return 0; }
|
|
static inline int ide_acpi_exec_tfs(ide_drive_t *drive) { return 0; }
|
|
static inline int ide_acpi_exec_tfs(ide_drive_t *drive) { return 0; }
|
|
static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; }
|
|
static inline void ide_acpi_get_timing(ide_hwif_t *hwif) { ; }
|
|
static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; }
|
|
static inline void ide_acpi_push_timing(ide_hwif_t *hwif) { ; }
|
|
-static inline void ide_acpi_init(ide_hwif_t *hwif) { ; }
|
|
|
|
|
|
+static inline void ide_acpi_init_port(ide_hwif_t *hwif) { ; }
|
|
static inline void ide_acpi_port_init_devices(ide_hwif_t *hwif) { ; }
|
|
static inline void ide_acpi_port_init_devices(ide_hwif_t *hwif) { ; }
|
|
static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {}
|
|
static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {}
|
|
#endif
|
|
#endif
|