diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx.h | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h index 2f00467b6b8c..be5558ab84ea 100644 --- a/drivers/scsi/aic7xxx/aic79xx.h +++ b/drivers/scsi/aic7xxx/aic79xx.h | |||
@@ -815,7 +815,7 @@ struct ahd_tmode_tstate { | |||
815 | struct ahd_phase_table_entry { | 815 | struct ahd_phase_table_entry { |
816 | uint8_t phase; | 816 | uint8_t phase; |
817 | uint8_t mesg_out; /* Message response to parity errors */ | 817 | uint8_t mesg_out; /* Message response to parity errors */ |
818 | char *phasemsg; | 818 | const char *phasemsg; |
819 | }; | 819 | }; |
820 | 820 | ||
821 | /************************** Serial EEPROM Format ******************************/ | 821 | /************************** Serial EEPROM Format ******************************/ |
@@ -1314,7 +1314,7 @@ typedef int (ahd_device_setup_t)(struct ahd_softc *); | |||
1314 | struct ahd_pci_identity { | 1314 | struct ahd_pci_identity { |
1315 | uint64_t full_id; | 1315 | uint64_t full_id; |
1316 | uint64_t id_mask; | 1316 | uint64_t id_mask; |
1317 | char *name; | 1317 | const char *name; |
1318 | ahd_device_setup_t *setup; | 1318 | ahd_device_setup_t *setup; |
1319 | }; | 1319 | }; |
1320 | 1320 | ||
@@ -1322,7 +1322,7 @@ struct ahd_pci_identity { | |||
1322 | struct aic7770_identity { | 1322 | struct aic7770_identity { |
1323 | uint32_t full_id; | 1323 | uint32_t full_id; |
1324 | uint32_t id_mask; | 1324 | uint32_t id_mask; |
1325 | char *name; | 1325 | const char *name; |
1326 | ahd_device_setup_t *setup; | 1326 | ahd_device_setup_t *setup; |
1327 | }; | 1327 | }; |
1328 | extern struct aic7770_identity aic7770_ident_table []; | 1328 | extern struct aic7770_identity aic7770_ident_table []; |
@@ -1333,12 +1333,11 @@ extern const int ahd_num_aic7770_devs; | |||
1333 | 1333 | ||
1334 | /*************************** Function Declarations ****************************/ | 1334 | /*************************** Function Declarations ****************************/ |
1335 | /******************************************************************************/ | 1335 | /******************************************************************************/ |
1336 | void ahd_reset_cmds_pending(struct ahd_softc *ahd); | ||
1337 | 1336 | ||
1338 | /***************************** PCI Front End *********************************/ | 1337 | /***************************** PCI Front End *********************************/ |
1339 | struct ahd_pci_identity *ahd_find_pci_device(ahd_dev_softc_t); | 1338 | const struct ahd_pci_identity *ahd_find_pci_device(ahd_dev_softc_t); |
1340 | int ahd_pci_config(struct ahd_softc *, | 1339 | int ahd_pci_config(struct ahd_softc *, |
1341 | struct ahd_pci_identity *); | 1340 | const struct ahd_pci_identity *); |
1342 | int ahd_pci_test_register_access(struct ahd_softc *); | 1341 | int ahd_pci_test_register_access(struct ahd_softc *); |
1343 | #ifdef CONFIG_PM | 1342 | #ifdef CONFIG_PM |
1344 | void ahd_pci_suspend(struct ahd_softc *); | 1343 | void ahd_pci_suspend(struct ahd_softc *); |
@@ -1376,16 +1375,6 @@ int ahd_write_flexport(struct ahd_softc *ahd, | |||
1376 | int ahd_read_flexport(struct ahd_softc *ahd, u_int addr, | 1375 | int ahd_read_flexport(struct ahd_softc *ahd, u_int addr, |
1377 | uint8_t *value); | 1376 | uint8_t *value); |
1378 | 1377 | ||
1379 | /*************************** Interrupt Services *******************************/ | ||
1380 | void ahd_run_qoutfifo(struct ahd_softc *ahd); | ||
1381 | #ifdef AHD_TARGET_MODE | ||
1382 | void ahd_run_tqinfifo(struct ahd_softc *ahd, int paused); | ||
1383 | #endif | ||
1384 | void ahd_handle_hwerrint(struct ahd_softc *ahd); | ||
1385 | void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat); | ||
1386 | void ahd_handle_scsiint(struct ahd_softc *ahd, | ||
1387 | u_int intstat); | ||
1388 | |||
1389 | /***************************** Error Recovery *********************************/ | 1378 | /***************************** Error Recovery *********************************/ |
1390 | typedef enum { | 1379 | typedef enum { |
1391 | SEARCH_COMPLETE, | 1380 | SEARCH_COMPLETE, |
@@ -1479,7 +1468,7 @@ extern uint32_t ahd_debug; | |||
1479 | void ahd_print_devinfo(struct ahd_softc *ahd, | 1468 | void ahd_print_devinfo(struct ahd_softc *ahd, |
1480 | struct ahd_devinfo *devinfo); | 1469 | struct ahd_devinfo *devinfo); |
1481 | void ahd_dump_card_state(struct ahd_softc *ahd); | 1470 | void ahd_dump_card_state(struct ahd_softc *ahd); |
1482 | int ahd_print_register(ahd_reg_parse_entry_t *table, | 1471 | int ahd_print_register(const ahd_reg_parse_entry_t *table, |
1483 | u_int num_entries, | 1472 | u_int num_entries, |
1484 | const char *name, | 1473 | const char *name, |
1485 | u_int address, | 1474 | u_int address, |