sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Unbreak building cp2112(8) as a module outside of kernel build environment.
cp2112: driver for the namesake GPIO and I2C master gadgetDocumentation:- CP2112 Datasheet https://www.silabs.com/documents/public/data-sheets/cp2112-datasheet.pdf- AN495: CP2112 Interface Spec
cp2112: driver for the namesake GPIO and I2C master gadgetDocumentation:- CP2112 Datasheet https://www.silabs.com/documents/public/data-sheets/cp2112-datasheet.pdf- AN495: CP2112 Interface Specification https://www.silabs.com/documents/public/application-notes/an495-cp2112-interface-specification.pdf- CP2112 Errata https://www.silabs.com/documents/public/errata/cp2112-errata.pdfThe logic is implemented as three sub-drivers.The parent driver claims the USB device and creates two child devices.One acts as a GPIO controller and the other is an I2C controller.Tested with CP2112 revision F02.Both features seem to work.HTU21 sensor was used as an I2C slave.Reviewed by: adrian, hselaskyMFC after: 2 weeksRelnotes: maybeDifferential Revision: https://reviews.freebsd.org/D25359
show more ...