| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
`struct device' as its softc. This is not the case on loongson, and the
glxpcib softc gets subtly corrupted, causing a kernel panic when attempting
to select the glxpcib timecounter as the current timecounter.
Skirt this by not using the pcib softc fields if we are invoked from
glxpcib - it is not really worth putting pcib_softc in a header for the sake
of MI glxpcib code.
|
| |
|
|
| |
Fixes DMA problems spotted on the v445.
|
| |
|
|
|
| |
on the v445 (compared to the v215/v245). Generalize the code to allow for
arbitrary wirings. Makes the serial console on the v445 work.
|
| |
|
|
| |
ok miod
|
| | |
|
| | |
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
| |
sense as a for() body. One semicolon is enough. From llvm via Brad.
|
| |
|
|
|
|
|
|
| |
* call only for set translation on (once in /sys/dev/pckbd.c)
therefore we can delete unused code.
* change behavior (more standard) - return zero on success
ok miod@
|
| |
|
|
| |
a chance to run...
|
| | |
|
| |
|
|
|
| |
fixing an old n32-inherited bug in the process. Spotted during guenther@'s
syscall factorization work.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the
handling when copyin() of arguments fails.
Tested on i386, amd64, sparc64, and alpha (thanks naddy@)
Any issues with other platforms will be fixed in tree.
header name from millert@; ok miod@
|
| | |
|
| |
|
|
| |
ok guenther@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
with a large physical address size (greater than 36 bit). Fixes a
major performance hit seen on newer servers where an incorrectly
programmed memory region length affects the PCI device mappings.
While here, make sure to invalidate the TLB after programming MSRs
and fix an incorrect behavior found by deraadt@ where MTRRdefType
was updated outside of the protected region.
The fix was partly obtained from FreeBSD, tested by many.
With and OK deraadt
|
| |
|
|
|
| |
to appease dhcpd, as dhcpd has now been fixed to not require this.
repeated prodding and special ok deraadt@
|
| | |
|
| |
|
|
|
|
|
|
| |
ifm_status, for dhclient's sake. Current dhclient interface_status()
considers interfaces able to report media information but not returning
IFM_AVALID as down. Note that these interfaces usually have mii(4) or
have specific code reporting correct values; sparc le(4) is an exception.
Found the hard way by sebastia@; joint work with krw@, ok deraadt@
|
| | |
|
| |
|
|
|
| |
gio_id(), not the whole 32 bit first word. Some boards with a 8-bit only ID
register use the other 24 bits, sadly.
|
| |
|
|
| |
are not frame buffers. Thanks to Martin Boehme for donating such boards!
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
interrupt on Indy; do not use it on such systems. Then, bring back a clock0 at
mainbus attachment to IP22 kernels, and attach it late in the autoconf process
if no other device has claimed the clock yet.
This means R4000 and R4400 based Indy may experience the lost clock interrupt
processor errata again, until a better way to skirt it is found.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
counter register close to a trigger of the counter interrupt, may cause the
interrupt not to be generated. This makes it a bad idea to use the internal
counter both for the scheduling clock and for delay().
Therefore, on IP22 systems (and IP28 because it makes my life easier), use
one of the two 8254 timers connected to the onboard interrupt controller as
the scheduling clock source.
Adapted from NetBSD.
|
| |
|
|
|
|
| |
machdep.c, and internal clock interrupting on level 5, still in clock.c; this
will allow other clock sources to be used in the near future. (delay() will
remain tied to the internal clock)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
ok deraadt@
|
| | |
|
| |
|
|
|
| |
This does not yet work for amd64 - getting the structure into the tree so
others can help.
|
| |
|
|
|
|
| |
Presently only working on pciide/wd disks.
ok deraadt@
|
| |
|
|
|
| |
anymore as a debugging tool, and it is in a rather critical path.
ok kettenis
|
| | |
|
| |
|
|
|
|
|
| |
as well. This fixes very slow performance due to lots of uncached
memory on buggy machines, for instance on very large memory thinkpad
W500 and such.
ok mlarkin kettenis sthen
|
| |
|
|
| |
ok kettenis
|
| | |
|
| | |
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
| |
ok nicm@
|
| | |
|
| |
|
|
| |
ok miod@
|
| |
|
|
| |
ok jsing
|