mycroft
f73703a4a6
Set the play and record parameters separately.
...
If the device is unidirectional, just ignore parameters in the other direction.
(XXX We need a better way of dealing with this.)
Only set curaltidx if we're setting usemode.
This makes both the Altec Lansing speaker set and the Telex bidirectional frob
work again.
2001-01-04 07:05:00 +00:00
itojun
1e7e3274f4
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
2001-01-04 07:03:21 +00:00
itojun
f039f89ec5
prepare for sh3e[bl] split
2001-01-04 06:53:45 +00:00
minoura
cd4d6511c8
Correct `Year 2001 problem'.
...
Pointed out by Okamoto Kohichi <GHG03305@nifty.ne.jp> and
URA Hiroshi <ura@hiru.aoba.yokohama.jp>.
2001-01-04 06:45:18 +00:00
itojun
7fde9b10c9
need string.h for prototype (checked with alpha)
2001-01-04 06:33:18 +00:00
mycroft
c142ce184b
Several things:
...
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.
XXXXXXXX
This is a big f*cking hack. Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
2001-01-04 06:20:49 +00:00
jwise
a5f75468c7
Normalize signature of ship handling functions -- struct ship * from and
...
struct ship * to are now always the first two args.
2001-01-04 06:16:51 +00:00
itojun
650239ad74
fix error return (0 -> -1). sync with kame.
2001-01-04 06:16:38 +00:00
itojun
11a8150bad
unbroken it. dev/i2p/iopvar.h requires sys/device.h for sizeof(dv_xname).
...
not sure if it is the right fix or not.
2001-01-04 06:16:02 +00:00
sato
46921fecee
Avoid null pointer dereference. dc_sc may be null on early stage.
2001-01-04 06:07:43 +00:00
enami
f306f72978
Use cast where appropriate to avoid integer overflow.
2001-01-04 06:07:18 +00:00
takemura
d403e873db
Delete types.h and int_types.h in stand/include/mips and
...
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
2001-01-04 06:01:41 +00:00
itojun
78c2b5a427
make usr.bin/tn3270 buildable. make sizeof(tline) usable.
2001-01-04 05:58:41 +00:00
jwise
d62e34ecca
Various stylistic nits.
2001-01-04 05:34:56 +00:00
mycroft
6ff81e44ec
No really, this is half-duplex for now. Lame.
2001-01-04 05:25:24 +00:00
sato
9d298fafdb
adapt resent config_hook.h
2001-01-04 05:20:37 +00:00
sato
9eb0981033
re-define CONFIG_HOOK NICKNAME.
...
add some macros.
2001-01-04 05:16:26 +00:00
shin
ce0d1ad2fe
- don't ignore DEFCOPTS (Makefile.mips).
...
- DEFCOPTS of hpcmips is "-Os -mmemcpy" (std.hpcmips).
2001-01-04 05:13:30 +00:00
jwise
cf3f63cd97
Use License templates from localsrc for license on new files.
2001-01-04 05:06:15 +00:00
sato
3131dc2c04
make compilable.
2001-01-04 05:01:59 +00:00
itojun
a493f2d3fd
typo. struct fpregs -> struct fpreg
2001-01-04 04:42:59 +00:00
jwise
9baf035b4e
Break out curses display-related globals into a new header file, so that
...
<curses.h> doesn't have to be included all over the place.
2001-01-04 04:41:41 +00:00
lukem
a976c8e346
sprinkle _DIAGASSERT() around
2001-01-04 03:56:17 +00:00
mycroft
ab1d9b87b0
Make some vague attempt to handle devices that do both input and output. This
...
probably needs more work, but at least my Telex frob can play music now.
Also, AUDIO_DEBUG -> UAUDIO_DEBUG.
2001-01-04 03:53:09 +00:00
jwise
61a39e0b38
More rationalization of include files:
...
a.) Don't include a zillion system headers from "extern.h" (actually, don't
include any).
b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't
have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
2001-01-04 03:51:23 +00:00
lukem
c5b9e1cef5
sprinkle _DIAGASSERT() around
2001-01-04 03:35:29 +00:00
jwise
aac077fce8
Rationalize inclusion of header files: cut down on `include everything
...
everywhere' a little (more to go), and as per KNF, local includes after
system includes.
2001-01-04 03:21:16 +00:00
enami
62f0a92d52
Avoid null pointer dereference. dc_sc may be null on early stage.
2001-01-04 03:03:04 +00:00
jwise
43894be666
Second half of static-ization of local funcs.
2001-01-04 02:43:32 +00:00
jwise
d5c5fed0c7
G/C undocumented and unimplemented `-D' (debug) option.
2001-01-04 01:56:27 +00:00
jwise
bca097d567
First half of static-ization of local funcs.
2001-01-04 01:53:24 +00:00
lukem
29e8291322
sprinkle _DIAGASSERT() around
2001-01-04 01:45:30 +00:00
enami
596f0820de
Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works.
2001-01-04 01:35:21 +00:00
enami
25481ad786
Redo previous; we need to notify kbd driver.
2001-01-04 01:33:37 +00:00
jwise
a6dfac213f
De-`register'
2001-01-04 01:13:34 +00:00
lukem
03c663afbc
change verbose probe message to display "size xxx (yyy MB), offset zzz".
...
use %u instead of %d.
2001-01-04 00:57:14 +00:00
itojun
f5f5aac99a
look at __LITTLE_ENDIAN__ (gcc symbol) to determine which endian we are in.
...
makes the file bi-endian.
2001-01-04 00:51:15 +00:00
enami
0e081e1b48
Missing newline in log messsage.
2001-01-04 00:17:52 +00:00
thorpej
d04f6f6d57
Just garbage-collect the #if 0'd pmap_transfer() stuff.
2001-01-04 00:17:43 +00:00
itojun
8981b09426
add magic # for Hitachi SH COFF
2001-01-04 00:10:07 +00:00
itojun
16b3064038
split big/little endian better.
2001-01-03 23:49:21 +00:00
mycroft
29ecdf4b0c
Regen.
2001-01-03 23:15:14 +00:00
mycroft
cbfa3ad17d
Add Chrysalis-ITS LunaVPN card.
2001-01-03 23:14:39 +00:00
eeh
4020842234
Fix faults caused by incorrect cacheing information in the pv_entry.
2001-01-03 23:05:22 +00:00
enami
62a4aefda9
Avoid null pointer dereference so that boot -d works again.
2001-01-03 23:03:45 +00:00
enami
7eab063a4f
Use device_lookup.
2001-01-03 23:00:24 +00:00
thorpej
33338b633a
ANSI'ify, and inline userret().
2001-01-03 22:15:38 +00:00
thorpej
09ffed2ba0
ANSI'ify.
2001-01-03 21:40:25 +00:00
thorpej
dbe63d5a81
Some more slight cleanup.
2001-01-03 21:39:20 +00:00
thorpej
5602df2e07
Fix a couple of comments.
2001-01-03 21:27:07 +00:00