Skip to contentSkip to conversation

iwlwifi

DISCUSSION David Miller 2 participants 5 messages Dec 24, 2009

lore
Share & tools
lore
#0 lore raw

Someone please expediently fix whatever it is that makes the iwlwifi drivers rebuild every single time I type make.

It's a real intense pain when I have an 'allmodconfig' tree for build validations, I pull some unrelated changed into the tree, and I see iwlwifi rebuild no matter what.

This is not sane behavior.

Thanks.

#1 lore raw
Quoted 9 lines · David Miller

Someone please expediently fix whatever it is that makes the iwlwifi drivers rebuild every single time I type make.

It's a real intense pain when I have an 'allmodconfig' tree for build validations, I pull some unrelated changed into the tree, and I see iwlwifi rebuild no matter what.

This is not sane behavior.

I'm trying allmodconfig on wireless-testing now. It takes some time to finish make. But a simple running "make M=drivers/net/wireless/" twice doesn't show this issue.

Thanks,
-yi

#2 lore raw

From: Zhu Yi <[email protected]>
Date: Thu, 24 Dec 2009 13:46:07 +0800

Quoted 4 lines

I'm trying allmodconfig on wireless-testing now. It takes some time to finish make. But a simple running "make M=drivers/net/wireless/" twice doesn't show this issue.

It's the include of generated/utsrelease.h by iwl-core.h that causes the rebuild.

#3 lore raw
Quoted 10 lines · David Miller

From: Zhu Yi <[email protected]>
Date: Thu, 24 Dec 2009 13:46:07 +0800

Quoted 4 lines

I'm trying allmodconfig on wireless-testing now. It takes some time to finish make. But a simple running "make M=drivers/net/wireless/" twice doesn't show this issue.

It's the include of generated/utsrelease.h by iwl-core.h that causes the rebuild.

Thanks. It was first introduced by below commit. And was later changed to use generated/utsrelease.h. I'm wondering if we should really use linux/utsrelease.h (or linux/version.h) or remove the kernel version totally from the driver version (driver compile tag can be remained). Any suggestions?

Thanks,
-yi

commit 900bb717424e5df12b1ef7ebb017be2a8915b806

Author: Reinette Chatre <[email protected]>
Date:   Wed Dec 2 12:53:01 2009 -0800

iwlwifi: driver version track kernel version

The driver version number is a remnant from when there was an out-of-tree iwlwifi driver. Now that the driver forms part of kernel source we do not need a separate driver version. Instead, we now use the kernel version as driver version. We maintain the previous tags used to indicate which components the driver has been compiled with.

#4 lore raw

From: Zhu Yi <[email protected]>
Date: Thu, 24 Dec 2009 14:24:56 +0800

Quoted 5 lines

Thanks. It was first introduced by below commit. And was later changed to use generated/utsrelease.h. I'm wondering if we should really use linux/utsrelease.h (or linux/version.h) or remove the kernel version totally from the driver version (driver compile tag can be remained). Any suggestions?

Remove the dependency, every time you type make the build number increases and this will force your driver to rebuild.