Commit Graph

33858 Commits

Author SHA1 Message Date
fvdl 961e39030d Add 16650 hardware flowcontrol support. Basically PR 3844 from
Dave Huang <khym@bga.com>, with added check for broken early versions
of the 16650, taken from the Linux driver.

This should be extended to use, for example, higher trigger levels for
the bigger 16650 FIFO, and its capability for using a smaller divisor
and thus higher speeds. But this patch is very useful for 16650 users
already.
1997-10-19 14:26:16 +00:00
mycroft 985cca83b6 Use S_IS*().
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
1997-10-19 14:25:24 +00:00
lukem d177c90289 s/bzero/memset, fix .Nm usage 1997-10-19 14:25:00 +00:00
lukem e390551d3d fix up .Nm usage 1997-10-19 14:23:52 +00:00
lukem c2314d822a don't define WARNS=1 here 1997-10-19 14:23:26 +00:00
lukem bccfa1bf01 WARNSify, deprecate register 1997-10-19 14:22:16 +00:00
lukem 20e7acbab5 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:20:43 +00:00
mrg 069922f852 fix compile warnings on the alpha. 1997-10-19 14:12:22 +00:00
lukem dc7ab0caa5 remove WARNS=1 1997-10-19 14:11:38 +00:00
lukem 8121ebfa9b WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:10:27 +00:00
enami fe0c14e139 Fix typo; hang binary operator at the end of previous line. 1997-10-19 14:10:11 +00:00
enami 5c1050e68f Include locators.h and use symbolic name comes from it. 1997-10-19 14:07:19 +00:00
mrg 66f7b9fd72 fix compile warnings on the alpha. 1997-10-19 14:05:56 +00:00
lukem acafa8e6b6 disable WARNS here 1997-10-19 14:05:48 +00:00
mrg 15dc191955 fix compile warnings on the alpha. 1997-10-19 14:05:47 +00:00
enami 0afff66463 Include locators.h and use symbolic name comes from it. 1997-10-19 14:04:29 +00:00
lukem dcc8df4f52 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 14:03:29 +00:00
lukem 3859d5b356 WARNSify, fix .Nm usage, deprecate register, use warn 1997-10-19 14:01:33 +00:00
enami 4e304b8dd7 Make `manufacturer' and `product' 32bit wide so that they can contain
both 16bit id values found in card CIS and special value to indicate
that no value found in CIS.  Use that special value for the card that
doesn't have id values.  Test that value in ne2000_match().
1997-10-19 14:00:32 +00:00
lukem 3b3cf635da WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/ 1997-10-19 13:58:48 +00:00
mycroft eae3d4c198 Fill in the microseconds fields for utimes(2). 1997-10-19 13:48:21 +00:00
lukem 09c3e85663 WARNSify, fix .Nm usage, deprecate register, s/bcopy/memmove 1997-10-19 13:40:12 +00:00
lukem 629a5006ed replace error() with err() 1997-10-19 13:35:51 +00:00
mycroft f19fd07b85 Use futimes(2). Do {f,}utimes(2) *before* {f,}chflags(2), for obvious
reasons.
1997-10-19 13:29:22 +00:00
lukem 0d374e0c45 disable WARNS here, fix .Nm usage, deprecate register, s/index/strchr/ 1997-10-19 13:16:33 +00:00
mycroft 2d6dc609e6 Use futimes(2).
Send microseconds over the wire, rather than just 0.
1997-10-19 13:12:04 +00:00
mrg 2b6e02aa42 merge lite-2. 1997-10-19 13:02:43 +00:00
mycroft a82e8868a6 When copying time stamps, copy the microseconds, too. Also nuke silly
static structure.
1997-10-19 13:02:42 +00:00
mrg 8db1c1f6eb merge lite-2. 1997-10-19 13:01:28 +00:00
lukem 927f7e1429 use WARNS=0 not WARNS?=0 to disable warnings 1997-10-19 13:01:25 +00:00
mrg 7b972b4953 merge lite-2. 1997-10-19 13:01:13 +00:00
lukem 07732f2ed9 use WARNS=0 not WARNS?=0 to disable warnings 1997-10-19 13:01:12 +00:00
mrg 3dfd96ee1f merge lite-2. 1997-10-19 13:01:06 +00:00
lukem 8566a4f96c use WARNS=0 not WARNS?=0 to disable warnings 1997-10-19 13:00:58 +00:00
mrg 9a6b94bd72 merge lite-2. 1997-10-19 12:55:52 +00:00
mycroft 9db82206c3 If we fail to set ownership, turn off SUID and SGID bits (like cp(1)).
Use futimes(2), and actually fill in the microsecond field.
1997-10-19 12:55:07 +00:00
carrel ea9e34c2f7 cast to void * not caddr_t 1997-10-19 12:52:19 +00:00
mycroft 688ecf2a69 Use futimes(2) if possible. Also correct an error message. 1997-10-19 12:50:47 +00:00
lukem cb7e4f16f1 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 12:44:21 +00:00
lukem 9b5a69b52c WARNSify, fix .Nm usage, deprecate register 1997-10-19 12:36:23 +00:00
ragge a9510ace16 Only check for process switch if we are coming in from userspace.
Make ERESTART work for syscalls >63.
While we're here; clean up a little bit.
1997-10-19 12:32:52 +00:00
lukem b879efa7db WARNSify, fix .Nm usage 1997-10-19 12:29:35 +00:00
enami fa580a821a Preserve owner/group/mode/atime/mtime of symlink if -p flag is given. 1997-10-19 12:28:01 +00:00
lukem 9142eb1e1e disable WARNS for now 1997-10-19 12:04:58 +00:00
lukem 12987f3cfe fix .Nm usage, add rcsid 1997-10-19 11:53:01 +00:00
lukem 6f330af093 fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:59 +00:00
lukem 9c739a16d7 fix .Nm usage, add rcsid 1997-10-19 11:52:55 +00:00
lukem 403b699b0b fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:12 +00:00
explorer ebf03fd00c Add hooks for entropy collection. Right now, you must place
options RND_COM
in your kernel config file (along with the
	pseudo-device rnd
line) to enable this.  If results are positive, I will make this enabled
by default.
1997-10-19 11:45:33 +00:00
explorer 2a18497c3f o Remove most of the splhigh() protected regions, making them
splsoftclock() instead.  This is done with an event queue of raw data,
  and the entropy calculation etc. is done at splsoftclock().

o Use a private entropy pool rather than the global one defined in
  rndpool.c.  That global will probably go away, eventually.
1997-10-19 11:43:05 +00:00