aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.h')
-rw-r--r--drivers/scsi/fcoe/fcoe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.h b/drivers/scsi/fcoe/fcoe.h
index 685aa9d02226..5b190b5fea3f 100644
--- a/drivers/scsi/fcoe/fcoe.h
+++ b/drivers/scsi/fcoe/fcoe.h
@@ -85,6 +85,7 @@ struct fcoe_interface {
85 struct net_device *netdev; 85 struct net_device *netdev;
86 struct packet_type fcoe_packet_type; 86 struct packet_type fcoe_packet_type;
87 struct packet_type fip_packet_type; 87 struct packet_type fip_packet_type;
88 struct fcoe_ctlr ctlr;
88}; 89};
89 90
90/* 91/*
@@ -97,10 +98,9 @@ struct fcoe_port {
97 struct sk_buff_head fcoe_pending_queue; 98 struct sk_buff_head fcoe_pending_queue;
98 u8 fcoe_pending_queue_active; 99 u8 fcoe_pending_queue_active;
99 struct timer_list timer; /* queue timer */ 100 struct timer_list timer; /* queue timer */
100 struct fcoe_ctlr ctlr;
101}; 101};
102 102
103#define fcoe_from_ctlr(fip) container_of(fip, struct fcoe_port, ctlr) 103#define fcoe_from_ctlr(fip) container_of(fip, struct fcoe_interface, ctlr)
104 104
105static inline struct net_device *fcoe_netdev(const struct fc_lport *lp) 105static inline struct net_device *fcoe_netdev(const struct fc_lport *lp)
106{ 106{