Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
some simple glue to attach each port as a network interface.
|
|
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@
|
|
|
|
|
|
miss the initial handshake from OBP.
|
|
|
|
being there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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).
|
|
interfaces.
|
|
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@
|
|
this case by choosing the interrupt that corresponds to the PCI function.
Makes the second PCMCIA slot work.
|
|
simply calling iommu_dvma_unload(). Solution suggested by oga@.
While there, also unwrap a line that isn't long enough to need wrapping.
|
|
simply calling iommu_dvma_unload(). Solution suggested by oga@.
|
|
file register corruption as found out the hard way by art@.
|
|
|
|
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.
|
|
using this soon(ish). Ok oga@, sorta yes kettenis@.
|
|
Saves every damned driver calling bzero(), and continues the M_ZERO,
PR_ZERO symmetry.
|
|
in sysctl hw.ncpufound; ok miod kettenis
|
|
|
|
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@
|
|
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.
|
|
(virtual) machines.
|
|
|
|
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@
|
|
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@.
|
|
t5120 and similar systems boot from our install CD-ROM.
|
|
|
|
|
|
ok deraadt@, miod@
|
|
|
|
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
|
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@
|
|
faults on machines where we map nvram write-only (through the clock chip).
|
|
As a small bonus this now actually zeroes the whole struct, not just the
non-varying sized part.
|
|
doesn't need the second pmap =. "ok if you tested it" kettenis@
|
|
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.
|
|
ok miod@
|
|
acceleration it is a tad bit slow, so leave this disabled for now.
|
|
try to be smart for the address range, uvm_pglistalloc() is smart enough
nowadays.
|
|
NetBSD.
ok kurt@, drahn@, miod@
|