aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros/atlx
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-07-10 06:56:00 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-11 02:13:46 -0400
commit49ce9c2cda18f62b13055dc715e7b514157c2da8 (patch)
tree432dea5cfd5c5f4b95a71a1e958e13b5cc538a1f /drivers/net/ethernet/atheros/atlx
parentae86b9e3846f6fc5509dee721f2bdba1db8ab96a (diff)
drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions
Fix incorrect start markers, wrapped summary lines, missing section breaks, incorrect separators, and some name mismatches. Delete a few that are content-free. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atlx')
-rw-r--r--drivers/net/ethernet/atheros/atlx/atl1.c41
-rw-r--r--drivers/net/ethernet/atheros/atlx/atl2.c56
-rw-r--r--drivers/net/ethernet/atheros/atlx/atlx.c10
3 files changed, 43 insertions, 64 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c
index 149a294d54e9..f2402f355cec 100644
--- a/drivers/net/ethernet/atheros/atlx/atl1.c
+++ b/drivers/net/ethernet/atheros/atlx/atl1.c
@@ -195,7 +195,7 @@ static int __devinit atl1_validate_option(int *value, struct atl1_option *opt,
195 return -1; 195 return -1;
196} 196}
197 197
198/* 198/**
199 * atl1_check_options - Range Checking for Command Line Parameters 199 * atl1_check_options - Range Checking for Command Line Parameters
200 * @adapter: board private structure 200 * @adapter: board private structure
201 * 201 *
@@ -937,7 +937,7 @@ static void atl1_set_mac_addr(struct atl1_hw *hw)
937 iowrite32(value, (hw->hw_addr + REG_MAC_STA_ADDR) + (1 << 2)); 937 iowrite32(value, (hw->hw_addr + REG_MAC_STA_ADDR) + (1 << 2));
938} 938}
939 939
940/* 940/**
941 * atl1_sw_init - Initialize general software structures (struct atl1_adapter) 941 * atl1_sw_init - Initialize general software structures (struct atl1_adapter)
942 * @adapter: board private structure to initialize 942 * @adapter: board private structure to initialize
943 * 943 *
@@ -1014,12 +1014,6 @@ static void mdio_write(struct net_device *netdev, int phy_id, int reg_num,
1014 atl1_write_phy_reg(&adapter->hw, reg_num, val); 1014 atl1_write_phy_reg(&adapter->hw, reg_num, val);
1015} 1015}
1016 1016
1017/*
1018 * atl1_mii_ioctl -
1019 * @netdev:
1020 * @ifreq:
1021 * @cmd:
1022 */
1023static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) 1017static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
1024{ 1018{
1025 struct atl1_adapter *adapter = netdev_priv(netdev); 1019 struct atl1_adapter *adapter = netdev_priv(netdev);
@@ -1036,7 +1030,7 @@ static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
1036 return retval; 1030 return retval;
1037} 1031}
1038 1032
1039/* 1033/**
1040 * atl1_setup_mem_resources - allocate Tx / RX descriptor resources 1034 * atl1_setup_mem_resources - allocate Tx / RX descriptor resources
1041 * @adapter: board private structure 1035 * @adapter: board private structure
1042 * 1036 *
@@ -1147,7 +1141,7 @@ static void atl1_init_ring_ptrs(struct atl1_adapter *adapter)
1147 atomic_set(&rrd_ring->next_to_clean, 0); 1141 atomic_set(&rrd_ring->next_to_clean, 0);
1148} 1142}
1149 1143
1150/* 1144/**
1151 * atl1_clean_rx_ring - Free RFD Buffers 1145 * atl1_clean_rx_ring - Free RFD Buffers
1152 * @adapter: board private structure 1146 * @adapter: board private structure
1153 */ 1147 */
@@ -1187,7 +1181,7 @@ static void atl1_clean_rx_ring(struct atl1_adapter *adapter)
1187 atomic_set(&rrd_ring->next_to_clean, 0); 1181 atomic_set(&rrd_ring->next_to_clean, 0);
1188} 1182}
1189 1183
1190/* 1184/**
1191 * atl1_clean_tx_ring - Free Tx Buffers 1185 * atl1_clean_tx_ring - Free Tx Buffers
1192 * @adapter: board private structure 1186 * @adapter: board private structure
1193 */ 1187 */
@@ -1227,7 +1221,7 @@ static void atl1_clean_tx_ring(struct atl1_adapter *adapter)
1227 atomic_set(&tpd_ring->next_to_clean, 0); 1221 atomic_set(&tpd_ring->next_to_clean, 0);
1228} 1222}
1229 1223
1230/* 1224/**
1231 * atl1_free_ring_resources - Free Tx / RX descriptor Resources 1225 * atl1_free_ring_resources - Free Tx / RX descriptor Resources
1232 * @adapter: board private structure 1226 * @adapter: board private structure
1233 * 1227 *
@@ -1470,7 +1464,7 @@ static void set_flow_ctrl_new(struct atl1_hw *hw)
1470 iowrite32(value, hw->hw_addr + REG_RXQ_RRD_PAUSE_THRESH); 1464 iowrite32(value, hw->hw_addr + REG_RXQ_RRD_PAUSE_THRESH);
1471} 1465}
1472 1466
1473/* 1467/**
1474 * atl1_configure - Configure Transmit&Receive Unit after Reset 1468 * atl1_configure - Configure Transmit&Receive Unit after Reset
1475 * @adapter: board private structure 1469 * @adapter: board private structure
1476 * 1470 *
@@ -1844,7 +1838,7 @@ static void atl1_rx_checksum(struct atl1_adapter *adapter,
1844 } 1838 }
1845} 1839}
1846 1840
1847/* 1841/**
1848 * atl1_alloc_rx_buffers - Replace used receive buffers 1842 * atl1_alloc_rx_buffers - Replace used receive buffers
1849 * @adapter: address of board private structure 1843 * @adapter: address of board private structure
1850 */ 1844 */
@@ -2489,11 +2483,10 @@ static inline int atl1_sched_rings_clean(struct atl1_adapter* adapter)
2489 return 1; 2483 return 1;
2490} 2484}
2491 2485
2492/* 2486/**
2493 * atl1_intr - Interrupt Handler 2487 * atl1_intr - Interrupt Handler
2494 * @irq: interrupt number 2488 * @irq: interrupt number
2495 * @data: pointer to a network interface device structure 2489 * @data: pointer to a network interface device structure
2496 * @pt_regs: CPU registers structure
2497 */ 2490 */
2498static irqreturn_t atl1_intr(int irq, void *data) 2491static irqreturn_t atl1_intr(int irq, void *data)
2499{ 2492{
@@ -2574,7 +2567,7 @@ static irqreturn_t atl1_intr(int irq, void *data)
2574} 2567}
2575 2568
2576 2569
2577/* 2570/**
2578 * atl1_phy_config - Timer Call-back 2571 * atl1_phy_config - Timer Call-back
2579 * @data: pointer to netdev cast into an unsigned long 2572 * @data: pointer to netdev cast into an unsigned long
2580 */ 2573 */
@@ -2693,7 +2686,7 @@ static void atl1_reset_dev_task(struct work_struct *work)
2693 netif_device_attach(netdev); 2686 netif_device_attach(netdev);
2694} 2687}
2695 2688
2696/* 2689/**
2697 * atl1_change_mtu - Change the Maximum Transfer Unit 2690 * atl1_change_mtu - Change the Maximum Transfer Unit
2698 * @netdev: network interface device structure 2691 * @netdev: network interface device structure
2699 * @new_mtu: new value for maximum frame size 2692 * @new_mtu: new value for maximum frame size
@@ -2727,7 +2720,7 @@ static int atl1_change_mtu(struct net_device *netdev, int new_mtu)
2727 return 0; 2720 return 0;
2728} 2721}
2729 2722
2730/* 2723/**
2731 * atl1_open - Called when a network interface is made active 2724 * atl1_open - Called when a network interface is made active
2732 * @netdev: network interface device structure 2725 * @netdev: network interface device structure
2733 * 2726 *
@@ -2762,7 +2755,7 @@ err_up:
2762 return err; 2755 return err;
2763} 2756}
2764 2757
2765/* 2758/**
2766 * atl1_close - Disables a network interface 2759 * atl1_close - Disables a network interface
2767 * @netdev: network interface device structure 2760 * @netdev: network interface device structure
2768 * 2761 *
@@ -2930,7 +2923,7 @@ static const struct net_device_ops atl1_netdev_ops = {
2930#endif 2923#endif
2931}; 2924};
2932 2925
2933/* 2926/**
2934 * atl1_probe - Device Initialization Routine 2927 * atl1_probe - Device Initialization Routine
2935 * @pdev: PCI device information struct 2928 * @pdev: PCI device information struct
2936 * @ent: entry in atl1_pci_tbl 2929 * @ent: entry in atl1_pci_tbl
@@ -3111,7 +3104,7 @@ err_request_regions:
3111 return err; 3104 return err;
3112} 3105}
3113 3106
3114/* 3107/**
3115 * atl1_remove - Device Removal Routine 3108 * atl1_remove - Device Removal Routine
3116 * @pdev: PCI device information struct 3109 * @pdev: PCI device information struct
3117 * 3110 *
@@ -3158,7 +3151,7 @@ static struct pci_driver atl1_driver = {
3158 .driver.pm = ATL1_PM_OPS, 3151 .driver.pm = ATL1_PM_OPS,
3159}; 3152};
3160 3153
3161/* 3154/**
3162 * atl1_exit_module - Driver Exit Cleanup Routine 3155 * atl1_exit_module - Driver Exit Cleanup Routine
3163 * 3156 *
3164 * atl1_exit_module is called just before the driver is removed 3157 * atl1_exit_module is called just before the driver is removed
@@ -3169,7 +3162,7 @@ static void __exit atl1_exit_module(void)
3169 pci_unregister_driver(&atl1_driver); 3162 pci_unregister_driver(&atl1_driver);
3170} 3163}
3171 3164
3172/* 3165/**
3173 * atl1_init_module - Driver Registration Routine 3166 * atl1_init_module - Driver Registration Routine
3174 * 3167 *
3175 * atl1_init_module is the first routine called when the driver is 3168 * atl1_init_module is the first routine called when the driver is
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.c b/drivers/net/ethernet/atheros/atlx/atl2.c
index 6762dc406b25..7c0b7e2bcb66 100644
--- a/drivers/net/ethernet/atheros/atlx/atl2.c
+++ b/drivers/net/ethernet/atheros/atlx/atl2.c
@@ -75,7 +75,7 @@ static void atl2_set_ethtool_ops(struct net_device *netdev);
75 75
76static void atl2_check_options(struct atl2_adapter *adapter); 76static void atl2_check_options(struct atl2_adapter *adapter);
77 77
78/* 78/**
79 * atl2_sw_init - Initialize general software structures (struct atl2_adapter) 79 * atl2_sw_init - Initialize general software structures (struct atl2_adapter)
80 * @adapter: board private structure to initialize 80 * @adapter: board private structure to initialize
81 * 81 *
@@ -123,7 +123,7 @@ static int __devinit atl2_sw_init(struct atl2_adapter *adapter)
123 return 0; 123 return 0;
124} 124}
125 125
126/* 126/**
127 * atl2_set_multi - Multicast and Promiscuous mode set 127 * atl2_set_multi - Multicast and Promiscuous mode set
128 * @netdev: network interface device structure 128 * @netdev: network interface device structure
129 * 129 *
@@ -177,7 +177,7 @@ static void init_ring_ptrs(struct atl2_adapter *adapter)
177 adapter->txs_next_clear = 0; 177 adapter->txs_next_clear = 0;
178} 178}
179 179
180/* 180/**
181 * atl2_configure - Configure Transmit&Receive Unit after Reset 181 * atl2_configure - Configure Transmit&Receive Unit after Reset
182 * @adapter: board private structure 182 * @adapter: board private structure
183 * 183 *
@@ -283,7 +283,7 @@ static int atl2_configure(struct atl2_adapter *adapter)
283 return value; 283 return value;
284} 284}
285 285
286/* 286/**
287 * atl2_setup_ring_resources - allocate Tx / RX descriptor resources 287 * atl2_setup_ring_resources - allocate Tx / RX descriptor resources
288 * @adapter: board private structure 288 * @adapter: board private structure
289 * 289 *
@@ -340,7 +340,7 @@ static s32 atl2_setup_ring_resources(struct atl2_adapter *adapter)
340 return 0; 340 return 0;
341} 341}
342 342
343/* 343/**
344 * atl2_irq_enable - Enable default interrupt generation settings 344 * atl2_irq_enable - Enable default interrupt generation settings
345 * @adapter: board private structure 345 * @adapter: board private structure
346 */ 346 */
@@ -350,7 +350,7 @@ static inline void atl2_irq_enable(struct atl2_adapter *adapter)
350 ATL2_WRITE_FLUSH(&adapter->hw); 350 ATL2_WRITE_FLUSH(&adapter->hw);
351} 351}
352 352
353/* 353/**
354 * atl2_irq_disable - Mask off interrupt generation on the NIC 354 * atl2_irq_disable - Mask off interrupt generation on the NIC
355 * @adapter: board private structure 355 * @adapter: board private structure
356 */ 356 */
@@ -599,11 +599,10 @@ static inline void atl2_clear_phy_int(struct atl2_adapter *adapter)
599 spin_unlock(&adapter->stats_lock); 599 spin_unlock(&adapter->stats_lock);
600} 600}
601 601
602/* 602/**
603 * atl2_intr - Interrupt Handler 603 * atl2_intr - Interrupt Handler
604 * @irq: interrupt number 604 * @irq: interrupt number
605 * @data: pointer to a network interface device structure 605 * @data: pointer to a network interface device structure
606 * @pt_regs: CPU registers structure
607 */ 606 */
608static irqreturn_t atl2_intr(int irq, void *data) 607static irqreturn_t atl2_intr(int irq, void *data)
609{ 608{
@@ -679,7 +678,7 @@ static int atl2_request_irq(struct atl2_adapter *adapter)
679 netdev); 678 netdev);
680} 679}
681 680
682/* 681/**
683 * atl2_free_ring_resources - Free Tx / RX descriptor Resources 682 * atl2_free_ring_resources - Free Tx / RX descriptor Resources
684 * @adapter: board private structure 683 * @adapter: board private structure
685 * 684 *
@@ -692,7 +691,7 @@ static void atl2_free_ring_resources(struct atl2_adapter *adapter)
692 adapter->ring_dma); 691 adapter->ring_dma);
693} 692}
694 693
695/* 694/**
696 * atl2_open - Called when a network interface is made active 695 * atl2_open - Called when a network interface is made active
697 * @netdev: network interface device structure 696 * @netdev: network interface device structure
698 * 697 *
@@ -798,7 +797,7 @@ static void atl2_free_irq(struct atl2_adapter *adapter)
798#endif 797#endif
799} 798}
800 799
801/* 800/**
802 * atl2_close - Disables a network interface 801 * atl2_close - Disables a network interface
803 * @netdev: network interface device structure 802 * @netdev: network interface device structure
804 * 803 *
@@ -918,7 +917,7 @@ static netdev_tx_t atl2_xmit_frame(struct sk_buff *skb,
918 return NETDEV_TX_OK; 917 return NETDEV_TX_OK;
919} 918}
920 919
921/* 920/**
922 * atl2_change_mtu - Change the Maximum Transfer Unit 921 * atl2_change_mtu - Change the Maximum Transfer Unit
923 * @netdev: network interface device structure 922 * @netdev: network interface device structure
924 * @new_mtu: new value for maximum frame size 923 * @new_mtu: new value for maximum frame size
@@ -943,7 +942,7 @@ static int atl2_change_mtu(struct net_device *netdev, int new_mtu)
943 return 0; 942 return 0;
944} 943}
945 944
946/* 945/**
947 * atl2_set_mac - Change the Ethernet Address of the NIC 946 * atl2_set_mac - Change the Ethernet Address of the NIC
948 * @netdev: network interface device structure 947 * @netdev: network interface device structure
949 * @p: pointer to an address structure 948 * @p: pointer to an address structure
@@ -969,12 +968,6 @@ static int atl2_set_mac(struct net_device *netdev, void *p)
969 return 0; 968 return 0;
970} 969}
971 970
972/*
973 * atl2_mii_ioctl -
974 * @netdev:
975 * @ifreq:
976 * @cmd:
977 */
978static int atl2_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) 971static int atl2_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
979{ 972{
980 struct atl2_adapter *adapter = netdev_priv(netdev); 973 struct atl2_adapter *adapter = netdev_priv(netdev);
@@ -1011,12 +1004,6 @@ static int atl2_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
1011 return 0; 1004 return 0;
1012} 1005}
1013 1006
1014/*
1015 * atl2_ioctl -
1016 * @netdev:
1017 * @ifreq:
1018 * @cmd:
1019 */
1020static int atl2_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) 1007static int atl2_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
1021{ 1008{
1022 switch (cmd) { 1009 switch (cmd) {
@@ -1033,7 +1020,7 @@ static int atl2_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
1033 } 1020 }
1034} 1021}
1035 1022
1036/* 1023/**
1037 * atl2_tx_timeout - Respond to a Tx Hang 1024 * atl2_tx_timeout - Respond to a Tx Hang
1038 * @netdev: network interface device structure 1025 * @netdev: network interface device structure
1039 */ 1026 */
@@ -1045,7 +1032,7 @@ static void atl2_tx_timeout(struct net_device *netdev)
1045 schedule_work(&adapter->reset_task); 1032 schedule_work(&adapter->reset_task);
1046} 1033}
1047 1034
1048/* 1035/**
1049 * atl2_watchdog - Timer Call-back 1036 * atl2_watchdog - Timer Call-back
1050 * @data: pointer to netdev cast into an unsigned long 1037 * @data: pointer to netdev cast into an unsigned long
1051 */ 1038 */
@@ -1070,7 +1057,7 @@ static void atl2_watchdog(unsigned long data)
1070 } 1057 }
1071} 1058}
1072 1059
1073/* 1060/**
1074 * atl2_phy_config - Timer Call-back 1061 * atl2_phy_config - Timer Call-back
1075 * @data: pointer to netdev cast into an unsigned long 1062 * @data: pointer to netdev cast into an unsigned long
1076 */ 1063 */
@@ -1274,9 +1261,8 @@ static int atl2_check_link(struct atl2_adapter *adapter)
1274 return 0; 1261 return 0;
1275} 1262}
1276 1263
1277/* 1264/**
1278 * atl2_link_chg_task - deal with link change event Out of interrupt context 1265 * atl2_link_chg_task - deal with link change event Out of interrupt context
1279 * @netdev: network interface device structure
1280 */ 1266 */
1281static void atl2_link_chg_task(struct work_struct *work) 1267static void atl2_link_chg_task(struct work_struct *work)
1282{ 1268{
@@ -1341,7 +1327,7 @@ static const struct net_device_ops atl2_netdev_ops = {
1341#endif 1327#endif
1342}; 1328};
1343 1329
1344/* 1330/**
1345 * atl2_probe - Device Initialization Routine 1331 * atl2_probe - Device Initialization Routine
1346 * @pdev: PCI device information struct 1332 * @pdev: PCI device information struct
1347 * @ent: entry in atl2_pci_tbl 1333 * @ent: entry in atl2_pci_tbl
@@ -1501,7 +1487,7 @@ err_dma:
1501 return err; 1487 return err;
1502} 1488}
1503 1489
1504/* 1490/**
1505 * atl2_remove - Device Removal Routine 1491 * atl2_remove - Device Removal Routine
1506 * @pdev: PCI device information struct 1492 * @pdev: PCI device information struct
1507 * 1493 *
@@ -1728,7 +1714,7 @@ static struct pci_driver atl2_driver = {
1728 .shutdown = atl2_shutdown, 1714 .shutdown = atl2_shutdown,
1729}; 1715};
1730 1716
1731/* 1717/**
1732 * atl2_init_module - Driver Registration Routine 1718 * atl2_init_module - Driver Registration Routine
1733 * 1719 *
1734 * atl2_init_module is the first routine called when the driver is 1720 * atl2_init_module is the first routine called when the driver is
@@ -1743,7 +1729,7 @@ static int __init atl2_init_module(void)
1743} 1729}
1744module_init(atl2_init_module); 1730module_init(atl2_init_module);
1745 1731
1746/* 1732/**
1747 * atl2_exit_module - Driver Exit Cleanup Routine 1733 * atl2_exit_module - Driver Exit Cleanup Routine
1748 * 1734 *
1749 * atl2_exit_module is called just before the driver is removed 1735 * atl2_exit_module is called just before the driver is removed
@@ -2997,7 +2983,7 @@ static int __devinit atl2_validate_option(int *value, struct atl2_option *opt)
2997 return -1; 2983 return -1;
2998} 2984}
2999 2985
3000/* 2986/**
3001 * atl2_check_options - Range Checking for Command Line Parameters 2987 * atl2_check_options - Range Checking for Command Line Parameters
3002 * @adapter: board private structure 2988 * @adapter: board private structure
3003 * 2989 *
diff --git a/drivers/net/ethernet/atheros/atlx/atlx.c b/drivers/net/ethernet/atheros/atlx/atlx.c
index b4f3aa49a7fc..77ffbc4a5071 100644
--- a/drivers/net/ethernet/atheros/atlx/atlx.c
+++ b/drivers/net/ethernet/atheros/atlx/atlx.c
@@ -64,7 +64,7 @@ static int atlx_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
64 } 64 }
65} 65}
66 66
67/* 67/**
68 * atlx_set_mac - Change the Ethernet Address of the NIC 68 * atlx_set_mac - Change the Ethernet Address of the NIC
69 * @netdev: network interface device structure 69 * @netdev: network interface device structure
70 * @p: pointer to an address structure 70 * @p: pointer to an address structure
@@ -115,7 +115,7 @@ static void atlx_check_for_link(struct atlx_adapter *adapter)
115 schedule_work(&adapter->link_chg_task); 115 schedule_work(&adapter->link_chg_task);
116} 116}
117 117
118/* 118/**
119 * atlx_set_multi - Multicast and Promiscuous mode set 119 * atlx_set_multi - Multicast and Promiscuous mode set
120 * @netdev: network interface device structure 120 * @netdev: network interface device structure
121 * 121 *
@@ -162,7 +162,7 @@ static inline void atlx_imr_set(struct atlx_adapter *adapter,
162 ioread32(adapter->hw.hw_addr + REG_IMR); 162 ioread32(adapter->hw.hw_addr + REG_IMR);
163} 163}
164 164
165/* 165/**
166 * atlx_irq_enable - Enable default interrupt generation settings 166 * atlx_irq_enable - Enable default interrupt generation settings
167 * @adapter: board private structure 167 * @adapter: board private structure
168 */ 168 */
@@ -172,7 +172,7 @@ static void atlx_irq_enable(struct atlx_adapter *adapter)
172 adapter->int_enabled = true; 172 adapter->int_enabled = true;
173} 173}
174 174
175/* 175/**
176 * atlx_irq_disable - Mask off interrupt generation on the NIC 176 * atlx_irq_disable - Mask off interrupt generation on the NIC
177 * @adapter: board private structure 177 * @adapter: board private structure
178 */ 178 */
@@ -193,7 +193,7 @@ static void atlx_clear_phy_int(struct atlx_adapter *adapter)
193 spin_unlock_irqrestore(&adapter->lock, flags); 193 spin_unlock_irqrestore(&adapter->lock, flags);
194} 194}
195 195
196/* 196/**
197 * atlx_tx_timeout - Respond to a Tx Hang 197 * atlx_tx_timeout - Respond to a Tx Hang
198 * @netdev: network interface device structure 198 * @netdev: network interface device structure
199 */ 199 */