diff options
author | <andrew.vasquez@qlogic.com> | 2005-04-17 16:04:54 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-18 14:47:19 -0400 |
commit | 8482e118afa0cb4321ab3d30b1100d27d63130c0 (patch) | |
tree | 971714d297194e1c20e1b80b1d2e031d4517f5ad /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | f4f051ebb40e74ad0ba02d2cb3a6c16b0393472b (diff) |
[PATCH] qla2xxx: add remote port codes...
Add initial support for FC remote port infrastructure.
o Use fc_remote_port...() registration and block/unlock
functions.
o Consolidate 'attribute' (fc-remote/sysfs) helpers into
new qla_attr.c file.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 47efa46bff27..bc1ef103495a 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #define __QLA_GBL_H | 24 | #define __QLA_GBL_H |
25 | 25 | ||
26 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
27 | #include <scsi/scsi_transport.h> | ||
27 | 28 | ||
28 | extern void qla2x00_remove_one(struct pci_dev *); | 29 | extern void qla2x00_remove_one(struct pci_dev *); |
29 | extern int qla2x00_probe_one(struct pci_dev *, struct qla_board_info *); | 30 | extern int qla2x00_probe_one(struct pci_dev *, struct qla_board_info *); |
@@ -48,6 +49,8 @@ extern void qla2x00_tgt_free(scsi_qla_host_t *ha, uint16_t t); | |||
48 | 49 | ||
49 | extern int qla2x00_abort_isp(scsi_qla_host_t *); | 50 | extern int qla2x00_abort_isp(scsi_qla_host_t *); |
50 | 51 | ||
52 | extern void qla2x00_reg_remote_port(scsi_qla_host_t *, fc_port_t *); | ||
53 | |||
51 | /* | 54 | /* |
52 | * Global Data in qla_os.c source file. | 55 | * Global Data in qla_os.c source file. |
53 | */ | 56 | */ |
@@ -250,4 +253,13 @@ extern void qla2x00_cancel_io_descriptors(scsi_qla_host_t *); | |||
250 | #define qla2x00_alloc_ioctl_mem(ha) (0) | 253 | #define qla2x00_alloc_ioctl_mem(ha) (0) |
251 | #define qla2x00_free_ioctl_mem(ha) do { } while (0) | 254 | #define qla2x00_free_ioctl_mem(ha) do { } while (0) |
252 | 255 | ||
256 | /* | ||
257 | * Global Function Prototypes in qla_attr.c source file. | ||
258 | */ | ||
259 | extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); | ||
260 | extern void qla2x00_free_sysfs_attr(scsi_qla_host_t *); | ||
261 | extern struct scsi_transport_template *qla2x00_alloc_transport_tmpl(void); | ||
262 | extern void qla2x00_init_host_attr(scsi_qla_host_t *); | ||
263 | extern void qla2x00_alloc_sysfs_attr(scsi_qla_host_t *); | ||
264 | extern void qla2x00_free_sysfs_attr(scsi_qla_host_t *); | ||
253 | #endif /* _QLA_GBL_H */ | 265 | #endif /* _QLA_GBL_H */ |