[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
correct newbus handling in probe() functions
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?
"I drank WHAT ?!" - Socrates
To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-new-bus" in the body of the message