From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Micrel Ethernet controller with SPI
Date: Fri, 20 Feb 2009 16:52:35 -0500 [thread overview]
Message-ID: <200902201652.36319.vapier@gentoo.org> (raw)
In-Reply-To: <22129013.post@talk.nabble.com>
On Friday 20 February 2009 16:36:52 Steven Zedeck wrote:
> I "think" what I need to do is to create or find a driver that will
> ultimately live in drivers/net/ and has functions such as eth_init,
> eth_send, eth_tx, etc.
>
> Currently we use a different chip and it is supported by the existing
> u-boot. The Ethernet chip is supported by drivers/net/enc28J60.c Many other
> chips are supported by files in the same directory.
unfortunately, these mac switches arent quite that simple. you've got to work
with the MAC that hooks up to the switch, and you've got to work with the
arbitrary number of MACs that exist in the switch.
if we look at the Blackfin setup, we have the "bfin_mac" driver and that fully
controls the MAC that is inside of the Blackfin chip. but then the MAC switch
needs setup and programming as well.
we cheat and do bare min stuff:
- bootstrap some settings according to pins
- turn on the switch via spi (the code i referred to earlier)
- let everything else autonegotiate
> All I'm really concerned with is u-boot's ability to do a ping test as well
> as read/write registers.
> Do you have support for eth_send, rx, etc?
yes, because we only worry about the bfin_mac side. maybe Ben has more
already. otherwise i'd watch/review the linux kernel stuff and try and poach
just :).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090220/6770dd8e/attachment.pgp
prev parent reply other threads:[~2009-02-20 21:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 19:10 [U-Boot] Micrel Ethernet controller with SPI Steven Zedeck
2009-02-20 19:17 ` Ben Warren
2009-02-20 19:42 ` Mike Frysinger
2009-02-20 21:36 ` Steven Zedeck
2009-02-20 21:52 ` Mike Frysinger [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=200902201652.36319.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