From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] USB Ethernet register too late
Date: Tue, 25 May 2010 08:53:15 +0200 [thread overview]
Message-ID: <874ohwmq04.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <AANLkTill0JXHnWN3zh5dhnxRb-hZqJpjPGOmdqSTzmTQ@mail.gmail.com> ("Péter Stósz"'s message of "Tue, 25 May 2010 00:01:06 +0200")
>>>>> "P?ter" == P?ter St?sz <peter.stosz@mentat.hu> writes:
P?ter> Hi!
P?ter> I have a custom SAM9261 board and USB Ethernet (Davicom? DM9601) adapter.
P?ter> (Kernels 2.6.30 and 2.6.33.2)
P?ter> What can I do, to DM9601 register well and state goes up, before the Ethernet(/
P?ter> IP) configuration started?
This has nothing to do with buildroot, questions like this belong on
netdev at vger.kernel.org. With that said, there's two things you can do:
- Either do dhcp/nfs mounting yourself in an initramfs
- Or tweak CONF_PRE_OPEN in net/ipv4/ipconfig.c to add a longer delay
before it tries to open the device. You might need to change the
msleep to a sslep like CONF_POST_OPEN if you make it too long.
This isn't anything specific to my dm9601 driver, but common for all
devices on async probed busses like USB.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2010-05-25 6:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-24 22:01 [Buildroot] USB Ethernet register too late Péter Stósz
2010-05-25 6:53 ` Peter Korsgaard [this message]
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=874ohwmq04.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox