All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Kinard <kumba@gentoo.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Linux MIPS List <linux-mips@linux-mips.org>
Subject: Re: [PATCH v2 2/2]: MIPS: IP27: Xtalk detection cleanups
Date: Fri, 05 Jun 2015 19:33:49 -0400	[thread overview]
Message-ID: <557231DD.8090006@gentoo.org> (raw)
In-Reply-To: <20150605114127.GC26432@linux-mips.org>

On 06/05/2015 07:41, Ralf Baechle wrote:
> On Mon, May 25, 2015 at 02:16:04PM -0400, Joshua Kinard wrote:
> 
>> From: Joshua Kinard <kumba@gentoo.org>
>>
>> This is the second patch of two to clean up/update the Xtalk detection
>> code used by IP27 with some of the code used in the IP30 port.
>>
>> This specific patch replaces some of the IP27 Xtalk detection code with
>> methods used in the IP30 port, and converts the Xtalk devices into
>> platform devices.
> 
> Hm...  that all is good cleanup but registration as platform device doesn't
> help if there's no matching platform driver.  I assume you have something
> like that as part of your yet unpublished patches?

Kinda yeah.  It appears the original IP27 Xtalk code was only looking for
BRIDGE chips to identify and enumerate additional PCI buses.  At the time I
made this change, I modified a spare Impact board to fit the Onyx2 and
installed it.  It can boot the PROM on it and get a console, just the only odd
bit is the Onyx2's PROM never expected an Impact board, so it only says
"Welcome to", and nothing else at the bottom.

Linux sees the Impact board installed in the slot, but, for some reason, it was
not connecting the board to the impact driver and running the impact_probe
function, where I was anticipating additional errors to crop up.  I gave up at
that point and haven't had the time to finish chasing it down.  It's that, or
someone needs to help me write a driver for the InfiniteReality boards,
codename "Kona" :)

But the changes should enable IP27 to probe for XIO devices that don't have a
BRIDGE chip in front of them, which right now, is only the Impact (that I know
of).  I'm keeping an eye on eBay for other archaic XIO boards that may need
testing.  Just picked up an Onyx2 HD Video board of some kind.  I think it's
got a BRIDGE chip, though, so it might be PCI-based.

Impact itself needs more work before I can send that in.  I've been using
Stan's very original driver with some code clean-ups done by "Tanzy" in 2009
for the Octane, and then IP28 has a separate version from Peter Fuerst.  Those
need to be merged together so a single driver can work for both systems.

Same for Odyssey/VPro on Octane and maybe, IP35, but that's WAY down the road...

--J

      reply	other threads:[~2015-06-05 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 18:16 [PATCH v2 2/2]: MIPS: IP27: Xtalk detection cleanups Joshua Kinard
2015-06-05 11:41 ` Ralf Baechle
2015-06-05 23:33   ` Joshua Kinard [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=557231DD.8090006@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.