Re: Flash Back -- kernel 2.1.111

Martin Dalecki
2002-02-24T21:12:28Z

Alan Cox wrote:
>>The previous code didn't distinguish the bus speed between different
>>busses and it doesn't do now as well.
>>It could be really helpfull to look at the patch actually. Don't you
>>think?
>>
>
> I know what would actually help here, (the other code wasn't broken IMHO)
> and would clean this up properly for not just IDE. Add a bus_speed field
> to the struct pci_bus - that is where the info belongs and its the platform
> specific bus code that can find the bus speed out (if anyone)

Alan you are of course right. But what to do about VLB and friends?
Unfortunately there isn't something comparable to struct pci_bus for
them in the kernel. (Or I'm missing something here?).
Iff then I would rather like to have a generic solution.

(Do you remmeber about 4 years ago there *was* already a lengthy
discussion about bus speed detection, without any proper resolution at
all...I remember myself having even provided some code for this
purpose...which was basicually just measuring RAM transfer rates...)