> > int pcibios_read_config_dword (unsigned char bus, unsigned char device_fn,
> >                                unsigned char where, unsigned int *value)
> > {
> >         if (bus != 0 ||
> >             (device_fn != 0 && device_fn != 1 && device_fn != 0x80)) {
>
> Have you tried to remove this ? As I can remember, access to config
> spaces of non-existent devices just hangs JE1.

Access does not not hangs, but sends NMI. That's how system crashes or hangs.

> > The logics of looking for "assigned-addresses: in pcic_map_pci_device()
> > is broken as well. Just consider what happens when I plug 3C905 into
> > JavaStation-E. The system ends with panic("PCIC: unable to locate prom
> > node for pci device such and such\n").
> 
> As it supposed to work :-) But it should be extented to allow cards w/o
> prom support, of course.

Do you have a documentary evidence about "assigned-addresses"?
What makes you think any addresses are assigned to unopeneed devices?
In Espresso many nodes do not have this property at all.
Besides, a missing PROM property is a bad excuse for panicing.

--Pete
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to