<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/uapi/linux/switchtec_ioctl.h, branch v4.12</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>switchtec: Add IOCTLs to the Switchtec driver</title>
<updated>2017-04-12T17:23:37+00:00</updated>
<author>
<name>Logan Gunthorpe</name>
<email>logang@deltatee.com</email>
</author>
<published>2017-03-02T23:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=52eabba5bcdb2853dec6ef007ba427b092034738'/>
<id>52eabba5bcdb2853dec6ef007ba427b092034738</id>
<content type='text'>
Add a couple of special IOCTLs to:

* Inform userspace of firmware partition locations
* Pass event counts and allow userspace to wait on events
* Translate PFF numbers used by the switch to port numbers

[Dan Carpenter &lt;dan.carpenter@oracle.com&gt;: fix off-by-one in
ioctl_event_ctl()]
Tested-by: Krishna Dhulipala &lt;krishnad@fb.com&gt;
Signed-off-by: Logan Gunthorpe &lt;logang@deltatee.com&gt;
Signed-off-by: Stephen Bates &lt;stephen.bates@microsemi.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Reviewed-by: Wei Zhang &lt;wzhang@fb.com&gt;
Reviewed-by: Jens Axboe &lt;axboe@fb.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a couple of special IOCTLs to:

* Inform userspace of firmware partition locations
* Pass event counts and allow userspace to wait on events
* Translate PFF numbers used by the switch to port numbers

[Dan Carpenter &lt;dan.carpenter@oracle.com&gt;: fix off-by-one in
ioctl_event_ctl()]
Tested-by: Krishna Dhulipala &lt;krishnad@fb.com&gt;
Signed-off-by: Logan Gunthorpe &lt;logang@deltatee.com&gt;
Signed-off-by: Stephen Bates &lt;stephen.bates@microsemi.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Reviewed-by: Wei Zhang &lt;wzhang@fb.com&gt;
Reviewed-by: Jens Axboe &lt;axboe@fb.com&gt;</pre>
</div>
</content>
</entry>
</feed>
