|
@@ -1340,8 +1340,10 @@ struct ahd_pci_identity *ahd_find_pci_device(ahd_dev_softc_t);
|
|
int ahd_pci_config(struct ahd_softc *,
|
|
int ahd_pci_config(struct ahd_softc *,
|
|
struct ahd_pci_identity *);
|
|
struct ahd_pci_identity *);
|
|
int ahd_pci_test_register_access(struct ahd_softc *);
|
|
int ahd_pci_test_register_access(struct ahd_softc *);
|
|
|
|
+#ifdef CONFIG_PM
|
|
void ahd_pci_suspend(struct ahd_softc *);
|
|
void ahd_pci_suspend(struct ahd_softc *);
|
|
void ahd_pci_resume(struct ahd_softc *);
|
|
void ahd_pci_resume(struct ahd_softc *);
|
|
|
|
+#endif
|
|
|
|
|
|
/************************** SCB and SCB queue management **********************/
|
|
/************************** SCB and SCB queue management **********************/
|
|
void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
|
|
void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
|
|
@@ -1352,8 +1354,10 @@ struct ahd_softc *ahd_alloc(void *platform_arg, char *name);
|
|
int ahd_softc_init(struct ahd_softc *);
|
|
int ahd_softc_init(struct ahd_softc *);
|
|
void ahd_controller_info(struct ahd_softc *ahd, char *buf);
|
|
void ahd_controller_info(struct ahd_softc *ahd, char *buf);
|
|
int ahd_init(struct ahd_softc *ahd);
|
|
int ahd_init(struct ahd_softc *ahd);
|
|
|
|
+#ifdef CONFIG_PM
|
|
int ahd_suspend(struct ahd_softc *ahd);
|
|
int ahd_suspend(struct ahd_softc *ahd);
|
|
void ahd_resume(struct ahd_softc *ahd);
|
|
void ahd_resume(struct ahd_softc *ahd);
|
|
|
|
+#endif
|
|
int ahd_default_config(struct ahd_softc *ahd);
|
|
int ahd_default_config(struct ahd_softc *ahd);
|
|
int ahd_parse_vpddata(struct ahd_softc *ahd,
|
|
int ahd_parse_vpddata(struct ahd_softc *ahd,
|
|
struct vpd_config *vpd);
|
|
struct vpd_config *vpd);
|
|
@@ -1361,7 +1365,6 @@ int ahd_parse_cfgdata(struct ahd_softc *ahd,
|
|
struct seeprom_config *sc);
|
|
struct seeprom_config *sc);
|
|
void ahd_intr_enable(struct ahd_softc *ahd, int enable);
|
|
void ahd_intr_enable(struct ahd_softc *ahd, int enable);
|
|
void ahd_pause_and_flushwork(struct ahd_softc *ahd);
|
|
void ahd_pause_and_flushwork(struct ahd_softc *ahd);
|
|
-int ahd_suspend(struct ahd_softc *ahd);
|
|
|
|
void ahd_set_unit(struct ahd_softc *, int);
|
|
void ahd_set_unit(struct ahd_softc *, int);
|
|
void ahd_set_name(struct ahd_softc *, char *);
|
|
void ahd_set_name(struct ahd_softc *, char *);
|
|
struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
|
|
struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
|