linux-uconsole/drivers/pcmcia
Benjamin Herrenschmidt 2db740cb36 PCI/cardbus: Add a fixup hook and fix powerpc
commit 2d1c861871 upstream

The cardbus code creates PCI devices without ever going through the
necessary fixup bits and pieces that normal PCI devices go through.

There's in fact a commented out call to pcibios_fixup_bus() in there,
it's commented because ... it doesn't work.

I could make pcibios_fixup_bus() do the right thing on powerpc easily
but I felt it cleaner instead to provide a specific hook pci_fixup_cardbus
for which a weak empty implementation is provided by the PCI core.

This fixes cardbus on powerbooks and probably all other PowerPC
platforms which was broken completely for ever on some platforms and
since 2.6.31 on others such as PowerBooks when we made the DMA ops
mandatory (since those are setup by the fixups).

Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-22 15:18:26 -08:00
..
at91_cf.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
au1000_db1x00.c pcmcia: replace remaining __FUNCTION__ occurrences 2008-05-01 08:04:00 -07:00
au1000_generic.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
au1000_generic.h pcmcia: encapsulate ioaddr_t 2008-08-29 09:43:14 +02:00
au1000_pb1x00.c pcmcia: drop non-existant includes 2009-09-15 10:17:16 -07:00
au1000_xxs1500.c pcmcia: drop non-existant includes 2009-09-15 10:17:16 -07:00
bcm63xx_pcmcia.c MIPS: BCM63xx: Add PCMCIA & Cardbus support. 2009-09-30 21:47:01 +02:00
bcm63xx_pcmcia.h MIPS: BCM63xx: Add PCMCIA & Cardbus support. 2009-09-30 21:47:01 +02:00
bfin_cf_pcmcia.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
cardbus.c PCI/cardbus: Add a fixup hook and fix powerpc 2010-01-22 15:18:26 -08:00
cirrus.h
cistpl.c pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
cs.c PM / yenta: Split resume into early and late parts (rev. 4) 2009-11-03 10:54:58 +01:00
cs_internal.h pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
ds.c pcmcia: do not try to store more than 4 version strings 2009-10-19 00:35:29 +02:00
electra_cf.c powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
i82092.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
i82092aa.h pcmcia: remove CVS keywords 2008-06-24 15:33:37 +02:00
i82365.c pcmcia: fix controller printk format warnings 2009-10-17 13:23:25 +02:00
i82365.h
Kconfig MIPS: BCM63xx: Add PCMCIA & Cardbus support. 2009-09-30 21:47:01 +02:00
m8xx_pcmcia.c pcmcia: Fix possible printk format warnings 2009-10-20 20:38:18 +02:00
m32r_cfc.c pcmcia: Fix possible printk format warnings 2009-10-20 20:38:18 +02:00
m32r_cfc.h
m32r_pcc.c pcmcia: Fix possible printk format warnings 2009-10-20 20:38:18 +02:00
m32r_pcc.h
Makefile MIPS: BCM63xx: Add PCMCIA & Cardbus support. 2009-09-30 21:47:01 +02:00
o2micro.h pcmcia: disable prefetch/burst for OZ6933 2009-09-15 10:17:16 -07:00
omap_cf.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
pcmcia_ioctl.c pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
pcmcia_resource.c pcmcia: document return value of pcmcia_loop_config 2009-09-15 10:17:16 -07:00
pd6729.c pcmcia: do not load the pd6729 driver if io_base is NULL 2009-10-24 17:08:37 +02:00
pd6729.h
pxa2xx_base.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
pxa2xx_base.h
pxa2xx_cm_x2xx.c [ARM] 5283/1: pxa: add CM-X255 pcmcia support 2008-10-07 12:08:02 +01:00
pxa2xx_cm_x255.c [ARM] 5442/1: pxa/cm-x255: fix reverse RDY gpios in PCMCIA driver 2009-04-02 11:02:32 +01:00
pxa2xx_cm_x270.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
pxa2xx_e740.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
pxa2xx_lubbock.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
pxa2xx_mainstone.c [ARM] pxa: move pxa2xx chip selects definitions out of pxa-regs.h 2009-03-09 21:22:40 +08:00
pxa2xx_palmld.c [ARM] pxa: fix the bad assumption that PCMCIA sockets always start with 0 2009-03-28 19:24:39 +08:00
pxa2xx_palmtc.c [ARM] pxa/palm: fix possibly uninitialized variable in PalmTC-pcmcia 2009-09-10 18:49:36 +08:00
pxa2xx_palmtx.c [ARM] 5198/1: PalmTX: PCMCIA fixes 2008-08-16 16:35:33 +01:00
pxa2xx_sharpsl.c [ARM] 5458/1: pcmcia: pxa2xx-sharpsl: check if we do have Scoop config 2009-04-23 23:25:40 +01:00
pxa2xx_stargate2.c [ARM] pxa/stargate2: add support for Compact Flash/PCMCIA 2009-06-05 10:46:32 +08:00
pxa2xx_trizeps4.c [ARM] pxa: move pxa2xx chip selects definitions out of pxa-regs.h 2009-03-09 21:22:40 +08:00
pxa2xx_viper.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
ricoh.h
rsrc_mgr.c pcmcia: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
rsrc_nonstatic.c pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
sa11xx_base.c [ARM] acorn,ebsa110,footbridge,integrator,sa1100: Convert asm/io.h to linux/io.h 2009-03-25 10:21:35 +00:00
sa11xx_base.h
sa1100_assabet.c ARM: Fix SA1100 Assabet/Neponset PCMCIA section mismatch warnings 2009-09-28 18:05:21 +01:00
sa1100_badge4.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sa1100_cerf.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sa1100_generic.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
sa1100_generic.h
sa1100_h3600.c [ARM] 5426/1: h3600: remove clr_h3600_egpio/set_h3600_egpio helpers 2009-03-15 20:08:18 +00:00
sa1100_jornada720.c pcmcia: cleanup/fixup patch for sa1100_jornada_pcmcia driver 2009-09-22 07:17:42 -07:00
sa1100_neponset.c ARM: Fix SA1100 Assabet/Neponset PCMCIA section mismatch warnings 2009-09-28 18:05:21 +01:00
sa1100_shannon.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sa1100_simpad.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sa1111_generic.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
sa1111_generic.h
soc_common.c pcmcia: Fix possible printk format warnings 2009-10-20 20:38:18 +02:00
soc_common.h [ARM] pxa: move PCMCIA definitions out of pxa-regs.h into pxa2xx_base.c 2009-03-09 21:22:39 +08:00
socket_sysfs.c pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
tcic.c pcmcia: fix controller printk format warnings 2009-10-17 13:23:25 +02:00
tcic.h
ti113x.h pcmcia: use dev_printk and dev_dbg in yenta_socket 2008-08-23 01:49:44 +02:00
topic.h
vg468.h
vrc4171_card.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
vrc4173_cardu.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
vrc4173_cardu.h Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
yenta_socket.c PM / yenta: Split resume into early and late parts (rev. 4) 2009-11-03 10:54:58 +01:00
yenta_socket.h