busmaster/latency for video

Michel Lanners mlan at cpu.lu
Sat Oct 9 03:59:31 EST 1999


On   8 Oct, this message from Benjamin Herrenschmidt echoed through cyberspace:
> On Thu, Oct 7, 1999, Michel Lanners <mlan at cpu.lu> wrote:
> 
>>Ah, but in that case Apple's OF should enable bus mastering. If I read
>>well between the lines of Apple's docs, OF should set a few default
>>parameters on all PCI devices, among which bus mastering. I'm not sure
>>about latency, though...
> 
> OF tends to ignore devices that don't have an OF expansion ROM. (For
> example, it won't enable memory or IO accesses in the command register).
> I beleive it won't enable bus mastering neither but I may be wrong.

OF itself doesn't enable any memory or IO region; it's the
device-specific init code (which might be on-board for PCI cards, or in
OF for motherboard devices).

There are, however, a few things OF does for _every_ PCI device, among
which enabling bus mastering and assigning memory and/or IO resources.

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan at cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list