Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 20:53:34 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r332240 - head/sys/sys
Message-ID:  <201804072053.w37KrYba003784@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804072053.w37KrYba003784>