* [PATCH] Fix Kconfig for Broadcom SWARM
@ 2005-02-01 20:28 Manish Lachwani
2005-02-01 22:42 ` Maciej W. Rozycki
2005-02-03 14:29 ` Ralf Baechle
0 siblings, 2 replies; 7+ messages in thread
From: Manish Lachwani @ 2005-02-01 20:28 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
[-- Attachment #1: Type: text/plain, Size: 93 bytes --]
Hi Ralf,
Attached patch adds necessary options for Broadcom SWARM.
Thanks
Manish Lachwani
[-- Attachment #2: common_mips_sibyte_compile_1.patch --]
[-- Type: text/plain, Size: 387 bytes --]
Index: linux/arch/mips/Kconfig
===================================================================
--- linux.orig/arch/mips/Kconfig
+++ linux/arch/mips/Kconfig
@@ -498,6 +498,8 @@
select SWAP_IO_SPACE
select SYS_SUPPORTS_BIG_ENDIAN
select SYS_SUPPORTS_LITTLE_ENDIAN
+ select SIBYTE_CFE
+ select SIBYTE_HAS_LDT
config SIBYTE_SENTOSA
bool "Support for Sibyte BCM91250E-Sentosa"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix Kconfig for Broadcom SWARM
2005-02-01 20:28 [PATCH] Fix Kconfig for Broadcom SWARM Manish Lachwani
@ 2005-02-01 22:42 ` Maciej W. Rozycki
2005-02-01 22:54 ` Manish Lachwani
2005-02-03 14:29 ` Ralf Baechle
1 sibling, 1 reply; 7+ messages in thread
From: Maciej W. Rozycki @ 2005-02-01 22:42 UTC (permalink / raw)
To: Manish Lachwani; +Cc: linux-mips, ralf
On Tue, 1 Feb 2005, Manish Lachwani wrote:
> Attached patch adds necessary options for Broadcom SWARM.
What is it supposed to do?
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix Kconfig for Broadcom SWARM
2005-02-01 22:42 ` Maciej W. Rozycki
@ 2005-02-01 22:54 ` Manish Lachwani
2005-02-01 23:27 ` Maciej W. Rozycki
0 siblings, 1 reply; 7+ messages in thread
From: Manish Lachwani @ 2005-02-01 22:54 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: linux-mips, ralf
Maciej W. Rozycki wrote:
>On Tue, 1 Feb 2005, Manish Lachwani wrote:
>
>
>
>>Attached patch adds necessary options for Broadcom SWARM.
>>
>>
>
> What is it supposed to do?
>
> Maciej
>
>
libs-$(CONFIG_SIBYTE_CFE) += arch/mips/sibyte/cfe/
in arch/mips/Makefile
So, without the above, contents of arch/mips/sibyte/cfe/ are not compiled.
SIBYTE_HAS_LDT is needed for the LDT specific stuff in
arch/mips/pci/pci-sb1250.c
Btw, there are other issues as well. More options need to be defined to
compile in the serial driver, ethernet driver and to compile for a PASS
2 CPU. For example, the ethernet driver drivers/net/sb1250-mac.c
compiles only if SIBYTE_SB1xxx_SOC is defined. And SIBYTE_SB1xxx_SOC no
longer exists in arch/mips/Kconfig.
Thanks
Manish Lachwani
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix Kconfig for Broadcom SWARM
2005-02-01 22:54 ` Manish Lachwani
@ 2005-02-01 23:27 ` Maciej W. Rozycki
0 siblings, 0 replies; 7+ messages in thread
From: Maciej W. Rozycki @ 2005-02-01 23:27 UTC (permalink / raw)
To: Manish Lachwani; +Cc: linux-mips, ralf
On Tue, 1 Feb 2005, Manish Lachwani wrote:
> libs-$(CONFIG_SIBYTE_CFE) += arch/mips/sibyte/cfe/
>
> in arch/mips/Makefile
>
> So, without the above, contents of arch/mips/sibyte/cfe/ are not compiled.
>
> SIBYTE_HAS_LDT is needed for the LDT specific stuff in
> arch/mips/pci/pci-sb1250.c
Both options are taken care of in arch/mips/sibyte/Kconfig, thus any fix
should be sought there.
> Btw, there are other issues as well. More options need to be defined to
> compile in the serial driver, ethernet driver and to compile for a PASS 2 CPU.
Likewise.
> For example, the ethernet driver drivers/net/sb1250-mac.c compiles only if
> SIBYTE_SB1xxx_SOC is defined. And SIBYTE_SB1xxx_SOC no longer exists in
> arch/mips/Kconfig.
This one is missing indeed.
I'll have a look at how to get the mess resolved.
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix Kconfig for Broadcom SWARM
2005-02-01 20:28 [PATCH] Fix Kconfig for Broadcom SWARM Manish Lachwani
2005-02-01 22:42 ` Maciej W. Rozycki
@ 2005-02-03 14:29 ` Ralf Baechle
2005-02-03 17:36 ` Manish Lachwani
1 sibling, 1 reply; 7+ messages in thread
From: Ralf Baechle @ 2005-02-03 14:29 UTC (permalink / raw)
To: Manish Lachwani; +Cc: linux-mips
On Tue, Feb 01, 2005 at 12:28:35PM -0800, Manish Lachwani wrote:
> Attached patch adds necessary options for Broadcom SWARM.
And forgets about all other Sibyte boards ...
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix Kconfig for Broadcom SWARM
2005-02-03 14:29 ` Ralf Baechle
@ 2005-02-03 17:36 ` Manish Lachwani
2005-02-03 23:57 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Manish Lachwani @ 2005-02-03 17:36 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
Ralf Baechle wrote:
>On Tue, Feb 01, 2005 at 12:28:35PM -0800, Manish Lachwani wrote:
>
>
>
>>Attached patch adds necessary options for Broadcom SWARM.
>>
>>
>
>And forgets about all other Sibyte boards ...
>
> Ralf
>
>
The problem is that SIBYTE_SB1xxx_SOC is undefined. We need a small
change in arch/mips/sibyte/Kconfig:
config SIBYTE_SB1xxx_SOC
bool "Support for Broadcom BCM1xxx SOCs "
Since the ethernet driver, the serial driver and the CFE depend on this
option to be selected else they wont be compiled in.
Thanks
Manish Lachwani
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix Kconfig for Broadcom SWARM
2005-02-03 17:36 ` Manish Lachwani
@ 2005-02-03 23:57 ` Ralf Baechle
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2005-02-03 23:57 UTC (permalink / raw)
To: Manish Lachwani; +Cc: linux-mips
On Thu, Feb 03, 2005 at 09:36:26AM -0800, Manish Lachwani wrote:
> The problem is that SIBYTE_SB1xxx_SOC is undefined. We need a small
> change in arch/mips/sibyte/Kconfig:
>
> config SIBYTE_SB1xxx_SOC
> bool "Support for Broadcom BCM1xxx SOCs "
>
> Since the ethernet driver, the serial driver and the CFE depend on this
> option to be selected else they wont be compiled in.
The fix for this is already in CVS since a few hours.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-02-03 23:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 20:28 [PATCH] Fix Kconfig for Broadcom SWARM Manish Lachwani
2005-02-01 22:42 ` Maciej W. Rozycki
2005-02-01 22:54 ` Manish Lachwani
2005-02-01 23:27 ` Maciej W. Rozycki
2005-02-03 14:29 ` Ralf Baechle
2005-02-03 17:36 ` Manish Lachwani
2005-02-03 23:57 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox