From: daniel@caiaq.de (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: [PXA320] How to find I/O registers, base address of ASIX ethernet chip?
Date: Sun, 7 Feb 2010 06:11:22 +0100 [thread overview]
Message-ID: <20100207051122.GK9007@buzzloop.caiaq.de> (raw)
In-Reply-To: <20100205075338.GB31903@pengutronix.de>
On Fri, Feb 05, 2010 at 08:53:38AM +0100, Uwe Kleine-K?nig wrote:
> On Fri, Feb 05, 2010 at 05:26:55AM +0100, Daniel Mack wrote:
> > The addresses passed to the driver is the I/O area of the chip select
> > signal used for the Ethernet chip. This setting should be alright, as it
> > worked well for me.
> >
> > If your kernel hangs when accessing this area, you most probably haven't
> > set up your static bus correctly. The bootloader is in charge of doing
> > this, and the correct value for CSADRCFG2 is 0x0032C809.
> I would prefer if Linux didn't rely on the boot loader for that. It's
> not expensive or difficult to set this register in machine setup code,
> is it?
>
The boarsds I've been working on need to set this register from the
bootloader anyway they use Ethernet for TFTP downloads. But you're
right, in general, there should be a way to set such registers from
kernel space as well. Eric, any such plans?
Daniel
next prev parent reply other threads:[~2010-02-07 5:11 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 9:21 [PXA320] How to find I/O registers, base address of ASIX ethernet chip? Dennis Semakin
2010-02-04 12:28 ` Eric Miao
2010-02-04 13:09 ` Dennis Semakin
2010-02-04 13:24 ` Dennis Semakin
2010-02-04 13:31 ` Dennis Semakin
2010-02-05 4:26 ` Daniel Mack
2010-02-05 7:53 ` Uwe Kleine-König
2010-02-07 5:11 ` Daniel Mack [this message]
2010-02-08 6:06 ` Eric Miao
2010-02-05 8:02 ` Dennis Semakin
2010-02-07 5:13 ` Daniel Mack
2010-02-08 8:58 ` Dennis Semakin
2010-02-08 8:59 ` Dennis Semakin
2010-02-08 9:13 ` Uwe Kleine-König
2010-02-08 9:31 ` Dennis Semakin
2010-02-08 9:38 ` Dennis Semakin
2010-02-08 10:15 ` Daniel Mack
2010-02-08 12:16 ` Dennis Semakin
2010-02-08 12:49 ` Daniel Mack
2010-02-08 14:13 ` Dennis Semakin
2010-02-08 12:16 ` Dennis Semakin
2010-02-08 9:57 ` Dennis Semakin
2010-02-07 6:53 ` Mike Rapoport
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=20100207051122.GK9007@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox