Subject: Re: pciide performance on alpha
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Andreas Johansson <ajo@wopr.campus.luth.se>
List: port-alpha
Date: 08/13/1999 17:32:20
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-1864420172-934558340=:2590
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 13 Aug 1999, Manuel Bouyer wrote:
> > [...]
> > Latency Timer: 0x00
> > [...]
> >
>
> Sure, all the latency timers are 0, this is probably wrong.
> A alpha-specific routine should set them to a reasonable value when 0
> (or maybe do this in sys/dev/pci for all ports ?).
I've attached the patch I use, it's for dev/pci/pci.c and you need to
define PCI_FORCE_LATENCY
> --
> Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
> --
>
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--0-1864420172-934558340=:2590
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pci_lat.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.3.96.990813173220.2590B@ymer.campus.luth.se>
Content-Description:
LS0tIHBjaS5jLm9yaWcJU2F0IEF1ZyAxNSAxMzoxMzozMyAxOTk4DQorKysg
cGNpLmMJVHVlIEF1ZyAyNSAyMDoyMDoyNSAxOTk4DQpAQCAtMTYxLDYgKzE2
MSw4IEBADQogCQkJbmZ1bmN0aW9ucyA9IDE7DQogDQogCQlmb3IgKGZ1bmN0
aW9uID0gMDsgZnVuY3Rpb24gPCBuZnVuY3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