summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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
2007-02-20Revert PAE pmap for now, until the strange bug is found. This stopsTom Cosgrove
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@
2007-02-20Remove duplicate entry.Tom Cosgrove
ok miod@
2007-02-20Put ral* at pci? onto the install media. Noted by Sunnz (sunnzy (at)Tom Cosgrove
gmail (dot) com) and Stuart Henderson (stu (at) spacehopper (dot) org) on misc@. ok deraadt@
2007-02-19Put warning about shared IPL interrupts under MPVERBOSE and don't talk aboutMark Kettenis
degraded performance. requested by deraadt@
2007-02-19only make this interface available to the kernel for now, discussed withaTheo de Raadt
rt and such; tested and ok miod drahn
2007-02-19ACPIVERBOSE should be off, like i386Theo de Raadt
2007-02-19Remove unused variable lapic_timerTom Cosgrove
ok art@
2007-02-18Correct yo-yo shutdowns:Gordon Willem Klok
Apparently some machines don't detect a clean (i.e. software initiated) shutdown; and ignore the 'wake on AC loss' bit, meaning they wake up immediatly after being told to shutdown e.g. via shutdown -hp. So now we continue preserve the wake on AC loss behaivour, howerver if we initiate a clean shutdown we clear this bit so that it the machine does not immediately power back up again. ok kettenis@
2007-02-18Display the interrupt priority in dmesg, for frame buffers which registerMiod Vallat
interrupt handlers.
2007-02-18Make it more apparent these boards have (crippled version of) vga-compatibleMiod Vallat
crtc. No functional change.
2007-02-18Remove #ifdef/#endif's around MBR checking code. Remove now unusedKenneth R Westerback
option DISKLABEL_I386. ok deraadt@
2007-02-18If no MBR partitions are found when spoofing a disklabel, try lookingKenneth R Westerback
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'. This enables iPod shuffles and other umass devices that are shipped with a bare FAT32 filesystem to be used as install media. And generally makes things easier for the user just trying to mount some media, e.g. floppies. Does not make it safe to write a disklabel or MBR on such a device! That will still obliterate the FAT filesystem. Help and suggestions from tom@ and deraadt@. Feedback and suggestions for future enhancements from espie@ mickey@ and peter@. ok tom@ deraadt@
2007-02-18In writedisklabel(), read the disklabel sector before rewriting it, toMiod Vallat
preserve the non-disklabel contents; otherwise altering your disklabel may render your machine unbootable. ok deraadt@ krw@
2007-02-17Add SMALL_KERNEL throught acpi to make it fit on boot media.Marco Peereboom
ok deraadt
2007-02-17If we __HAVE_PMAP_DIRECT, handle these mappings in pmap_extract().Miod Vallat
2007-02-17In pmap_collect():Miod Vallat
- do not bother checking for pmap_kernel() and operating on it, as pmap_collect() will not be invoked for P_SYSTEM process. - preserve wired pages while purging.
2007-02-17Bring in the AMD errata checks from amd64.Tom Cosgrove
Changes to either copy of amd64errata.c must be replicated in the other. ok deraadt@