Subject: Re: puc based 16550 on macppc?
To: Joachim Thiemann <joachim.thiemann@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 04/18/2007 12:45:11
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 18, 2007, at 10:05, Joachim Thiemann wrote:

> On 18/04/07, Michael Lorenz <macallan@netbsd.org> wrote:
>> Hmm, so OF did try to set up something. The reg property looks weird
>> though.
>
>> Looks like I'll need to look at the puc code - I have no idea what 
>> this
>> code does ;)
>> One final thing to test though - could you please build a kernel
>> without the puc driver and check if the card's config space looks any
>> different?
>
> Sure:
> dmesg:
> Lava Semiconductor Manufacturing product 0x0200 (serial
> communications, interface 0x03) at pci1 dev 2 function 0 not
> configured
>
> Do you want pcictl output as well?

Actually that's what I wanted.

> BTW, I have one other PCI card in there that OF does not handle.
> Unlike the serial card however, the 3c905b is handled by NetBSD
> without problem and is in fact the primary ethernet card (since bm0
> sucks rocks).

OF can't use pretty much any card without FCode ROM but in all cases it 
should properly program their config spaces, as in IRQ line register, 
BARs etc. - you usually don't need to know what exactly a PCI device is 
in order to find out what address ranges it needs.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRiZLF8pnzkX8Yg2nAQJXrwf/R1j8BK0yIxAcPbOfRs4bCjxnEnxRe9SQ
e2wyCpJAZjR4hPkkJ7HY25XqQvStHyTqNylrhmh7NpZExpKV8pYZz2uMNT1F43od
Knl7nCPgjLUWjFTCHAOgsY/0SZJSspUbOEdI/i0SkPF0UqUTW3D5reR0vJ2hEuK6
wHpLQviVirLlF42f/huf2LPMi1R3uw6UwvXhfB8Iz3taOXk3YQGDQd76kM16KLpf
fuzKvEP9rd4NvXCPzRVTSXkdItCVaVNEspTY96o+LPJ9MtbBOLUuwcJY5Iz5Yb83
yEqzk5f6F9diqs5OiN9qCyCRFxdbFSnKYt04qPEQ49NrOMWjFvSjFg==
=YhZh
-----END PGP SIGNATURE-----