summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2010-03-06remove the (now inaccurate) note about not being able to runJason McIntyre
installboot on a mounted partition; from J.C. Roberts
2010-03-03Enable urndis(4) everywhere that has USB enabled to get it tested.Michael Knudsen
Much prodding from deraadt.
2010-03-03Bring back cua code for sparc zs; lost in zs.c 1.36 on sparc and later forgottenMiod Vallat
about, and never implemented in sparc64 but changes are the same. ok deraadt@
2010-02-28Fix off-by-one in LOMlite hostname code.Mark Kettenis
2010-02-27Remove ELF check. It is broken and since the PROM checks the loaded executableMark Kettenis
anyway, it's not worth fixing. Bump version number. ok deraadt@
2010-02-26when we build a vendor label for writing, clear the memory supplied by theTheo de Raadt
buffer cache first, so that all sorts of gibble doesn't end up on the disk. ok kettenis (for the sparc/sparc64 ones, at least)
2010-02-26crank version of the ofwboot, so we can tell which is whichTheo de Raadt
2010-02-26Back out the last commit. Bizzarely, that extra l@ makes boong from CD fail!Theo de Raadt
Why this code, which must be executed, is not failing on disk is an utter mystery. More investigation needed.
2010-02-22- fix a few debug messages: disabled vs enabled mixup, missing \nJacob Meuser
- remove some '//' commented code ok ratchov, kettenis, edd
2010-02-21Make sure we only request our peer to start processing descriptors if itMark Kettenis
isn't currently doing so. Fixes hangs on large data transfers.
2010-02-21Start and stop watchdog timer in the appropriate places, and print a messageMark Kettenis
if it fires.
2010-02-12introduce a uvm_km_valloc_try function that won't get a lower level lockTed Unangst
for use by the uvm pseg code. this is the path of least resistance until we sort out how many of these functions we really need. problem found by mikeb ok kettenis oga
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@
2010-01-02We need an additional level of indirection through 'struct scsibus_attach_args'Mark Kettenis
to find the 'struct scsi_link' associated with a scsibus(4). Interpreting 'struct scsibus_attach_args' as a 'struct scsi_link' happened to mostly work since it had a zero stored in the right place. However, after dlg@'s changes to 'struct scsi_link' that no longer turned out to be true. Makes my blade1k find its root disk again.
2010-01-01Miod must have gotten his fingers stuck between the keys on his keyboard andMark Kettenis
accidentally swapped to lines of code. Swap them back such that this compiles again.
2010-01-01Make sure we grab the kernel lock before invoking trapsignal().Miod Vallat
ok kettenis@
2009-12-31Add vds(4) and vdsp(4), implementing the vDisk server side protocol. ThisMark 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-31Add a few more hypervisor calls.Mark Kettenis
2009-12-26Add support for fragmented messages.Mark Kettenis
2009-12-26Remove unused variable.Mark Kettenis
2009-12-21Add uthum(4) to arches I could test it. ok deraadt@.Matthieu Herrb
2009-12-16- use nitems() inside a descriptive macro nameJasper Lievisse Adriaanse
ok kettenis@
2009-12-15Add vsw(4).Mark Kettenis
2009-12-15fix some buffer sizes.Edd Barrett
put () around all sizeof uses. OK ratchov@
2009-12-14Sanitize the code that resets the state when the LDC channel link stateMark 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-14Fix previous commit. I left out a small fragment and accidentally committedMark Kettenis
a change we're not readdy for yet.
2009-12-14Support for in-band descriptor mode (VIO_DESC_MODE) used by OBP.Mark Kettenis
2009-12-14Make sure interrupts are disabled when we don't have queues configured. ThisMark Kettenis
prevents interrupt storms I'm hitting when running OpenBSD as a control domain.
2009-12-14Add wrapper functions to enable/disable interrupts and manipulate their state.Mark Kettenis
2009-12-12Add missing splbio() protection when sending commands to the vDisk server.Mark Kettenis
2009-12-12Remove debug printf and properly dequeue command instead when a read times outMark Kettenis
on LOMLite2.
2009-12-09Resubmit any pending SCSI commands when we sucessfully (re)connect toMark Kettenis
a vDisk server. This makes OpenBSD running in a guest domain survive a reboot of a control domain or service domain.
2009-12-09Don't try to shove I/O down the LDC if we're disconnected from the virtualMark Kettenis
disk server.
2009-12-08Passing kva + size as the third argument to uvm_km_free() is a bad idea. ItMark Kettenis
unmaps quite a bit more than intended, which causes weird things like watchdog resets.
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