Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-05-04 Thread Simon Glass
On Sat, Apr 30, 2011 at 10:50 AM, Rabin Vincent ra...@rab.in wrote: On Thu, Apr 14, 2011 at 04:03, Simon Glass s...@chromium.org wrote: On Wed, Apr 13, 2011 at 12:16 PM, Andy Fleming aflem...@gmail.com wrote: + read_buf = ~HW_CFG_RXDOFF_; + +#ifdef CONFIG_TEGRA2 + /*

Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-30 Thread Rabin Vincent
On Thu, Apr 14, 2011 at 04:03, Simon Glass s...@chromium.org wrote: On Wed, Apr 13, 2011 at 12:16 PM, Andy Fleming aflem...@gmail.com wrote: +       read_buf = ~HW_CFG_RXDOFF_; + +#ifdef CONFIG_TEGRA2 +       /* Tegra2 requires NET_IP_ALIGN = 0 */ +#define NET_IP_ALIGN 0 +#else +       /*

Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-21 Thread Wolfgang Denk
Dear Simon Glass, In message BANLkTin=5wsszPvwDW_q=Vb44ep0zmP=k...@mail.gmail.com you wrote: Thanks, yes - have done a better rebase so can test properly now. (where do I get ppc_8xx-gcc so I can use MAKEALL?) ELDK is your friend. Best regards, Wolfgang Denk -- DENX Software Engineering

[U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-13 Thread Simon Glass
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. TEST=usb start; bootp; tftp ... --- Changes for v2: - Coding style cleanup - Changed some comments as suggested - eth_set_hwaddr - eth_write_hwaddr - tided up

Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-13 Thread Simon Glass
(please ignore this. I will resend with sign-off) On Wed, Apr 13, 2011 at 11:51 AM, Simon Glass s...@chromium.org wrote: The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. ___

[U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-13 Thread Simon Glass
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. TEST=usb start; bootp; tftp ... Signed-off-by: Simon Glass s...@chromium.org --- Changes for v2: - Coding style cleanup - Changed some comments as suggested -

Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-13 Thread Andy Fleming
+       ret = smsc95xx_read_reg(dev, HW_CFG, read_buf); +       if (ret 0) { +               debug(Failed to read HW_CFG: %d\n, ret); +               return ret; +       } +       debug(Read Value from HW_CFG: 0x%08x\n, read_buf); + +       if (turbo_mode) +               read_buf |=

Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-13 Thread Simon Glass
On Wed, Apr 13, 2011 at 12:16 PM, Andy Fleming aflem...@gmail.com wrote: I think you missed this one... Thanks, yes - have done a better rebase so can test properly now. (where do I get ppc_8xx-gcc so I can use MAKEALL?) +       read_buf = ~HW_CFG_RXDOFF_; + +#ifdef CONFIG_TEGRA2 +