]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
* Add in the AR7240 global control field for setting the maximum frame
authoradrian <adrian@FreeBSD.org>
Sat, 12 May 2012 20:36:12 +0000 (20:36 +0000)
committeradrian <adrian@FreeBSD.org>
Sat, 12 May 2012 20:36:12 +0000 (20:36 +0000)
commitb5d1dd43cf5137ac8056fad8e866fa140a17be39
tree26100a9bca08046074aa2fd22d0201b1da3478b3
parent1dfd5258deaa95a0a9a21ab2df07ae12a3bfab09
* Add in the AR7240 global control field for setting the maximum frame
  size for the AR7240.

* Include SM/MS macros, thanks to ath_hal(4).

* This field is for normal packets, VLAN and other headers are added to
  this by the switch device.

* Set the MTU to 1536, to match what is done in Linux.  Use the SM
  macro to write this field.

Obtained from: Atheros (AR7240 datasheet), Linux OpenWRT (MTU default)
sys/dev/etherswitch/arswitch/arswitchreg.h