1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/i386
Warner Losh dca2069084 Commit a workaround to a problem with resource allocation. This helps
with some Dell servers that booted w/o a problem[*] on 5.4, but failed
with 6.0-BETA.

On the PCI bus, when we do lazy resource allocation, we narrow the
range requested as we pass through bridges to reflect how the bridges
are programmed and what addresses they pass.  However, when we're
doing an allocation on a bus that's directly connected to a host
bridge, no such translation can take place.  We already had a fallback
range for memory requests, but none for ioports.  As such, provide a
fallback for I/O ports so we don't allocate location 0, which will
have undesired side effects when the resources are actually used.

This fixes a problem with booting a Dell server with usb in the
kernel.  However, it is an unsatisfying solution.  I don't like the
hard coded value, and I think we should start narrowing the resources
returned to not be in the so-called isa alias area (where the ranage &
0x0300 must be 0 iirc).  Doing such filtering will have to wait for
another day.

This may be a good 6 candidate, maybe after its had a chance to be
refined.

Tested by: glebius@
2005-09-16 07:02:29 +00:00
..
acpica Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
bios Fix build (including both asm.h and asmacros.h is evil). 2005-07-22 15:01:07 +00:00
compile
conf de(4) is now properly busdma'ed. 2005-09-04 05:37:55 +00:00
cpufreq Print cpu_vendor and the MSR value if we don't support this processor 2005-07-31 06:42:27 +00:00
i386 - Adjust a comment, we do program the performance counter LVT entry now 2005-09-15 19:02:01 +00:00
ibcs2 Add missing dependencies on the SYSVIPC modules. 2005-07-29 19:41:04 +00:00
include Stop using the '+' constraint modifier with inline assembly. The '+' 2005-09-15 19:31:22 +00:00
isa Remove the el(4) driver for 3Com 3c501 ISA NICs from HEAD as threatened 2005-08-26 13:42:04 +00:00
linux Propagate error code of kern_execve() to the caller properly. 2005-08-01 17:35:48 +00:00
pci Commit a workaround to a problem with resource allocation. This helps 2005-09-16 07:02:29 +00:00
svr4 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
Makefile