1
linux/drivers/pcmcia
Tejun Heo 15ea76d407 pccard: configure CLS on attach
For non hotplug PCI devices, the system firmware usually configures
CLS correctly.  For pccard devices system firmware can't do it and
Linux PCI layer doesn't do it either.  Unfortunately this leads to
poor performance for certain devices (sata_sil).  Unless MWI, which
requires separate configuration, is to be used, CLS doesn't affect
correctness, so the configuration should be harmless.

This patch makes pci_set_cacheline_size() always built and export it
and make pccard call it during attach.

Please note that some other PCI hotplug drivers (shpchp and pciehp)
also configure CLS on hotplug.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Greg KH <greg@kroah.com>
Cc: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Axel Birndt <towerlexa@gmx.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-11-04 08:47:11 -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
au1000_generic.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
au1000_generic.h
au1000_pb1x00.c
au1000_xxs1500.c
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 pccard: configure CLS on attach 2009-11-04 08:47:11 -08:00
cirrus.h
cistpl.c pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
cs_internal.h 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
ds.c pcmcia: do not try to store more than 4 version strings 2009-10-19 00:35:29 +02:00
electra_cf.c
i82092.c PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() 2009-09-29 00:10:41 +02:00
i82092aa.h
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
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
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
pxa2xx_cm_x255.c
pxa2xx_cm_x270.c
pxa2xx_e740.c
pxa2xx_lubbock.c
pxa2xx_mainstone.c
pxa2xx_palmld.c
pxa2xx_palmtc.c
pxa2xx_palmtx.c
pxa2xx_sharpsl.c
pxa2xx_stargate2.c
pxa2xx_trizeps4.c
pxa2xx_viper.c
ricoh.h
rsrc_mgr.c
rsrc_nonstatic.c pcmcia: pccard_read_tuple and TUPLE_RETURN_COMMON cleanup 2009-10-19 00:29:36 +02:00
sa11xx_base.c
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
sa1100_cerf.c
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
sa1100_jornada720.c
sa1100_neponset.c ARM: Fix SA1100 Assabet/Neponset PCMCIA section mismatch warnings 2009-09-28 18:05:21 +01:00
sa1100_shannon.c
sa1100_simpad.c
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
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
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
vrc4173_cardu.h
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