linux/drivers/isdn/hisax
Dominik Brodowski 5fa9167a1b pcmcia: rework the irq_req_t typedef
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: Dominik Brodowski <linux@dominikbrodowski.net>
2009-11-28 18:03:14 +01:00
..
amd7930_fn.c drivers/isdn: Drop unnecessary NULL test 2009-07-25 20:22:51 +02:00
amd7930_fn.h fix file specification in comments 2006-10-03 23:01:26 +02:00
arcofi.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
arcofi.h
asuscom.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
avm_a1.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
avm_a1p.c isdn: fix section mismatch warning for ISACVer 2008-02-09 23:29:28 -08:00
avm_pci.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
avma1_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
bkm_a4t.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
bkm_a8.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
bkm_ax.h
callc.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
config.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
diva.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
elsa_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
elsa_ser.c [ISDN] minor irq handler cleanups 2008-04-20 19:10:17 -04:00
elsa.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
enternow_pci.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
fsm.c [PATCH] isdn: replace kmalloc+memset with kzalloc 2006-12-08 08:29:01 -08:00
fsm.h
gazel.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
hfc4s8s_l1.c [PATCH] ISDN: Rename special macro CONFIG_HISAX_HFC4S8S_PCIMEM 2007-02-12 09:48:35 -08:00
hfc4s8s_l1.h Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
hfc_2bds0.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hfc_2bds0.h
hfc_2bs0.c [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
hfc_2bs0.h
hfc_pci.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hfc_pci.h
hfc_sx.c drivers/isdn: Drop unnecessary NULL test 2009-07-25 20:22:51 +02:00
hfc_sx.h
hfc_usb.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
hfc_usb.h hisax: update hfc_usb driver 2007-08-21 10:14:28 -07:00
hfcscard.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
hisax_cfg.h [ISDN] HiSax: modularization prep 2008-04-20 18:22:30 -04:00
hisax_debug.h isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
hisax_fcpcipnp.c pnp: fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y 2008-07-26 12:00:02 -07:00
hisax_fcpcipnp.h [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 2006-01-08 20:14:07 -08:00
hisax_if.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
hisax_isac.c [PATCH] drivers/isdn/*: trivial vsnprintf() conversion 2006-12-08 08:29:01 -08:00
hisax_isac.h
hisax.h ISDN:Fix DMA alloc for hfcpci 2009-06-11 19:04:48 +02:00
hscx_irq.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
hscx.c
hscx.h
icc.c drivers/isdn: Drop unnecessary NULL test 2009-07-25 20:22:51 +02:00
icc.h [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
ipac.h
ipacx.c [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
ipacx.h
isac.c drivers/isdn: Drop unnecessary NULL test 2009-07-25 20:22:51 +02:00
isac.h
isar.c isdn: fix section mismatch warnings in isac.c and isar.c 2008-02-09 23:28:12 -08:00
isar.h
isdnl1.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
isdnl1.h [PATCH] drivers/isdn/hisax/: proper prototypes 2007-02-12 09:48:34 -08:00
isdnl2.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
isdnl2.h
isdnl3.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
isdnl3.h [PATCH] drivers/isdn/hisax/: proper prototypes 2007-02-12 09:48:34 -08:00
isurf.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
ix1_micro.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
jade_irq.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
jade.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
jade.h
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
l3_1tr6.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
l3_1tr6.h
l3dss1.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
l3dss1.h
l3ni1.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
l3ni1.h
lmgr.c
Makefile ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
mic.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
netjet.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
netjet.h [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
niccy.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
nj_s.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
nj_u.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
q931.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
s0box.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
saphir.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
sedlbauer_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
sedlbauer.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
sportster.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
st5481_b.c ISDN: Add support for none reverse bitstreams to isdnhdc 2009-07-25 20:16:01 +02:00
st5481_d.c ISDN: Add support for none reverse bitstreams to isdnhdc 2009-07-25 20:16:01 +02:00
st5481_init.c HiSax: fix error checking for hisax_register()] 2007-05-23 20:14:14 -07:00
st5481_usb.c ISDN: Add support for none reverse bitstreams to isdnhdc 2009-07-25 20:16:01 +02:00
st5481.h ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
tei.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
teleint.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
teles0.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
teles3.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
teles_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
telespci.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
w6692.c drivers/isdn: Drop unnecessary NULL test 2009-07-25 20:22:51 +02:00
w6692.h