Commit Graph

22394 Commits

Author SHA1 Message Date
ache
5260e7d7e4 Remove srandomdev fallback 1997-06-14 00:17:53 +00:00
ache
4a2f1e93f9 Instead of copying fallback code over and over in each program,
implement (better) falback code inside srandomdev() itself.
Change return type from int to void (binary compatibility surprisely
achieved). Userland code will be changed soon.
1997-06-14 00:14:29 +00:00
dg
0ebd78f8f7 Added support for the Intel 82555 PHY chip which is being used on newer
Pro/100B cards. Full duplex should work now, although it hasn't been
tested.
1997-06-13 22:34:52 +00:00
davidn
c948b471c3 Add "break" inadvertently removed in previous update.
PR: 3820
Submitted by: Joseph Stein <joes@spiritone.com>
1997-06-13 22:26:41 +00:00
max
04eb11d6d0 Typo fix.
PR:		3828
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-13 21:11:27 +00:00
max
7073775b9b Typo fix.
PR:		3854
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-06-13 20:58:09 +00:00
ache
4a0ea4b29a Add MAXHOSTNAMELEN check
Obtained from: OpenBSD
1997-06-13 19:21:54 +00:00
jkh
ad3e0d3399 YAMF22 1997-06-13 18:02:34 +00:00
jkh
19bd03738f YAMF22 1997-06-13 17:55:32 +00:00
jkh
7c9e3d56ff YAMF22 1997-06-13 14:21:22 +00:00
jkh
0f4e861b68 Incorporate an ancient typo fix that never made it over from 2.2. 1997-06-13 14:06:10 +00:00
jkh
3e69679410 reverse polarity on bit-flip from 2.2 1997-06-13 11:00:13 +00:00
kato
c87869fd77 Replace I/O port adress for PC-9801-108 with vendor default value.
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-13 10:35:38 +00:00
jkh
b528c30123 Nuke notifier. 1997-06-13 09:37:25 +00:00
jkh
ae10f85664 YAMF22 1997-06-13 09:34:10 +00:00
bde
b07c05221f Fixed livelock in getnewbuf().
It is possible for multiple process to sleep concurrently waiting
for a buffer.  When the buffer shortage is a shortage of space but
not a shortage of buffer headers, the processes took turns creating
empty buffers and waking each other to advertise the brelse() of
the empties; progress was never made because tsleep() always found
another high-priority process to run and everything was done at
splbio(), so vfs_update never had a chance to flush delayed writes,
not to mention that i/o never had a chance to complete.

The problem seems to be rare in practice, but it can easily be
reproduced by misusing block devices, at least for sufficently slow
devices on machines with a sufficiently small buffer cache.  E.g.,
`tar cvf /dev/fd0 /kernel' on an 8MB system with no disk in fd0
causes the problem quickly; the same command with a disk in fd0
causes the problem not quite as quickly; and people have reported
problems newfs'ing file systems on block devices.

Block devices only cause this problem indirectly.  They are pessimized
for time and space, and the space pessimization causes the shortage
(it manifests as internal fragmentation in buffer_map).

This should be fixed in 2.2.
1997-06-13 08:30:40 +00:00
jkh
c2c577d2bb YAMF22 1997-06-13 07:11:57 +00:00
charnier
a914a33807 Remove __progname. Cosmetic in usage string. 1997-06-13 06:27:12 +00:00
charnier
d38cb4b71e Use err(3). 1997-06-13 06:24:42 +00:00
ache
b2dae5c49c xterm entry:
1) fix k1-k4 to match XF3.3
2) fix kb,kD to match keyboard
3) merge xterm-color in: default description must match best current practice
and color card is most common variant for X now. Add xterm-mono entry for
mono cards.
1997-06-13 05:30:50 +00:00
brian
346b6e02b2 Fix "delete ...", it now only insists on
one arg too.

Discovered by:	Rikk Salamat <rikks@web-impact.com>
1997-06-13 03:59:36 +00:00
brian
27812dcefe Add ppp.linkdown file to compliment ppp.linkup.
Submitted by:	Forgotten
Passed on by:	Terry Dwyer 61 8 9491 5161 <tdwyer@io.telstra.com.au>

Also remove extraneous setuid(0) - it's only undone by
the subsequent call to SelectSystem().
1997-06-13 02:07:32 +00:00
brian
bc457c2835 Fix "show ?" alignment.
PR:		3830
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-13 00:09:54 +00:00
brian
74ab23f128 Document ppp over tcp (how to tunnel) 1997-06-13 00:04:58 +00:00
tegge
5631176051 Use ETHER_ADDR_LEN instead of ETHER_ADDR_SIZE. 1997-06-12 19:20:53 +00:00
wpaul
a9c5ca51ee getnetid() crashes if no /etc/netid file is present (it tries to fclose()
a FILE * handle that wasn't really open).
1997-06-12 18:42:43 +00:00
tegge
95dc2e2267 Work around a gcc bug (causing false warnings about integral constant being too large, even when the integral constant was e.g. 1). 1997-06-12 18:10:08 +00:00
tegge
00328205b8 Move commonly used code into static functions in order to reduce kernel bloat. 1997-06-12 14:08:20 +00:00
tegge
293ce38d5e Remove unused routines. 1997-06-12 14:03:16 +00:00
phk
91e1ada469 Add yet an option, this time on how to deal with malloc(0) and realloc(ptr.0)
Prompted by:	X11 & XFree86
1997-06-12 12:45:45 +00:00
jkh
fa105740ad Whoops - add boot.foo files to the outside of the MFS, not the inside. :)
Brain engaged now.
1997-06-12 09:23:54 +00:00
jkh
4c15a5c230 Copy boot.help file onto boot.flp and write zero-length boot.config
there to shut the boot blocks' whining little face up.
1997-06-12 09:18:29 +00:00
jkh
926a316f41 YAMF22 1997-06-12 09:01:38 +00:00
jkh
0b4996eb1a YAMF22 1997-06-12 08:46:51 +00:00
jkh
4e9bb8ff6a YAMF22 1997-06-12 07:35:40 +00:00
se
6be275fe6c Add device IDs for new Symbios SCSI chips (53c875J,885,895,896), which
should work with no driver changes, though not all features are currently
used.

Remove code that was conditional on NEW_SCSICONF not being defined. This
was temporary code, that at a time got excluded correctly, until the new
scsiconf became the default, and NEW_SCSICONF was no longer specified.

Add support for quirks defined in scsiconf.c. For now only the HP3724/5
needs an entry, since that drive can't be used with tags.
1997-06-11 22:36:02 +00:00
se
c083b9e772 Add quirk "no tags" entry for HP 3724/5 hard disk drives. 1997-06-11 22:29:01 +00:00
julian
ac6879f4d7 As the Tunnel device has no real inherrent MRU limit,
so don't enforce the MTU as an MRU. Allow bidirectional ppp MTU
negotiation, by checking against a differnt figure for MRU.
Make it large enough for ATM frames at least.

Submitted by:   archie@whistle.com (archie cobbs)
1997-06-11 20:15:50 +00:00
ache
56b8374fc3 Add yet one holiday 1997-06-11 16:32:11 +00:00
jkh
9e6ea86b84 Make readmes in ports.
Submitted by:	asami
1997-06-11 10:03:40 +00:00
jkh
5e98d4a1bc YAMF22 - Bugs Of Evil in variable handling and rc.conf editing.
PR#: 3218 [partial]
1997-06-11 08:41:10 +00:00
charnier
f762397308 Add Id. Staticize usage function. Typo in usage string. 1997-06-11 07:18:18 +00:00
charnier
3e907376ee Remove __progname. Make -f a no-op flag as stated in the man page. Remove
unused variables.
1997-06-11 07:13:30 +00:00
brian
e0adf1f08c Sort out ppp over tcp:
o Allow "set var" with no args to blank var (don't req "").
  o Zero VarTerm ASAP if not in interactive mode.
  o Never print anything to stdout in -direct mode.
  o Count redial when failing to open modem.
  o Increase device size to 40 characters (for host:port).
  o Remove missed "if (fd == 0) fd = 1;".
  o Don't give up on incoming non-terminal connections.
1997-06-11 03:57:51 +00:00
ache
5badd6a869 Add ppp.log 1997-06-10 20:40:22 +00:00
ache
f82edf60eb Fix ppp log name 1997-06-10 20:39:10 +00:00
ache
a2201f0c87 Not kill ppp now, it uses syslog 1997-06-10 20:06:40 +00:00
gibbs
039483b199 Fix two typos in this driver that prevented it from working properly.
PR: kern/3776
Submitted by: flash@hway.ru
1997-06-10 16:07:22 +00:00
dg
3a5528e9a2 Meg -> Mbytes
PR:	3829
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-10 12:49:17 +00:00
charnier
d55754f2b3 Add Id. Cosmetic in usage string. 1997-06-10 11:14:04 +00:00