• Zhu Yanjun's avatar
    gianfar: disable TX vlan based on kernel 2.6.x · 3ae3f8b7
    Zhu Yanjun authored
    2.6.x kernels require a similar logic change as commit e1653c3e
    [gianfar: do vlan cleanup] and commit 51b8cbfc
    [gianfar: fix bug caused by e1653c3e] introduces for newer kernels.
    
    Since there is something wrong with tx vlan of gianfar nic driver,
    in kernel(3.1+), tx vlan is disabled. But in kernel 2.6.x, tx vlan
    is still enabled. Thus,gianfar nic driver can not support vlan
    packets and non-vlan packets at the same time.
    Signed-off-by: default avatarZhu Yanjun <Yanjun.Zhu@windriver.com>
    Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
    3ae3f8b7
gianfar.c 61.5 KB