Re: [PATCH 2/2] netdev: bfin_mac: enable VLAN support in BlackfinMAC driver

From: David Miller
Date: Thu Jan 08 2009 - 14:30:29 EST


From: "Mike Frysinger" <vapier.adi@xxxxxxxxx>
Date: Thu, 8 Jan 2009 14:05:33 -0500

> On Thu, Jan 8, 2009 at 14:01, Mike Frysinger wrote:
> > On Thu, Jan 8, 2009 at 13:55, David Miller wrote:
> >> We can get VLAN packets received and sent, using AF_PACKET
> >> sockets, for example. The chip should still respect those
> >> even if VLAN proper is not being utilized.
> >
> > any tips on doing that ?
>
> or rather, is there a driver or you two you can point out that is
> doing this correctly ? the ones i looked at seemed to be doing it
> like the patch we posted ...

And I disagree with how those drivers are doing it :-)

At least the programming of the chip to accept all packet
types properly, VLAN or not, regardless of kernel config,
is definitely IMHO the way to go.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/