linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "Mark A. Greer" <mgreer@mvista.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: GT64260_eth (Ethernet) Driver
Date: Tue, 29 Jun 2004 15:08:27 +0100	[thread overview]
Message-ID: <1088518106.14216.1415.camel@hades.cambridge.redhat.com> (raw)
In-Reply-To: <40DCBE32.2030008@mvista.com>


On Fri, 2004-06-25 at 17:07 -0700, Mark A. Greer wrote:
> Let me know how it goes.

I have memory probing working at last. I don't quite understand what I
was doing wrong there -- I think I was just being stupid and/or the code
to move the GT64x60 internal registers doesn't work. If I leave it where
the bootloader put it, it's OK.

Automatic detection of the chip type still isn't working, because it
tries to work it out from its own PCI ident, but the MV64360 doesn't
seem to appear on the PCI bus -- there _is_ no device 0.

The memory windows aren't right -- you have base_bits == 20 but those 20
bits actually hold bits 16-35 of the address. That's not a typo, so
setting base_bits to 16 seems to be the correct thing to do unless we're
going to handle 'extended address mode'.

Also we disable all the memory windows for I/O and only re-enable them
later. That breaks if we actually try to access any of the I/O in the
meantime -- which we do if we enable MV64x60 debugging, because it keeps
calling printk() :)

Is there a reason we need to disable the windows? Could we pass an array
of the desired settings to mv64x60_init() and have them set up
immediately, rather than just disabled and then fixed again later?

I could register my console later, I suppose, and live without printk
until after setup_arch()... but that sucks.

--
dwmw2


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2004-06-29 14:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-20 20:27 GT64260_eth (Ethernet) Driver Dieu Morales
2004-06-23 22:39 ` Mark A. Greer
2004-06-24  8:37   ` David Woodhouse
2004-06-24 11:23     ` Brian Waite
2004-06-24 18:46     ` Mark A. Greer
2004-06-24 19:02       ` Mark A. Greer
2004-06-25  7:10       ` David Woodhouse
2004-06-25 22:05         ` Mark A. Greer
2004-06-25 23:43           ` David Woodhouse
2004-06-26  0:07             ` Mark A. Greer
2004-06-26  0:41               ` Paul Mackerras
2004-06-26  1:47                 ` Mark A. Greer
2004-07-29  3:19                   ` Dieu Morales
2004-07-29 17:28                     ` Mark A. Greer
2004-06-29 14:08               ` David Woodhouse [this message]
2004-06-29 15:23                 ` BAT mapping Linh Dang
2004-06-29 17:59                   ` Linh Dang
  -- strict thread matches above, loose matches on Subject: below --
2005-09-19 18:53 GT64260_eth (Ethernet) Driver Earl Olsen
2005-09-20 16:02 Earl Olsen
2005-09-20 17:13 ` Brian Waite
2005-09-20 18:32   ` Mark A. Greer

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=1088518106.14216.1415.camel@hades.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=mgreer@mvista.com \
    /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;
as well as URLs for NNTP newsgroup(s).