pcmcia: do not use win_req_t when calling pcmcia_request_window()
authorDominik Brodowski <linux@dominikbrodowski.net>
Wed, 28 Jul 2010 08:59:06 +0000 (10:59 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 29 Sep 2010 15:20:21 +0000 (17:20 +0200)
commitcdb138080b78146d1cdadba9f5dadbeb97445b91
treefae26f709ed0f19648db79059234faf9fa028051
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00
pcmcia: do not use win_req_t when calling pcmcia_request_window()

Instead of win_req_t, drivers are now requested to fill out
struct pcmcia_device *p_dev->resource[2,3,4,5] for up to four iomem
ranges. After a call to pcmcia_request_window(), the windows found there
are reserved and may be used until pcmcia_release_window() is called.

CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-mtd@lists.infradead.org
CC: Jiri Kosina <jkosina@suse.cz>
CC: linux-scsi@vger.kernel.org
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
16 files changed:
Documentation/pcmcia/driver-changes.txt
drivers/char/pcmcia/ipwireless/main.c
drivers/char/pcmcia/ipwireless/main.h
drivers/mtd/maps/pcmciamtd.c
drivers/net/pcmcia/fmvj18x_cs.c
drivers/net/pcmcia/ibmtr_cs.c
drivers/net/pcmcia/pcnet_cs.c
drivers/net/pcmcia/smc91c92_cs.c
drivers/net/pcmcia/xirc2ps_cs.c
drivers/net/wireless/b43/pcmcia.c
drivers/net/wireless/ray_cs.c
drivers/net/wireless/ray_cs.h
drivers/pcmcia/pcmcia_resource.c
drivers/scsi/pcmcia/nsp_cs.c
include/pcmcia/cs.h
include/pcmcia/ds.h