Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
do not check copyin() result, take care and properly handle copyin() failure.
This was not harmful, but a bit more correctness never harms.
|
|
Diff generated by Chris Kuethe.
|
|
pages into the queue already containing allocated pages.
breaks i386:setup_buffers() because of this.
|
|
|
|
|
|
|
|
Allow this to build with DEBUG.
|
|
Tested by and ok matthieu@
|
|
|
|
|
|
|
|
|
|
-Fix some corner cases in bus_dmamap_load_mbuf().
From Takeshi Nakayama <tn@catvmics.ne.jp>
-Fix off-by-one error in iommu_dvmamap_load_raw() where if a DMA segment
has just one byte on a page the page is never mapped into the IOMMU.
|
|
|