Age | Commit message (Collapse) | Author |
|
attachment routines for sparc and sparc64.
|
|
Tested by jason@ and I.
|
|
block device...) if it advertizes one.
ok deraadt@
|
|
pointers, and adapt creator to the fb api.
ok jason@
|
|
|
|
tested by matthieu@, krw@ and I on various hardware.
|
|
and eventually share some drivers.
This also brings us screen unblanking upon entering ddb, which can be really
useful at times...
|
|
another. The bus_space code is perfectly capable of finding
the parent handler itself.
"heck" deraadt@
|
|
when extracting the minimal diff for the previous iommu change.
ok jason@
|
|
call the real implementation functions directly instead of duplicating
lots of code that only calls the real stuff anyway.
tested by miod@ henning@
ok jason@
|
|
results. Use the MIN/MAX macros instead.
tested by miod@
ok jason@ millert@
|
|
could lead to nasty races between PIO and DMA.
tested by krw@
ok jason@
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
registers and mapping strange INRs is not a good idea.
ok jason@
|
|
happy for all psycho based boxes.
tested by beck@
ok jason@
|
|
is invoked.
|
|
|
|
especially for NIC drivers that aren't careful about handling load
failures.
Bug reported and diff tested by Holger Burde.
ok jason@.
|
|
|
|
trying to use the interrupt pin (or is it that the PCI
function?) as the interrupt vector, this computes the vector
from the PCI bus, slot, and pin. This will only change mappings
on psycho-based machines (*not* sabre, i.e., IIi/e) and only for
those vectors reported as nonsense INRs (INO 0-3).
This should fix the mapping of non-bridge expansion cards on U60
and E450, and other psycho boxen. U30 seems to do its own
thing.
|
|
cause the serial console to hang.
ok jason@
|
|
|
|
|
|
|
|
unhappy.
|
|
|
|
and tweaking appropriately)
- add support for VADDR->PADDR mappings expected by the X server
- fix attachment error handling (it depended on bus_space_vaddr() working
for non-linear mappings).
|
|
|
|
ok deraadt
|
|
try to use short cuts, and would not correctly initialize its channel if a
keyboard is connected to it, which might have been done on purpose.
It would then become impossible to run X11 on this machine afterwards.
Fix this by being more cautious during the probe, at the extent of a couple
of seconds if no keyboard is present.
Tested by various, ok deraadt@
|
|
on faster systems under heavy network load. This replaces some of the
unreadable iommu functions with something a little less dense and a lot
less crash prone.
The bus_dma function pointer/cookie handling was broken. Change them
to work like the stacked bus_space drivers (where "work" is the key
word).
Tested my many (thanks).
ok jason@ deraadt@
|
|
PCI configuration space is actually one "0" larger. Noticed on an
E450 with all 10 PCI slots populated.
ok jason@
|
|
pointed out by henric
|
|
when attaching the pcibus... Still working on it =)
|
|
|
|
- fix debugging code so it doesn't generate crashes itself
|
|
Reduce the size of a GENERIC kernel by ~190k
Remove the nasty pointer/bus_space_handle_t casts
Adds debug bus_space code including the ability to trace
bus operations (it actually works now).
The following rules are now followed (and verfified by the debug
code):
1. A "bus_space_handle_t" may only be used with the
"bus_space_tag_t" that created it.
2. Only "bus_space_map()" may create "bus_space_handle_t"s.
3. A "bus_space_handle_t" may not be modified after it has
been created (other than being destroyed by "bus_space_unmap()").
Thanks to help from mcbride, marc, jason, drahn, to anyone that might
have slipped my mind at the moment.
ok jason@, deraadt@
|
|
|
|
|
|
store function pointers in the pci_chipset_tag_t (ie. fix an ugly hack
I did during the hackathon last year).
|
|
from incorrect values, and restore it after X11 use (from macppc).
|
|
the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach
that would hose the underlying sabtty device.
|
|
frame buffers, and produces less confusing dmesg output.
|
|
|
|
be necessary soon); from henric@
|
|
interrupt map matches; from FreeBSD.
|
|
attach it with the appropriate keymap table, rather than the default KB_US
table.
If this is not the expected behaviour, users can still revert to US layout
via "kbd us" or "wsconsctl -w keyboard.encoding=us".
As the installation media uses the prom console, which will honor the
international keyboard layout, this will definitely help users with
international keyboards and fancy characters in their passwords...
Note that there is still some Sun keyboard tables missing at the moment.
|