OK.  I've done some checking and so far I've come up with the following:

Linux kernel does attempt to repair mis- or un-configured PCI devices.
However, those attempts are rather crude and will only work for some
devices.  So far, I've found the following things wrong:

- code seems to assume everything is i/o mapped. will break on
  memory-mapped address ranges.
- no support for pci-to-pci bridges.  also, existing fixup code won't
  insure devices are correctly addressed within their bridge's address
  range.
- code doesn't try terribly hard to detect misconfigured devices
- no attention paid to more subtle pci configuration issues like latency
  timer

I'm barely scratching the surface here, so it looks like I'm going to have
to add and fix this stuff myself.  Anyone who's interested in seeing
updates/results please email me privately.

Eric

On Thu, Feb 10, 2000 at 11:38:22AM -0600, Oleg Perelet wrote:
> You don't need PCI bios support if your PCI bus implementation is standard,
> you can undefine PCI bios support or just whipe it out from your
> flash/rom. Take look at ...arch/i386/kernel/bios32.c. I have system
> with no bios at all and haven't seen any problems. 
> 
> 
> 
> At 10:45 AM 2/10/00 -0600, Eric Seppanen wrote:
> >I'm using Linux 2.2 on an x86 embedded system with a rather broken PCI
> >BIOS.  I've been limping along for about a year with its shortcomings, but
> >I've just discovered that my BIOS has no ability to configure PCI bridges
> >and secondary buses, and I'm starting to think that perhaps my best bet
> >would be to patch the kernel to redo the PCI configuration (address
> >assignments, etc.) as necessary.
> >
> >Has anybody done this before?  I'm lazy and I'll borrow code if it exists.
> >
> >Eric Seppanen
> >[EMAIL PROTECTED]
> >
> >
> >--
> >To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> >with the command "unsubscribe linux-embedded" in the message body.
> >For more information, see <http://waste.org/mail/linux-embedded>.
> >
> >
> 
> 
> --
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the command "unsubscribe linux-embedded" in the message body.
> For more information, see <http://waste.org/mail/linux-embedded>.

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to