Search Linux Wireless

Re: [PATCH] compat: backport linux/pci-aspm.h

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

 



Am 28.08.2010 23:01, schrieb Luis R. Rodriguez:
> On Fri, Aug 27, 2010 at 11:41:54AM -0700, Hauke Mehrtens wrote:
>> pci-aspm.h was introduced in kernel 2.6.25 and is used by the ath5k driver.
>>
>> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
>> ---
>>  include/linux/pci-aspm.h |   55 ++++++++++++++++++++++++++++++++++++++++++++++
>>  1 files changed, 55 insertions(+), 0 deletions(-)
>>  create mode 100644 include/linux/pci-aspm.h
>>
>> diff --git a/include/linux/pci-aspm.h b/include/linux/pci-aspm.h
>> new file mode 100644
>> index 0000000..c791d00
>> --- /dev/null
>> +++ b/include/linux/pci-aspm.h
> 
> So compat-wireless would have to copy this file over? We'd then have to synch
> this file for older kernels, and the real kernel header's own pci-aspm.h for
> kernels >= 2.6.25 would be using this version of the file. Can we just stuff
> the ASPM required stuff onto include/linux/compat-2.6.25.h ?
> 
>   Luis
Hi,

we can stuff the empty aspm functions into compat-2.6.25.h, but we need
include/linux/pci-aspm.h or we need an extra ifdef in compat-wireless
(not nice). Some drivers like drivers/net/wireless/ath/ath5k/base.c and
drivers/net/wireless/iwlwifi/iwl-agn.c are including pci-aspm.h, but it
is not there for kernels < 2.6.25.

I will prepare a new patch for compat. With an mostly empty pci-aspm.h
with an include_next and some functions in compat-2.6.35.h.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux