mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
2a9021898c
This basic version of the driver obtains properties of the "sff,sfp" compatible devices and implements a simple interface to provide an I2C bus device for the rest of the drivers (e.g. to implement SIOCGI2C). Both of the interface and driver are subjects for a further generalization to be used in case of non-FDT and non-arm64 platforms. Reviewed by: bz, manu Approved by: bz (mentor) MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D41440
14 lines
179 B
Makefile
14 lines
179 B
Makefile
.PATH: ${SRCTOP}/sys/dev/sff
|
|
|
|
KMOD= sff
|
|
|
|
SRCS+= sff_if.c sff_if.h
|
|
SRCS+= bus_if.h device_if.h
|
|
|
|
.if !empty(OPT_FDT)
|
|
SRCS+= sfp_fdt.c \
|
|
ofw_bus_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|