Subject: Re: pciide performance on alpha
To: Andreas Johansson <firstname.lastname@example.org>
From: Michael T. Stolarchuk <email@example.com>
Date: 08/13/1999 12:14:37
In message <Pine.NEB.3.96.990813173111.2590Afirstname.lastname@example.org>, Andreas Johanss
> 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 email@example.com for more info.
>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
any specific value, or is -DPCI_FORCE_LATENCY enough?
Oh, i also noticed:
+ v |= PCI_FORCE_LATENCY << PCI_LATTIMER_SHIFT;
+ pci_conf_write(pa.pa_pc, pa.pa_tag,
+ .pa_pc, pa.pa_tag,
+ PCI_BHLC_REG, v);
is that right, six parameters to pci_conf_write, and two of them are ".pa_pc, pa.pa_tag,"
i changed that to:
pci_conf_write(pa.pa_pc, pa.pa_tag, PCI_BHLC_REG, v);