]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rather than checking every chip revision, introduce more flags to
authoryongari <yongari@FreeBSD.org>
Mon, 25 May 2009 04:22:27 +0000 (04:22 +0000)
committeryongari <yongari@FreeBSD.org>
Mon, 25 May 2009 04:22:27 +0000 (04:22 +0000)
commit7a411bbe540420a27370d18955271812afaad0a8
tree294251a1872d6fc67985480ec85e7c40c913bd66
parentad889c084734fd82819a3874510953f11f4cc289
Rather than checking every chip revision, introduce more flags to
mark controller's capability. Controllers that have jumbo frame
support sets MSK_FLAG_JUMBO, and controllers that does not support
checksum offloading for jumbo frames will set MSK_FLAG_JUMBO_NOCSUM.
For Fast Ethernet controllers it will set MSK_FLAG_FASTETHER and it
would be used in link state handling.

While here, disable Tx checksum offloading if jumbo frame is used
on controllers that does not have Tx checksum offloading capability
for jumbo frame(e.g. Yukon EC Ultra).
sys/dev/msk/if_msk.c
sys/dev/msk/if_mskreg.h