Marius Strobl c87ba3b18c The PCI specifications don't explain the details on how to calculate
the latency based on the Min_Gnt register so use the algorithm found
in OpenSolaris as they probably know how to interpret the value Sun
puts into these registers (previously, the latency calculated for
66MHz was most likely wrong) and for bridges additionally set up the
secondary latency register. Also set up the bridge control register
the way it's done in OpenSolaris. As the latency register don't apply
to PCI-Express and the bridge control setup wasn't tested on sun4v
(besides most likely not being needed), expand the #ifndef SUN4V
accordingly.

MFC after:	3 days
2008-08-24 15:05:46 +00:00
..
2008-08-23 23:35:08 +00:00
2008-08-22 20:28:19 +00:00
2008-08-23 04:58:11 +00:00
2008-08-24 07:40:14 +00:00
2008-08-23 23:44:45 +00:00
2008-08-23 01:20:36 +00:00
2008-08-10 12:15:36 +00:00
2008-08-20 09:20:12 +00:00