From: narkewoody@gmail.com (Woody Wu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Porting problem: ndo_set_multicast_list removed
Date: Tue, 25 Dec 2012 00:30:05 +0800 [thread overview]
Message-ID: <20121224163005.GA3970@zuhnb712> (raw)
Hi, list
I am porting an ethernet driver from 2.6.x to 3.7.1. I found in the new
kernel, the ndo_set_multicast_list method in the net_device_ops had been
removed. What's the story behind? Can I simply ignore this method
defined in an old driver?
Please also help to check the below code, is the list of the operations
defined for my driver enough or not?
const struct net_device_ops ax_netdev_ops = {
.ndo_open = mydriver_open,
.ndo_stop = mydriver_close,
.ndo_start_xmit = mydriver_start_xmit,
.ndo_get_stats = mydriver_get_stats,
/*.ndo_set_multicast_list = mydriver_set_multicast_list,*/
.ndo_set_mac_address = mydriver_set_mac_address,
};
Thanks in advance.
--
woody
I can't go back to yesterday - because I was a different person then.
next reply other threads:[~2012-12-24 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-24 16:30 Woody Wu [this message]
2012-12-24 19:16 ` Porting problem: ndo_set_multicast_list removed Eric Dumazet
2012-12-24 23:47 ` Woody Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121224163005.GA3970@zuhnb712 \
--to=narkewoody@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).