drivers/net/skeleton.c: Use more common 'Name:' vs. 'Function:'

This commit is contained in:
Gregory Nutt 2017-04-08 13:55:23 -06:00
parent 8b8ddd05c2
commit a1aca89d61

View File

@ -196,7 +196,7 @@ static void skel_ipv6multicast(FAR struct skel_driver_s *priv);
****************************************************************************/
/****************************************************************************
* Function: skel_transmit
* Name: skel_transmit
*
* Description:
* Start hardware transmission. Called either from the txdone interrupt
@ -237,7 +237,7 @@ static int skel_transmit(FAR struct skel_driver_s *priv)
}
/****************************************************************************
* Function: skel_txpoll
* Name: skel_txpoll
*
* Description:
* The transmitter is available, check if the network has any outgoing
@ -309,7 +309,7 @@ static int skel_txpoll(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: skel_receive
* Name: skel_receive
*
* Description:
* An interrupt was received indicating the availability of a new RX packet
@ -451,7 +451,7 @@ static void skel_receive(FAR struct skel_driver_s *priv)
}
/****************************************************************************
* Function: skel_txdone
* Name: skel_txdone
*
* Description:
* An interrupt was received indicating that the last TX packet(s) is done
@ -491,7 +491,7 @@ static void skel_txdone(FAR struct skel_driver_s *priv)
}
/****************************************************************************
* Function: skel_interrupt_work
* Name: skel_interrupt_work
*
* Description:
* Perform interrupt related work from the worker thread
@ -543,7 +543,7 @@ static void skel_interrupt_work(FAR void *arg)
}
/****************************************************************************
* Function: skel_interrupt
* Name: skel_interrupt
*
* Description:
* Hardware interrupt handler
@ -590,7 +590,7 @@ static int skel_interrupt(int irq, FAR void *context, FAR void *arg)
}
/****************************************************************************
* Function: skel_txtimeout_work
* Name: skel_txtimeout_work
*
* Description:
* Perform TX timeout related work from the worker thread
@ -631,7 +631,7 @@ static void skel_txtimeout_work(FAR void *arg)
}
/****************************************************************************
* Function: skel_txtimeout_expiry
* Name: skel_txtimeout_expiry
*
* Description:
* Our TX watchdog timed out. Called from the timer interrupt handler.
@ -666,7 +666,7 @@ static void skel_txtimeout_expiry(int argc, wdparm_t arg, ...)
}
/****************************************************************************
* Function: skel_poll_process
* Name: skel_poll_process
*
* Description:
* Perform the periodic poll. This may be called either from watchdog
@ -687,7 +687,7 @@ static inline void skel_poll_process(FAR struct skel_driver_s *priv)
}
/****************************************************************************
* Function: skel_poll_work
* Name: skel_poll_work
*
* Description:
* Perform periodic polling from the worker thread
@ -736,7 +736,7 @@ static void skel_poll_work(FAR void *arg)
}
/****************************************************************************
* Function: skel_poll_expiry
* Name: skel_poll_expiry
*
* Description:
* Periodic timer handler. Called from the timer interrupt handler.
@ -763,7 +763,7 @@ static void skel_poll_expiry(int argc, wdparm_t arg, ...)
}
/****************************************************************************
* Function: skel_ifup
* Name: skel_ifup
*
* Description:
* NuttX Callback: Bring up the Ethernet interface when an IP address is
@ -818,7 +818,7 @@ static int skel_ifup(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: skel_ifdown
* Name: skel_ifdown
*
* Description:
* NuttX Callback: Stop the interface.
@ -861,7 +861,7 @@ static int skel_ifdown(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: skel_txavail_work
* Name: skel_txavail_work
*
* Description:
* Perform an out-of-cycle poll on the worker thread.
@ -904,7 +904,7 @@ static void skel_txavail_work(FAR void *arg)
}
/****************************************************************************
* Function: skel_txavail
* Name: skel_txavail
*
* Description:
* Driver callback invoked when new TX data is available. This is a
@ -942,7 +942,7 @@ static int skel_txavail(FAR struct net_driver_s *dev)
}
/****************************************************************************
* Function: skel_addmac
* Name: skel_addmac
*
* Description:
* NuttX Callback: Add the specified MAC address to the hardware multicast
@ -971,7 +971,7 @@ static int skel_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: skel_rmmac
* Name: skel_rmmac
*
* Description:
* NuttX Callback: Remove the specified MAC address from the hardware multicast
@ -1000,7 +1000,7 @@ static int skel_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
#endif
/****************************************************************************
* Function: skel_ipv6multicast
* Name: skel_ipv6multicast
*
* Description:
* Configure the IPv6 multicast MAC address.
@ -1078,7 +1078,7 @@ static void skel_ipv6multicast(FAR struct skel_driver_s *priv)
****************************************************************************/
/****************************************************************************
* Function: skel_initialize
* Name: skel_initialize
*
* Description:
* Initialize the Ethernet controller and driver