Commit Graph

29149 Commits

Author SHA1 Message Date
brian
dff142d83c MFMP: Make ppp multilink capable. 1998-05-21 21:45:49 +00:00
eivind
5469374fe3 Move __FreeBSD_version from src/sys/conf/newvers.sh to
src/sys/sys/param.h, to facilitate access from the kernel.  This make
it possible to do outside kernel development and have it actually work
properly.
1998-05-21 19:21:46 +00:00
jkh
5233796a00 Yeargh! After all that, I forgot to remove the #include. 1998-05-21 17:05:32 +00:00
jkh
c17ebb64a6 Don't use __FreeBSD_version explicitly - none of the other
drivers here do and it also blows up in building GENERIC during
a release build if you try and include <osreldate.h> (which shot
my SNAP dead - argh!).  Use __FreeBSD__ instead.
1998-05-21 16:24:05 +00:00
wpaul
e26eb161eb The incorrect select() timeout calculation that I fixed in svc_tcp.c
also exists here (the timeout can expire much sooner than it's supposed
to).
1998-05-21 15:22:39 +00:00
kato
7ed9f6ceaf Sync with sys/i386/conf/GENERIC revision 1.109. 1998-05-21 09:22:03 +00:00
jkoshy
6a998a09a2 Added contributed entry for Linux consoles.
PR: 5977
Submitted by: Christian Weisberger <naddy@bigeye.rhein-neckar.de>
1998-05-21 09:10:55 +00:00
jkoshy
c207ed5f6d Cosmetic fix. Compute header field widths from UT_{HOST,LINE,NAME}SIZE
instead of hardcoding header line.

PR: 6325
1998-05-21 08:46:48 +00:00
dyson
24e3b5153c Make flushing dirty pages work correctly on filesystems that
unexpectedly do not complete writes even with sync I/O requests.
This should help the behavior of mmaped files when using
softupdates (and perhaps in other circumstances also.)
1998-05-21 07:47:58 +00:00
jkh
3e2ff8a684 Note presence of the ThunderLAN driver 1998-05-21 04:12:03 +00:00
wpaul
c0044821fd And entries for ThunderLAN driver. 1998-05-21 03:22:20 +00:00
wpaul
6aacf6c57e Add entry for ThunderLAN driver to files. 1998-05-21 03:21:34 +00:00
wpaul
2e2f4b1006 Add man page for ThunderLAN driver. 1998-05-21 03:20:39 +00:00
wpaul
2265d4446d Add Texas Instruments TNET100 'ThunderLAN' PCI NIC driver to the tree.
This driver supports the following cards/integrated ethernet controllers:

Compaq Netelligent 10, Compaq Netelligent 10/100, Compaq Netelligent 10/100,
Compaq Netelligent 10/100 Proliant, Compaq Netelligent 10/100 Dual Port,
Compaq NetFlex-3/P Integrated, Compaq NetFlex-3/P Integrated,
Compaq NetFlex 3/P w/ BNC, Compaq Deskpro 4000 5233MMX.

It should also support Texas Instruments NICs that use the ThunderLAN
chip, though I don't have any to test. If you've got a card that uses
the ThunderLAN chip but isn't listed in the PCI vendor/product list in
if_tl.c, try adding it and see what happens.

The driver supports any MII compliant PHY at 10 or 100Mbps speeds in
full or half duplex. (Those I've personally tested are the National
Semiconductor DP83840A (Prosignia server), the Level 1 LXT970 (Deskpro
desktop), and the ThunderLAN's internal 10baseT PHY.) Autonegotiation,
hardware multicast filtering, BPF and ifmedia support are included.

This chip is pretty fast; Prosignia servers with NCR SCSI, ThunderLAN
ethernet and FreeBSD make for a nice combination.
1998-05-21 03:19:56 +00:00
dg
92b9801cd2 Backed out last fix and fixed my typo:
ipflow(fastforward -> ipflow_fastforward
1998-05-21 00:33:16 +00:00
jkh
5229d8895c Complete back-out of the bsd.locale.mk change.
OK'd by:	asami
1998-05-20 22:27:18 +00:00
jkh
a01f28c9ab Back out locale change until it's better understood by all just
what it is we're trying to do here. :)
OK'd by:	asami
1998-05-20 22:24:48 +00:00
jraynard
1ea9dc054e Fix typo in prompt. 1998-05-20 22:23:16 +00:00
eivind
be77d63a36 Back out previous commit - it breaks when called from 'buildworld' :-(
(Damn, I wanted that in the -snap).
1998-05-20 20:54:10 +00:00
eivind
26479a854b Move __FreeBSD_version into <sys/param.h> (with automated duplication
to <osreldate.h>).  This allow kernel drivers access to it.

Approved by:	-current
1998-05-20 20:35:42 +00:00
wpaul
5dfe53a812 Change the sanity test here. It's not correct to assume that the record
size we receive here should fit into the receive buffer. Unfortunately,
there's no 100% foolproof way to distinguish a ridiculously large record
size that a client actually meant to send us from a ridiculously large
record size that was sent as a spoof attempt.

The one value that we can positively identify as bogus is zero. A
zero-sized record makes absolutely no sense, and sending an endless
supply of zeroes will cause the server to loop forever trying to
fill its receive buffer.

Note that the changes made to readtcp() make it okay to revert this
sanity test since the deadlock case where a client can keep the server
occupied forever in the readtcp() select() loop can't happen anymore.
This solution is not ideal, but is relatively easy to implement. The
ideal solution would be to re-arrange the way dispatching is handled
so that the select() loop in readtcp() can be eliminated, but this is
difficult to implement. I do plan to implement the complete solution
eventually but in the meantime I don't want to leave the RPC library
totally vulnerable.

That you very much Sun, may I have another.
1998-05-20 15:56:11 +00:00
dufault
5fffcbed80 Add missing close paren 1998-05-20 14:08:43 +00:00
kato
3d902ae88e Sync with sys/i386/isa/sio.c revision 1.202. 1998-05-20 13:39:06 +00:00
kato
d946538ded Sync with sys/i386/isa/clock.c revision 1.120. 1998-05-20 13:38:42 +00:00
wosch
3b638df443 Add mid scripts. Mid is a tool which create a Message-ID database
for mailing lists.
1998-05-20 09:20:02 +00:00
peter
636dfd3892 Only ignore "owner" permissions selectively rather than always. In some
cases we ignore it (eg: read/write) to maintain chmod-after-open semantics
but in other cases we do care, eg: creating files, access() etc.  Never
ignore errors from VOP_ACCESS() on immutable files.

This apparently comes from BSDI (from Keith Bostic) via NetBSD.

PR:		5148
Submitted by:	Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
1998-05-20 09:05:48 +00:00
peter
fb32317974 s/flags/flag/ 1998-05-20 08:05:45 +00:00
peter
de5055805c A cleaner fix for PR#5102, clear nonsense flags at mount time rather than
in the core of nfs_bio.c at the 11th hour.

PR:		5102
1998-05-20 08:02:24 +00:00
peter
b4c1590661 Don't change argp->flags after it's been copied. 1998-05-20 07:59:21 +00:00
phk
4deed10745 LoadSoftModem() routine at sio.c does not trap general serial I/Os.
It fauls to probe eather DSI Modem or others.

PR:		4657
Reviewed by:	phk
Submitted by:	Kenji Saito <marukun@mx2.nisiq.net>
1998-05-20 06:46:58 +00:00
mph
e48dc12e24 Add rcsid. 1998-05-20 05:43:01 +00:00
mph
daa4d2a9e5 If LOCALE is not defined, default to USA. Otherwise, bsd.locale.mk
blows up with errors.
1998-05-20 05:41:20 +00:00
mph
878146fb13 Add bsd.locale.mk to the list of files. Whether bsd.locale.mk is
the right solution or not, bsd.port.mk is broken unless bsd.locale.mk
is installed.

Note that if LOCALE is not defined, port-building explodes:

"/usr/share/mk/bsd.locale.mk", line 135: if-less elif
"/usr/share/mk/bsd.locale.mk", line 135: Need an operator
(For each .if testing LOCALE)
1998-05-20 04:57:16 +00:00
jkh
61e7bd785f Alpha MAKEDEV as directly imported from NetBSD-current. This will
almost certainly have to change as the FreeBSD/Alpha kernel comes
along, but for the transitionary period this is the most correct.
Obtained from:	NetBSD
1998-05-20 03:05:05 +00:00
jkh
24a92900d2 Add some place-holder files here to keep the distribution target
from blowing up.  The disktab file isn't necessarily invalid either
for a PCI Alpha.
1998-05-20 03:01:42 +00:00
jkh
98cdf717cf Don't pack distfiles left over from docs builds into ports.tgz. 1998-05-20 01:06:32 +00:00
julian
368b6eb666 Change the description of where to get the Soft Updates files. 1998-05-19 23:23:09 +00:00
julian
7ee5b0760a Ensure that there is enough information here, so that people can use
soft updates should they desire.
1998-05-19 23:18:37 +00:00
julian
1d370e5321 Bring up-to-date with Whistle's current version
Includes some debugging code.
1998-05-19 23:07:25 +00:00
julian
1aca5b515a Merge with Kirk's version as of Feb 20
His version 9.23 == our version 1.5 of ffs_softdep.c
His version 9.5 ==  our version 1.4 of softdep.c
1998-05-19 22:54:53 +00:00
brian
f1a1b9550f Close forgotten descriptor.
PR: 6690
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-19 21:49:54 +00:00
julian
775d9bc55b Merge in Kirk's changes to stop softupdates from hogging all of memory. 1998-05-19 21:45:53 +00:00
dufault
34bfccff91 1. Add new defs for mins and maxs for the POSIX flavor priorities. They
end up being the same, but it doesn't look like you're comparing
apples and oranges.

2. Use need_resched instead of reset_priority.  This isn't right
either, since for example you'll round-robin against equal priority FIFO
processes when lowering the priority of another process,
but this works better and a real fix needs to be in kern_synch and
not out here.

3. This is not a device driver: copyin/copyout the structure.
1998-05-19 21:11:53 +00:00
dufault
8add3d9f04 Remove option for SCHED_FIFO. With this optional, SCHED_FIFO
is the same as RTPRIO_IDLE when it falls through to the default.
1998-05-19 20:59:07 +00:00
dufault
67c60b6b62 Treat RTP_PRIO_FIFO the same as RTP_PRIO_REALTIME for status display. 1998-05-19 20:52:31 +00:00
julian
03438335f7 Change to stop a silly panic. This should be understood better.
Change a buffer swizzle trick to a bcopy. It would be nice if the efficient
trick could be used in the future.
1998-05-19 20:50:41 +00:00
rnordier
c7903ff356 Support integer constant unsigned-suffix and long-long-suffix. 1998-05-19 20:41:20 +00:00
julian
294f018f94 First published FreeBSD version of soft updates Feb 5. 1998-05-19 20:18:42 +00:00
julian
59d05b8498 This commit was generated by cvs2svn to compensate for changes in r36206,
which included commits to RCS files with non-trunk default branches.
1998-05-19 20:03:29 +00:00
julian
d771ed3f6b Import the next version received from kirk after some
FreeBSD feedback.
1998-05-19 20:03:29 +00:00