Date: Tue, 29 May 2001 15:24:06 +0100 From: j mckitrick <jcm@FreeBSD-uk.eu.org> To: freebsd-new-bus@freebsd.org Subject: correct newbus handling in probe() functions Message-ID: <20010529152406.A26446@dogma.freebsd-uk.eu.org>
next in thread | raw e-mail | index | archive | help
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 -- "I drank WHAT ?!" - Socrates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010529152406.A26446>
