summaryrefslogtreecommitdiff
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authornathanw <nathanw@NetBSD.org>2000-08-03 20:10:45 +0000
committernathanw <nathanw@NetBSD.org>2000-08-03 20:10:45 +0000
commitb3e0af3d3230da48a265d4464b03602acacf8a22 (patch)
tree9a394bb1f66d29551c709722a90611125e9e47f8 /sys/kern/exec_script.c
parent032c2e34d947e25ad19afdb3ce25ffa025e8b10c (diff)
Fix a problem uncovered by rev 1.5 of pcibios.c:
Avoid interpreting the upper 32 bits of 64-bit BARs as a 32-bit BAR. Otherwise, the code would assume that the value 0 was incorrect and either: (a) [on bus 0] "fix up" the address to some nonzero value, thus placing the decoded address range outside of 32-bit address space, or (b) [elsewhere] completely disable the device. The fact that this behaviour depends on the bus number of the device is already XXX'd. XXX: This will need revisiting if and when we ever want to handle a PCI bus XXX: with more than 32 bits of address space on an i386. The onboard Adaptec 7890 on my Dell Precision Workstation 410 works again.
Diffstat (limited to 'sys/kern/exec_script.c')
0 files changed, 0 insertions, 0 deletions