Re: [PATCH 09/11] backports: dependencies: make ATH9K OWL depend on kernel 3.14
Hauke Mehrtens <[email protected]>
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <[email protected]> |
On 10/4/19 10:55 AM, Johannes Berg wrote: > On Thu, 2019-10-03 at 17:56 +0200, Hauke Mehrtens wrote: >> The ath9k owl driver uses pci_lock_rescan_remove() and >> pci_unlock_rescan_remove() which was added in kernel 3.14, only compile >> it on kernel >= 3.14. > > This confuses me a bit - isn't pci_stop_and_remove_bus_device() the more > important part of the API? > > johannes > Hi Johannes, pci_stop_and_remove_bus_device() is available on kernel 3.10, but this code does a pci_uock_rescan_remove() and pci_unlock_rescan_remove() around it and this was added in kernel 3.14, see here: https://git.kernel.org/linus/9d16947b75831acd317ab9a53e0e94d160731d33 As this is currently only used for the ath9k owl loader and only causes problems on kernel < 3.14 I did not care much about this. Hauke
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEyz0/uAcd+JwXmwtD8bdnhZyy68cFAl2Xnt8ACgkQ8bdnhZyy 68cp1ggAwbXoXGBlHGO6e+PdkWim5YNZx+M/5KKDea+cDygOoAGskzeXCFwIXAVb UIZqt8Z1PaMt3QSNAOs/TJArKBaQkcKy9vX1wdJhLEPYKhcZF3GOreiFzm03pdV9 1sAeA0gzZ1MzHBIRgERqzBOuNbLhsvFKtZuHfCMDazvzU+8ZSAORzP1GDPKf9W9T HADtt3nyTHTzdCUFOhPNatxLXOWZbOzZma/o7zGPkIOumF+MIGLWv7egFxw4Sxe2 piRSvOXCm5lB/PW7dAxDkQBewT8sv8fMD8AvtmakJEOIHvS4goSTge+VHAhca6n2 auUM9ftxU6EoIzD4GyGzFelBoY0x5g== =HrRA -----END PGP SIGNATURE-----