~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to drivers/net/sunbmac.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1074
1074
        .get_link               = bigmac_get_link,
1075
1075
};
1076
1076
 
 
1077
static const struct net_device_ops bigmac_ops = {
 
1078
        .ndo_open               = bigmac_open,
 
1079
        .ndo_stop               = bigmac_close,
 
1080
        .ndo_start_xmit         = bigmac_start_xmit,
 
1081
        .ndo_get_stats          = bigmac_get_stats,
 
1082
        .ndo_set_multicast_list = bigmac_set_multicast,
 
1083
        .ndo_tx_timeout         = bigmac_tx_timeout,
 
1084
        .ndo_change_mtu         = eth_change_mtu,
 
1085
        .ndo_set_mac_address    = eth_mac_addr,
 
1086
        .ndo_validate_addr      = eth_validate_addr,
 
1087
};
 
1088
 
1077
1089
static int __devinit bigmac_ether_init(struct of_device *op,
1078
1090
                                       struct of_device *qec_op)
1079
1091
{
1187
1199
        bp->dev = dev;
1188
1200
 
1189
1201
        /* Set links to our BigMAC open and close routines. */
1190
 
        dev->open = &bigmac_open;
1191
 
        dev->stop = &bigmac_close;
1192
 
        dev->hard_start_xmit = &bigmac_start_xmit;
1193
1202
        dev->ethtool_ops = &bigmac_ethtool_ops;
1194
 
 
1195
 
        /* Set links to BigMAC statistic and multi-cast loading code. */
1196
 
        dev->get_stats = &bigmac_get_stats;
1197
 
        dev->set_multicast_list = &bigmac_set_multicast;
1198
 
 
1199
 
        dev->tx_timeout = &bigmac_tx_timeout;
 
1203
        dev->netdev_ops = &bigmac_ops;
1200
1204
        dev->watchdog_timeo = 5*HZ;
1201
1205
 
1202
1206
        /* Finish net device registration. */