Age | Commit message (Collapse) | Author |
|
|
|
the first cpu on dual-cpu boards; this will be fixed later. Just don't
disable it at the prom.
|
|
a complete physical address. Also add proper cpu pa<->device pa for dma
on Origin 200.
This lets xbridge work and route interrupts correctly on Origin 200.
|
|
|
|
Otherwise we get stuck interrupted by the ``tx empty'' condition.
Also, on Origin 200 the second interrupt vector has to be computed
differently, which adds to the ``I wish I never had looked at this code''
trauma.
|
|
for it.
It is very unlikely this still compiles, the hardware is dead. It isn't in any
arch's config file. the sparc sbus code is even commented out in files.sparc.
Not to mention that the code is fucking appauling, doesn't even know that sparc
got bus.h ages ago, still uses vtophys(), defines all types of functions to
arch-specific hacks.
I will miss the bitchy comments, though...
As a note to other drivers: this is the fate that awaits you if you screw up my
ctags on commonly used functions.
"you have my ok" claudio@, "zap zap zap" deraadt@
If i've missed any bits, please remove them.
|
|
when we setmapsize it's not zero.
*sigh*
|
|
zero so that we return an empty map on error.
|
|
I just spent five hours looking in the wrong place because of this.
|
|
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@
|
|
ok reyk@
|
|
bus address space. Fixes a problem reported by david@.
|
|
some years ago for KL enumeration, building on the existing XBow support
to limit ourselves to a single node for now.
This is a work-in-progress; it currently lacks complete interrupt code,
as well as PCI resource management. And there are likely bugs creeping
inside.
|
|
of the Ethernet address.
|
|
|
|
|
|
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.
|
|
SuperIO part, the Ethernet part needs a whole driver); kernel now boot
single user (or bsd.rd). Joint work with jsing@
|
|
hog the bus, and also to fake a valid interrupt register. The IOC3 device
is not a PCI device at all, but pretends to be one. Except its own
registers overlap the PCI configuration space, and some flavours do not
support disabling memory space in the control register, violating the PCI
specs. Fun.
|
|
|
|
them manually.
|
|
|
|
|
|
|
|
based on the BIOS memory map.
|
|
processors, so the registers to configure addition HyperTransport links
are absent. Don't try attaching addition pci busses on these processors
to avoid probing non-existant registers.
|
|
with so-called ``external memory fault'' which cause I can't figure out.
|
|
|
|
driver handlers get invoked at the right level. Parts from NetBSD.
|
|
kept in a separate intrhand array, with their own enable bits so that
soft interrupts sharing the same level only get invoked if really triggered.
Inspired by NetBSD with significant changes.
ok kettenis@
|
|
addresses against PAGE0 information, instead than only the BAR mapping
sti region #0; on Visualize FXe, PAGE0 will point to another BAR and we would
not recognize the display as the console device.
Tested on Visualize FX4 (on C240), Visualize EG (on B1000) and Visualize FXe
(on B2000).
|
|
|
|
dmamap rather than all the bytes that are described by the sg list we're
mapping.
tested on iwn by me and beck@
|
|
the bug in it. bugfix will be committed next.
make bus_dmamap_load_raw respect the constraints of the dmamap we're
loading the raw memory into, particularly the segment size constraint.
|
|
IPL_SOFTSERIAL to IPL_SOFTTTY.
tested by oga@
ok miod@
|
|
ok oga
|
|
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@
|
|
now that it has been removed. uncommenting that would not even have
been the correct way to enable it.
ok miod@
|
|
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.
|
|
SiS chipset that we'll never see on and amd64 machine.
ok oga@
|
|
|
|
loading the raw memory into.
similair to the change made to src/sys/arch/amd64/amd6/bus_dma.c 1.18
|
|
loading the raw memory into, particularly the segment size constraint.
written in june/july last year, but my studies held me back from handling
it.
|
|
|
|
|
|
|
|
|
|
- remove dead (#if 0) code
- move switch_error panics to after cpu_switchto to make branch prediction
happier and the code more readable.
no functional change
|