summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-09-30curproc, curprocpaddr moved into cpu_infoTakuya ASADA
OK miod@
2009-09-28Make video buffer area and BIOS areas unavailable for PCI resource allocation.Mark Kettenis
This should prevent problems on systems where these areas are not reserved in the BIOS memory map. ok miod@, oga@, marco@
2009-09-27adjust comments; eephy isn't just for Intel GigE. From Brad.Stuart Henderson
2009-09-27In pmap_proc_iflush(), do not bother checking for pmap being curpmap on anyMiod Vallat
processor, since caches are physically addressed and we are working on physical addresses.
2009-09-27Add an implementation of IRIX-compatible cacheflush() routine to mips ports,Miod Vallat
needed for gcc -ftrampoline operation as well as by some third-party software. Although the implementation uses the sysarch() sysctl, the wrapper is added to libc as it was a direct system call (which it is on IRIX).
2009-09-27typosMiod Vallat
2009-09-27Print the LOM type (LOMlite/LOMlite2).Mark Kettenis
2009-09-27Add sensor status for fan sensors.Mark Kettenis
2009-09-27Implement queuing of reads and writes. This gets rid of the remaining busyMark Kettenis
waits for LOMlite.
2009-09-25- enable axe/aue to make my life a bit easierJasper Lievisse Adriaanse
ok marex@
2009-09-25Fix the value of one voltage sensor in ev6 environmental machine checks.Miod Vallat
2009-09-24Link alpha kernels with an ld.script to discard unwanted sections; thisMiod Vallat
allows us to no longer need to compile with -finhibit-size-directive, which in turns allows the (future) use of !samegp relocations by as(1). ok kettenis@
2009-09-24Slightly less evil busy wait loop for LOMlite. Small tweak to LOMlite stateMark Kettenis
machine.
2009-09-23Implement reading LOMlite registers using timeouts and a state machine toMark Kettenis
avoid busy waits. Writes are still somewhat problematic, but things work well enough to make lom(4) attach to LOMlite now. Fix typo pointed out by miod@ while I'm there.
2009-09-23Add some more LOMlite bits. We don't attach to LOMlite yet because it isMark Kettenis
very slow and this version of the code busy waits too much.
2009-09-23Attempt mapping as io as well as mmio; necessary to make this work on a V100.Mark Kettenis
2009-09-23Restructure watchdog support such that it will work on both LOMlite andMark Kettenis
LOMlite2.
2009-09-22Add PSU sensor.Mark Kettenis
2009-09-21Explicitly configure the watchdog timer not to reset the machine when weMark Kettenis
attach. If we don't do this, the machine will reset even if the watchdog timer hasn't been explicitly configured if the watchdog timer was previously enabled.
2009-09-21Add support for the built-in watchdog. In the default state the watchdog willMark Kettenis
enable the fault LED after 127 seconds if the kernel stops patting. You'll have to explicitly enable the watchdog to make it reset the machine.
2009-09-20Update the hostname stored in the LOM based on the hostname set in the kernel.Mark Kettenis
2009-09-20Back out via nano temperature sensor changes.Jonathan Gray
They break ramdisks as noticed by jasper, and have not been adequately discussed.
2009-09-20Add fan sensors.Mark Kettenis
2009-09-20Use name provided by the LOM device as description for the temperatureMark Kettenis
sensor.
2009-09-20Sync dummy_cpu layout with current struct cpu_info.Miod Vallat
2009-09-20add support for VIA Nano cpu core temperature sensorKevin Lo
ok deraadt@
2009-09-19Initial stab at a driver for LOMlite2 as found on the Sun Fire V100, Sun FireMark Kettenis
V120 and Sun Netra X1. For now this only provides a temperature sensor, but more stuff will follow.
2009-09-18ldt removal missed some. amd64_{get,set}_ldt gone. also removeMartynas Venckus
ldt_{alloc,free} to shave a few. ok jasper@, oga@
2009-09-18For some dark reason there's a bit on the VLINK device of this chipsetMark Kettenis
that makes the PCIE device show up as a host bridge instead of a PCI-PCI bridge. As a result any devices sitting behind it won't be detected. Whack the device into PCI-PCI mode such that we can walk the PCI bus hierarchy the normal way and detect all devices. Fixes PR 6215. ok dlg@
2009-09-18Fix conversion of symbolic IPL level to hardware PSL value in the mutex code.Miod Vallat
This is a noop on all arches but hp300, where this fixes (at least) IPL_BIO mutexes.
2009-09-18Make sure to always initialize the scsi_xfer timeout with timeout_set() earlyMiod Vallat
in spc_scsi_cmd(), so that it is safe to pass it to timeout_del() anytime (recent scsi changes no longer cause the scsi_xfer timeout to be in an initialized state).
2009-09-17Fail bus_space_map() calls if the flags can't be honoured (such asMiod Vallat
BUS_SPACE_MAP_LINEAR in i/o space, or noncacheable linear TURBOchannel mappings). From NetBSD
2009-09-17Return a dense mapping for BUS_SPACE_MAP_PREFETCHABLE mappings; repairesMiod Vallat
tga on non-bwx machines. Reported and fix tested by kurt@
2009-09-15Make sure we block clock interrupts at IPL_CLOCK and higher.Mark Kettenis
ok miod@
2009-09-15cpu status flag, cpuid added to cpu_info.Takuya ASADA
cpu_info pointer array, cpu_info iterator, cpu_number() implementation added. constraint modifier fixed in lock.h to output correct assembly. calling proc_trampoline_mp in exception.S.
2009-09-14Deal with the fact that we need to control an external PHY attached to TSEC2Mark Kettenis
through the registers of TSEC1. Makes the first ethernet port on the rb600 usable.
2009-09-13Make sure we really have pending interrupts such that we don't do anMark Kettenis
out-of-bounds array access later on. ok drahn@, dms@
2009-09-12Catch up with recent changes to GENERIC.Mark Kettenis
2009-09-12Compensate for the fact the the FDT uses a different offset for the registersMark Kettenis
than the hardcoded ones we used before. Replace a few magic numbers with #defines while I'm there. Based on suggestions from dms@.
2009-09-12Initialize global pointer to interrupt controller softc earlier such that weMark Kettenis
don't crash if we unmask a preconfigured interrupt.
2009-09-12Add DIOCSDINFO support to the three fd drivers. No change to existingKenneth R Westerback
behaviour.
2009-09-11bump versionDariusz Swiderski
suggested by maja@, ok by kettenis@
2009-09-11add 'machine fdt' command that dumps device tree if presentDariusz Swiderski
ok by kettenis@
2009-09-10Remove zssoftpending; it isn't of any use anymore.Mark Kettenis
ok miod@
2009-09-09Use information from the FDT to set up bus tags and extents.Mark Kettenis
2009-09-09Add simple PXA27x matrix keypad controller driverMarek Vasut
2009-09-09Palm: Add support for PXA255 Palm Tungsten|CMarek Vasut
2009-09-09Palm: Add proper license textsMarek Vasut
2009-09-07The bright folks who designed the rb600 seem to have left out an RTC. SoMark Kettenis
don't complain if no TOD clock handle has been registered.
2009-09-07Bring support for booting RB600.Dariusz Swiderski
Imported FDT parsing code, implemented wdc_obio driver to support booting of CF cards. If FDT is available initialize console and wdc_obio accordingly and pass it later to the kernel. Unified the code with Thecus boot code, so that we can use one boot image. The whole boot code is now compiled with -msoft-float. Bump version while there. tested on Thecus by maja@ and kettenis@ tested on RB600 by dlg@ and me ok by kettenis@