Re: [PATCH 09/11] backports: dependencies: make ATH9K OWL depend on kernel 3.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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:

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.


Attachment: signature.asc
Description: OpenPGP digital signature

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux