libata fixes
Subsystems (2)
PATCH 1/1 libata fixes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Please pull aab9440453d19c1885fa391d4aafd7705f316247 fromgit://github.com/jgarzik/libata-dev.git upstream-linus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIVAwUBTs2cLCWzCDIBeCsvAQJDIA//cLLKLlfw/KTo53VYqrvVEtFcIHTaeeBU r8F0VLswOnn7vYqNdl35q6zidJK6KH/A/UO7+hhmT/CRDZky3YZFW1XUDiispp8D saoUbQqQvdFCUsi7RxSEf1vbVj7Wc/pbH7taFpsvxjzcTBICfAHB0kGqfoz1oS/F VKJDKZ3z8k16OQYCzRGmMEZwhjzp/+UK/lHdjzCIdvOX38SvqYALfm4jjzFlzWh9 TSUQPhZQ/08K6h28P73wpTXl/r12Qr3SO5Ir1Pk9KOF69ohb7BOzme0N7iWauEzk qi4shdtxZOAAnImnH/M3Lp+P/gHhJyNQ9FgO+DeV/sZdh0YeDJPLQpkDE/KIdFOQ Gg670ek2UGzarorn7cfJinLRbblFKuGSrqUPkBulYntSdwOr7Qwt7HGQgpFjkh5A Hix4OOGVp0F6X9mdaap4YtzjSTpxbzHWrUql4W4v80Vxhd3YHk5F7DMozOfSg3SE QeI4pocMDgle550/cIY00DTuPRknnQP1g1ZIItjrJsZhNs4UY6jyOz+LWEu2+Zbi kua748BSk+wm6EgbgCPK0W+T4CQel2LipHLT15RxZGwqdqVligs21QTlMX0WYWdA sDDyfeWaDPH1FLIpdKAZW56EfiykIiZ3cvCvz8xqTRYs64b9oikAHJmCdWor7joq rV934ybVLNo=
=Yu/Q
-----END PGP SIGNATURE-----
to receive the following updates:
drivers/ata/ahci_platform.c | 2 +- drivers/ata/libata-sff.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletions(-)
Alexander Beregalov (1):
libata: fix build without BMDMA
Rob Herring (1):
[libata] ahci_platform: fix DT probing
drivers/ata/ahci_platform.c +1 -1
@@ -67,7 +67,7 @@ static int __init ahci_probe(struct platform_device *pdev)struct device *dev = &pdev->dev;struct ahci_platform_data *pdata =dev_get_platdata (dev);const struct platform_device_id *id =platform_get_device_id (pdev); -struct ata_port_info pi = ahci_port_info[id->driver_data]; +struct ata_port_info pi = ahci_port_info[id ? id->driver_data :0 ];const struct ata_port_info *ppi[] = { &pi,NULL };struct ahci_host_priv *hpriv;struct ata_host *host;
drivers/ata/libata-sff.c +4 -0
@@ -2533,10 +2533,12 @@ static int ata_pci_init_one(struct pci_dev *pdev,if (rc) goto out; +#ifdef CONFIG_ATA_BMDMA if (bmdma)/* prepare and activate BMDMA host */ rc =ata_pci_bmdma_prepare_host (pdev, ppi, &host); else +#endif /* prepare and activate SFF host */ rc =ata_pci_sff_prepare_host (pdev, ppi, &host);if (rc)
@@ -2544,10 +2546,12 @@ static int ata_pci_init_one(struct pci_dev *pdev, host->private_data = host_priv; host->flags |= hflags; +#ifdef CONFIG_ATA_BMDMA if (bmdma) {pci_set_master (pdev); rc =ata_pci_sff_activate_host (host, ata_bmdma_interrupt, sht); } else +#endif rc =ata_pci_sff_activate_host (host, ata_sff_interrupt, sht); out:if (rc ==0 )
Quoted 2 lines · Jeff Garzik
-----BEGIN PGP SIGNED MESSAGE-----
You *still* haven't found anybody but Hedrick to sign your key? And he hasn't found anybody but you?
It kind of makes that whole notion of "pgp network of trust" a bit pointless...
Anyway, pulled,.
Linus