Re: aic7xxx driver.

Trevor Johnson (trevor@blues.jpj.net)
Sat, 5 Jul 1997 14:55:52 -0701 (PDT)


> Much experimentation and some corrupted filesystems later it seemed
> that the aic7xxx driver was causing a problem which seemed to be
> related to CPU speed - eg. with the motherboard clock set at 60 MHz
> and the CPU internal at 150 MHz all was well, with the motherboard
> at 60MHz and the CPU internal at 180MHz there were problems.
>
> In the spirit of an experiment I changed all the outb() calls
> to outb_p() and all the inb() to inb_p for the whole of aic7xxx.c.
>
> Since then there have been no problems at all when running the CPU
> at 210 MHz (417 BogoMIPS)

H. Peter Anvin and Felix von Leitner had trouble running their K6s at the
rated speed as well. Their problems went away after replacing the chip
with another K6. It's conceivable that inb() and outb() compile to
instructions that yours doesn't run properly at the higher speed.
___
Trevor Johnson