1. 03 8月, 2010 3 次提交
  2. 31 7月, 2010 2 次提交
  3. 10 5月, 2010 3 次提交
  4. 08 12月, 2009 1 次提交
  5. 29 11月, 2009 1 次提交
    • D
      pcmcia: rework the irq_req_t typedef · 5fa9167a
      Dominik Brodowski 提交于
      Most of the irq_req_t typedef'd struct can be re-worked quite
      easily:
      
      (1) IRQInfo2 was unused in any case, so drop it.
      
      (2) IRQInfo1 was used write-only, so drop it.
      
      (3) Instance (private data to be passed to the IRQ handler):
      	Most PCMCIA drivers using pcmcia_request_irq() to actually
      	register an IRQ handler set the "dev_id" to the same pointer
      	as the "priv" pointer in struct pcmcia_device. Modify the two
      	exceptions (ipwireless, ibmtr_cs) to also work this waym and
      	set the IRQ handler's "dev_id" to p_dev->priv unconditionally.
      
      (4) Handler is to be of type irq_handler_t.
      
      (5) Handler != NULL already tells whether an IRQ handler is present.
      	Therefore, we do not need the IRQ_HANDLER_PRESENT flag in
      	irq_req_t.Attributes.
      
      CC: netdev@vger.kernel.org
      CC: linux-bluetooth@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-scsi@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: Jaroslav Kysela <perex@perex.cz>
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: Karsten Keil <isdn@linux-pingi.de>
      for the Bluetooth parts: Acked-by: Marcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      5fa9167a
  6. 31 8月, 2008 2 次提交
  7. 29 8月, 2008 1 次提交
  8. 23 8月, 2008 17 次提交
  9. 24 6月, 2008 2 次提交
  10. 06 2月, 2008 1 次提交
    • O
      pcmcia: convert some internal-only ioaddr_t to unsigned int · ecb8a847
      Olof Johansson 提交于
      Convert the io_req_t members to unsigned int, to allow use on machines with
      more than 16 bits worth of IO ports (i.e.  secondary busses on ppc64, etc).
      
      There was only a couple of places in drivers where a change was needed.  I
      left printk formats alone (there are lots of %04x-style formats in there),
      mostly to not change the format on the platforms that only have 16-bit io
      addresses, but also because the padding doesn't really add all that much value
      most of the time.
      
      I found only one sprintf of an address, and upsized the string accordingly (I
      doubt anyone will have anywhere near INT_MAX as irq value, but at least
      there's room for it now).
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Matthew Wilcox <matthew@wil.cx>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ecb8a847
  11. 31 3月, 2006 7 次提交