summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2009-08-13repair vscsi lineTheo de Raadt
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-13wire vscsi up to a cdevDavid Gwynne
for claudio@ ok deraadt@
2009-08-13A new(er) mtx_enter_try().Tobias Weingartner
Ok oga@, "the time is now" deraadt@.
2009-08-11Do not bother initializing bufpages in the md code if the computation isMiod Vallat
exactly the same the mi could will use if bufinit() is invoked with bufpages == 0.
2009-08-11With the SysV memory allocation changes, allocsys() doesn't do anythingMiod Vallat
anymore. Get rid of it completely.
2009-08-09Introduce option DDB_STRUCT. Kernels compiled with this option (except onMiod Vallat
a few arches where toolchain limitations apply) will embed some symbolic information about the various structs used within the kernel, and have new ddb commands allowing struct display and some useful information gathering. Kernel rodata increase varies accross platforms from ~150KB to ~300KB. This option is not enabled by default.
2009-08-09No need to clean genassym{.,o} during `make clean', genassym.sh does thisMiod Vallat
for us.
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-08-09Rototill system V message queues.Bret Lambert
No longer allocate a static amount of memory for messages in MD boot path; message queues, message metadata, and message data now all use dynamic memory, which means that runtime sysctls should now be trivial to implement. Since I'm going to be around all week to fix any breakage, this should probably just go in now.
2009-07-24timeout_add -> timeout_add_msecBret Lambert
ok kettenis@
2009-07-21Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t insteadMiod Vallat
of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended.
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-12Enable gem@sbus.Mark Kettenis
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-24enable softraidTodd T. Fries
test built and booted by me ok marco@, deraadt@
2009-06-24for the isp(4) driver, invert the meaning of the options which pullTheo de Raadt
firmwares into the smaller (and larger) media ok krw
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-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
bounds information, ie. the zone of the disk that OpenBSD can use. Have each pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out this area and pass it up to userland. Then, delete all the same disk parsing code from disklabel(8) since the kernel passes it up. Lots and lots of - signs in the disklabel(8) code. Tested on as many platforms as possible, the fallout will be repaired as time goes on. To test, use disklabel -d <drive> and validate that the bounds do not overlap any boot blocks. This same information is used by disklabel -A... OK for the concept from krw, miod, and drahn
2009-06-04Enable gfxp(4).Mark Kettenis
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-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-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-06-03Remove some redundant code.Mark Kettenis
2009-06-02When about to run X11 in 32 bpp mode, advertize correctly that we areMark Kettenis
really using 24 bpp pixels on 32 bit boundaries. ok miod@
2009-06-02Enable machfb(4) and raptor(4) here too.Mark Kettenis
2009-06-02Define a proper wsdisplay type for machfb(4).Mark Kettenis
requested by miod@
2009-06-02Make machfb_putcmap() respect the starting index in the colormap.Mark Kettenis
2009-06-02Enable machfb(4).Mark Kettenis
2009-06-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
2009-06-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
2009-06-01Enable zyd in more places now we know it is endian safe.Jonathan Gray
2009-05-31Add Naturetech as a possible hardware vendor.Mark Kettenis
2009-05-21The only value that d_npartitions should have is MAXPARTITIONS.Kenneth R Westerback
2009-05-20Add code to attach sun mice on sparc and sparc64 as wsmouse devices. SinceMiod Vallat
not all Sun mice run at the canonical 1200 bps, hop between 1200, 4800 and 9600 bps by paying attention to breaks on the line. Attachement and engine code written 7 years ago for OpenBSD/sparc, except for sparc64 com(4) attachment. Speed hop idea borrowed from Opensolaris. This allows sparc and sparc64 users to run X11 without needing a configuration file anymore, as it was in the XFree86 3.x days. Multihead configurations will still need a minimal configuration file, though.
2009-05-16Add vsw(4), a driver for the virtual network switch on sun4v. This is justMark Kettenis
some simple glue to attach each port as a network interface.