All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Subject: Re: tx49 Ether problems
Date: Mon, 17 Apr 2006 20:12:33 +0400	[thread overview]
Message-ID: <4443BE71.6090908@ru.mvista.com> (raw)
In-Reply-To: <4443BD39.4030200@ru.mvista.com>

Hello.

Sergei Shtylyov wrote:

>> On Mon, 17 Apr 2006 17:06:23 +0400, Sergei Shtylyov 
>> <sshtylyov@ru.mvista.com> wrote:

>>>> I agree with you.  Then how about something like
>>>> CONFIG_NE2000_RTL8019_BYTEMODE?

>>>    Have you looked at the patch? RTL8019 is easily detectable at
>>> runtime, so the limitation is easily enforcable w/o extra Kconfig
>>> option, I think

>> Well, I meant something like:

>> #elif defined(CONFIG_NE2000_RTL8019_BYTEMODE)
>> #  define DCR_VAL 0x48
>> #else
>> #  define DCR_VAL 0x49

>> to avoid changing #elif line every time when we want to support a new
>> board with byte-mode RTL8019AS.  Of course, calculating DCR_VAL at
>> runtime would be much better but I'm not sure if we can do it ...

>    Hm, with only 3-4 known boards so far (all Toshiba RBTX49[23][78], 
> RBTX4925 also has the chip but I see no 2.6 support for this board), I 
> doubt that it's worth the effort. And the option sounds a bit "too 
> specific", IMO. :-)

    Especially given the fact that it can't be attributed to RTL8019 only. 
Historically, there was CONFIG_NE2000_8BIT option but it's been eliminated 
long ago. Maybe it's worth reviving it indeed...

>> ---
>> Atsushi Nemoto

WBR, Sergei

  reply	other threads:[~2006-04-17 16:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14 15:38 tx49 Ether problems Geoff Levand
2006-04-14 16:05 ` Atsushi Nemoto
2006-04-14 23:39   ` Geoff Levand
2006-04-15 20:52     ` Sergei Shtylyov
2006-04-16 18:50       ` Sergei Shtylyov
2006-04-17  2:09         ` Atsushi Nemoto
2006-04-17 13:06           ` Sergei Shtylyov
2006-04-17 15:09             ` Atsushi Nemoto
2006-04-17 16:07               ` Sergei Shtylyov
2006-04-17 16:12                 ` Sergei Shtylyov [this message]
2006-05-08 20:00                   ` [PATCH] Fix RTL8019AS init for Toshiba RBTX49xx boards Sergei Shtylyov
2006-05-08 20:55                     ` Auke Kok
2006-05-08 20:58                   ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4443BE71.6090908@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.