Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-31 | Add vds(4) and vdsp(4), implementing the vDisk server side protocol. This | Mark Kettenis | |
makes it possible to run an OpenBSD guest domain on top of a virtiual disk backed by a disk image on a filesystem on OpenBSD control or service domain. Probably doesn't support running Solaris or Linux yet. Haven't tried those yet because booting their installers in a guest domain is way too painful! | |||
2009-12-26 | Add support for fragmented messages. | Mark Kettenis | |
2009-12-26 | Remove unused variable. | Mark Kettenis | |
2009-12-16 | - use nitems() inside a descriptive macro name | Jasper Lievisse Adriaanse | |
ok kettenis@ | |||
2009-12-15 | fix some buffer sizes. | Edd Barrett | |
put () around all sizeof uses. OK ratchov@ | |||
2009-12-14 | Sanitize the code that resets the state when the LDC channel link state | Mark Kettenis | |
changes. Don't initiate the handshake when the LDC channel link state comes up, to avoid a race where both sides initiate the handshake simultaniously, which leads to a guaranteed failure. Instead rely on the handshake done as a result of ifconfig up on the interface to succeed. Some retry logic may be needed there... This makes it possible to run OpenBSD (diskless) in a guest domain on a machine running OpenBSD in its control domain. | |||
2009-12-14 | Fix previous commit. I left out a small fragment and accidentally committed | Mark Kettenis | |
a change we're not readdy for yet. | |||
2009-12-14 | Support for in-band descriptor mode (VIO_DESC_MODE) used by OBP. | Mark Kettenis | |
2009-12-14 | Make sure interrupts are disabled when we don't have queues configured. This | Mark Kettenis | |
prevents interrupt storms I'm hitting when running OpenBSD as a control domain. | |||
2009-12-14 | Add wrapper functions to enable/disable interrupts and manipulate their state. | Mark Kettenis | |
2009-12-12 | Add missing splbio() protection when sending commands to the vDisk server. | Mark Kettenis | |
2009-12-12 | Remove debug printf and properly dequeue command instead when a read times out | Mark Kettenis | |
on LOMLite2. | |||
2009-12-09 | Resubmit any pending SCSI commands when we sucessfully (re)connect to | Mark Kettenis | |
a vDisk server. This makes OpenBSD running in a guest domain survive a reboot of a control domain or service domain. | |||
2009-12-09 | Don't try to shove I/O down the LDC if we're disconnected from the virtual | Mark Kettenis | |
disk server. | |||
2009-12-08 | Base the revision string in the INQUIRY info on the version of the VIO protocol | Mark Kettenis | |
used by the virtual disk server. | |||
2009-12-02 | no firmware on ramdisks; ok kettenis | Theo de Raadt | |
2009-12-01 | Fix the mixer interface for the CE4231 sound card found in Sun machines. Still a | Edd Barrett | |
lot of room for improvement in the driver, but atleast it works now. OK kettenis@, ratchov@ | |||
2009-11-30 | Load 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-10 | Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once the | Mark Kettenis | |
machine is up and running. | |||
2009-11-09 | Fix error message. | Mark Kettenis | |
2009-11-09 | Every selwakeup() should have a matching KNOTE() (even if kqueue isn't | Nicholas 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-31 | Establish a shutdown hook to disable the watchdog timer to prevent watchdog | Mark Kettenis | |
triggers after the kernel has been halted. | |||
2009-10-31 | Make sure we don't insert and entry into the list of pending commends twice. | Mark Kettenis | |
2009-10-31 | Use suser when possible. Suggested by miod@. | Federico G. Schwindt | |
miod@ deraadt@ ok. | |||
2009-10-31 | Add 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-28 | LOMlite seems to get wedged from time to time; add some code to unwedge it. | Mark Kettenis | |
2009-10-03 | Glue to attach the SD/MCC reader of the W83L519D found on some Tadpole | Mark Kettenis | |
laptops. | |||
2009-09-27 | Print the LOM type (LOMlite/LOMlite2). | Mark Kettenis | |
2009-09-27 | Add sensor status for fan sensors. | Mark Kettenis | |
2009-09-27 | Implement queuing of reads and writes. This gets rid of the remaining busy | Mark Kettenis | |
waits for LOMlite. | |||
2009-09-24 | Slightly less evil busy wait loop for LOMlite. Small tweak to LOMlite state | Mark Kettenis | |
machine. | |||
2009-09-23 | Implement reading LOMlite registers using timeouts and a state machine to | Mark 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-23 | Add some more LOMlite bits. We don't attach to LOMlite yet because it is | Mark Kettenis | |
very slow and this version of the code busy waits too much. | |||
2009-09-23 | Attempt mapping as io as well as mmio; necessary to make this work on a V100. | Mark Kettenis | |
2009-09-23 | Restructure watchdog support such that it will work on both LOMlite and | Mark Kettenis | |
LOMlite2. | |||
2009-09-22 | Add PSU sensor. | Mark Kettenis | |
2009-09-21 | Explicitly configure the watchdog timer not to reset the machine when we | Mark 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-21 | Add support for the built-in watchdog. In the default state the watchdog will | Mark 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-20 | Update the hostname stored in the LOM based on the hostname set in the kernel. | Mark Kettenis | |
2009-09-20 | Add fan sensors. | Mark Kettenis | |
2009-09-20 | Use name provided by the LOM device as description for the temperature | Mark Kettenis | |
sensor. | |||
2009-09-19 | Initial stab at a driver for LOMlite2 as found on the Sun Fire V100, Sun Fire | Mark Kettenis | |
V120 and Sun Netra X1. For now this only provides a temperature sensor, but more stuff will follow. | |||
2009-09-12 | Add DIOCSDINFO support to the three fd drivers. No change to existing | Kenneth R Westerback | |
behaviour. | |||
2009-09-10 | Remove zssoftpending; it isn't of any use anymore. | Mark Kettenis | |
ok miod@ | |||
2009-09-05 | Change the wsdisplay_emulops return types from void to int; emulops will now | Miod 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-22 | Constify 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-13 | Replace the error strings that were being passed around with much simpler | Theo 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-09 | if extent_alloc() fails, we don't clear the iomap properly before | Owain Ainsworth | |
returning an error. so next time we mess around, we may get annoying printfs. Fix this. ok kettenis@ | |||
2009-08-09 | MCLGETI() will now allocate a mbuf header if it is not provided, thus | Theo de Raadt | |
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien | |||
2009-07-24 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok kettenis@ |