diff options
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.h')
-rw-r--r-- | drivers/scsi/cxgbi/libcxgbi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.h b/drivers/scsi/cxgbi/libcxgbi.h index b3e6e7541cc5..1d98fad6a0ab 100644 --- a/drivers/scsi/cxgbi/libcxgbi.h +++ b/drivers/scsi/cxgbi/libcxgbi.h | |||
@@ -527,6 +527,7 @@ struct cxgbi_ports_map { | |||
527 | #define CXGBI_FLAG_IPV4_SET 0x10 | 527 | #define CXGBI_FLAG_IPV4_SET 0x10 |
528 | struct cxgbi_device { | 528 | struct cxgbi_device { |
529 | struct list_head list_head; | 529 | struct list_head list_head; |
530 | struct list_head rcu_node; | ||
530 | unsigned int flags; | 531 | unsigned int flags; |
531 | struct net_device **ports; | 532 | struct net_device **ports; |
532 | void *lldev; | 533 | void *lldev; |
@@ -709,6 +710,8 @@ void cxgbi_device_unregister(struct cxgbi_device *); | |||
709 | void cxgbi_device_unregister_all(unsigned int flag); | 710 | void cxgbi_device_unregister_all(unsigned int flag); |
710 | struct cxgbi_device *cxgbi_device_find_by_lldev(void *); | 711 | struct cxgbi_device *cxgbi_device_find_by_lldev(void *); |
711 | struct cxgbi_device *cxgbi_device_find_by_netdev(struct net_device *, int *); | 712 | struct cxgbi_device *cxgbi_device_find_by_netdev(struct net_device *, int *); |
713 | struct cxgbi_device *cxgbi_device_find_by_netdev_rcu(struct net_device *, | ||
714 | int *); | ||
712 | int cxgbi_hbas_add(struct cxgbi_device *, u64, unsigned int, | 715 | int cxgbi_hbas_add(struct cxgbi_device *, u64, unsigned int, |
713 | struct scsi_host_template *, | 716 | struct scsi_host_template *, |
714 | struct scsi_transport_template *); | 717 | struct scsi_transport_template *); |