eeh
943373dde4
Use bus_space_vaddr().
2002-03-21 00:18:36 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
pk
f61bdee8e7
Get rid of `bus_type_t' and use BUS_ADDR() (in sbus_bus_map()) to construct
...
a `bus_addr_t' to pass on to bus_space_map().
Drop `va' argument from sbus_bus_map(); it should not be used by MI Sbus
drivers.
2002-03-11 16:00:55 +00:00
pk
d29b3f6d0c
Support for the ` Magma 2+1HS Sp' (from mouse on port-sparc):
...
- allow for sbus node name matching
- get clock frequency from prom property.
2002-01-22 16:59:30 +00:00
lukem
7ba10b3532
add RCSIDs
2001-11-13 06:54:32 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
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
eeh
507aaec04c
Adapt to the new line discipline scheme.
2000-11-02 00:01:44 +00:00
pk
406e0f779f
Add a `device class' interrupt level argument (from machine/intr.h)
...
to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
2000-07-09 20:57:41 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
thorpej
fc96443d15
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
pk
d5a471ccc9
Check presence of Sbus interrupt properties before using them.
...
Only one case is known to trigger this omission: a Sparc Classic
configured as X terminal.
1999-11-21 15:01:50 +00:00
pk
315e1a28de
Fix #includes
1998-07-28 00:31:42 +00:00
pk
87fe4d9ea1
Update from Iain on the parallel port stuff.
1998-06-03 22:38:31 +00:00
pk
229ff62ff7
Do not assume that a parallel component is always configured.
...
Squash compiler warnings if MAGMA_DEBUG is on.
1998-05-20 22:08:10 +00:00
pk
4e62cce89a
Magma SBus serial & parallel port driver from Iain Hibbert.
1998-05-19 23:58:54 +00:00