Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-13 | Set D_VENDOR when spoofing a label on archs that use D_VENDOR when | Kenneth R Westerback | |
reading the native disklabel. This ensures cylinder alignment. Fix disklabel to do cylinder alignment arithmetic correctly in -A mode. Worked by accident before, since the code was protected by D_VENDOR, which wasn't being set. ok deraadt@ | |||
2009-05-12 | Add missing semicolon. | Mark Kettenis | |
2009-05-12 | Unbreak build. | Mark Kettenis | |
2009-05-12 | Don't throw away ldc packets if the ldc link went just up, otherwise we may | Mark Kettenis | |
miss the initial handshake from OBP. | |||
2009-05-12 | Actually ACK a handshake initiated by the other end. | Mark Kettenis | |
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 | Enable vcc(4) and vcctty(4). | 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 | Rename mdesc_get_prop_string into mdesc_get_prop_str. | Mark Kettenis | |
2009-05-10 | Add vcctty(4). | 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-10 | Add defines for magic character constants used by hypervisor console | Mark Kettenis | |
interfaces. | |||
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-30 | Work around UltraSPARC T1 "feature" that may cause random integer register | Mark Kettenis | |
file register corruption as found out the hard way by art@. | |||
2009-04-28 | put vlan support onto these media | Theo de Raadt | |
2009-04-27 | Revert mtx_enter_try. It didn't compile on hppa, it doesn't compile on | Mark Kettenis | |
landisk, and the sparc implementation is obviously wrong. That's where I stopped looking, so who knows what else was broken. A simple comparison of the existing mtx_enter with the new mtx_enter_try would have told anybody. | |||
2009-04-25 | Enter mtx_enter_try. In part for completeness, things may start | Tobias Weingartner | |
using this soon(ish). Ok oga@, sorta yes kettenis@. | |||
2009-04-20 | Add a BUS_DMA_ZERO flag for bus_dmamem_alloc() to return zeroed memory. | Owain Ainsworth | |
Saves every damned driver calling bzero(), and continues the M_ZERO, PR_ZERO symmetry. | |||
2009-04-19 | Count number of cpus found (potentially not attached) and store that | Theo de Raadt | |
in sysctl hw.ncpufound; ok miod kettenis | |||
2009-04-17 | Catch up with uvm_pglistalloc() interface change. | Mark Kettenis | |
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-13 | Explicitly test whether the SUNW,start-cpu-by-cpuid interface is available | Mark Kettenis | |
instead of assuming it is. Makes sure we actually spin up the secondary CPUs on Serengeti machines with certain firmware revisions. Tested by Christophe Latt. | |||
2009-04-12 | Implement /dev/mdesc, a device to read the machine description on sun4v | Mark Kettenis | |
(virtual) machines. | |||
2009-04-12 | Move code handling Machine Descriptions out of the cbus(4) driver. | Mark Kettenis | |
2009-04-07 | Eliminate useless loop over partitions and ignore zero length | Kenneth R Westerback | |
partitions in bsd_to_sun(), even if their offsets are nonsense. Theo says if sparc64 compiles so will sparc. Fixes some useless disklabel warning messages. ok miod@ deraadt@ | |||
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 | Bump the size of the array that we use to store bootpath components. Makes the | Mark Kettenis | |
t5120 and similar systems boot from our install CD-ROM. | |||
2009-04-04 | Cleanup debug printfs. | Mark Kettenis | |
2009-04-04 | Cleanup debug printf. | Mark Kettenis | |
2009-03-29 | bzero pci attach args | Mark Kettenis | |
ok deraadt@, miod@ | |||
2009-03-29 | Enable ahc(4). | Mark Kettenis | |
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-26 | Remove cpu_wait(). It's original use was to be called from the reaper so | Owain Ainsworth | |
MD code would free resources that couldn't be freed until we were no longer running in that processor. However, it's is unused on all architectures since mikeb@'s tss changes on x86 earlier in the year. ok miod@ | |||
2009-03-21 | Make nvram writable (if necessary) before calling OF_setprop(). Prevents | Mark Kettenis | |
faults on machines where we map nvram write-only (through the clock chip). | |||
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-15 | Introduce splsoftassert(), similar to splassert() but for soft interrupt | Miod Vallat | |
levels. This will allow for platforms where soft interrupt levels do not map to real hardware interrupt levels to have soft ipl values overlapping hard ipl values without breaking spl asserts. | |||
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-07 | When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do not | Miod Vallat | |
try to be smart for the address range, uvm_pglistalloc() is smart enough nowadays. | |||
2009-03-05 | Make ELF platforms generate ELF core dumps. Somewhat based on code from | Mark Kettenis | |
NetBSD. ok kurt@, drahn@, miod@ | |||
2009-03-01 | Replace a few magic constants with proper #defines as pointed out by miod@. | Mark Kettenis | |
2009-03-01 | Enable raptor(4) here too. Pointed out by deraadt@ and miod@. | Mark Kettenis | |
2009-03-01 | Enable raptor(4). | Mark Kettenis | |