summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
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
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-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-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
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.
2009-05-12Add missing semicolon.Mark Kettenis
2009-05-12Unbreak build.Mark Kettenis
2009-05-12Don't throw away ldc packets if the ldc link went just up, otherwise we mayMark Kettenis
miss the initial handshake from OBP.
2009-05-12Actually ACK a handshake initiated by the other end.Mark Kettenis
2009-05-12Add padding to ATTR_INFO message structure; OBP seems to insist on itMark Kettenis
being there.
2009-05-12Add some code for doing handshakes the other way around.Mark Kettenis
2009-05-12Make reserved member of protocol struct start with underscore.Mark Kettenis
2009-05-10Remove a dead variable and some unneeded returns.Mark Kettenis
2009-05-10Handle devices with multiple ports.Mark Kettenis
2009-05-10Add vcc(4) and vcctty(4). The vcc(4) driver is a driver for the "VirtualMark Kettenis
Console Concentrator" found on the control domain of sun4v systems. It manages the connections to the consoles of guest domains which are exposed as terminal-like devices through vcctty(4).
2009-05-04type pedantry.Owain Ainsworth
the type we bind to an iommu or a GART is paddr_t, by definition, on the other hand, the type we get out of it is not a vaddr_t, it's bus_addr_t. fix up sparc64 iommu, amd64 iommu and the sg_dma backedn that uses it to realise this. ok kettenis@
2009-05-03On the UltraBook the PROM privides two interrupts for its ccb(4)'s. HandleMark Kettenis
this case by choosing the interrupt that corresponds to the PCI function. Makes the second PCMCIA slot work.
2009-05-03Avoid clobbering error return values with the result from extent_free(), byMark Kettenis
simply calling iommu_dvma_unload(). Solution suggested by oga@. While there, also unwrap a line that isn't long enough to need wrapping.
2009-05-02Avoid clobbering error return values with the result from extent_free(), byMark Kettenis
simply calling iommu_dvma_unload(). Solution suggested by oga@.
2009-04-14Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.Owain Ainsworth
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
2009-04-12Move code handling Machine Descriptions out of the cbus(4) driver.Mark Kettenis
2009-04-05In the rare case where after we've loaded the iomap into the hardware,Owain Ainsworth
if we fail while assembling the dmamap due to the memory not fitting into our constraints we'll return from the function with the iomap still loaded, and more importantly with memory still allocated from the extent(9). So in such a case, make sure we clean up after outselves. In order to make this cleaner, remove an impossible condition check (kettenis and myself are satisfied that it will never happen), and make iomap_load_map void (it can't fail), so that we can only fail after both the extent is allocated and the iomap is loaded, and not inbetween the two. I tested iommu, kettenis tested viommu. ok kettenis@.
2009-04-04Cleanup debug printfs.Mark Kettenis
2009-03-29bzero pci attach argsMark Kettenis
ok deraadt@, miod@
2009-03-29make various strings ("can't map mem space" and similar) more consistentStuart Henderson
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
2009-03-16Trivial malloc + memset -> malloc(,,M_ZERO) conversion.Owain Ainsworth
As a small bonus this now actually zeroes the whole struct, not just the non-varying sized part.
2009-03-16pmap = (conditional ? user_way : pmap = pmap_kernel());Owain Ainsworth
doesn't need the second pmap =. "ok if you tested it" kettenis@
2009-03-12Define a proper wsdisplay type for raptor(4).Mark Kettenis
ok miod@
2009-03-09Initial stab at a driver for FFB3/XVR-1000. It seems to work fine, but withoutMark Kettenis
acceleration it is a tad bit slow, so leave this disabled for now.
2009-03-01Replace a few magic constants with proper #defines as pointed out by miod@.Mark Kettenis
2009-03-01Finish colormap support; makes Xorg wsfb driver work.Mark Kettenis
2009-03-01Some initial colormap support.Mark Kettenis