Commit Graph

74330 Commits

Author SHA1 Message Date
itojun a8507fa1e7 pkgsrc/cross/sh-* do not supply cpp 2001-01-04 08:55:08 +00:00
itojun 6de175eeb8 __syscall is now mandatory 2001-01-04 08:53:50 +00:00
veego 3e63d458f0 Use COM_FREQ for COM part of the last commited entry.
Why are there other drivers here which have PUC_PORT_TYPE_COM but don't
use COM_FREQ or even don't have the extra field?
2001-01-04 08:49:31 +00:00
veego 17718db1b9 Add support for boards with an Oxford Semiconductor chip.
This one was an I/O Flex PCI I/O Card Model-223 with 4 serial and
1 parallel ports.
XXX We need to move the PCI IDs to pcidevs.
2001-01-04 08:43:21 +00:00
itojun 26b1bcce00 cc -v is too verbose 2001-01-04 08:39:53 +00:00
itojun 973149dcb3 sh3 split 2001-01-04 08:32:02 +00:00
itojun 264cf8dcf3 sh3 split 2001-01-04 08:01:49 +00:00
itojun a629edfcca use -O1 for now, -O2 dies 2001-01-04 07:55:32 +00:00
sato c381bbbf74 add missing evtype. 2001-01-04 07:55:15 +00:00
itojun da0e17f08c fix pathname to meet pkgsrc/cross/sh* 2001-01-04 07:51:50 +00:00
itojun 8a58f991f6 content were mixed up 2001-01-04 07:50:23 +00:00
sato 58b63998c2 handle pointer type event message and scaler type event message
for CONFIG_HOOK_PMEVENT_*.
2001-01-04 07:43:37 +00:00
itojun 156bea1018 nuke obsolete Makefile templates.
split build-sh3 into two, for sh3e[bl].
2001-01-04 07:09:47 +00:00
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