aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe
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/intel/ixgbe
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/intel/ixgbe')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_common.c3
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c2
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c10
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_main.c41
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c38
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c8
6 files changed, 52 insertions, 50 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
index 77ac41feb0fe..bb7fde45c057 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
@@ -3132,7 +3132,7 @@ s32 ixgbe_check_mac_link_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
3132} 3132}
3133 3133
3134/** 3134/**
3135 * ixgbe_get_wwn_prefix_generic Get alternative WWNN/WWPN prefix from 3135 * ixgbe_get_wwn_prefix_generic - Get alternative WWNN/WWPN prefix from
3136 * the EEPROM 3136 * the EEPROM
3137 * @hw: pointer to hardware structure 3137 * @hw: pointer to hardware structure
3138 * @wwnn_prefix: the alternative WWNN prefix 3138 * @wwnn_prefix: the alternative WWNN prefix
@@ -3325,6 +3325,7 @@ void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw,
3325 * ixgbe_calculate_checksum - Calculate checksum for buffer 3325 * ixgbe_calculate_checksum - Calculate checksum for buffer
3326 * @buffer: pointer to EEPROM 3326 * @buffer: pointer to EEPROM
3327 * @length: size of EEPROM to calculate a checksum for 3327 * @length: size of EEPROM to calculate a checksum for
3328 *
3328 * Calculates the checksum for some buffer on a specified length. The 3329 * Calculates the checksum for some buffer on a specified length. The
3329 * checksum calculated is returned. 3330 * checksum calculated is returned.
3330 **/ 3331 **/
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
index bc07933d67da..0ee4dbf4a752 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
@@ -38,7 +38,7 @@
38 38
39/** 39/**
40 * ixgbe_fcoe_clear_ddp - clear the given ddp context 40 * ixgbe_fcoe_clear_ddp - clear the given ddp context
41 * @ddp - ptr to the ixgbe_fcoe_ddp 41 * @ddp: ptr to the ixgbe_fcoe_ddp
42 * 42 *
43 * Returns : none 43 * Returns : none
44 * 44 *
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
index c377706e81a8..f36c3c38dbcb 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
@@ -252,7 +252,7 @@ static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter)
252} 252}
253 253
254/** 254/**
255 * ixgbe_set_sriov_queues: Allocate queues for IOV use 255 * ixgbe_set_sriov_queues - Allocate queues for IOV use
256 * @adapter: board private structure to initialize 256 * @adapter: board private structure to initialize
257 * 257 *
258 * IOV doesn't actually use anything, so just NAK the 258 * IOV doesn't actually use anything, so just NAK the
@@ -265,7 +265,7 @@ static inline bool ixgbe_set_sriov_queues(struct ixgbe_adapter *adapter)
265} 265}
266 266
267/** 267/**
268 * ixgbe_set_rss_queues: Allocate queues for RSS 268 * ixgbe_set_rss_queues - Allocate queues for RSS
269 * @adapter: board private structure to initialize 269 * @adapter: board private structure to initialize
270 * 270 *
271 * This is our "base" multiqueue mode. RSS (Receive Side Scaling) will try 271 * This is our "base" multiqueue mode. RSS (Receive Side Scaling) will try
@@ -288,7 +288,7 @@ static inline bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter)
288} 288}
289 289
290/** 290/**
291 * ixgbe_set_fdir_queues: Allocate queues for Flow Director 291 * ixgbe_set_fdir_queues - Allocate queues for Flow Director
292 * @adapter: board private structure to initialize 292 * @adapter: board private structure to initialize
293 * 293 *
294 * Flow Director is an advanced Rx filter, attempting to get Rx flows back 294 * Flow Director is an advanced Rx filter, attempting to get Rx flows back
@@ -323,7 +323,7 @@ static inline bool ixgbe_set_fdir_queues(struct ixgbe_adapter *adapter)
323 323
324#ifdef IXGBE_FCOE 324#ifdef IXGBE_FCOE
325/** 325/**
326 * ixgbe_set_fcoe_queues: Allocate queues for Fiber Channel over Ethernet (FCoE) 326 * ixgbe_set_fcoe_queues - Allocate queues for Fiber Channel over Ethernet (FCoE)
327 * @adapter: board private structure to initialize 327 * @adapter: board private structure to initialize
328 * 328 *
329 * FCoE RX FCRETA can use up to 8 rx queues for up to 8 different exchanges. 329 * FCoE RX FCRETA can use up to 8 rx queues for up to 8 different exchanges.
@@ -410,7 +410,7 @@ static inline bool ixgbe_set_dcb_queues(struct ixgbe_adapter *adapter)
410#endif 410#endif
411 411
412/** 412/**
413 * ixgbe_set_num_queues: Allocate queues for device, feature dependent 413 * ixgbe_set_num_queues - Allocate queues for device, feature dependent
414 * @adapter: board private structure to initialize 414 * @adapter: board private structure to initialize
415 * 415 *
416 * This is the top level queue allocation routine. The order here is very 416 * This is the top level queue allocation routine. The order here is very
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 5afbb37a738c..9313f5c84fad 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -516,7 +516,7 @@ static void ixgbe_get_hw_control(struct ixgbe_adapter *adapter)
516 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD); 516 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD);
517} 517}
518 518
519/* 519/**
520 * ixgbe_set_ivar - set the IVAR registers, mapping interrupt causes to vectors 520 * ixgbe_set_ivar - set the IVAR registers, mapping interrupt causes to vectors
521 * @adapter: pointer to adapter struct 521 * @adapter: pointer to adapter struct
522 * @direction: 0 for Rx, 1 for Tx, -1 for other causes 522 * @direction: 0 for Rx, 1 for Tx, -1 for other causes
@@ -3591,7 +3591,7 @@ static void ixgbe_napi_disable_all(struct ixgbe_adapter *adapter)
3591} 3591}
3592 3592
3593#ifdef CONFIG_IXGBE_DCB 3593#ifdef CONFIG_IXGBE_DCB
3594/* 3594/**
3595 * ixgbe_configure_dcb - Configure DCB hardware 3595 * ixgbe_configure_dcb - Configure DCB hardware
3596 * @adapter: ixgbe adapter struct 3596 * @adapter: ixgbe adapter struct
3597 * 3597 *
@@ -3658,11 +3658,11 @@ static void ixgbe_configure_dcb(struct ixgbe_adapter *adapter)
3658/* Additional bittime to account for IXGBE framing */ 3658/* Additional bittime to account for IXGBE framing */
3659#define IXGBE_ETH_FRAMING 20 3659#define IXGBE_ETH_FRAMING 20
3660 3660
3661/* 3661/**
3662 * ixgbe_hpbthresh - calculate high water mark for flow control 3662 * ixgbe_hpbthresh - calculate high water mark for flow control
3663 * 3663 *
3664 * @adapter: board private structure to calculate for 3664 * @adapter: board private structure to calculate for
3665 * @pb - packet buffer to calculate 3665 * @pb: packet buffer to calculate
3666 */ 3666 */
3667static int ixgbe_hpbthresh(struct ixgbe_adapter *adapter, int pb) 3667static int ixgbe_hpbthresh(struct ixgbe_adapter *adapter, int pb)
3668{ 3668{
@@ -3722,11 +3722,11 @@ static int ixgbe_hpbthresh(struct ixgbe_adapter *adapter, int pb)
3722 return marker; 3722 return marker;
3723} 3723}
3724 3724
3725/* 3725/**
3726 * ixgbe_lpbthresh - calculate low water mark for for flow control 3726 * ixgbe_lpbthresh - calculate low water mark for for flow control
3727 * 3727 *
3728 * @adapter: board private structure to calculate for 3728 * @adapter: board private structure to calculate for
3729 * @pb - packet buffer to calculate 3729 * @pb: packet buffer to calculate
3730 */ 3730 */
3731static int ixgbe_lpbthresh(struct ixgbe_adapter *adapter) 3731static int ixgbe_lpbthresh(struct ixgbe_adapter *adapter)
3732{ 3732{
@@ -5243,7 +5243,7 @@ void ixgbe_update_stats(struct ixgbe_adapter *adapter)
5243 5243
5244/** 5244/**
5245 * ixgbe_fdir_reinit_subtask - worker thread to reinit FDIR filter table 5245 * ixgbe_fdir_reinit_subtask - worker thread to reinit FDIR filter table
5246 * @adapter - pointer to the device adapter structure 5246 * @adapter: pointer to the device adapter structure
5247 **/ 5247 **/
5248static void ixgbe_fdir_reinit_subtask(struct ixgbe_adapter *adapter) 5248static void ixgbe_fdir_reinit_subtask(struct ixgbe_adapter *adapter)
5249{ 5249{
@@ -5279,7 +5279,7 @@ static void ixgbe_fdir_reinit_subtask(struct ixgbe_adapter *adapter)
5279 5279
5280/** 5280/**
5281 * ixgbe_check_hang_subtask - check for hung queues and dropped interrupts 5281 * ixgbe_check_hang_subtask - check for hung queues and dropped interrupts
5282 * @adapter - pointer to the device adapter structure 5282 * @adapter: pointer to the device adapter structure
5283 * 5283 *
5284 * This function serves two purposes. First it strobes the interrupt lines 5284 * This function serves two purposes. First it strobes the interrupt lines
5285 * in order to make certain interrupts are occurring. Secondly it sets the 5285 * in order to make certain interrupts are occurring. Secondly it sets the
@@ -5327,8 +5327,8 @@ static void ixgbe_check_hang_subtask(struct ixgbe_adapter *adapter)
5327 5327
5328/** 5328/**
5329 * ixgbe_watchdog_update_link - update the link status 5329 * ixgbe_watchdog_update_link - update the link status
5330 * @adapter - pointer to the device adapter structure 5330 * @adapter: pointer to the device adapter structure
5331 * @link_speed - pointer to a u32 to store the link_speed 5331 * @link_speed: pointer to a u32 to store the link_speed
5332 **/ 5332 **/
5333static void ixgbe_watchdog_update_link(struct ixgbe_adapter *adapter) 5333static void ixgbe_watchdog_update_link(struct ixgbe_adapter *adapter)
5334{ 5334{
@@ -5371,7 +5371,7 @@ static void ixgbe_watchdog_update_link(struct ixgbe_adapter *adapter)
5371/** 5371/**
5372 * ixgbe_watchdog_link_is_up - update netif_carrier status and 5372 * ixgbe_watchdog_link_is_up - update netif_carrier status and
5373 * print link up message 5373 * print link up message
5374 * @adapter - pointer to the device adapter structure 5374 * @adapter: pointer to the device adapter structure
5375 **/ 5375 **/
5376static void ixgbe_watchdog_link_is_up(struct ixgbe_adapter *adapter) 5376static void ixgbe_watchdog_link_is_up(struct ixgbe_adapter *adapter)
5377{ 5377{
@@ -5431,7 +5431,7 @@ static void ixgbe_watchdog_link_is_up(struct ixgbe_adapter *adapter)
5431/** 5431/**
5432 * ixgbe_watchdog_link_is_down - update netif_carrier status and 5432 * ixgbe_watchdog_link_is_down - update netif_carrier status and
5433 * print link down message 5433 * print link down message
5434 * @adapter - pointer to the adapter structure 5434 * @adapter: pointer to the adapter structure
5435 **/ 5435 **/
5436static void ixgbe_watchdog_link_is_down(struct ixgbe_adapter *adapter) 5436static void ixgbe_watchdog_link_is_down(struct ixgbe_adapter *adapter)
5437{ 5437{
@@ -5459,7 +5459,7 @@ static void ixgbe_watchdog_link_is_down(struct ixgbe_adapter *adapter)
5459 5459
5460/** 5460/**
5461 * ixgbe_watchdog_flush_tx - flush queues on link down 5461 * ixgbe_watchdog_flush_tx - flush queues on link down
5462 * @adapter - pointer to the device adapter structure 5462 * @adapter: pointer to the device adapter structure
5463 **/ 5463 **/
5464static void ixgbe_watchdog_flush_tx(struct ixgbe_adapter *adapter) 5464static void ixgbe_watchdog_flush_tx(struct ixgbe_adapter *adapter)
5465{ 5465{
@@ -5508,7 +5508,7 @@ static void ixgbe_spoof_check(struct ixgbe_adapter *adapter)
5508 5508
5509/** 5509/**
5510 * ixgbe_watchdog_subtask - check and bring link up 5510 * ixgbe_watchdog_subtask - check and bring link up
5511 * @adapter - pointer to the device adapter structure 5511 * @adapter: pointer to the device adapter structure
5512 **/ 5512 **/
5513static void ixgbe_watchdog_subtask(struct ixgbe_adapter *adapter) 5513static void ixgbe_watchdog_subtask(struct ixgbe_adapter *adapter)
5514{ 5514{
@@ -5532,7 +5532,7 @@ static void ixgbe_watchdog_subtask(struct ixgbe_adapter *adapter)
5532 5532
5533/** 5533/**
5534 * ixgbe_sfp_detection_subtask - poll for SFP+ cable 5534 * ixgbe_sfp_detection_subtask - poll for SFP+ cable
5535 * @adapter - the ixgbe adapter structure 5535 * @adapter: the ixgbe adapter structure
5536 **/ 5536 **/
5537static void ixgbe_sfp_detection_subtask(struct ixgbe_adapter *adapter) 5537static void ixgbe_sfp_detection_subtask(struct ixgbe_adapter *adapter)
5538{ 5538{
@@ -5599,7 +5599,7 @@ sfp_out:
5599 5599
5600/** 5600/**
5601 * ixgbe_sfp_link_config_subtask - set up link SFP after module install 5601 * ixgbe_sfp_link_config_subtask - set up link SFP after module install
5602 * @adapter - the ixgbe adapter structure 5602 * @adapter: the ixgbe adapter structure
5603 **/ 5603 **/
5604static void ixgbe_sfp_link_config_subtask(struct ixgbe_adapter *adapter) 5604static void ixgbe_sfp_link_config_subtask(struct ixgbe_adapter *adapter)
5605{ 5605{
@@ -6586,8 +6586,9 @@ static struct rtnl_link_stats64 *ixgbe_get_stats64(struct net_device *netdev,
6586} 6586}
6587 6587
6588#ifdef CONFIG_IXGBE_DCB 6588#ifdef CONFIG_IXGBE_DCB
6589/* ixgbe_validate_rtr - verify 802.1Qp to Rx packet buffer mapping is valid. 6589/**
6590 * #adapter: pointer to ixgbe_adapter 6590 * ixgbe_validate_rtr - verify 802.1Qp to Rx packet buffer mapping is valid.
6591 * @adapter: pointer to ixgbe_adapter
6591 * @tc: number of traffic classes currently enabled 6592 * @tc: number of traffic classes currently enabled
6592 * 6593 *
6593 * Configure a valid 802.1Qp to Rx packet buffer mapping ie confirm 6594 * Configure a valid 802.1Qp to Rx packet buffer mapping ie confirm
@@ -6622,8 +6623,8 @@ static void ixgbe_validate_rtr(struct ixgbe_adapter *adapter, u8 tc)
6622 return; 6623 return;
6623} 6624}
6624 6625
6625/* ixgbe_setup_tc - routine to configure net_device for multiple traffic 6626/**
6626 * classes. 6627 * ixgbe_setup_tc - configure net_device for multiple traffic classes
6627 * 6628 *
6628 * @netdev: net device to configure 6629 * @netdev: net device to configure
6629 * @tc: number of traffic classes to enable 6630 * @tc: number of traffic classes to enable
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
index daddd844691f..3456d5617143 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
@@ -107,7 +107,7 @@ static struct sock_filter ptp_filter[] = {
107 107
108/** 108/**
109 * ixgbe_ptp_read - read raw cycle counter (to be used by time counter) 109 * ixgbe_ptp_read - read raw cycle counter (to be used by time counter)
110 * @cc - the cyclecounter structure 110 * @cc: the cyclecounter structure
111 * 111 *
112 * this function reads the cyclecounter registers and is called by the 112 * this function reads the cyclecounter registers and is called by the
113 * cyclecounter structure used to construct a ns counter from the 113 * cyclecounter structure used to construct a ns counter from the
@@ -128,8 +128,8 @@ static cycle_t ixgbe_ptp_read(const struct cyclecounter *cc)
128 128
129/** 129/**
130 * ixgbe_ptp_adjfreq 130 * ixgbe_ptp_adjfreq
131 * @ptp - the ptp clock structure 131 * @ptp: the ptp clock structure
132 * @ppb - parts per billion adjustment from base 132 * @ppb: parts per billion adjustment from base
133 * 133 *
134 * adjust the frequency of the ptp cycle counter by the 134 * adjust the frequency of the ptp cycle counter by the
135 * indicated ppb from the base frequency. 135 * indicated ppb from the base frequency.
@@ -175,8 +175,8 @@ static int ixgbe_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb)
175 175
176/** 176/**
177 * ixgbe_ptp_adjtime 177 * ixgbe_ptp_adjtime
178 * @ptp - the ptp clock structure 178 * @ptp: the ptp clock structure
179 * @delta - offset to adjust the cycle counter by 179 * @delta: offset to adjust the cycle counter by
180 * 180 *
181 * adjust the timer by resetting the timecounter structure. 181 * adjust the timer by resetting the timecounter structure.
182 */ 182 */
@@ -203,8 +203,8 @@ static int ixgbe_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta)
203 203
204/** 204/**
205 * ixgbe_ptp_gettime 205 * ixgbe_ptp_gettime
206 * @ptp - the ptp clock structure 206 * @ptp: the ptp clock structure
207 * @ts - timespec structure to hold the current time value 207 * @ts: timespec structure to hold the current time value
208 * 208 *
209 * read the timecounter and return the correct value on ns, 209 * read the timecounter and return the correct value on ns,
210 * after converting it into a struct timespec. 210 * after converting it into a struct timespec.
@@ -229,8 +229,8 @@ static int ixgbe_ptp_gettime(struct ptp_clock_info *ptp, struct timespec *ts)
229 229
230/** 230/**
231 * ixgbe_ptp_settime 231 * ixgbe_ptp_settime
232 * @ptp - the ptp clock structure 232 * @ptp: the ptp clock structure
233 * @ts - the timespec containing the new time for the cycle counter 233 * @ts: the timespec containing the new time for the cycle counter
234 * 234 *
235 * reset the timecounter to use a new base value instead of the kernel 235 * reset the timecounter to use a new base value instead of the kernel
236 * wall timer value. 236 * wall timer value.
@@ -256,9 +256,9 @@ static int ixgbe_ptp_settime(struct ptp_clock_info *ptp,
256 256
257/** 257/**
258 * ixgbe_ptp_enable 258 * ixgbe_ptp_enable
259 * @ptp - the ptp clock structure 259 * @ptp: the ptp clock structure
260 * @rq - the requested feature to change 260 * @rq: the requested feature to change
261 * @on - whether to enable or disable the feature 261 * @on: whether to enable or disable the feature
262 * 262 *
263 * enable (or disable) ancillary features of the phc subsystem. 263 * enable (or disable) ancillary features of the phc subsystem.
264 * our driver only supports the PPS feature on the X540 264 * our driver only supports the PPS feature on the X540
@@ -294,8 +294,8 @@ static int ixgbe_ptp_enable(struct ptp_clock_info *ptp,
294 294
295/** 295/**
296 * ixgbe_ptp_check_pps_event 296 * ixgbe_ptp_check_pps_event
297 * @adapter - the private adapter structure 297 * @adapter: the private adapter structure
298 * @eicr - the interrupt cause register value 298 * @eicr: the interrupt cause register value
299 * 299 *
300 * This function is called by the interrupt routine when checking for 300 * This function is called by the interrupt routine when checking for
301 * interrupts. It will check and handle a pps event. 301 * interrupts. It will check and handle a pps event.
@@ -325,8 +325,8 @@ void ixgbe_ptp_check_pps_event(struct ixgbe_adapter *adapter, u32 eicr)
325 325
326/** 326/**
327 * ixgbe_ptp_enable_sdp 327 * ixgbe_ptp_enable_sdp
328 * @hw - the hardware private structure 328 * @hw: the hardware private structure
329 * @shift - the clock shift for calculating nanoseconds 329 * @shift: the clock shift for calculating nanoseconds
330 * 330 *
331 * this function enables the clock out feature on the sdp0 for the 331 * this function enables the clock out feature on the sdp0 for the
332 * X540 device. It will create a 1second periodic output that can be 332 * X540 device. It will create a 1second periodic output that can be
@@ -399,7 +399,7 @@ static void ixgbe_ptp_enable_sdp(struct ixgbe_hw *hw, int shift)
399 399
400/** 400/**
401 * ixgbe_ptp_disable_sdp 401 * ixgbe_ptp_disable_sdp
402 * @hw - the private hardware structure 402 * @hw: the private hardware structure
403 * 403 *
404 * this function disables the auxiliary SDP clock out feature 404 * this function disables the auxiliary SDP clock out feature
405 */ 405 */
@@ -769,7 +769,7 @@ int ixgbe_ptp_hwtstamp_ioctl(struct ixgbe_adapter *adapter,
769 769
770/** 770/**
771 * ixgbe_ptp_start_cyclecounter - create the cycle counter from hw 771 * ixgbe_ptp_start_cyclecounter - create the cycle counter from hw
772 * @adapter - pointer to the adapter structure 772 * @adapter: pointer to the adapter structure
773 * 773 *
774 * this function initializes the timecounter and cyclecounter 774 * this function initializes the timecounter and cyclecounter
775 * structures for use in generated a ns counter from the arbitrary 775 * structures for use in generated a ns counter from the arbitrary
@@ -905,7 +905,7 @@ void ixgbe_ptp_start_cyclecounter(struct ixgbe_adapter *adapter)
905 905
906/** 906/**
907 * ixgbe_ptp_init 907 * ixgbe_ptp_init
908 * @adapter - the ixgbe private adapter structure 908 * @adapter: the ixgbe private adapter structure
909 * 909 *
910 * This function performs the required steps for enabling ptp 910 * This function performs the required steps for enabling ptp
911 * support. If ptp support has already been loaded it simply calls the 911 * support. If ptp support has already been loaded it simply calls the
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c
index 2334fce47018..16ddf14e8ba4 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c
@@ -95,11 +95,11 @@ static ssize_t ixgbe_hwmon_show_maxopthresh(struct device *dev,
95 return sprintf(buf, "%u\n", value); 95 return sprintf(buf, "%u\n", value);
96} 96}
97 97
98/* 98/**
99 * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file. 99 * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file.
100 * @ adapter: pointer to the adapter structure 100 * @adapter: pointer to the adapter structure
101 * @ offset: offset in the eeprom sensor data table 101 * @offset: offset in the eeprom sensor data table
102 * @ type: type of sensor data to display 102 * @type: type of sensor data to display
103 * 103 *
104 * For each file we want in hwmon's sysfs interface we need a device_attribute 104 * For each file we want in hwmon's sysfs interface we need a device_attribute
105 * This is included in our hwmon_attr struct that contains the references to 105 * This is included in our hwmon_attr struct that contains the references to