Commit Graph

131446 Commits

Author SHA1 Message Date
christos
d99b25032a I guess compiling code before committing is a lost art! 2004-11-06 07:31:55 +00:00
wrstuden
16029d56b5 Add support for FIONWRITE and FIONSPACE ioctls. FIONWRITE reports
the number of bytes in the send queue, and FIONSPACE reports the
number of free bytes in the send queue. These ioctls permit applications
to monitor file descriptor transmission dynamics.

In examining prior art, FIONWRITE exists with the semantics given
here. FIONSPACE is provided so that programs may easily determine how
much space is left in the send queue; they do not need to know the
send queue size.

The fact that a write may block even if there is enough space in the
send queue for it is noted in the documentation.

FIONWRITE functionality may be used to implement TIOCOUTQ for Linux
emulation - Linux extended this ioctl to sockets, even though they are
not ttys.
2004-11-06 02:03:20 +00:00
dsl
96a5d45d4c Remove the (int) cast from the array subscript of the ctype #defines.
The cast just stops gcc detecting places where the functions are
passed a 'char' variable - and will index off the array for byte values
0x80 to 0xff.
All (I hope) of the places in the netbsd sources where this was a
potential problem have had an (unsigned char) cast applied.
Christos said he'll fix any fallout I've missed.
2004-11-05 22:55:19 +00:00
dsl
1869f0e146 Add (unsigned char) cast to ctype functions 2004-11-05 21:56:01 +00:00
dsl
55d39107c6 Add (unsigned char) cast to ctype functions 2004-11-05 21:45:36 +00:00
dsl
49f7d8a9b1 Add (unsigned char) cast to ctype functions 2004-11-05 21:30:31 +00:00
dsl
c68edd41b3 Add (unsigned char) cast to ctype functions
Fixes problems displaying German 'sharp-s', see PR install/27281
2004-11-05 20:45:48 +00:00
dsl
0e378e4772 Add (unsigned char) cast to ctype functions 2004-11-05 19:56:34 +00:00
dsl
48cdfe10a9 Use isalnum((unsigned char)x) instead of testing both isdigit() and isalpha() 2004-11-05 19:54:47 +00:00
dsl
b7cb013096 Add (unsigned char) cast to ctype functions 2004-11-05 19:50:12 +00:00
kent
11b301d4f7 print cluster information if UAUDIO_DEBUG is defined. 2004-11-05 19:08:29 +00:00
mason
0418d87f4b fix typo in comment 2004-11-05 18:07:27 +00:00
kent
321c2fdbdc print cluster information if UAUDIO_DEBUG is defined. 2004-11-05 17:46:14 +00:00
kent
fa8bbe4c5e add the follwings:
- ulinear16_to_mulaw_le()
 - ulinear16_to_mulaw_be()
 - slinear16_to_mulaw_be()
 - ulinear16_to_alaw_le()
 - ulinear16_to_alaw_be()
2004-11-05 16:31:14 +00:00
wiz
80d71f68ef Bump date for Sealevel USB-Serial support. 2004-11-05 13:57:31 +00:00
scw
56bd07209a Mention Sealevel Systems' USB-Serial adapter. 2004-11-05 13:55:13 +00:00
scw
393556db2e Match Sealevel Systems' uftdi-based USB <-> Serial adapter.
This is just an FT8U232AM with custom vendor/device IDs.
2004-11-05 13:53:29 +00:00
scw
ca9032dd96 Regen for SEALEVEL 2004-11-05 13:51:52 +00:00
scw
45c758823b Add vendor SEALEVEL, plus an entry for their uftdi-based USB <-> Serial
converter.
2004-11-05 13:51:16 +00:00
wiz
210177732d Point to /usr/share/mk/bsd.README in SEE ALSO section; from Rui Paulo in PR 27997. 2004-11-05 12:40:06 +00:00
wiz
cb8514c86e Cite Jason Thorpe's paper about bus_dma; from Jeff Rizzo in PR 27891. 2004-11-05 12:38:09 +00:00
matt
2f15be42ae Check to see if the script has an ELF header, and if so, return ENOEXEC. 2004-11-04 23:55:28 +00:00
ragge
d26e77c79f Make match() fail if this is not a DWLPX (i.e a DWLMA).
XXX - DWL* type should be checked in kftxx.c.
This avoids a panic if the device is not a DWLPX.
2004-11-04 19:22:28 +00:00
dsl
df38245cee Add (unsigned char) cast to ctype functions 2004-11-04 07:38:43 +00:00
dsl
7f6459c7a3 Add (unsigned char) cast to ctype functions
Change some variables from register char to int
2004-11-04 07:35:15 +00:00
dsl
293eff3495 Add (unsigned char) cast to ctype functions
islower() can be true for 0x80..0xff
2004-11-04 07:29:09 +00:00
dsl
88d913ebbe Add (unsigned char) cast to ctype functions 2004-11-04 07:22:47 +00:00
dsl
cf09d2b1ce Add (unsigned char) cast to ctype functions
Although, IIRC, there is another PR on all commands being converted to
lower case.
2004-11-04 07:18:47 +00:00
christos
defca69e1a Make EM_DELETE_PREV_CHAR behave like ED_DELETE_PREV_CHAR in incremental
search. From Gerry Swislow.
2004-11-04 01:16:03 +00:00
rjs
77c10163bb Add AEI USB to LAN. 2004-11-03 22:59:31 +00:00
dsl
3d446c0f42 Add (unsigned char) cast to ctype functions 2004-11-03 21:01:45 +00:00
dsl
e219d781d7 Add (unsigned char) cast to ctype functions 2004-11-03 20:10:08 +00:00
taca
c343fd9713 zlib 1.2.2 released.
zlib 1.2.2 has been released, which remedies a vulnerability to a
denial-of-service attack ( http://www.kb.cert.org/vuls/id/238678 ).
You can get the latest release here:
2004-11-03 15:40:52 +00:00
yamt
5562fc6935 use semaphore before starting pthread. currently fail. 2004-11-03 15:18:35 +00:00
wiz
2add0ff922 Sync usage with man page; sort options. 2004-11-03 14:01:04 +00:00
wiz
624de60311 Bump date for -N; sort options; add N to SYNOPSIS. 2004-11-03 13:58:23 +00:00
jmmv
fda2840eea Add missing colon symbol after sentence. 2004-11-03 13:11:41 +00:00
scw
06375beb5f Fix mbr_label_locate() to return '1' on success rather than the '0'
leftover from the call to biowait(9).
2004-11-03 12:21:04 +00:00
erh
7d7fb3bdbc As the comment says, not all files may be present in the tar file,
so don't attempt to extract the (usually) non-existant +PRESERVE file.
2004-11-02 01:03:29 +00:00
yamt
e89aeb518a make recording of clct(4) work. namely,
- cs4281_intr: advance a pointer after copying data.
- cs4281_trigger_input: fix an inverted condition about dma mode.
2004-11-02 00:40:08 +00:00
erh
4f022501ab Merge version 20041101 from pkgsrc. 2004-11-02 00:38:23 +00:00
wiz
9589a2f43c Grammar fix in comment. 2004-11-01 23:20:42 +00:00
dsl
ef795ed430 Add (unsigned char) cast to ctype functions
Although I can't imagine why the 'seed' must be alphanumeric, nor why
it is later converted to lower case!
2004-11-01 21:52:07 +00:00
dsl
d0ad315f4f Add (unsigned char) cast to ctype functions 2004-11-01 21:39:32 +00:00
dsl
447bb30961 Make fn arg 'unsigned char' to avoid passing 'char' to isalnum() 2004-11-01 21:36:11 +00:00
dsl
6632ac4d9c Add (unsigned char) cast to ctype functions 2004-11-01 21:12:59 +00:00
lukem
103626c6a0 default to "compat" not "files" 2004-11-01 08:21:34 +00:00
mycroft
74c82c0ec4 Some miscellaneous cleanup:
* Encapsulate all the ring-specific variables into a substructure.  (This will
  help with some potential code sharing.)
* Don't bother with "last buffer complete" interrupts -- we should be taking an
  interrupt anyway because we set IOC on every buffer.
* Likewise, ignore CELV; it's meaningless to us.
* Get rid of the FIFO error counters, since this doesn't actually happen any
  more.
2004-11-01 06:25:35 +00:00
mbw
6656ca9ab9 - update list of supported machines
- mention that NetBSD uses different names for serial ports than OF
 - update date of supported hardware info
2004-11-01 01:02:09 +00:00
mbw
d3f05af5f8 list a few more open firmware settings 2004-11-01 01:01:47 +00:00