diff options
author | dfr <dfr@FreeBSD.org> | 1999-05-30 10:54:31 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-05-30 10:54:31 +0000 |
commit | 5e6c0b736334f0b218b5fe71b0edf37422a870d2 (patch) | |
tree | 4d5d5010240b1ed19b77a8c38d0578054597a628 /sys/pci/pci.c | |
parent | 8a8d1b8c17a111d9a5ee314eccf2305075acac48 (diff) | |
download | FreeBSD-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/pci/pci.c')
-rw-r--r-- | sys/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c index d09665f0..552e202 100644 --- a/sys/pci/pci.c +++ b/sys/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: |