summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-03-05Add pmap_prefer() for SH4, from NetBSD; ok drahn@Miod Vallat
2007-03-05Prevent a NULL pointer dereference in __pmap_kptp_lookup(); from NetBSDMiod Vallat
2007-03-05Lower the ipl to what it was at the time of the trap in general_exception,Miod Vallat
instead of remaining at splhigh; from NetBSD ok drahn@
2007-03-05Work around a virtual aliasing conflict issue. Basically allow multipleDale Rahn
readers but only one writer on a physical page. Not the most optimal, but has been tested. ok miod@
2007-03-05Add mmap for upa(4). Makes the X wsfb(4) driver actually work instead ofMark Kettenis
crashing the machine on UltraSPARC-III machines with creator(4) framebuffers. ok jason@, tsi@
2007-03-05proper check for [non]user returns to syscall gate page; found by miod@Michael Shalayeff
2007-03-04Oops, bring back pmap_collect1() and the check for pmap_kernel() inMiod Vallat
pmap_collect() as we do an explicit pmap_collect(pmap_kernel()) in dire memory situations.
2007-03-04Limit knowledge of splfoo() return values, and use mac68k_machine.via1_iplMiod Vallat
instead of hardcoded 1; this gets us rid of unnecessary polls on machines running with A/UX interrupts.
2007-03-04Invoke adb_cuda_autopoll() and leave polling mode after all initializationMiod Vallat
commands are set; also add a delay between adb_intr_cuda() and adb_soft_intr() while polling, as this seems to be necessary on some models; ok gwk@ drahn@
2007-03-03Kernel crash dumps and associated libkvm bits for landisk.Miod Vallat
2007-03-03Fix a logic error in dumpconf()Miod Vallat
2007-03-02Move landisk to hardware floating point. At the moment the FPU context isMiod Vallat
always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
2007-03-01typoMiod Vallat
2007-03-01On the first generation iMac G5 (PowerMac8,1) the fans node is calledMark Kettenis
rpm-fans.
2007-03-01If the kauai is not found in openfirmware, abort the config. ok deraadtDale Rahn
2007-03-01Don't attach sensors and iic(4) if we didn't find any fans.Mark Kettenis
Tickling the SMU when we don't set the fans running is bad since this prevents the fans to spin up automatically causing the machine to overheat.
2007-03-01proper softint treatment (that get missed otherwise); found and tested by ↵Michael Shalayeff
mpf@ on pppoe; drahn@ ok
2007-02-28some older machines have small banks, and the kernel is too big!Theo de Raadt
remove one very rarely used driver; tested by mglocker miod will look at this later ;)
2007-02-28Add Smart Battery Monitor device driver. Provided byAlexander Yurchenko
Aaron Linville <aaron@linville.org> in PR 5398.
2007-02-28Use diskerr() to print error messages.Miod Vallat
2007-02-28do not bother printing 5 lines of cpu information which is always, onTheo de Raadt
every machine, exactly the same. only print the most interesting bits ok miod, tested martin
2007-02-28SBus parallel port driver, from NetBSD but untested (no printer or cables);Miod Vallat
this should hopefully stop people from asking me about it (-:
2007-02-28spellingDavid Krause
2007-02-27nicer panic; kettenis okTheo de Raadt
2007-02-27include alipm, but disabled; ok kettenisTheo de Raadt
2007-02-27call_apm should be 64 bit.Marco Peereboom
ok art
2007-02-27previous commit ppc machines. has miod been reading tech-kern too much,Theo de Raadt
and is he trying to emulate them?
2007-02-26Zero rval[1] in setregs.Miod Vallat
2007-02-26FPU disabled bit on SH4 is not a ``must be zero'' bit, but userland shall notMiod Vallat
be allowed to fiddle with it anyway.
2007-02-26Fix spurious right brace in some decoders, and always print the hex value forMiod Vallat
unrecognized opcodes.
2007-02-26Revert a portion of rev 1.21, via-cuda behaves exactly opposite of via-pmu,Gordon Willem Klok
if we attempt to clear the wake on ac loss bit just before shutting down it yo-yo's found by claudio@, tested by drahn@ on early imac, and myself on a 9600. ok drahn@
2007-02-25Add cas(4). Ad a few missing comments while there.Mark Kettenis
stolen from deraadt@
2007-02-25Disable acceleration by default; set device flags to a nonzero value toMiod Vallat
enable.
2007-02-25Change how we determin if were running on a new world versus old worldGordon Willem Klok
machine for the purposes of printing model information durring boot and the hw.vendor/product sysctls. Turns out the apple didnt use the same format in the early imacs as they did in the latter new world machines resulting in NULL strings as found by drahn@. In this case and all future cases where we dont understand the format the default is to print whats found in the name property without interpertation. ok drahn@
2007-02-25add missing USBD_FORCE_SHORT_XFER checks, put back some code I had for aDale Rahn
while but removed incorrectly, some minor cleanup.
2007-02-25Defines to make isr status more useable. Bit patterns for debug prints.Dale Rahn
2007-02-24move debug print into debug block.Dale Rahn
2007-02-24Add my copyright, since I took the skeleton driver and made it complete.Dale Rahn
More polishing, appears to be working fine without back-to-back transmits.
2007-02-24Remove unused B_DIRTY, B_PAGET, B_PGIN, B_TAPE and B_UAREA b_flags values.Miod Vallat
2007-02-23Print safari error log register if we get a safari interrupt.Mark Kettenis
2007-02-23Establish pci error interrupt after we're done fiddling with schizo's registersMark Kettenis
instead of when we're halfway through.
2007-02-23Use the maxpacket len from the pipe, not hardcoded. properly dealDale Rahn
with end of frame when it happens to be at end of usb packet.
2007-02-22Dont pass seemingly random numbers down as the flagThordur I. Bjornsson
parameter of pool_init() ok drahn@ no objections miod@
2007-02-22Revert my previous commit. Kettenis no likey.Marco Peereboom
2007-02-22Comment out the errmsg printf in hdgetdisklabel() again.Miod Vallat
2007-02-22Enable ACPI interrupts in APIC modeJordan Hargrave
ok marco@
2007-02-22Print base so that we can make a correct mapping between apic and irq.Marco Peereboom
ok jordan
2007-02-21Long awaiting modernization:Miod Vallat
- reset the drive and fetch its identification strings during probe, and do not attach if they don't look good. - do not store synchronous command blocks (used by hdreset) in the softc, since they are not processed asynchronously. The stack will do. - cleanup the disklabel retrieval code. - use disk_{,un}lock instead of rolling our own equivalent. - use bounds_check_with_label() in hdstrategy() instead of a stripped-down inline version of it. Tested on 7957A.
2007-02-21part missed in PAE revert: ptoa() paddr_t size is no longer printedTheo de Raadt
with %llu; ok miod
2007-02-21remove part of buf abuse and store errcnt in softc (instead of b_errcnt); ↵Michael Shalayeff
more work can be done to lower buf abuse even more; miod@ testing and ok