svn commit: r332240 - head/sys/sys

Ian Lepore ian at FreeBSD.org
Sat Apr 7 20:53:35 UTC 2018


Author: ian
Date: Sat Apr  7 20:53:34 2018
New Revision: 332240
URL: https://svnweb.freebsd.org/changeset/base/332240

Log:
  Add the ioctl definitions for spigen get/set spi mode.  Should have been
  part of r332233.

Modified:
  head/sys/sys/spigenio.h

Modified: head/sys/sys/spigenio.h
==============================================================================
--- head/sys/sys/spigenio.h	Sat Apr  7 20:52:05 2018	(r332239)
+++ head/sys/sys/spigenio.h	Sat Apr  7 20:53:34 2018	(r332240)
@@ -50,5 +50,7 @@ struct spigen_transfer_mmapped {
 	    struct spigen_transfer_mmapped)
 #define SPIGENIOC_GET_CLOCK_SPEED  _IOR(SPIGENIOC_BASE, 2, uint32_t)
 #define SPIGENIOC_SET_CLOCK_SPEED  _IOW(SPIGENIOC_BASE, 3, uint32_t)
+#define SPIGENIOC_GET_SPI_MODE     _IOR(SPIGENIOC_BASE, 4, uint32_t)
+#define SPIGENIOC_SET_SPI_MODE     _IOW(SPIGENIOC_BASE, 5, uint32_t)
 
 #endif /* !_SYS_SPIGENIO_H_ */


More information about the svn-src-head mailing list