Subject: Re: Snapshot 20030927 available
To: None <wileyc@rezrov.net>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sgimips
Date: 09/28/2003 23:48:13
In article <20030928123529.GC565@rezrov.net>
wileyc@rezrov.net wrote:

> Here is a cleaner/better way of dealing with the problem:
 :
> --- ahc_pci.c	2003/08/18 09:16:22	1.43
> +++ ahc_pci.c	2003/09/28 12:33:44
 :
> +#if defined(AHC_BROKEN_SEEPROM)
> +	/* Some on-board implementations (notably the SGI O2)
> +	   seem to have a SEEPROM but it is either filled with nonsense or
> +	   imaginary.  In these cases, use the chip's defaults and avoid
> +	   the BIOS. */
> +	ahc->flags = AHC_USEDEFAULTS | AHC_NO_BIOS_INIT;
> +#endif

Looks good, but it's much better to detect this dynamically.
(I guess we could put the "sane" ahc card on O2 PCI slot.)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp