scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
thorpej
1c3a62e066
Sprinkle pmap_update() calls after calls to:
...
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
mrg
af58b235e0
adapt to systems with out interrupt-map & interrupt-map-mask properties.
2001-03-21 01:33:47 +00:00
hubertf
cda43785c6
Add comment on what 'overtemp' is about. OK'd by eeh.
2001-03-16 10:47:25 +00:00
eeh
b612a766a7
Handle overtemp intr.
2001-03-14 00:52:19 +00:00
thorpej
85868e3c09
Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE.
2001-03-09 20:05:39 +00:00
mrg
f1d2503dc5
rework pci_attach_hook() to just deal with the INO, not the full
...
interrupt number. properly find interrupts for the E250. modify
pci_intr_map() accordingly. retire psycho_intr_map(). deal with
INO values upto 0x3f, not upto 0x32. restructure sabre_init() and
psycho_init() to be more similar, and display each psycho's IGN.
psycho_intr_establish() deals with INO upto 0x3f, values from 0x32
and higher get 0 for IPL.
tested on E250 & U5.
2001-03-06 08:09:16 +00:00
mrg
7a1cb1dbc2
use pci_bus_devorder() and pci_dev_funcorder()
2001-03-02 06:34:06 +00:00
mrg
c452d0b725
adjust some comments to reality.
2001-02-28 15:21:08 +00:00
eeh
85cffb544d
Improve legibility and iommu_dvmamap_sync().
2001-02-24 18:49:06 +00:00
eeh
3daccde8d4
Print out more useful data if there are interrupt issues.
2001-02-11 00:02:58 +00:00
eeh
2411eab448
Fix D$ aliasing issues in a DIAGNOSTIC check.
2001-02-06 19:04:57 +00:00
martin
a7206004fc
Faster error handling for iommu_dmamap_load_raw; avoid loading the map
...
and unloading on error when we clearly can't get out without an error.
2001-01-28 01:26:57 +00:00
eeh
6c3bf28ffd
Fix dvma problem caused by previous. Seems like the dvma segment calculation
...
in iommu_dmamap_unload() was not quite right.
2001-01-27 03:40:39 +00:00
martin
f4eec8f31f
iommu_dvmamap_load_raw: add a check for creating maps larger than
...
expected by the creator of the dma map and fail apropriately. This
makes the syssrc/dev/pci/if_vr.c driver work.
2001-01-25 21:41:10 +00:00
martin
97b57e69cc
Make bus_dmamap_load_mbuf and bus_dmamap_load_uio use independend
...
segment lists for their mapping; make iommu_dmamap_unload deal with
this type of maps.
Coded by Eduardo, tested (and minimaly tweaked) by me.
2001-01-23 20:31:28 +00:00
martin
84af4fa114
Enable IO space mapping by default.
...
Fixes PR 11940.
2001-01-19 21:25:19 +00:00
martin
6695531e85
Fix format warnings to make it compile again.
2001-01-14 09:43:33 +00:00
pk
301b806db0
ebus_find_node(): plug memory leak; make debug output meaningfuller.
2001-01-08 22:15:47 +00:00
sommerfeld
851de295eb
Change pci_intr_map to get interrupt source information from a "struct
...
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
mrg
43251365b4
com_attach_subr() prints the newline for us.
2000-12-20 16:19:09 +00:00
mrg
703ec39a02
fix warnings in DEBUG & DIAGNSTIC code.
2000-12-06 01:47:49 +00:00
fvdl
95ed1f82c4
Make gcc like a cast.
2000-12-04 20:29:34 +00:00
fvdl
2ccdc61f62
Avoid (safe) cast warnings.
2000-12-04 20:19:49 +00:00
fvdl
2fb588e51d
Warning police. Mostly useless format warnings. Switch Makefile for
...
kernel compiles to the warning flags that other ports also use.
2000-12-04 16:01:18 +00:00
fvdl
a21f36eeb2
Make softintr_establish prototype match other ports, avoiding compile
...
warnings.
2000-12-03 14:49:50 +00:00
mrg
0485f611f1
remove dead debugging code.
2000-11-18 03:49:38 +00:00
eeh
efaf3dbb74
Remove unnecessary header file that causes linker issues.
2000-11-10 17:47:55 +00:00
mrg
3ea4c67b6b
remove unused variable
2000-11-10 11:57:26 +00:00
eeh
17b69d1833
Attach the sunkbd line discipline to zstty.
2000-11-09 00:02:54 +00:00
eeh
052afce2a5
Use new MI console magic framework.
2000-11-08 23:40:31 +00:00
eeh
2b8da88d55
Remove debug printfs.
2000-11-08 23:24:12 +00:00
eeh
23a0c49039
Adapt to the new line discipline scheme.
2000-11-02 00:21:03 +00:00
eeh
b19423f823
Pass along bus frequency.
2000-11-01 06:19:59 +00:00
mrg
82d7f3e331
#include <machine/sparc64.h> for prom_printf() prototype.
2000-10-20 05:32:35 +00:00
mrg
f39b5cf92e
wrap long lines.
2000-10-19 12:25:04 +00:00
mrg
d66f9f3321
add a cast to fix a warning.
2000-10-19 05:38:35 +00:00
eeh
3a2599ebec
Don't take ref/mod faults on DMA segments mapped in to the kernel.
2000-09-28 15:28:43 +00:00
eeh
a5a8082482
Use prom_printf() for debugging instead of printf() since the console may
...
not be functional.
2000-09-28 15:23:06 +00:00
eeh
805ffd07cc
Sun Keyboard/Mouse line discipline support.
2000-09-21 23:14:40 +00:00
eeh
ac3f296768
Guts of the Sun Keyboard/Mouse line disciplines.
...
N.B. They don't recognize L1-A yet.
2000-09-21 22:25:08 +00:00
eeh
a0f2ab32f7
Make 64-bit clean.
2000-08-26 16:02:06 +00:00
nathanw
5127aa189d
In fdioctl(), allocate fd_formb dynamically when needed, rather than on
...
the stack, and remove the no-longer-necessary PHOLD()/PRELE() calls
in fdformat().
(This eliminates 1/3 of the instances of PHOLD()/PRELE() in the kernel code.)
XXX We still have too many mostly-redundant floppy drivers.
2000-08-24 20:04:28 +00:00
pk
194a6c2d97
remove pfourreg.h.
2000-08-23 12:08:16 +00:00
pk
408d2f01d0
Brooktree DAC support now lives in sys/dev/sun.
2000-08-23 10:08:48 +00:00
pk
837ef2bae6
This driver is now in sys/dev/sbus.
2000-08-23 10:07:46 +00:00
pk
aa81eb0f8b
This file is now in sys/dev/sun.
2000-08-23 10:07:25 +00:00
pk
c85ada8053
These drivers are now in sys/dev/sun
2000-08-23 10:05:46 +00:00
pk
317a570728
These devices will never be found on sun4u machines.
2000-08-22 21:43:35 +00:00
eeh
aeb88321db
Call the parent bus dvmamap_unload function to clear the cache rather
...
than do it ourselves.
2000-08-01 00:22:41 +00:00