@@ -176,9 +176,6 @@ static void cvm_oct_periodic_worker(struct work_struct *work)
176176 queue_delayed_work (cvm_oct_poll_queue , & priv -> port_periodic_work , HZ );
177177 }
178178
179- /**
180- * Configure common hardware for all interfaces
181- */
182179static __init void cvm_oct_configure_common_hw (void )
183180{
184181 /* Setup the FPA */
@@ -198,10 +195,10 @@ static __init void cvm_oct_configure_common_hw(void)
198195}
199196
200197/**
201- * Free a work queue entry received in a intercept callback.
198+ * cvm_oct_free_work- Free a work queue entry
199+ *
200+ * @work_queue_entry: Work queue entry to free
202201 *
203- * @work_queue_entry:
204- * Work queue entry to free
205202 * Returns Zero on success, Negative on failure.
206203 */
207204int cvm_oct_free_work (void * work_queue_entry )
@@ -228,9 +225,9 @@ int cvm_oct_free_work(void *work_queue_entry)
228225EXPORT_SYMBOL (cvm_oct_free_work );
229226
230227/**
231- * Get the low level ethernet statistics
232- *
228+ * cvm_oct_common_get_stats - get the low level ethernet statistics
233229 * @dev: Device to get the statistics from
230+ *
234231 * Returns Pointer to the statistics
235232 */
236233static struct net_device_stats * cvm_oct_common_get_stats (struct net_device * dev )
@@ -274,8 +271,7 @@ static struct net_device_stats *cvm_oct_common_get_stats(struct net_device *dev)
274271}
275272
276273/**
277- * Change the link MTU. Unimplemented
278- *
274+ * cvm_oct_common_change_mtu - change the link MTU
279275 * @dev: Device to change
280276 * @new_mtu: The new MTU
281277 *
@@ -339,8 +335,7 @@ static int cvm_oct_common_change_mtu(struct net_device *dev, int new_mtu)
339335}
340336
341337/**
342- * Set the multicast list. Currently unimplemented.
343- *
338+ * cvm_oct_common_set_multicast_list - set the multicast list
344339 * @dev: Device to work on
345340 */
346341static void cvm_oct_common_set_multicast_list (struct net_device * dev )
@@ -395,10 +390,10 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev)
395390}
396391
397392/**
398- * Set the hardware MAC address for a device
399- *
400- * @dev : Device to change the MAC address for
401- * @addr: Address structure to change it too. MAC address is addr + 2.
393+ * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
394+ * @dev: The device in question.
395+ * @addr : Address structure to change it too.
396+
402397 * Returns Zero on success
403398 */
404399static int cvm_oct_common_set_mac_address (struct net_device * dev , void * addr )
@@ -445,9 +440,9 @@ static int cvm_oct_common_set_mac_address(struct net_device *dev, void *addr)
445440}
446441
447442/**
448- * Per network device initialization
449- *
443+ * cvm_oct_common_init - per network device initialization
450444 * @dev: Device to initialize
445+ *
451446 * Returns Zero on success
452447 */
453448int cvm_oct_common_init (struct net_device * dev )
@@ -603,12 +598,6 @@ static const struct net_device_ops cvm_oct_pow_netdev_ops = {
603598
604599extern void octeon_mdiobus_force_mod_depencency (void );
605600
606- /**
607- * Module/ driver initialization. Creates the linux network
608- * devices.
609- *
610- * Returns Zero on success
611- */
612601static int __init cvm_oct_init_module (void )
613602{
614603 int num_interfaces ;
@@ -802,11 +791,6 @@ static int __init cvm_oct_init_module(void)
802791 return 0 ;
803792}
804793
805- /**
806- * Module / driver shutdown
807- *
808- * Returns Zero on success
809- */
810794static void __exit cvm_oct_cleanup_module (void )
811795{
812796 int port ;
0 commit comments