Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2001 18:21:51 +0100
From:      j mckitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-hackers@freebsd.org
Subject:   newbussifying drivers
Message-ID:  <20010605182151.A90883@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

The newbus routines use a certain amount of overhead, but once done, you
forget about it.  In some device drivers, the probe methods often need to
try a variety of hardware ports.  In the past, inb/outb was used, along with
an often hardcoded port address.

Does it make sense to call bus_allocate_resource for every hardware port we
probe?  What is the best way to handle this so NO inb/out is used, even for
probing?

jcm
-- 
"I drank WHAT ?!" - Socrates

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010605182151.A90883>