wiz
95bc0b09e2
Remove opms(4) for bebox (superseded by pms(4)).
...
Approved by christos.
2002-04-18 15:44:20 +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
jdolecek
f32b3f4f89
Reduce the massive code duplication regarding joy(4). Split it into
...
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
2002-02-02 18:37:38 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
wiz
a73374d9c8
bcopy -> memcpy, bcmp -> memcmp, bzero -> memset
2001-07-22 14:34:36 +00:00
wiz
c29fb7279b
bcopy -> memmove
2001-07-22 14:32:16 +00:00
wiz
c03a48d64f
withough -> without
2001-06-13 10:45:57 +00:00
matt
daf8279e4b
Change bebox port to use the include MPC6XX files and the new common bus.h
...
framework.
2001-06-06 17:42:29 +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
thorpej
e6fa7f2fc8
Move the ISA DMA cookie into isadma_machdep.c.
2000-11-15 19:31:35 +00:00
eeh
5d8e9b343a
Adapt to the new line discipline scheme.
2000-11-02 00:35:04 +00:00
mrg
ca5133d3fb
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:22:17 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +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
b3b7588160
Don't use sleep() and callouts; just use tsleep().
2000-05-27 04:42:14 +00:00
thorpej
6dd5a9db6e
Use dev/isa/fd.c.
2000-04-07 16:35:19 +00:00
thorpej
b667a5a357
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 06:30:07 +00:00
thorpej
a183d34f04
- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
...
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
thorpej
52a2804a5c
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
...
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
sakamoto
943b8c34be
Sync with i386's fd.c, fdreg.h.
1999-06-24 01:22:19 +00:00
sakamoto
a9088f55c8
Add casts for -Wall.
1999-06-22 02:04:06 +00:00
sakamoto
4763a9b0a0
Remove sc_id member from fdc_softc.
1999-06-22 01:41:48 +00:00
cgd
f822fd675f
Moved to arch/bebox/include/isa_machdep.h,v
1999-03-19 05:02:03 +00:00
cgd
d00106ee06
if you pull in isavar.h, you don't need isa_machdep.h.
1999-03-19 04:58:45 +00:00
cgd
190d23ee40
Moved to arch/bebox/include/isapnp_machdep.h,v
1999-03-19 03:18:34 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
thorpej
49a45fed9b
If the memory range of the machine is such that no bouncing is necessary,
...
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
1998-10-03 21:53:04 +00:00
sakamoto
fd24065cb5
pcvt is no longer used with bebox.
1998-09-28 09:49:49 +00:00
sakamoto
4a04e5038e
pcvt is no longer used with bebox.
1998-09-28 09:33:12 +00:00
christos
449820f2ea
Assign copyright to TNF.
1998-09-05 15:28:04 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
sakamoto
62ed825858
vm_offset_t --> [pv]addr_t.
1998-08-24 01:40:26 +00:00
mycroft
d07b3639a4
Assign my copyrights to TNF.
1998-08-15 17:47:15 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
thorpej
2e33e4c2fa
First-cut support for ISA PnP for NetBSD/bebox.
1998-07-31 04:54:38 +00:00
perry
c4fae2a286
NORVEGIAN -> NORWEGIAN
1998-07-27 23:52:49 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
sakamoto
949c52c154
add address conversion macro for MPC105 and some fix.
1998-06-09 05:53:30 +00:00
thorpej
680a3d77f4
Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
...
all ISA DMA. Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej
0b76aff07b
Change the ISA DMA API to take an isa_chipset_tag_t rather than
...
a struct device * corresponding to the ISA bus device. The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.
These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:10:02 +00:00
thorpej
eddb2f4269
Adjust for change to the ISA DMA API.
1998-06-09 00:09:43 +00:00
lukem
8fb1228bc8
everything has bugs; either document them or don't bother with a BUGS section
1998-06-08 13:02:19 +00:00
lukem
ed25dc5c57
if there's no known bugs, don't have a BUGS section
1998-06-08 11:35:10 +00:00
lukem
cd2f6e9504
remove unnecessary paragraph separator
1998-06-08 11:34:41 +00:00