On Tue, 19 Jun 2007 23:14:21 +0200 Patrick McHardy <[EMAIL PROTECTED]> wrote:
> Stephen Hemminger wrote: > > Looks good. I have some changes to allow devices with multiple MAC addresses > > (never finished). This device could use that. > > > How would the driver do that? I was thinking about using dev_add_mc, > but wasn't sure if that would work with all drivers for non-multicast > addresses. > Basically, add a new dev_add_addr hook to netdevice. Drivers that can do it, would add the hook. If driver didn't have hook, then core would put device into promiscuous. Most devices with multicast allow non-multicast addresses, so it could be a simple extension. Rather than doing it for all devices, wanted to go in one by one and test. -- Stephen Hemminger <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html