diff options
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 */ |