[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fa686aa40903310948u43b722c0h1018c09641bd4d68@mail.gmail.com>
Date: Tue, 31 Mar 2009 10:48:14 -0600
From: Grant Likely <grant.likely@...retlab.ca>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: Henk Stegeman <henk.stegeman@...il.com>, linuxppc-dev@...abs.org,
netdev@...r.kernel.org
Subject: Re: Patch: Fix fec_mpc52xx driver to use net_device_ops
On Tue, Mar 31, 2009 at 8:48 AM, Stephen Hemminger
<shemminger@...tta.com> wrote:
> On Tue, 31 Mar 2009 12:44:15 +0200
>> +static const struct net_device_ops mpc52xx_fec_netdev_ops = {
>> + .ndo_open = mpc52xx_fec_open,
>> + .ndo_stop = mpc52xx_fec_close,
>> + .ndo_start_xmit = mpc52xx_fec_hard_start_xmit,
>> + .ndo_tx_timeout = mpc52xx_fec_tx_timeout,
>> + .ndo_get_stats = mpc52xx_fec_get_stats,
>> + .ndo_set_multicast_list = mpc52xx_fec_set_multicast_list,
>> + .ndo_validate_addr = eth_validate_addr,
>> + .ndo_set_mac_address = mpc52xx_fec_set_mac_address,
>> + .ndo_do_ioctl = mpc52xx_fec_ioctl,
>>
> What about change_mtu? Don't you want:
> .ndo_change_mtu = eth_change_mtu,
Yes, you're right. fixed.
Thanks,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists