All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
@ 2007-11-13 18:49 Jon Loeliger
  2007-11-13 21:37 ` Ben Warren
  2007-11-14 15:27 ` Timur Tabi
  0 siblings, 2 replies; 15+ messages in thread
From: Jon Loeliger @ 2007-11-13 18:49 UTC (permalink / raw)
  To: u-boot

From: Roy Zang <tie-fei.zang@freescale.com>

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
---
 include/configs/MPC8610HPCD.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index f5d9c09..ef1310f 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -312,16 +312,16 @@
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 
 #define CONFIG_NET_MULTI
+#define CONFIG_CMD_NET
 #define CONFIG_PCI_PNP		/* do pci plug-and-play */
 
-#if 0 /* TODO */
-/* enable onboard uli network support */
-#endif
-
 #define CONFIG_RTL8139
 #define CONFIG_SK98
 #define CONFIG_EEPRO100
 #define CONFIG_TULIP
+#ifdef CONFIG_TULIP
+#define CONFIG_ETHADDR   00:E0:0C:00:00:01
+#endif
 
 /************************************************************
  * USB support
-- 
1.5.3

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-13 18:49 [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config Jon Loeliger
@ 2007-11-13 21:37 ` Ben Warren
  2007-11-14 11:47   ` Zang Roy-r61911
  2007-11-14 15:27 ` Timur Tabi
  1 sibling, 1 reply; 15+ messages in thread
From: Ben Warren @ 2007-11-13 21:37 UTC (permalink / raw)
  To: u-boot

Jon Loeliger wrote:
> From: Roy Zang <tie-fei.zang@freescale.com>
>
> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
> Acked-by: Jon Loeliger <jdl@freescale.com>
> ---
>  include/configs/MPC8610HPCD.h |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>   
<snip>
>  #define CONFIG_EEPRO100
>  #define CONFIG_TULIP
> +#ifdef CONFIG_TULIP
> +#define CONFIG_ETHADDR   00:E0:0C:00:00:01
>   
Do you really need to do this? It's just asking for trouble.

regards,
Ben

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-13 21:37 ` Ben Warren
@ 2007-11-14 11:47   ` Zang Roy-r61911
  2007-11-14 15:09     ` Ben Warren
  0 siblings, 1 reply; 15+ messages in thread
From: Zang Roy-r61911 @ 2007-11-14 11:47 UTC (permalink / raw)
  To: u-boot

On Wed, 2007-11-14 at 05:37, Ben Warren wrote:
> Jon Loeliger wrote:
> > From: Roy Zang <tie-fei.zang@freescale.com>
> >
> > Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
> > Acked-by: Jon Loeliger <jdl@freescale.com>
> > ---
> >  include/configs/MPC8610HPCD.h |    8 ++++----
> >  1 files changed, 4 insertions(+), 4 deletions(-)
> >   
> <snip>
> >  #define CONFIG_EEPRO100
> >  #define CONFIG_TULIP
> > +#ifdef CONFIG_TULIP
> > +#define CONFIG_ETHADDR   00:E0:0C:00:00:01
> >   
> Do you really need to do this? It's just asking for trouble.
It can assign a init MAC address to the port.
Now, EEPROM issue is solved. We can remove it.
CONFIG_TULIP is not accurate for the port. I have 
renamed it to CONFIG_ULI526X in the driver.
I will provide a patch to fix both of these.
Tired today :-), hope tomorrow!
Thanks.
Roy  

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 11:47   ` Zang Roy-r61911
@ 2007-11-14 15:09     ` Ben Warren
  0 siblings, 0 replies; 15+ messages in thread
From: Ben Warren @ 2007-11-14 15:09 UTC (permalink / raw)
  To: u-boot

Zang Roy-r61911 wrote:
> On Wed, 2007-11-14 at 05:37, Ben Warren wrote:
>   
>> Jon Loeliger wrote:
>>     
>>> From: Roy Zang <tie-fei.zang@freescale.com>
>>>
>>> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
>>> Acked-by: Jon Loeliger <jdl@freescale.com>
>>> ---
>>>  include/configs/MPC8610HPCD.h |    8 ++++----
>>>  1 files changed, 4 insertions(+), 4 deletions(-)
>>>   
>>>       
>> <snip>
>>     
>>>  #define CONFIG_EEPRO100
>>>  #define CONFIG_TULIP
>>> +#ifdef CONFIG_TULIP
>>> +#define CONFIG_ETHADDR   00:E0:0C:00:00:01
>>>   
>>>       
>> Do you really need to do this? It's just asking for trouble.
>>     
> It can assign a init MAC address to the port.
> Now, EEPROM issue is solved. We can remove it.
> CONFIG_TULIP is not accurate for the port. I have 
> renamed it to CONFIG_ULI526X in the driver.
> I will provide a patch to fix both of these.
> Tired today :-), hope tomorrow!
> Thanks.
> Roy  
>
>
>   
Sounds good.  Sleep > work.

regards,
Ben

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-13 18:49 [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config Jon Loeliger
  2007-11-13 21:37 ` Ben Warren
@ 2007-11-14 15:27 ` Timur Tabi
  2007-11-14 15:54   ` Jon Loeliger
  2007-11-14 16:40   ` Timur Tabi
  1 sibling, 2 replies; 15+ messages in thread
From: Timur Tabi @ 2007-11-14 15:27 UTC (permalink / raw)
  To: u-boot

Jon Loeliger wrote:
> From: Roy Zang <tie-fei.zang@freescale.com>
> 
> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
> Acked-by: Jon Loeliger <jdl@freescale.com>
> ---

No commit message?

>  #define CONFIG_RTL8139
>  #define CONFIG_SK98
>  #define CONFIG_EEPRO100
>  #define CONFIG_TULIP

Shouldn't we undefine these macros?  With the on-board ULI working now, we don't 
need these other NICs.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 15:27 ` Timur Tabi
@ 2007-11-14 15:54   ` Jon Loeliger
  2007-11-14 16:04     ` Timur Tabi
  2007-11-14 16:40   ` Timur Tabi
  1 sibling, 1 reply; 15+ messages in thread
From: Jon Loeliger @ 2007-11-14 15:54 UTC (permalink / raw)
  To: u-boot

Timur Tabi wrote:
>
> No commit message?

When will people figure this out?

The mail Subject: line _is_ the first line of
the commit log message.

Thanks,
jdl

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 15:54   ` Jon Loeliger
@ 2007-11-14 16:04     ` Timur Tabi
  2007-11-14 16:09       ` Jon Loeliger
  2007-11-14 16:30       ` Stefan Roese
  0 siblings, 2 replies; 15+ messages in thread
From: Timur Tabi @ 2007-11-14 16:04 UTC (permalink / raw)
  To: u-boot

Jon Loeliger wrote:

> The mail Subject: line _is_ the first line of
> the commit log message.

I like to see commit logs that are more than just one line.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 16:04     ` Timur Tabi
@ 2007-11-14 16:09       ` Jon Loeliger
  2007-11-14 16:30       ` Stefan Roese
  1 sibling, 0 replies; 15+ messages in thread
From: Jon Loeliger @ 2007-11-14 16:09 UTC (permalink / raw)
  To: u-boot

Timur Tabi wrote:
> Jon Loeliger wrote:
> 
>> The mail Subject: line _is_ the first line of
>> the commit log message.
> 
> I like to see commit logs that are more than just one line.
> 

I don't like them when it isn't necessary.

Deal with it.

jdl

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 16:04     ` Timur Tabi
  2007-11-14 16:09       ` Jon Loeliger
@ 2007-11-14 16:30       ` Stefan Roese
  1 sibling, 0 replies; 15+ messages in thread
From: Stefan Roese @ 2007-11-14 16:30 UTC (permalink / raw)
  To: u-boot

On Wednesday 14 November 2007, Timur Tabi wrote:
> Jon Loeliger wrote:
> > The mail Subject: line _is_ the first line of
> > the commit log message.
>
> I like to see commit logs that are more than just one line.

I like this too. But in some cases, one line is really enough. And this is the 
case here too.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 15:27 ` Timur Tabi
  2007-11-14 15:54   ` Jon Loeliger
@ 2007-11-14 16:40   ` Timur Tabi
  2007-11-15 10:30     ` Zang Roy-r61911
  1 sibling, 1 reply; 15+ messages in thread
From: Timur Tabi @ 2007-11-14 16:40 UTC (permalink / raw)
  To: u-boot

Timur Tabi wrote:

>>  #define CONFIG_RTL8139
>>  #define CONFIG_SK98
>>  #define CONFIG_EEPRO100
>>  #define CONFIG_TULIP
> 
> Shouldn't we undefine these macros?  With the on-board ULI working now, we don't 
> need these other NICs.

Obviously, I was only talking about the first three.  We still need to define 
CONFIG_TULIP.


-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-14 16:40   ` Timur Tabi
@ 2007-11-15 10:30     ` Zang Roy-r61911
  2007-11-15 14:03       ` Timur Tabi
  0 siblings, 1 reply; 15+ messages in thread
From: Zang Roy-r61911 @ 2007-11-15 10:30 UTC (permalink / raw)
  To: u-boot

On Thu, 2007-11-15 at 00:40, Tabi Timur wrote:
> Timur Tabi wrote:
> 
> >>  #define CONFIG_RTL8139
> >>  #define CONFIG_SK98
> >>  #define CONFIG_EEPRO100
> >>  #define CONFIG_TULIP
> > 
> > Shouldn't we undefine these macros?  With the on-board ULI working
> now, we don't 
> > need these other NICs.
> 
> Obviously, I was only talking about the first three.  We still need to
> define 
> CONFIG_TULIP.
Change CONFIG_TULIP to CONFIG_ULI526X.
I intend to keep RTL8139 and Intel EEPR100. They work on the board and
can provide extra choices except the on board Ethernet port. 
I am not sure whether SK98 work. If it can not work, we can undef it.
Any idea?
Roy

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-15 10:30     ` Zang Roy-r61911
@ 2007-11-15 14:03       ` Timur Tabi
  2007-11-15 18:02         ` Scott Wood
  0 siblings, 1 reply; 15+ messages in thread
From: Timur Tabi @ 2007-11-15 14:03 UTC (permalink / raw)
  To: u-boot

Zang Roy-r61911 wrote:

> I intend to keep RTL8139 and Intel EEPR100. They work on the board and
> can provide extra choices except the on board Ethernet port. 

Well, the board config files should match what's on the board.  We don't ship 
the board with an RTL or Intel NIC, therefore the config file should not enable 
them.  With your logic, we should just enable ALL of the NICs that work.

If a customer inserts an RTL or Intel NIC, he can add those lines if he wants. 
Otherwise, all you're doing is bloating the binary.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-15 14:03       ` Timur Tabi
@ 2007-11-15 18:02         ` Scott Wood
  2007-11-15 18:05           ` Timur Tabi
  0 siblings, 1 reply; 15+ messages in thread
From: Scott Wood @ 2007-11-15 18:02 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 15, 2007 at 08:03:15AM -0600, Timur Tabi wrote:
> Zang Roy-r61911 wrote:
> 
> > I intend to keep RTL8139 and Intel EEPR100. They work on the board and
> > can provide extra choices except the on board Ethernet port. 

Is there any reason one wouldn't want to use the on-board ethernet port?

> Well, the board config files should match what's on the board.  We don't
> ship the board with an RTL or Intel NIC, therefore the config file should
> not enable them.  With your logic, we should just enable ALL of the NICs
> that work.
> 
> If a customer inserts an RTL or Intel NIC, he can add those lines if he
> wants.  Otherwise, all you're doing is bloating the binary.

Hmm, weren't you scrounging around for a certain kind of PCI NIC that
your 8610 board's u-boot image supported not too long ago?

Wouldn't it have been nice if they built in support for a few of
the most common ones? :-)

-Scott

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-15 18:02         ` Scott Wood
@ 2007-11-15 18:05           ` Timur Tabi
  2007-11-16  6:14             ` Zang Roy-r61911
  0 siblings, 1 reply; 15+ messages in thread
From: Timur Tabi @ 2007-11-15 18:05 UTC (permalink / raw)
  To: u-boot

Scott Wood wrote:
> On Thu, Nov 15, 2007 at 08:03:15AM -0600, Timur Tabi wrote:
>> Zang Roy-r61911 wrote:
>>
>>> I intend to keep RTL8139 and Intel EEPR100. They work on the board and
>>> can provide extra choices except the on board Ethernet port. 
> 
> Is there any reason one wouldn't want to use the on-board ethernet port?

Not with this patch.  The only reason to enable all those other boards is 
because the on-board ethernet port *didn't* work, so everyone had to some some 
PCI NIC.

> Hmm, weren't you scrounging around for a certain kind of PCI NIC that
> your 8610 board's u-boot image supported not too long ago?

Yes.  That's because the on-board ethernet was not supported.

> Wouldn't it have been nice if they built in support for a few of
> the most common ones? :-)

And they did.  But now, it's no longer necessary.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config
  2007-11-15 18:05           ` Timur Tabi
@ 2007-11-16  6:14             ` Zang Roy-r61911
  0 siblings, 0 replies; 15+ messages in thread
From: Zang Roy-r61911 @ 2007-11-16  6:14 UTC (permalink / raw)
  To: u-boot

On Fri, 2007-11-16 at 02:05, Tabi Timur wrote:
> Scott Wood wrote:
> > On Thu, Nov 15, 2007 at 08:03:15AM -0600, Timur Tabi wrote:
> >> Zang Roy-r61911 wrote:
> >>
> >>> I intend to keep RTL8139 and Intel EEPR100. They work on the board
> and
> >>> can provide extra choices except the on board Ethernet port. 
> > 
> > Is there any reason one wouldn't want to use the on-board ethernet
> port?
> 
> Not with this patch.  The only reason to enable all those other boards
> is 
> because the on-board ethernet port *didn't* work, so everyone had to
> some some 
> PCI NIC.
> 
That is also my opinion.
Roy

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-11-16  6:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-13 18:49 [U-Boot-Users] [PATCH] Enable ULi1575 Ethernet support in 8610HPCD config Jon Loeliger
2007-11-13 21:37 ` Ben Warren
2007-11-14 11:47   ` Zang Roy-r61911
2007-11-14 15:09     ` Ben Warren
2007-11-14 15:27 ` Timur Tabi
2007-11-14 15:54   ` Jon Loeliger
2007-11-14 16:04     ` Timur Tabi
2007-11-14 16:09       ` Jon Loeliger
2007-11-14 16:30       ` Stefan Roese
2007-11-14 16:40   ` Timur Tabi
2007-11-15 10:30     ` Zang Roy-r61911
2007-11-15 14:03       ` Timur Tabi
2007-11-15 18:02         ` Scott Wood
2007-11-15 18:05           ` Timur Tabi
2007-11-16  6:14             ` Zang Roy-r61911

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.