summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-07-17same changes as i386. tested by kettenis@ and ckuethe@. thanks.Federico G. Schwindt
2006-07-17same fix as i386Theo de Raadt
2006-07-17we prefer it if this compilesTheo de Raadt
2006-07-17id tag.Federico G. Schwindt
2006-07-17use malloc'ed buffers rather than losing some/all of the static buffersFederico G. Schwindt
and allow for longer strings (as per spec). mickey@ and gwk@ ok.
2006-07-17Fixups for NVIDIA MCP04 SATA interrupts.Mark Kettenis
ok brad@
2006-07-17Switch to a three-phase pci resource fixup:Dale Rahn
1. Reserve resources for enabled devices. 2. Reserve resources for disabled devices. 3. Allocate resources. This way we no longer need to enable/disable devices during fixup. Copied from i386/macppc version.
2006-07-17Cope with clock_subr.c changes.Miod Vallat
2006-07-16Fix splassert false positives on older VAXstation with devices wired toMiod Vallat
ipl 0x14 instead of the expected 0x15.
2006-07-16On LX164 systems (and maybe others), isa video boards are reported byMiod Vallat
the SRM as pci boards with invalid bus and slot number, so check for this to decide which vga attachment to use. Found the hard way by robert@
2006-07-16Contrary to where this was stolen from, arm does indeed needDale Rahn
BUS_DMASYNC_POSTREAD implemented otherwise the old device state may still be present in the cache. Allows em(4) to work _much_ better on iodata.
2006-07-14Add a major line for wd, for kernels with root on wd0a to work.Miod Vallat
2006-07-14Allow tracebacks of the kernel stack even when the kernel did not panic,Miod Vallat
gives us meaningful splassert tracebacks whenever necessary.
2006-07-14change pcibr_flags back to 0 (turn off verbose mode). If anyone has aTheo de Raadt
problem with a new kernel in the next while, please revert this specific commit and mail the results to kettenis, drahn, and me.
2006-07-13Switch to a three-phase pci resource fixup:Mark Kettenis
1. Reserve resources for enabled devices. 2. Reserve resources for disabled devices. 3. Allocate resources. This way we no longer need to enable/disable devices during fixup. Based on an earlier patch by drahn@. ok deraadt@, drahn@
2006-07-13include uvm_extern.h for atop() and uvm functions just like in armishMartin Reindl
2006-07-12zap some unused variables.Thordur I. Bjornsson
the only use was in an #if notyet chunk since '97. ok miod@ 'no objections' pedro@
2006-07-12Shorten the dmesg one line.Miod Vallat
2006-07-12Remove commented out defopt goo.Miod Vallat
2006-07-12Fix dependenciesMiod Vallat
2006-07-12Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.Miod Vallat
2006-07-12Orphaned stuff.Miod Vallat
2006-07-12include uvm_extern.h for atop()Martin Reindl
2006-07-12do not include uvm_extern.h twiceMartin Reindl
2006-07-11the scsi_link structure contained a copy of the inquiry flags and the wholeDavid Gwynne
inquiry. this removes the flags member and makes all its users refer to the whole inquiry now. ok miod@ krw@
2006-07-11syncMichael Shalayeff
2006-07-11Remove duplicate prototypes already in <sys/systm.h>Miod Vallat
2006-07-11Hook up the hw.product sysctl on macppc,Gordon Willem Klok
requested by deraadt@, ok drahn@
2006-07-11Remove old debug goo; drahn@ okMiod Vallat
2006-07-11Remove DISKLABEL_ALL, DISKLABEL_ALPHA, leave DISKLABEL_I386 inKenneth R Westerback
GENERIC. Remove now superfluous check for DISKLABEL_ALL. 'whack whack whack!' deraadt@
2006-07-10Do not blindly enable pci io/mem space.Mark Kettenis
ok deraadt@
2006-07-10The setperf mechanism cannot handle multiprocessor systems. Ensure thatGordon Willem Klok
p4tcc and speedstep are not initialized in multiprocessor kernels. ok kettenis@
2006-07-10Accept non-page-aligned addresses and sizes in mapiodev() and unmapiodev().Miod Vallat
2006-07-10Remove the error_cnt cacluation, this only makes sense when the suppliedDale Rahn
clock speed is extrememly accurate and not evenly divisible. Both of which is not true on armish.
2006-07-10As pointed out by miod, cpu_initclocks() can use setstatclockrate(), theDale Rahn
spl() is unnecessary. Also cleanup the extra print and dont bother counting 'tick' interrupts since clock and stat counters exist.
2006-07-10Adding missing $OpenBSD$ tags, pointed out by miod.Dale Rahn
2006-07-09I don't think we're talking about animals in here, soMichael Knudsen
s/wether/whether/g.
2006-07-09DISKLABEL_ALL was never used in hppa, hppa64, mips64 config files soKenneth R Westerback
just eliminate the check to set DISKLABEL_I386 with it. If you want DISKLABEL_I386, use that option.
2006-07-09Remove DLT_* logic from Alpha as well, being careful to keep theKenneth R Westerback
checksumming of the native disklabel. No functional change.
2006-07-0968020-based hp300 systems are not supported anymore now. If you still useMiod Vallat
any, I'll suggest you buy a boat so that they can be recycled as boat anchors.
2006-07-09If running on a 68030 or 68040 system, use the transparent translationMiod Vallat
registers to program an 1GB untranslated window over the physical memory, and use it to define __HAVE_PMAP_DIRECT for faster pool operation.
2006-07-09Make this compile on platforms which define __HAVE_PMAP_DIRECT.Miod Vallat
2006-07-09*enty->*ently where applicableMiod Vallat
2006-07-07Unroll DLT_* logic into simple 'look for native disklabel, then tryKenneth R Westerback
DOS MBR' logic. Leave DOS MBR logic inside #if defined(DISKLABEL_I386) blocks until impact on install media can be evaluated. Eliminates most remnants of cross-endian, cross-architecture disklabel processing attempts. Fix some mips64 issues with last commit, found by kettenis@. No functional change.
2006-07-07Get rid of the fixed iomap for device mappings, and allocated va rangesMiod Vallat
off kernel_map whenever necessary.
2006-07-07ANSIfyGordon Willem Klok
ok deraadt@, brad@, toby@
2006-07-06Make sure we alter ddb variables as ints, not longs; only matters on 64 bitMiod Vallat
platforms.
2006-07-06Make dummy $g0 in ddb the right size.Miod Vallat
2006-07-06PMAP_MD_RWLOW kluge is no longer necessary now that mac68k does TRT.Miod Vallat
2006-07-06Insert an empty page at the beginning of the kernel, so that we can map itMiod Vallat
invalid and have NULL pointer dereferences in the kernel fault now.