atom feed1 message in org.freebsd.freebsd-new-buscorrect newbus handling in probe() fu...
FromSent OnAttachments
j mckitrickMay 29, 2001 7:23 am 
Subject:correct newbus handling in probe() functions
From:j mckitrick (jc@FreeBSD-uk.eu.org)
Date:May 29, 2001 7:23:44 am
List:org.freebsd.freebsd-new-bus

Some devices, such as ppc, go through a series of very different addresses when probing for different chipsets. In drivers where the io port does not change, the standard newbus policy appears to be to assign a bus handle and tag to this port, and access it with standard newbus calls.

What about ppc, where probing involves read/writes to one io port, then select another, then another, etc? Should these continue to use inb/outb, or should each one go through the overhead of assigning bus handles and tags to each possible port value during the probe?

jcm

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message