summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2009-12-08Base the revision string in the INQUIRY info on the version of the VIO protocolMark Kettenis
used by the virtual disk server.
2009-12-02no firmware on ramdisks; ok kettenisTheo de Raadt
2009-12-01Fix the mixer interface for the CE4231 sound card found in Sun machines. Still aEdd Barrett
lot of room for improvement in the driver, but atleast it works now. OK kettenis@, ratchov@
2009-11-30Load firmware that is needed for accelerated X on Elite3D boards.Mark Kettenis
The firmware is loaded from /etc/firmware/afb, which will be provided soon.
2009-11-30Add inline function to read %fprs.Mark Kettenis
2009-11-27Move MB_LEN_MAX into the machine-independent sys/limits.h header,Philip Guenthe
rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629). Diff by stsp, committing to catch the libc major bump ok kettenis@, guenther@
2009-11-25Clear any pending interrupts. This should not matter, since we're at splhigh(),Mark Kettenis
but I get the feeling this may be an issue for some of the schizo(4) error interrupts.
2009-11-23Add bnx(4) now that it works.Claudio Jeker
2009-11-15athn works on sparc64Theo de Raadt
2009-11-10Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once theMark Kettenis
machine is up and running.
2009-11-09Fix error message.Mark Kettenis
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-11-04Replace the #ifdef NON_DEBUG and #ifdef NOTDEF_DEBUG mess with more saneJoel Sing
DPRINTF/DNPRINTF() debugging.
2009-10-31Establish a shutdown hook to disable the watchdog timer to prevent watchdogMark Kettenis
triggers after the kernel has been halted.
2009-10-31Make sure we don't insert and entry into the list of pending commends twice.Mark Kettenis
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
2009-10-28LOMlite seems to get wedged from time to time; add some code to unwedge it.Mark Kettenis
2009-10-26Do not do strncmp comparisons on dv_xname because longer device names whichTheo de Raadt
look similar could arrive in the future. Instead, compare directly against dv_cfdata->cf_driver->cd_name Issue originally spotted by miod
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-10-04pull in wbsd conditionally; ok kettenisTheo de Raadt
2009-10-03Glue to attach the SD/MCC reader of the W83L519D found on some TadpoleMark Kettenis
laptops.
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-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-20Add fan sensors.Mark Kettenis
2009-09-20Use name provided by the LOM device as description for the temperatureMark Kettenis
sensor.
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-12Add DIOCSDINFO support to the three fd drivers. No change to existingKenneth R Westerback
behaviour.
2009-09-10Remove zssoftpending; it isn't of any use anymore.Mark Kettenis
ok miod@
2009-09-05Change the wsdisplay_emulops return types from void to int; emulops will nowMiod Vallat
return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero.
2009-09-03Missing header.Joel Sing
2009-09-03The sparc64 boot block currently compares a memory address to the ELF magicJoel Sing
and complains if they do not match. Instead, load the start of the ELF header from memory and complain if this does not match the ELF magic. Tested by kettenis@ ok miod@
2009-09-01Enable SBus ti(4) here as well.Mark Kettenis
2009-09-01Enable SBus ti(4) here as well.Mark Kettenis
2009-08-28OpenBSD/sparc64 can now be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28ofwboot can be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28Use fixed labels rather than generating them using defines. This allowsJoel Sing
the code to be compiled without -traditional-cpp (and is arguably easier to read). ok kettenis@ jsg@
2009-08-22Constify the what/name parameter of pci_intr_establish().Michael Knudsen
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.)
2009-08-17Use ANSI function declarations. No binary change.Joel Sing
ok deraadt@