summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
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-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-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-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-13Replace the error strings that were being passed around with much simplerTheo de Raadt
errnos. Note that the error strings are being ignored, since we long ago decided to not spam the console, and there is no other nice way to use the errors (without changing the ioctls to pass it back) The errno is now useful, since we can pass b_error from failing IO up, and the drive can decide how to use that ok miod
2009-08-09if extent_alloc() fails, we don't clear the iomap properly beforeOwain Ainsworth
returning an error. so next time we mess around, we may get annoying printfs. Fix this. ok kettenis@
2009-08-09MCLGETI() will now allocate a mbuf header if it is not provided, thusTheo de Raadt
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien
2009-07-24timeout_add -> timeout_add_msecBret Lambert
ok kettenis@
2009-07-20Pass a pci_chipset_tag_t to pci_intr_line(), to eventually allow theMiod Vallat
logic to be chipset dependent; no functional change yet. ok kettenis@
2009-07-16Clean up after X.Mark Kettenis
help & ok miod@
2009-07-05radeonfb(4), an accelerated framebuffer for Sun XVR-100 boards (which have anMark Kettenis
ATI Radeon 7000 chip on them). While there, make gfxp(4) depend on rasops32 just in case somebody removes other framebuffers that pull this in from their kernel config. ok deraadt@, miod@
2009-06-28Add colormap support for 8bpp mode.Mark Kettenis
2009-06-28Make this work in 8bpp mode too. Color support is still missing; probablyMark Kettenis
needs palette support.
2009-06-27Stricter checks when deciding which acceleration code to use. Instead ofMiod Vallat
matching on pci id, and if no match is found, on pci subsystem id, match on openfirmware device names (which amounts to a pci id AND subsystem id exact match). This makes XVR-500 cards (``bobcat'') run without acceleration. Which is better than trying to use ``jfb'' acceleration and fail. ok kettenis@
2009-06-17remove extra debugging printf(). ok miod@Matthieu Herrb
2009-06-05Save some more state such that we recover from X changing depth on us.Mark Kettenis
2009-06-05Clear screen to clean up after X.Mark Kettenis
2009-06-05Remove redundant assignment.Mark Kettenis
2009-06-05Clear screen to clean up after X.Mark Kettenis
2009-06-05Disable and clear hardware cursor to clean up after X.Mark Kettenis
2009-06-05Save some state and restore it after we return from X, because the acceleratedMark Kettenis
X driver for this chip doesn't know how to clean up after itself.
2009-06-04Accelerated fills as well.Mark Kettenis
2009-06-03Accelerated scrolling.Mark Kettenis
2009-06-03Initial stab at a driver for the Tech Source Raptor GFX built around theMark Kettenis
3D Labs Permedia 2v chip. These cards were sold by Sun as PGX32.
2009-06-03Fix check for window-top and window-left values.Mark Kettenis
ok miod@
2009-06-03Remove some redundant code.Mark Kettenis