aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gbl.h
diff options
context:
space:
mode:
authorSarang Radke <sarang.radke@qlogic.com>2010-03-19 20:03:59 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 10:45:50 -0400
commit09ff701a177b116c6c15b6e501e58fbfb306b424 (patch)
treefd99933ea29dbc36fc6636f5278d237dbee89b96 /drivers/scsi/qla2xxx/qla_gbl.h
parent6e98016ca077c5c751167bfdb1a3a2a3bee581cf (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.h9
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
328qla2x00_write_ram_word(scsi_qla_host_t *, uint32_t, uint32_t); 328qla2x00_write_ram_word(scsi_qla_host_t *, uint32_t, uint32_t);
329 329
330extern int qla2x00_get_data_rate(scsi_qla_host_t *); 330extern int qla2x00_get_data_rate(scsi_qla_host_t *);
331extern 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 *);
384extern int qla2xxx_get_vpd_field(scsi_qla_host_t *, char *, char *, size_t); 387extern int qla2xxx_get_vpd_field(scsi_qla_host_t *, char *, char *, size_t);
385 388
386extern void qla2xxx_flash_npiv_conf(scsi_qla_host_t *); 389extern void qla2xxx_flash_npiv_conf(scsi_qla_host_t *);
390extern 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 *);
430extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); 434extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *);
431extern void qla2x00_free_sysfs_attr(scsi_qla_host_t *); 435extern void qla2x00_free_sysfs_attr(scsi_qla_host_t *);
432extern int qla2x00_loopback_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *); 436extern int qla2x00_loopback_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *);
433extern int qla2x00_echo_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *); 437extern int qla2x00_echo_test(scsi_qla_host_t *,
438 struct msg_echo_lb *, uint16_t *);
439extern int qla24xx_update_all_fcp_prio(scsi_qla_host_t *);
440extern 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.