linux/drivers/ata
Tejun Heo fad16e7a7f ahci: fix module refcount breakage introduced by libahci split
libata depends on scsi_host_template for module reference counting and
sht's should be owned by each low level driver.  During libahci split,
the sht was left with libahci.ko leaving the actual low level drivers
not reference counted.  This made ahci and ahci_platform always
unloadable even while they're being actively used.

Fix it by defining AHCI_SHT() macro in ahci.h and defining a sht for
each low level ahci driver.

stable: only applicable to 2.6.35.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Pedro Francisco <pedrogfrancisco@gmail.com>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-09-28 15:14:51 -04:00
..
ahci_platform.c ahci: fix module refcount breakage introduced by libahci split 2010-09-28 15:14:51 -04:00
ahci.c ahci: fix module refcount breakage introduced by libahci split 2010-09-28 15:14:51 -04:00
ahci.h ahci: fix module refcount breakage introduced by libahci split 2010-09-28 15:14:51 -04:00
ata_generic.c ata_generic: drop hard coded DMA force logic for CENATEK 2010-08-01 19:36:04 -04:00
ata_piix.c ata_piix: IDE Mode SATA patch for Intel Patsburg DeviceIDs 2010-09-09 22:27:48 -04:00
Kconfig libata: remove no longer needed pata_winbond driver 2010-08-25 19:24:15 -04:00
libahci.c ahci: fix module refcount breakage introduced by libahci split 2010-09-28 15:14:51 -04:00
libata-acpi.c gcc-4.6: ACPI: fix unused but set variables in ACPI 2010-08-15 00:53:08 -04:00
libata-core.c libata: skip EH autopsy and recovery during suspend 2010-09-09 22:27:59 -04:00
libata-eh.c libata: skip EH autopsy and recovery during suspend 2010-09-09 22:27:59 -04:00
libata-pmp.c
libata-scsi.c Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-block 2010-08-10 15:22:42 -07:00
libata-sff.c libata-sff: Reenable Port Multiplier after libata-sff remodeling. 2010-09-09 22:31:55 -04:00
libata.h libata: take advantage of cmwq and remove concurrency limitations 2010-07-02 10:59:24 +02:00
Makefile libata: remove no longer needed pata_winbond driver 2010-08-25 19:24:15 -04:00
pata_acpi.c
pata_ali.c
pata_amd.c
pata_artop.c pata_artop: Fix device ID parity check 2010-09-09 14:19:18 -04:00
pata_at32.c
pata_at91.c
pata_atiixp.c
pata_atp867x.c
pata_bf54x.c
pata_cmd64x.c pata_cmd64x: revert commit d62f5576 2010-08-25 19:24:15 -04:00
pata_cmd640.c
pata_cs5520.c
pata_cs5530.c
pata_cs5535.c
pata_cs5536.c
pata_cypress.c
pata_efar.c
pata_hpt3x2n.c
pata_hpt3x3.c
pata_hpt37x.c
pata_hpt366.c
pata_icside.c
pata_isapnp.c
pata_it821x.c
pata_it8213.c
pata_ixp4xx_cf.c
pata_jmicron.c
pata_legacy.c libata: remove no longer needed pata_winbond driver 2010-08-25 19:24:15 -04:00
pata_macio.c
pata_marvell.c
pata_mpc52xx.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
pata_mpiix.c
pata_netcell.c
pata_ninja32.c
pata_ns87410.c
pata_ns87415.c
pata_octeon_cf.c
pata_of_platform.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
pata_oldpiix.c
pata_opti.c
pata_optidma.c
pata_palmld.c
pata_pcmcia.c pcmcia: do not use io_req_t when calling pcmcia_request_io() 2010-08-03 09:04:11 +02:00
pata_pdc202xx_old.c
pata_pdc2027x.c
pata_piccolo.c
pata_platform.c
pata_pxa.c [ARM] pata_pxa: DMA-capable PATA driver 2010-06-18 15:07:32 +08:00
pata_qdi.c
pata_radisys.c
pata_rb532_cf.c
pata_rdc.c
pata_rz1000.c
pata_samsung_cf.c [libata] Add Samsung PATA controller driver, pata_samsung_cf 2010-08-01 19:36:03 -04:00
pata_sc1200.c
pata_scc.c ata: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used) 2010-08-01 19:46:46 -04:00
pata_sch.c
pata_serverworks.c
pata_sil680.c
pata_sis.c
pata_sl82c105.c
pata_triflex.c
pata_via.c libata,pata_via: revert ata_wait_idle() removal from ata_sff/via_tf_load() 2010-09-09 22:27:44 -04:00
pdc_adma.c
sata_dwc_460ex.c [libata] sata_dwc_460ex: signdness bug 2010-08-25 19:24:16 -04:00
sata_fsl.c Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6 2010-08-12 09:11:31 -07:00
sata_inic162x.c
sata_mv.c libata-sff: Reenable Port Multiplier after libata-sff remodeling. 2010-09-09 22:31:55 -04:00
sata_nv.c sata_fsl,mv,nv: prepare for NCQ command completion update 2010-08-01 19:46:48 -04:00
sata_promise.c
sata_promise.h
sata_qstor.c
sata_sil24.c sata_sil24: Use memory barriers before issuing commands 2010-06-10 16:06:48 -04:00
sata_sil.c
sata_sis.c
sata_svw.c
sata_sx4.c
sata_uli.c
sata_via.c sata_via: explain the magic fix 2010-06-07 16:03:08 -04:00
sata_vsc.c
sis.h