summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-30 10:54:31 +0000
committerdfr <dfr@FreeBSD.org>1999-05-30 10:54:31 +0000
commit5e6c0b736334f0b218b5fe71b0edf37422a870d2 (patch)
tree4d5d5010240b1ed19b77a8c38d0578054597a628 /sys/dev
parent8a8d1b8c17a111d9a5ee314eccf2305075acac48 (diff)
downloadFreeBSD-src-5e6c0b736334f0b218b5fe71b0edf37422a870d2.zip
FreeBSD-src-5e6c0b736334f0b218b5fe71b0edf37422a870d2.tar.gz
In pci_alloc_resource() only check start and end to see if its a default.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index d09665f0..552e202 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci.c,v 1.103 1999/05/10 17:56:22 dfr Exp $
+ * $Id: pci.c,v 1.104 1999/05/20 15:33:31 gallatin Exp $
*
*/
@@ -1229,7 +1229,7 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid,
int map;
isdefault = (device_get_parent(child) == dev
- && start == 0UL && end == ~0UL && count == 1);
+ && start == 0UL && end == ~0UL);
switch (type) {
case SYS_RES_IRQ:
OpenPOWER on IntegriCloud