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/17/2007 15:27:09
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Apr 17, 2007, at 15:00, Joachim Thiemann wrote:
> Hello, I'm trying to get a Lava DSerial PCI card to work on my B&W G3.
> I did get the card to work on a i386 box (4.0_BETA) by adding some
> lines to pucdata.c.
>
> However, on 3.1 macppc, I get:
>
> puc0 at pci1 dev 2 function 0: Lava Computers new serial (com, com)
> puc0: couldn't map BAR at offset 0x10
> puc0: couldn't map BAR at offset 0x14
> Base address register at 0x10
> type: i/o
> base: 0x0000fff8, not sized
> Base address register at 0x14
> type: i/o
> base: 0x0000fff8, not sized
Those BARs overlap and contain bogus. Looks like they weren't
configured by OF for some reason.
> pci_intr_map: no mapping for pin C
> puc0: couldn't map interrupt
> Interrupt line: 0x00
and this is bogus too.
> Is there any way to make OF know about the ports?
Not really, unless you write an fcode driver for it.
> (It'd be nice to get console on that but it's not critical... I'd just
> like to make the
> port work normally.)
The card looks unconfigured - does it show up in OF's device tree at
all?
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRiUfjcpnzkX8Yg2nAQLazAf+OKBgfDmxosy3J9tFgRoCaeWcAtb4An99
axSoyqQ8TWBEvHoP2y8jS7Trtu5Kv8x1+AOdHzYydssVBQd4qt+8CAXs6WKxC1XD
xLiMIjCNu6jadvobKI+FzzIHEbjL2Txn8uNkLesFXGhZBFJdVJBhbyRI30lpdzgi
S72fAh9qVJQvI2Z39rCC0xiuwd3hH7QWkMFvEq0D9rM9ipGdUoMGAzo2gEba1C90
zg1U4MYLCGoIEloAWpYTpwVjHCjtRKZ2XDcOH7eJBTitTfelQW4lrkWWyOLBBvJM
JOhBHk52cPfWIAz2yOvvQQwdGjGJYChxLlkL8qlCW1yf6T5YFvm7Xw==
=Mnlc
-----END PGP SIGNATURE-----