master/ethernet.c
changeset 1907 dd276ae226b4
parent 1581 e51cf2af3ff9
child 1909 ea3eb4c74c1b
equal deleted inserted replaced
1906:96805a6eae3d 1907:dd276ae226b4
    81 struct net_device_stats *ec_eoedev_stats(struct net_device *);
    81 struct net_device_stats *ec_eoedev_stats(struct net_device *);
    82 
    82 
    83 /*****************************************************************************/
    83 /*****************************************************************************/
    84 
    84 
    85 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
    85 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
       
    86 /** Device operations for EoE interfaces.
       
    87  */
    86 static const struct net_device_ops ec_eoedev_ops = {
    88 static const struct net_device_ops ec_eoedev_ops = {
    87     .ndo_open = ec_eoedev_open,
    89     .ndo_open = ec_eoedev_open,
    88     .ndo_stop = ec_eoedev_stop,
    90     .ndo_stop = ec_eoedev_stop,
    89     .ndo_start_xmit = ec_eoedev_tx,
    91     .ndo_start_xmit = ec_eoedev_tx,
    90     .ndo_get_stats = ec_eoedev_stats,
    92     .ndo_get_stats = ec_eoedev_stats,