Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
mii: Add opt_platform.h to all miibus driversmiivar.h includes opt_platform.h. Make sure all the drivers that use themiibus_if.h interface file have opt_platform.h as well. While some ofthese may
mii: Add opt_platform.h to all miibus driversmiivar.h includes opt_platform.h. Make sure all the drivers that use themiibus_if.h interface file have opt_platform.h as well. While some ofthese may not, strictly speaking, need it, it's easier to include ituniversally for miibus.Sponsored by: Netflix
show more ...
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Add alc(4), a driver for Atheros AR8131/AR8132 PCIe ethernetcontroller. These controllers are also known as L1C(AR8131) andL2C(AR8132) respectively. These controllers resembles the firstgeneration
Add alc(4), a driver for Atheros AR8131/AR8132 PCIe ethernetcontroller. These controllers are also known as L1C(AR8131) andL2C(AR8132) respectively. These controllers resembles the firstgeneration controller L1 but usage of different descriptor formatand new register mappings over L1 register space requires a newdriver. There are a couple of registers I still don't understandbut the driver seems to have no critical issues for performance andstability. Currently alc(4) supports the following hardwarefeatures. o MSI o TCP Segmentation offload o Hardware VLAN tag insertion/stripping o Tx/Rx interrupt moderation o Hardware statistics counters(dev.alc.%d.stats) o Jumbo frame o WOLAR8131/AR8132 also supports Tx checksum offloading but I disabledit due to stability issues. I'm not sure this comes from brokensample boards or hardware bugs. If you know your controller workswithout problems you can still enable it. The controller has asilicon bug for Rx checksum offloading, so the feature was notimplemented.I'd like to say big thanks to Atheros. Atheros kindly sent sampleboards to me and answered several questions I had.HW donated by: Atheros Communications, Inc.