<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/ipack/bridges, branch v3.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2012-10-24T22:12:01Z</updated>
<entry>
<title>staging: ipack: add missing include (implicit declaration of function 'kfree')</title>
<updated>2012-10-24T22:12:01Z</updated>
<author>
<name>Sergei Trofimovich</name>
<email>slyfox@gentoo.org</email>
</author>
<published>2012-10-24T10:43:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e297da6e0e39b81d1abd156c5b60321b2097fb1b'/>
<id>urn:sha1:e297da6e0e39b81d1abd156c5b60321b2097fb1b</id>
<content type='text'>
On ARCH=alpha make allmodconfig:

linux-2.6/drivers/staging/ipack/bridges/tpci200.c: In function 'tpci200_free_irq':
linux-2.6/drivers/staging/ipack/bridges/tpci200.c:188:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
linux-2.6/drivers/staging/ipack/bridges/tpci200.c: In function 'tpci200_request_irq':
linux-2.6/drivers/staging/ipack/bridges/tpci200.c:215:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]

Fixed by adding &lt;linux/slab.h&gt; header

CC: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
CC: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
CC: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
CC: "Miguel Gómez" &lt;magomez@igalia.com&gt;
CC: devel@driverdev.osuosl.org
Signed-off-by: Sergei Trofimovich &lt;slyfox@gentoo.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: ipack: remove irq field in struct ipack_device.</title>
<updated>2012-09-14T03:21:38Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-13T10:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c6e2dfaa5251f584a05df74911685775dd750e2d'/>
<id>urn:sha1:c6e2dfaa5251f584a05df74911685775dd750e2d</id>
<content type='text'>
The field irq currently is identical to the slot number.  It does not seem to
have any real use.  The number is written to hardware in ipoctal but it seems
the value that is written does not matter.

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack: move the responsibility to clear interrupts to the IPack devices.</title>
<updated>2012-09-14T03:21:38Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-13T10:32:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ea991147ecd0a2ed9172b8b32211ae3d86f95b99'/>
<id>urn:sha1:ea991147ecd0a2ed9172b8b32211ae3d86f95b99</id>
<content type='text'>
Now the IPack device acknowledges its own IRQ.

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack: Add IPACK_INT_SPACE memory space.</title>
<updated>2012-09-14T03:21:38Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-13T10:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e4af9497b65a8245ad7ef756d5f698e78db6e11c'/>
<id>urn:sha1:e4af9497b65a8245ad7ef756d5f698e78db6e11c</id>
<content type='text'>
This will allow us to correctly access the IPack INT space.

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: ipack/bridges/tpci200: Use endianess-aware types where applicable.</title>
<updated>2012-09-12T16:56:02Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-12T12:55:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7dd73b866ed656b4ef7b475de4588cb1a3f765d4'/>
<id>urn:sha1:7dd73b866ed656b4ef7b475de4588cb1a3f765d4</id>
<content type='text'>
Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack: Let interrupts return irqreturn_t.</title>
<updated>2012-09-12T16:56:01Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-12T12:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=faa75c406e7396a952c3ebedfc2b1d6f1b8d2648'/>
<id>urn:sha1:faa75c406e7396a952c3ebedfc2b1d6f1b8d2648</id>
<content type='text'>
Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack/bridges/tpci200: move tpci200_free_irq() and tpci200_request_irq()</title>
<updated>2012-09-12T16:56:01Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-12T12:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=40733ed7636c6d255f7e6ad0b2bd66e8490fd22c'/>
<id>urn:sha1:40733ed7636c6d255f7e6ad0b2bd66e8490fd22c</id>
<content type='text'>
Now, all the interrupt related functions are next to each other.

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack/bridges/tpci200: More cleanups.</title>
<updated>2012-09-12T16:56:01Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-12T12:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=877adc406cc7aeb9610f32535ed61c24ff01bfe2'/>
<id>urn:sha1:877adc406cc7aeb9610f32535ed61c24ff01bfe2</id>
<content type='text'>
Rename __tpci_request_irq() to tpci_enable_irq() and __tpci_free_irq()
to tpci_disable_irq().  Change their second argument, move them above
tpci200_interrupt(), and use tpci_disable_irq() in the latter

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack/bridges/tpci200: Cleanup in tpci200_slot_irq() and tpci200_interrupt()</title>
<updated>2012-09-12T16:56:01Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-12T12:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ab0deffcb957d1e0bf8c7e1d6373b4e1587b8192'/>
<id>urn:sha1:ab0deffcb957d1e0bf8c7e1d6373b4e1587b8192</id>
<content type='text'>
Minor cleanup.  No functional changes.

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: ipack/bridges/tpci200: Clean up interrupt handling.</title>
<updated>2012-09-12T16:56:01Z</updated>
<author>
<name>Jens Taprogge</name>
<email>jens.taprogge@taprogge.org</email>
</author>
<published>2012-09-12T12:55:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=88ff8480d39da6b2961444f0c28b5b0d194d2de6'/>
<id>urn:sha1:88ff8480d39da6b2961444f0c28b5b0d194d2de6</id>
<content type='text'>
Previously the return value from tpci200_interrupt was not quite correct
if a slot had caused an interrupt but no handler was instellalled:
IRQ_NONE was returned.  However in this case we react to the interrupt
by disabling the IPack device interrupt.

Basically there are two cases the code now distinguishes:
 - The tpci200 has raised an interrupt.  We handle it and return
   IRQ_HANDLED.
 - Our device did not raise an interrupt. We return IRQ_NONE.

Signed-off-by: Jens Taprogge &lt;jens.taprogge@taprogge.org&gt;
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
