Tulip driver
Hi,
I've checked in a new tulip driver, which works for me on the onbard tulip of the A180. I've tried to use Donald's latest driver (0.91x), but this driver needs some pci infrastructure, which isn't available in our 2.3 tree, yet. So I ported the 2.2.14 driver and added cache flushes. Before that I've added the cache flushes to tulip 0.91x, so whenever we update our tree, I should have an updated tulip very quick.
The 2.2.14 tulip didn't like the SROM provided by the onboard tulip, because it didn't provide information about the attached phy (and the default media is in the wrong endian, but that isn't a big problem). I fixed that by just not allocating a media table, which works in my case. It's possible that this may break later. The SROMs of the tulips behind the card mode dino are looking stranger, they seem to be from a time before Digital released a sane SROM documentation and might confuse the driver as well. But since the machine hangs, when the driver tries to probe the second tulip on the card, this isn't an issue, yet.
I'm now looking into getting nfs root working.
Thomas.
Signature · 3 lines
This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
[Martin `MJ' Mares on linux-kernel]Quoted 6 lines · Thomas Bogendoerfer
...The SROMs of the
tulips behind the card mode dino are looking stranger, they seem to be from a time before Digital released a sane SROM documentation and might confuse the driver as well. But since the machine hangs, when the driver tries to probe the second tulip on the card, this isn't an issue, yet.
Thomas,
I looked at the console output you sent me and I saw several things not correct (which I'm trying to fix) right away:
o I/O BAR's where not getting programmed correctly.
(both tulips fighting for the same I/O Port address (0) caused the hang)
o command register was not set
o cacheline size and latency timer were not getting set.
Now I have the opposite problem: PCI code finds and initiliazes the tulips behind card-mode Dino but tulip.c doesn't want to talk to them. So I can't really say for sure my changes work.
I've committed my code anyway since the oboard tulip continues to work. Perhaps you can take another look at this.
thanks
grant
Grant Grundler
Unix Development Lab
+1.408.447.7253
Quoted 3 lines · Grant Grundler
Now I have the opposite problem: PCI code finds and initiliazes the tulips behind card-mode Dino but
tulip.cdoesn't want to talk to them. So I can't really say for sure my changes work.
The checked in tulip version probes for only one tulip chip. If you want to make the driver probe for all tulips, search for the second FIXME in the driver and remove the break; after the comment.
Quoted 2 lines
I've committed my code anyway since the oboard tulip continues to work. Perhaps you can take another look at this.
still no go, now it hangs while probing the first tulip on the card.
Thomas.
PS: Anybody who wants to play with the tulip driver, use revision 1.4 of arch/parisc/kernel/irq.c. Newer versions got cleaned up, so they don't work anymore:-( But with the old irq.c bootp handshake works and I don't have to use the hacked sash anymore.
Signature · 3 lines
This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
[Martin `MJ' Mares on linux-kernel]