ae1f3df434
only gpiobus configured via FDT is supported. Bus enumeration is supported. Devices are created for each device found. 1-Wire temperature controllers are supported, but other drivers could be written. Temperatures are polled and reported via a sysctl. Errors are reported via sysctl counters. Mis-wired bus detection is included for more trouble shooting. See ow(4), owc(4) and ow_temp(4) for details of what's supported and known issues. This has been tested on Raspberry Pi-B, Pi2 and Beagle Bone Black with up to 7 devices. Differential Revision: https://reviews.freebsd.org/D2956 Relnotes: yes MFC after: 2 weeks Reviewed by: loos@ (with many insightful comments)
11 lines
198 B
Makefile
11 lines
198 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/ow
|
|
|
|
KMOD= owc
|
|
SRCS= owc_gpiobus.c
|
|
SRCS+= gpio_if.h gpiobus_if.h owll_if.h ofw_bus_if.h bus_if.h device_if.h
|
|
SRCS+= opt_platform.h
|
|
|
|
.include <bsd.kmod.mk>
|