Commit Graph

10892 Commits

Author SHA1 Message Date
ache
698e939e43 Remove my locale hack. Sigh. 1995-11-02 12:42:42 +00:00
peter
e6eb68645b When the sync-on-shutdown fails to clear all buffers, this bit of code
can print them out.
I have seen that MFS can leave BUSY buffers, preventing a clean reboot...
1995-11-02 09:52:40 +00:00
peter
3d387b17db Make putc and b_to_q deal with clists with no reserved blocks in a more
civilised manner than panicing.  This only happens as a result of another
state botch somewhere else, eg: from a tty driver calling putc or b_to_q
on a closed device.  Apparently, it's also been implicated in a panic
with a status (^T) event on ptys.

This change should pretty well be in it's final form now.
1995-11-02 08:37:22 +00:00
dg
c85bf90168 Move page fixups (pmap_clear_modify, etc) that happen after paging input
completes out of vm_fault and into the pagers. This get rid of some
redundancy and improves the architecture.

Reviewed by:	John Dyson <dyson>
1995-11-02 06:42:47 +00:00
wollman
c53e4d30ed Instrument the IP input queue with two new read-only MIB entries:
net.inet.ip.intr-queue-maxlen (=== ipintrq.ifq_maxlen)
and	net.inet.ip.intr-queue-drops (=== ipintrq.ifq_drops)

There should probably be a standard way of getting the same information
going the other way.
1995-11-01 17:18:27 +00:00
nate
16af6306ac Don't have ldconfig look in /usr/gnu/lib since it was removed before 2.0R. 1995-11-01 16:53:25 +00:00
peter
04650f6d50 Clean up the previous commit I did on this file.
The Jury has not reached a verdict yet on this approach - a better fix
may be thought of, but for now this works.
1995-11-01 15:59:55 +00:00
peter
5bbf28a096 Add a DRIVER_S= definition that config wants to use for assembler
source.  This was copied from NORMAL_S..
1995-11-01 15:03:02 +00:00
markm
9118b75ab0 Add the man directory to the SUBDIR list - some pages were bing lost.
Thes pages will move for 2.2.

Please put this in 2.1
1995-11-01 13:38:22 +00:00
adam
e8894e8b38 Fix the :S modifier to substitute in each word of the variable, according
to the description in the manpage. g flag means "replace every occurence
in each word", and its absence means "replace first occurence in each word".
Previously, absence of the g flag was implemented to mean "replace first
occurence found in all words, and then stop replacing", which was incorrect.
1995-11-01 12:18:32 +00:00
ache
a86aed0f23 Fix ranlib to work with odd-length extended names.
Submitted by: Jim Leppek <jleppek@harris.com>
1995-11-01 08:06:01 +00:00
peter
d34865cc89 Re-Zap unused variables in their new location.. :-) 1995-11-01 00:58:43 +00:00
gpalmer
bc81b71f65 Minor changes. Note that the ICMP code will either send a host unreachable
or port unreachable as appropriate.
1995-11-01 00:42:17 +00:00
ache
e702f25f2b If accounting becomes enabled and /var/account/acct
not exist, touch it, or accounting is never started
(it must be pre-existen file).
1995-11-01 00:22:45 +00:00
julian
2457c77564 Submitted by: Mike Mitchell (mitchell@ref.tfs.com)
these patches bring the ipx code up to the point that it compiles cleanly with
the -W arguments suggested by bruce.
1995-10-31 23:36:47 +00:00
peter
77550cade3 Merge in changes from ppp-2.2's chat onto the mainline... 1995-10-31 23:28:29 +00:00
peter
b33c863c0a This commit was generated by cvs2svn to compensate for changes in r11987,
which included commits to RCS files with non-trunk default branches.
1995-10-31 23:07:20 +00:00
peter
7a5c66d50c Vendor branch import of chat from ppp-2.2 package.. 1995-10-31 23:07:20 +00:00
peter
dfdf3a427b Merge pppstats from ppp-2.2 onto mainline..
This version uses specific interface ioctl()'s rather than groveling
around in /dev/kmem
1995-10-31 21:41:59 +00:00
peter
1ac4feebcc Whoops.. ppp-comp.h -> ppp_comp.h... 1995-10-31 21:29:25 +00:00
peter
9fba2426b5 Bring pppd from ppp-2.2 onto the mainline..
(more work needs to be done here, I'm trying to beat the supscan)
1995-10-31 21:21:51 +00:00
joerg
583ff5b6cd Include a prerequisite header (so this is consistent again with the
NFSv2 state).
1995-10-31 21:17:59 +00:00
peter
3d4568ea4e Import pppd onto the vendor branch from the ppp-2.2 package.. 1995-10-31 21:11:19 +00:00
cvs2svn
7e99de9974 This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1995-10-31 21:10:15 +00:00
peter
98d7c48511 Initial revision 1995-10-31 21:10:14 +00:00
peter
62ed04dfc8 We no longer need the spltty() == splimp() hack if PPP is configured into
the kernel.  ppp_tty.c goes to some lengths to minimise the inter-layer
calling (including a soft ISR).  ppp_tty.c takes care of the soft masking
that was needed still.

(I've discovered that bugs in this area show up within an hour if the
masking was not correct.. :-}  This combination has proven stable on
specialix serial ports, although there was some concern about the softtty
parts of sio/cy and netisr colliding - but Bruce has fixed that now)
1995-10-31 21:03:57 +00:00
pst
09766cf230 Pad out MSDOS boot block to 512 bytes (bugfix only)
Submitted by: Andreas Haakh, ah@alman.RoBIN.de
1995-10-31 20:54:33 +00:00
peter
2ad67f9eec Update if_ppp lkm to pull in the new files... 1995-10-31 20:54:15 +00:00
peter
e5976f5ea6 Remove the old pppcompress files (btw: these look net-2 derived)
commit merge for bsd_comp.c - I missed this with a *ppp* wildcard.
1995-10-31 20:51:24 +00:00
peter
d24ef040a0 Drat.. Missed this one, which #includes ppp-comp.h, not ppp_comp.h 1995-10-31 20:41:32 +00:00
peter
1596c36178 Update the file list for the new ppp files.. 1995-10-31 20:33:23 +00:00
jkh
6f708e7f5a Fix the `pkg_add relative to .' bug. Thank you, Ville!
Submitted by:	Ville Eerola <ville@vlsi.fi>
1995-10-31 20:30:18 +00:00
peter
18198dc6cb Merge/update ppp-2.2 kernel parts onto mainline.
Note that the old if_ppp.c has been split in half into if_ppp.c and
ppp_tty.c
1995-10-31 20:24:14 +00:00
peter
d83ad612ea Import the FreeBSD specific kernel parts of the ppp-2.2 package..
This is the unmodified files vendor branch import, the working stuff 
will follow shortly..
1995-10-31 20:07:34 +00:00
cvs2svn
c0522a7873 This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1995-10-31 20:07:33 +00:00
peter
9fb3eefca0 Initial revision 1995-10-31 20:07:32 +00:00
bde
208ab1ba2e Fixed initialization of TS_CONNECTED bit in t_state. It wasn't
set in open() when CLOCAL is set unless carrier is present.

Fixed initialization of line discipline.  It lived across opens.
Lines that started with the wrong discipline probably didn't work
at all, because TS_ISOPEN is only set by TTYDISC.
1995-10-31 19:27:50 +00:00
peter
8ba1da98f9 slcompress: split one of the functions into two parts, to allow use by both
if_sl and if_ppp (from ppp-2.2), eliminating the nearly identical
 pppcompress.[ch] code.  Add maximum VJ compression states argument to
 sl_compress_init().
if_sl: call sl_compress_init() with the extra argument.
1995-10-31 19:22:32 +00:00
peter
b74381b72c Add a simplistic netisr register routine - I need this now for ppp-2.2. 1995-10-31 19:07:53 +00:00
peter
6b6349e583 Make a putc()/b_to_q() to a clist that hasn't had cblocks reserved
non-fatal.  I've make it return an appropriate error to the caller instead
of panic()ing.

Handling an error condition is inherently more friendly than exploding
the kernel.. :-)  The new behavior is a little closer to traditional
clists, potentially making porting a little simpler.

Suggested by: bde (many months ago, I've been using this for a while..)
1995-10-31 19:00:00 +00:00
phk
9ee584cede Cleanup, make things static. 1995-10-31 18:41:49 +00:00
phk
1a49ad4023 Get pccard stuff into LINT.
rename i386/isa/pcic.c to .../pcicx.c
this file will go away when the if_ze and if_zp dies.
1995-10-31 18:28:55 +00:00
joerg
aacbfecce4 Support the configuration of "od" devices.
Submitted by:	akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-10-31 17:31:35 +00:00
joerg
772176efff The "od" driver. While the name is suggesting the use for
magneto-optical devices, it's scope can (and should) be widened to
cover all removable type 0 (direct) devices as well, since this class
of devices is sharing the same principles.  Things like suport for
media eject etc. will be supported later.  (Shunsuke is also working
on the problems arising out of the use of media with physical block
size != 512 bytes (which is not uncommon for MODs).

Submitted by:	 akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-10-31 17:25:58 +00:00
joerg
d24010b5b8 Include the "od" driver. (Oops, forgot to cvs add the driver file
itself.  Will do this after this commit.)

Make scsiconf more flexible about recognizing ``foreign'' devices.
This part needs to be rewritten some day to allow for matches whithou
strict version number checks, but either Julian as Peter seem to be
too busy right now, so i'm finally commiting the version that's
working for me stable now for several months, as an interim
workaround.

Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-10-31 17:21:00 +00:00
joerg
51c1be034e Minor correction for the "od" driver.
Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-10-31 17:03:26 +00:00
joerg
0abc945ffd Include the "od" driver. 1995-10-31 17:00:03 +00:00
phk
ae9652ec63 Make a lot of stuff static. 1995-10-31 12:13:49 +00:00
peter
c35184f705 mfs_open could panic with false identification: panic("mfs_ioctl: .... 1995-10-31 10:45:48 +00:00
ache
eb02905cc1 Revert fsync ifdef behaviour and name, now default variant acts like
original one.
Suggested by: peter
1995-10-31 09:16:46 +00:00