Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-12 | Add padding to ATTR_INFO message structure; OBP seems to insist on it | Mark Kettenis | |
being there. | |||
2009-05-12 | Add some code for doing handshakes the other way around. | Mark Kettenis | |
2009-05-12 | Make reserved member of protocol struct start with underscore. | Mark Kettenis | |
2009-05-10 | Remove a dead variable and some unneeded returns. | Mark Kettenis | |
2009-05-10 | Handle devices with multiple ports. | Mark Kettenis | |
2009-05-10 | Add vcc(4) and vcctty(4). The vcc(4) driver is a driver for the "Virtual | Mark 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-04 | type 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-03 | On the UltraBook the PROM privides two interrupts for its ccb(4)'s. Handle | Mark Kettenis | |
this case by choosing the interrupt that corresponds to the PCI function. Makes the second PCMCIA slot work. | |||
2009-05-03 | Avoid clobbering error return values with the result from extent_free(), by | Mark 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-02 | Avoid clobbering error return values with the result from extent_free(), by | Mark Kettenis | |
simply calling iommu_dvma_unload(). Solution suggested by oga@. | |||
2009-04-14 | Convert 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-12 | Move code handling Machine Descriptions out of the cbus(4) driver. | Mark Kettenis | |
2009-04-05 | In 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-04 | Cleanup debug printfs. | Mark Kettenis | |
2009-03-29 | bzero pci attach args | Mark Kettenis | |
ok deraadt@, miod@ | |||
2009-03-29 | make various strings ("can't map mem space" and similar) more consistent | Stuart 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-16 | Trivial 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-16 | pmap = (conditional ? user_way : pmap = pmap_kernel()); | Owain Ainsworth | |
doesn't need the second pmap =. "ok if you tested it" kettenis@ | |||
2009-03-12 | Define a proper wsdisplay type for raptor(4). | Mark Kettenis | |
ok miod@ | |||
2009-03-09 | Initial stab at a driver for FFB3/XVR-1000. It seems to work fine, but without | Mark Kettenis | |
acceleration it is a tad bit slow, so leave this disabled for now. | |||
2009-03-01 | Replace a few magic constants with proper #defines as pointed out by miod@. | Mark Kettenis | |
2009-03-01 | Finish colormap support; makes Xorg wsfb driver work. | Mark Kettenis | |
2009-03-01 | Some initial colormap support. | Mark Kettenis | |
2009-03-01 | An accelerated framebuffer driver for the Tech Source Raptor GFX cards built | Mark Kettenis | |
around the Number 0 Imagine-128 chip. Colormap support is still missing. | |||
2009-03-01 | Don't let an mmio area replace the frame buffer if they are the same size. | Mark Kettenis | |
Seen on a Tech Source Raptor. ok miod@ | |||
2009-02-20 | Tweak debug printf. | Mark Kettenis | |
2009-02-20 | Make sure we have enough space in the LDC transmit queue to send a DRING_DATA | Mark Kettenis | |
message and bail out early instead of dropping packets to be transmitted. | |||
2009-02-16 | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | Miod Vallat | |
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||
2009-01-21 | Extend the acceleration code to handle jfb (XVR-600, XVR-1200) models, the | Miod Vallat | |
software only code is kept in case we can't reliably figure out what kind of device we are facing. Tested on XVR-1200 by Mattieu Baptiste, and on Expert3D-Lite by me. | |||
2009-01-19 | The acceleration code would not work on XVR-600 and XVR-1200, so if it turns | Miod Vallat | |
out it doesn't work, fall back to dumb software routines until we know better. Also, do not attach to the second head of the XVR-1200 yet, the second node lacks basic frame buffer properties. Tested by Mattieu Baptiste, thanks! | |||
2009-01-19 | Clear RI_CLEARMARGINS in the ri_bits == NULL ifb(4) kluge, the new window | Miod Vallat | |
position code may set it. | |||
2009-01-17 | If the hypervisor call that fetches randomness returns EWOULDBLOCK, | Mark Kettenis | |
reschedule the timeout again instead of complaining. | |||
2009-01-17 | Clean things up a bit, and be a bit more fussy about the proper sequence in | Mark Kettenis | |
which we should receive messages from our peer. | |||
2009-01-17 | Return NO_CCB if we run out of descriptors. | Mark Kettenis | |
Suggested by krw@ | |||
2009-01-17 | Sync vio_sendmsg() with equivalent code in vdsk(4). | Mark Kettenis | |
2009-01-17 | Make this work in guest domains. | Mark Kettenis | |
2009-01-17 | Implement SYNCHRONIZE CACHE and make SCSI_POLL work while we're there. | Mark Kettenis | |
2009-01-16 | Set the number of openings to the number of ring descriptors minus one. For | Mark Kettenis | |
some reason, setting it to the number of descriptors causes ring overruns. | |||
2009-01-16 | Make transfers bigger than PAGE_SIZE work. | Mark Kettenis | |
2009-01-16 | Remove bogus KASSERT. | Mark Kettenis | |
2009-01-16 | Call start callback unconditionally. | Mark Kettenis | |
2009-01-16 | Improve VIO state machine, and initiate VIO handshake ourselves. Makes this | Mark Kettenis | |
work with newer versions of Solaris. | |||
2009-01-14 | Be sure to allocate memory with M_ZERO in sbus_alloc_dma_tag(), or strange | Miod Vallat | |
things happen. ok kettenis@ | |||
2009-01-12 | A storage driver should be DV_DULL, not DV_IFNET. Pointed out by dlg@. | Mark Kettenis | |
2009-01-12 | Look up the "compatible" property of the right node to detect serial | Mark Kettenis | |
interfaces on the m4k/m5k/m8k/m9k. | |||
2009-01-12 | Oops, sunkbd_decode() still needs to be public for *cngetc() to work; | Miod Vallat | |
spotted the hard way by kettenis. | |||
2009-01-12 | Initial stab at a driver for virtual disks found on sun4v logical domains. | Mark Kettenis | |
Still needs some work, but reading from and writing to a disk image works. | |||
2009-01-12 | Add padding to some message structs since the Solaris virtual disk servers | Mark Kettenis | |
seems to want it. Also add 'struct vio_rdx' to make sure we use the proper padding there too. | |||
2009-01-12 | Add a callback function that gets called when an LDC connection is established. | Mark Kettenis | |
2009-01-12 | As recommended by the Sun Virtual IO specification, use tick() to generate | Mark Kettenis | |
session ID instead of arc4random(). |