aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/skge.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 3b16597c5d42..edd71468220c 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2446,15 +2446,15 @@ enum pause_status {
2446 2446
2447 2447
2448struct skge_port { 2448struct skge_port {
2449 u32 msg_enable;
2450 struct skge_hw *hw; 2449 struct skge_hw *hw;
2451 struct net_device *netdev; 2450 struct net_device *netdev;
2452 int port; 2451 int port;
2452 u32 msg_enable;
2453 2453
2454 struct skge_ring tx_ring; 2454 struct skge_ring tx_ring;
2455 struct skge_ring rx_ring;
2456 2455
2457 struct net_device_stats net_stats; 2456 struct skge_ring rx_ring ____cacheline_aligned_in_smp;
2457 unsigned int rx_buf_size;
2458 2458
2459 struct timer_list link_timer; 2459 struct timer_list link_timer;
2460 enum pause_control flow_control; 2460 enum pause_control flow_control;
@@ -2470,7 +2470,8 @@ struct skge_port {
2470 void *mem; /* PCI memory for rings */ 2470 void *mem; /* PCI memory for rings */
2471 dma_addr_t dma; 2471 dma_addr_t dma;
2472 unsigned long mem_size; 2472 unsigned long mem_size;
2473 unsigned int rx_buf_size; 2473
2474 struct net_device_stats net_stats;
2474}; 2475};
2475 2476
2476 2477