diff options
author | Sarang Radke <sarang.radke@qlogic.com> | 2010-03-19 20:03:59 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 10:45:50 -0400 |
commit | 09ff701a177b116c6c15b6e501e58fbfb306b424 (patch) | |
tree | fd99933ea29dbc36fc6636f5278d237dbee89b96 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 6e98016ca077c5c751167bfdb1a3a2a3bee581cf (diff) |
[SCSI] qla2xxx: Add APEX support.
Allows priority setting for FCP_CMNDs.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index c1f1736dcdad..5efd4c05c79b 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -328,6 +328,9 @@ extern int | |||
328 | qla2x00_write_ram_word(scsi_qla_host_t *, uint32_t, uint32_t); | 328 | qla2x00_write_ram_word(scsi_qla_host_t *, uint32_t, uint32_t); |
329 | 329 | ||
330 | extern int qla2x00_get_data_rate(scsi_qla_host_t *); | 330 | extern int qla2x00_get_data_rate(scsi_qla_host_t *); |
331 | extern int qla24xx_set_fcp_prio(scsi_qla_host_t *, uint16_t, uint16_t, | ||
332 | uint16_t *); | ||
333 | |||
331 | /* | 334 | /* |
332 | * Global Function Prototypes in qla_isr.c source file. | 335 | * Global Function Prototypes in qla_isr.c source file. |
333 | */ | 336 | */ |
@@ -384,6 +387,7 @@ extern int qla2xxx_get_flash_info(scsi_qla_host_t *); | |||
384 | extern int qla2xxx_get_vpd_field(scsi_qla_host_t *, char *, char *, size_t); | 387 | extern int qla2xxx_get_vpd_field(scsi_qla_host_t *, char *, char *, size_t); |
385 | 388 | ||
386 | extern void qla2xxx_flash_npiv_conf(scsi_qla_host_t *); | 389 | extern void qla2xxx_flash_npiv_conf(scsi_qla_host_t *); |
390 | extern int qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *); | ||
387 | 391 | ||
388 | /* | 392 | /* |
389 | * Global Function Prototypes in qla_dbg.c source file. | 393 | * Global Function Prototypes in qla_dbg.c source file. |
@@ -430,7 +434,10 @@ extern void qla2x00_init_host_attr(scsi_qla_host_t *); | |||
430 | extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); | 434 | extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); |
431 | extern void qla2x00_free_sysfs_attr(scsi_qla_host_t *); | 435 | extern void qla2x00_free_sysfs_attr(scsi_qla_host_t *); |
432 | extern int qla2x00_loopback_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *); | 436 | extern int qla2x00_loopback_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *); |
433 | extern int qla2x00_echo_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *); | 437 | extern int qla2x00_echo_test(scsi_qla_host_t *, |
438 | struct msg_echo_lb *, uint16_t *); | ||
439 | extern int qla24xx_update_all_fcp_prio(scsi_qla_host_t *); | ||
440 | extern int qla24xx_fcp_prio_cfg_valid(struct qla_fcp_prio_cfg *, uint8_t); | ||
434 | 441 | ||
435 | /* | 442 | /* |
436 | * Global Function Prototypes in qla_dfs.c source file. | 443 | * Global Function Prototypes in qla_dfs.c source file. |