| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
ok deraadt@ guenther@ "re-wrap the long lines" kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
done in this region using PAE w/NX caused #PFs (as they lacked the exec
permission previously).
Also unmap the region when we're finished. No sense in leaving extra
executable regions lying around.
Fixes non-ACPI uniprocessor i386 machines that have NX/PAE (these would
previously panic in pcibiosattach).
ok deraadt@
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
| |
ok dlg@ mpi@ deraadt@
|
|
|
|
|
|
|
|
|
| |
error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq'
error: unknown token in expression
cmp -> cmpl, %cs:* -> *%cs:
ok kettenis@
|
|
|
|
|
| |
- despite the name, ntohl returns uint32_t, not long
- also fix some %d into %u
|
|
|
|
| |
while there, fix a few %d into %u
|
|
|
|
|
| |
uncommenting it is intentional.
ok deraadt@
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
|
|
|
| |
before pcibios(4), and then.... if acpi(4) attaches, skip pcibios(4) since
it messes the machines up. Fixes claudio's HP dl320 G5, and almost assuredly
others.
ok kettenis
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the freezes many of us are seeing (especially on amd64 machines running
OpenBSD/i386).
Much testing by nick@ (as always - thanks!), hugh@, ian@, kettenis@
and Sam Smith (s (at) msmith (dot) net).
Requested by, input from, and ok deraadt@ ok art@, kettenis@, miod@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if supported by the cpu(s). currently not enabled by default and
not compiled into ramdisks. this grows paddr_t to 64bit but yet
leaves bus_addr_t at 32bits. measures are taken to favour dmaable
memory allocation from below 4g line such that buffer cache is
already allocated form below, pool backend allocator prefers lower
memory and then finally bounce buffers are used as last resort.
PAE is engaged only if global variable cpu_pae is manually set
to non-zero and there is physical memory present above 4g.
simplify pcibios address math to use u_long as we always will
be in the 32bit space.
|
| |
|
|
|
|
| |
okay mickey@.
|
| |
|
| |
|
|
|
|
| |
DARPA funded work.
|
| |
|
|
|
|
|
| |
of the standard $PIR for the signature so for that too. From NetBSD and
FreeBSD. mickey@ says commitski
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
run through the devices and programming the icu
and pci headers before real pci bus autoconf starts
and include all devices present on all pci busses,
to a per attached device routing in pci_intr_map().
this solves several cases of premature interrupts hanging
system due to absent interrupt handlers during autoconf.
10x for testing: millert@ krw@ aaron@ chris@ tholo@ brad@ jason@ deraadt@
|
| |
|
|
|
|
| |
all it had were a struct and a proto.
|
|
|
|
| |
pci_bus_fixup() proto into pcibiosvar.h
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
the proper segment address/selector as returned from bios32_service().
both %cs and %ds have to be the same value (hmm, same descs?),
sincw some bioses are pic, and care only about offsets against the segs.
huge, enormous, 10X to brad@ for providing an incredibly usefull
testbed and invaluable time of his, for resets and incouraging comments (;
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
this is now a real device, which looks in flags for disabling
address, interrupt or bus fixup.
bios0's flags are to disable bios32 and pcibios probing.
since boot_config support editing flags, it's posible
to adjust pcibios functionality in the generic kernel
upon boot time. man is coming.
|
|
|
|
|
|
|
|
|
| |
fixes quite a few problems.
adds new option PCIBIOS_ADDR_FIXUP.
numerous extra fixes by me, also pointed out by other ppl,
such as avoid panics, ifdef on pciverbose, not diagnostic,
some other smaller knits; some have been forwarded back
to netbsd developers, some will go soon too.
|
| |
|
| |
|
|
|
|
|
|
| |
also, from the 3rd try make proper openbsd rcsids, rediculous
3 commits just to add proper openbsd rcsids.
i think someone forgot to _look_ at the diffs before commit.
|
| |
|
|
also, change a few pcidevs names to match netbsd (and more descriptive).
tested on a bunch of laptops, helps resolving 'pin X unmapped'
problems for (usually) usb and cardbus cntrollers.
|