From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question: Information regarding MII and PHY
Date: Thu, 22 Sep 2011 21:23:06 -0400 [thread overview]
Message-ID: <201109222123.08411.vapier@gentoo.org> (raw)
In-Reply-To: <CALButC+UtA6MDh8fEED-iPab=Avh_RK1RxDyBn9bMek94cLHVw@mail.gmail.com>
On Thursday, September 22, 2011 20:17:33 Graeme Russ wrote:
> 2) The Linux network driver framework (at least now) is so
> massive that porting a network driver over is practically impossible.
> Is the U-Boot network driver framework similar in any way to the Linux
> framework such that I can take relevant portions of code straight from
> a Linux driver, or is it a case of carefully picking out the relevant
> bits and stitching together a entirely new beast?
the net drivers in u-boot tend to be pretty thin because we're single
threaded. so the Linux drivers are good to see it setting up the hardware
registers, but that's about it.
> 3) Any idea what would be one of the most recent network drivers added
> from scratch to U-Boot that would serve as a 'style guide' for my new
> driver?
look at doc/README.drivers.eth. this should cover the eth layer (not PHY).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110922/9e755ee1/attachment.pgp
next prev parent reply other threads:[~2011-09-23 1:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 1:20 [U-Boot] Question: Information regarding MII and PHY Graeme Russ
2011-09-22 3:12 ` Graeme Russ
2011-09-22 22:21 ` Mike Frysinger
2011-09-22 23:06 ` Graeme Russ
2011-09-22 23:27 ` Graeme Russ
2011-09-22 23:36 ` Andy Fleming
2011-09-23 0:17 ` Graeme Russ
2011-09-23 1:23 ` Mike Frysinger [this message]
2011-09-27 16:32 ` Andy Fleming
2011-09-22 23:30 ` Andy Fleming
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=201109222123.08411.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/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