tg3: Add flag to disable 1G Half Duplex advertisement
authorNithin Sujir <nsujir@broadcom.com>
Fri, 6 Dec 2013 17:53:17 +0000 (09:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2013 20:10:53 +0000 (15:10 -0500)
commit7c786065b12344ada19e11fa1043555dfeda478a
tree48db84c424ad3da10c368b97ba662ddbecb5c7e4
parentec99f76d281bae0194c6060417d3465ded94f0ed
tg3: Add flag to disable 1G Half Duplex advertisement

Some link partners have issues if the non-standard 1G half duplex is
advertised. This patch adds support for an nvram setting to disable the
advertisement.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h