2013-05-06 17:43:23

by Randy Dunlap

[permalink] [raw]
Subject: Re: linux-next: Tree for May 6 (b43/bcma)

On 05/05/13 21:42, Stephen Rothwell wrote:
> Hi all,
>
> Please do not add any v3.11 destined work to your linux-next included
> branches until after v3.10-rc1 is released.
>
> I am receiving a (un)reasonable number of conflicts from there being
> multiple copies of some commits in various trees. Please clean this up
> and resist the temptataion to rebase your trees on the way to your
> upstream ...
>
> Changes since 20130506:
>

on x86_64:

drivers/built-in.o: In function `b43_gpio_cleanup.isra.40':
main.c:(.text+0x1b425b): undefined reference to `bcma_chipco_gpio_control'
drivers/built-in.o: In function `b43_wireless_core_reset':
(.text+0x1b5fb6): undefined reference to `bcma_core_set_clockmode'
drivers/built-in.o: In function `b43_wireless_core_reset':
(.text+0x1b6058): undefined reference to `bcma_core_pll_ctl'
drivers/built-in.o: In function `b43_chip_init':
main.c:(.text+0x1b8444): undefined reference to `bcma_chipco_gpio_control'
drivers/built-in.o: In function `b43_wireless_core_init':
main.c:(.text+0x1b887b): undefined reference to `bcma_core_pci_irq_ctl'
drivers/built-in.o: In function `b43_bus_bcma_device_disable':
bus.c:(.text+0x1b9d46): undefined reference to `bcma_core_disable'
drivers/built-in.o: In function `b43_bus_bcma_device_enable':
bus.c:(.text+0x1b9d55): undefined reference to `bcma_core_enable'
drivers/built-in.o: In function `b43_bus_bcma_device_is_enabled':
bus.c:(.text+0x1b9d64): undefined reference to `bcma_core_is_enabled'
drivers/built-in.o: In function `b43_nphy_channel_setup':
phy_n.c:(.text+0x1c8fe5): undefined reference to `bcma_pmu_spuravoid_pllupdate'
drivers/built-in.o: In function `b43_phy_initn':
phy_n.c:(.text+0x1cb853): undefined reference to `bcma_chipco_gpio_control'
drivers/built-in.o: In function `b43_dma_init':
(.text+0x1d5790): undefined reference to `bcma_core_dma_translation'
drivers/built-in.o: In function `b43_init':
main.c:(.init.text+0xa07a): undefined reference to `__bcma_driver_register'
main.c:(.init.text+0xa09f): undefined reference to `bcma_driver_unregister'
drivers/built-in.o: In function `b43_exit':
main.c:(.exit.text+0x153a): undefined reference to `bcma_driver_unregister'


Probably mostly due to B43=y and BCMA=m.


Full randconfig file is attached.

--
~Randy


Attachments:
config-r2319 (88.70 kB)

2013-05-07 03:11:54

by Larry Finger

[permalink] [raw]
Subject: Re: linux-next: Tree for May 6 (b43/bcma)

On 05/06/2013 12:42 PM, Randy Dunlap wrote:
>
> on x86_64:
>
> drivers/built-in.o: In function `b43_gpio_cleanup.isra.40':
> main.c:(.text+0x1b425b): undefined reference to `bcma_chipco_gpio_control'
> drivers/built-in.o: In function `b43_wireless_core_reset':
> (.text+0x1b5fb6): undefined reference to `bcma_core_set_clockmode'
> drivers/built-in.o: In function `b43_wireless_core_reset':
> (.text+0x1b6058): undefined reference to `bcma_core_pll_ctl'
> drivers/built-in.o: In function `b43_chip_init':
> main.c:(.text+0x1b8444): undefined reference to `bcma_chipco_gpio_control'
> drivers/built-in.o: In function `b43_wireless_core_init':
> main.c:(.text+0x1b887b): undefined reference to `bcma_core_pci_irq_ctl'
> drivers/built-in.o: In function `b43_bus_bcma_device_disable':
> bus.c:(.text+0x1b9d46): undefined reference to `bcma_core_disable'
> drivers/built-in.o: In function `b43_bus_bcma_device_enable':
> bus.c:(.text+0x1b9d55): undefined reference to `bcma_core_enable'
> drivers/built-in.o: In function `b43_bus_bcma_device_is_enabled':
> bus.c:(.text+0x1b9d64): undefined reference to `bcma_core_is_enabled'
> drivers/built-in.o: In function `b43_nphy_channel_setup':
> phy_n.c:(.text+0x1c8fe5): undefined reference to `bcma_pmu_spuravoid_pllupdate'
> drivers/built-in.o: In function `b43_phy_initn':
> phy_n.c:(.text+0x1cb853): undefined reference to `bcma_chipco_gpio_control'
> drivers/built-in.o: In function `b43_dma_init':
> (.text+0x1d5790): undefined reference to `bcma_core_dma_translation'
> drivers/built-in.o: In function `b43_init':
> main.c:(.init.text+0xa07a): undefined reference to `__bcma_driver_register'
> main.c:(.init.text+0xa09f): undefined reference to `bcma_driver_unregister'
> drivers/built-in.o: In function `b43_exit':
> main.c:(.exit.text+0x153a): undefined reference to `bcma_driver_unregister'
>
>
> Probably mostly due to B43=y and BCMA=m.

Does any Kconfig wizard know the magic incantation to accomplish the following:

1. Ensure that if SSB and BMCA are both selected, then both are either "m" or "y"

2. Ensure that BRCMSMAC is not "y" if BMCA is "m".

3. Ensure that B43 is not "y" if SSB and/or BCMA is "m".

Thanks,

Larry



2013-05-07 09:16:13

by Johannes Berg

[permalink] [raw]
Subject: Re: linux-next: Tree for May 6 (b43/bcma)

On Mon, 2013-05-06 at 22:06 -0500, Larry Finger wrote:

> > Probably mostly due to B43=y and BCMA=m.
>
> Does any Kconfig wizard know the magic incantation to accomplish the following:
>
> 1. Ensure that if SSB and BMCA are both selected, then both are either "m" or "y"

I think one of them being m and the other y should be OK? But do they
have interdependencies?

> 2. Ensure that BRCMSMAC is not "y" if BMCA is "m".

Isn't that a simple
depends on BCMA
or maybe it can work w/o BCMA, then you'd have
depends on BCMA || !BCMA

> 3. Ensure that B43 is not "y" if SSB and/or BCMA is "m".

same.

johannes