cvs commit: src/sys/sparc64/pci ofw_pcibus.c
marius at FreeBSD.org
Wed Sep 26 13:10:36 PDT 2007
marius 2007-09-26 20:10:36 UTC
FreeBSD src repository
- Use the actual clock frequency of the PCI bus instead of assuming
33MHz for calculating the latency timer values for its children.
Inspired by NetBSD doing the same and Linux as well as OpenSolaris
using a similar approach.
While at it rename a variable and change its type to be more
appropriate fuer values of PCI properties so the variable can be
more easily reused.
- Initialize the cache line size register of PCI devices to a
legal value; the cache line size is limited to 64 bytes by the
Fireplane/Safari, JBus and UPA interconnection busses. Setting
it to an unsupported value caused bad performance at least with
GEM as it causes them to not do cache line bursts and to not
issue cache line commands on the PCI bus.
Approved by: re (kensmith)
MFC after: 1 week
Revision Changes Path
1.15 +16 -17 src/sys/sparc64/pci/ofw_pcibus.c
More information about the cvs-src