On Wed, Feb 05, 2003 at 02:06:25PM +1100, Andrew Clausen wrote:
> > If so, i do
> > recall we had to do some special casing to get the card to work correctly.
> Yeah, that would be right. Have you had a look at pci_fixup_ioc3()?
> (That's the network card that seems to come with the Origin 200). I
> bet it's something similar.
Pci_fixup_ioc3() is only necessary for the IOC3 nic. It's a PCI board
that's about as broken are it only can be. The board runs on in PCI busses
clocked at 33MHz. It only partially decodes the PCI config address space.
Attempted access to one of the nimplemented registers of the IOC3 will
result in access to another register. That's too buggy for any OS to cope
with without that special kludge pci_fixup_ioc3.
> Just, the base address the card (PCI bus?) is spitting out is very odd:
> eth0: SGI AceNIC Gigabit Ethernet at 0xfe7fc000, irq 8
> The card is in slot 6, so I'd expect the base address to be 0x8900000.
> Anyway, it dies on this:
Query the address using the usual Linux PCI bus stuff from <linux/pci.h>.
Anything else is doomed, especially guessing ...