Skip to contentSkip to conversation

Question about configuration for alx

DISCUSSION Larry Finger 2 participants 3 messages May 30, 2013

lore
Share & tools
lore
#0 lore raw

I am trying to help an openSUSE user that needs driver alx for his wired device. I see that backports has the code, but it cannot be configured due to the following statements in drivers/net/wireless/atheros/Kconfig:

config ALX
depends on !BACKPORT_KERNEL_2_6_28
depends on n
tristate "Qualcomm Atheros L1F Gigabit Ethernet support" depends on m

The "depends on n" is the culprit. Is this deliberate because the driver code is not ready, or is this a bug?

Thanks,

Larry

#1 lore raw
Quoted 3 lines · Larry Finger

I am trying to help an openSUSE user that needs driver alx for his wired device. I see that backports has the code, but it cannot be configured due to the following statements in drivers/net/wireless/atheros/Kconfig:

I think you mean s/wireless/ethernet/, right?

Quoted 8 lines

config ALX
depends on !BACKPORT_KERNEL_2_6_28
depends on n
tristate "Qualcomm Atheros L1F Gigabit Ethernet support" depends on m

The "depends on n" is the culprit. Is this deliberate because the driver code is not ready, or is this a bug?

This is an interesting side-effect of how the system works.

The ALX Kconfig is added by a patch (patches/unified-drivers/network/0002-alx-make-kconfig/alx.patch) but the *code* itself needs to be copied from an external tree when building a backport tarball. To do this, the --extra-driver option in gentree.py exists.

Are you using one of Luis's releases, or building an own backport tarball?

If the former, Luis should probably include ALX since it's his driver.

For the latter, see also the copy-list.alx file in the backports tree.

Basically, the reason is that ALX isn't part of linux-next (yet), so needs to be included during the backporting process from another source, but the Kconfig is actually done in a patch that ships with backports, which is admittedly a bit confusing.

johannes

#2 lore raw
Quoted 6 lines · Johannes Berg
Quoted 3 lines · Larry Finger

I am trying to help an openSUSE user that needs driver alx for his wired device. I see that backports has the code, but it cannot be configured due to the following statements in drivers/net/wireless/atheros/Kconfig:

I think you mean s/wireless/ethernet/, right?

Yes. Sorry for the typo.

Quoted 11 lines
Quoted 8 lines

config ALX
depends on !BACKPORT_KERNEL_2_6_28
depends on n
tristate "Qualcomm Atheros L1F Gigabit Ethernet support" depends on m

The "depends on n" is the culprit. Is this deliberate because the driver code is not ready, or is this a bug?

This is an interesting side-effect of how the system works.

Quoted 8 lines

The ALX Kconfig is added by a patch (patches/unified-drivers/network/0002-alx-make-kconfig/alx.patch) but the *code* itself needs to be copied from an external tree when building a backport tarball. To do this, the --extra-driver option in gentree.py exists.

Are you using one of Luis's releases, or building an own backport tarball?

This was for the tarball named backports-3.10-rc1-1.tar.bz2.

Quoted 3 lines

If the former, Luis should probably include ALX since it's his driver.

For the latter, see also the copy-list.alx file in the backports tree.

Thanks for the info,

Larry