]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r335527, r335529, r335593
authorian <ian@FreeBSD.org>
Mon, 22 Apr 2019 03:55:02 +0000 (03:55 +0000)
committerian <ian@FreeBSD.org>
Mon, 22 Apr 2019 03:55:02 +0000 (03:55 +0000)
commit1591acf3442f90a79e8133d9807cfbc625499646
tree6ef4aa4a3d6b59b7ad04abc61a4aadca0a120f9b
parent450630478f4bf5d9ee92eee0ea393bd043838cb4
MFC r335527, r335529, r335593

r335527:
Add spi(8), a utility for communicating with a device on a SPI bus from
userland, conceptually similar to what i2c(8) provides for i2c devices.

Submitted by: Bob Frazier
Differential Revision: https://reviews.freebsd.org/D15029

r335529:
Eliminate gcc "shadowed declaration" warnings by using idx rather than
index as a variable name.

r335593:
Add an example for displaying the manufacturer and size info from a
standard spiflash chip.
usr.sbin/Makefile
usr.sbin/spi/Makefile [new file with mode: 0644]
usr.sbin/spi/spi.8 [new file with mode: 0644]
usr.sbin/spi/spi.c [new file with mode: 0644]