Peter Wemm
a397086e61
Update to support SI/XIO PCI host cards (Z280 based) and the enhanced
...
SXISA and SXPCI host cards (Transputer based).
PR: 4836, 5021, 5654
Submitted by: Nick Sayer <nick@specialix.com>
1998-02-15 14:42:33 +00:00
Poul-Henning Kamp
15b7a47005
A bunch of nits from bde.
1998-02-15 14:15:21 +00:00
Poul-Henning Kamp
c7c9a816a1
Add a nanotime() function so that we can start to use this call.
1998-02-15 13:55:06 +00:00
Poul-Henning Kamp
9ada5a50f3
unifdef -UEXT_CLOCK fdef -UEXT_CLOCK, it is irrelevant.
...
Fix a couple of nits from bde while here anyway.
1998-02-15 13:50:12 +00:00
KATO Takenori
dc548d5d93
Sync with sys/i386/isa/npx.c revision 1.57.
1998-02-15 11:19:15 +00:00
KATO Takenori
127f07ea76
Sync with sys/i386/isa/sio.c revision 1.197.
1998-02-15 11:18:47 +00:00
Jordan K. Hubbard
500117e484
Revert part of my previous patch - I don't see the *need*
...
to call splbio() from within an interrupt handler here. :-)
1998-02-15 08:28:26 +00:00
Jordan K. Hubbard
7d15435cb1
missing spl() call and off by one error in the handling of the partitions.
...
Submitted by: Chris Csanady <ccsanady@friley585.res.iastate.edu>
Obtained from: OpenBSD
1998-02-15 08:14:39 +00:00
Bruce Evans
ee10b2a475
Removed a superstitious fnop() that broke the usefulness of the FPU's
...
"last instruction" pointer.
1998-02-15 06:25:26 +00:00
Bruce Evans
338ca54caf
Fixed an aliasing bug. It was too easy to defeat the check for moving
...
or shrinking an open partition (by changing the label for a compatibility
slice while partitions on the corresponding real slice are open, or vice
versa).
1998-02-15 05:41:31 +00:00
John Dyson
9f24f214c3
Make the rootdir handling more consistent. Now, processes always
...
have a root vnode associated with them, and no special checks for
the null case are needed.
Submitted by: terry@freebsd.org
1998-02-15 04:17:09 +00:00
John Birrell
1ecfd4575d
Add #include <string.h> to get prototype for memcpy().
1998-02-15 04:15:47 +00:00
John Birrell
90836d4e24
gcc on alpha complains about nested comments. A comment in this
...
file referred to a path ending in "/*" which was reasonable to me,
but gcc wasn't so sure. So now the comment refers to a path ending in
"*".
1998-02-15 04:09:48 +00:00
John Birrell
c86afb6bc0
signal() returns SIG_ERR, not just -1. The sys/signal.h header file
...
provides the cast from -1 to the signal() return type, so no further
casting by programmers should be required.
Pointed out by: bde (of course).
1998-02-15 00:46:47 +00:00
Steve Price
1b95182f20
Clarify the -batch arguments.
...
PR: 5677
Submitted by: Adrian Filipi-Martin <adrian@virginia.edu>
1998-02-14 22:55:23 +00:00
Steve Price
137db389ed
Overhaul this manpage - removing typos, awkward phrasing, and addressing
...
a few technical faults.
PR: 5692
Submitted by: dannyman@arh0300.urh.uiuc.edu
1998-02-14 18:33:37 +00:00
Steve Price
0f4b8423e1
Note that '+' and '?' are not special characters in basic REs but they
...
can be simulated using bounds.
PR: 5708
Submitted by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
1998-02-14 18:26:29 +00:00
Nate Williams
a021db1639
- If a PCCARD serial device is removed from the system, let the serial
...
driver 'break out' of the infinite loop waiting for a response from
it. This is a bad thing, but no worse than having the kernel hang.
1998-02-14 16:17:17 +00:00
Steve Price
b916ff7fcc
Correctly document h and m modifiers to the time format.
...
PR: 5739
Submitted by: Matthew Cashdollar <mattc@rfcnet.com>
1998-02-14 16:12:53 +00:00
Steve Price
3eb7ce85b1
Cleanup code so that long lines to be quoted don't get truncated.
...
PR: 5679
Reviewed by: Bruce Evans <bde@zeta.org.au>
1998-02-14 15:38:29 +00:00
Peter Wemm
373e363e34
Fix top sorting of idle processes. top used p_cpticks as a tie-breaker
...
but that isn't suitable (it gets zeroed each second apparently).
PR: bin/4957
Submitted-by: Dan Nelson <dnelson@emsphone.com>
1998-02-14 13:34:59 +00:00
Peter Wemm
950fca26ed
A hack to work around the sleep prior to calling the built-in diff. This
...
affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the
network.
1: don't pause at all unless running in server protocol mode.
2: if running in server protocol mode, do a kludge that intercepts the
stdout and stderr write functions and diverts them to cvs_output() and
cvs_outerr(). Yes, this might be done with fwopen() etc, but that also
requires copying "FILE" structs since you can't freopen stdout etc and
specify functions at the same time.
This HACK will go away once the cvs folks have done their changes to the
library version of gnu diff to use the callbacks as mentioned in the
comments.
1998-02-14 09:47:14 +00:00
KATO Takenori
9c9349c9e7
Sync with sys/i386/conf/majors.i386 revision 1.27.
1998-02-14 08:40:09 +00:00
KATO Takenori
ce4c2522da
Sync with sys/i386/isa/syscons.c revision 1.256.
1998-02-14 08:39:35 +00:00
Alexander Langer
dbe11fd7dd
Avoid using grep when determining ipfw's default policy -- it may not
...
be available at this stage of the boot if /usr is NFS mounted.
1998-02-14 04:12:23 +00:00
Paul Traina
186a666128
Change wfd major block device to 1 as part of the effort to make wfd's
...
bootable without a big increase in boot2's size.
1998-02-13 22:41:00 +00:00
Paul Traina
2e1e3ab060
Change wfd major block device to 1 as part of the effort to make wfd's
...
bootable.
1998-02-13 22:40:32 +00:00
Andrey A. Chernov
c8b701a4af
Fix very rare but dangerous bug:
...
for some DES passwords
crypt(real_password, salt)
is equal to
crypt("", salt);
It means that this user (and not only he) can login without
entering password at all, just pressing Return.
So if empty password entered and crypted password is not empty,
invalidate any crypt result by assigning ":"
1998-02-13 21:02:53 +00:00
Jordan K. Hubbard
8fef0774f8
MF22: Optimize DOC bootstrap.
1998-02-13 20:34:25 +00:00
Julian Elischer
b92d02b6db
Add the GRE protocol
...
Generic Routing Encapsulation (RFC 1702)
1998-02-13 20:21:04 +00:00
Poul-Henning Kamp
aa7caaaeb8
Fix a couple of lines that dropped out in my merge yesterday.
...
Complained about by: ache
1998-02-13 17:54:53 +00:00
Poul-Henning Kamp
cc7324910b
Man, twice in as many days. Gotta learn to check that uname.
1998-02-13 17:35:33 +00:00
KATO Takenori
348d4a6d75
Sync with sys/i386/isa/syscons.c revision 1.255.
1998-02-13 16:59:01 +00:00
KATO Takenori
be46464127
Sync with sys/i386/conf/majors.i386 revision 1.26.
1998-02-13 16:57:31 +00:00
Poul-Henning Kamp
507e2e4443
Add a skelleton pulse-per-second timing driver. This will become more
...
useful when I get my timecounter changes past the Bruce-filter.
1998-02-13 13:00:02 +00:00
Poul-Henning Kamp
a4daaa09f2
Implement the spirit but not the letter of Terrys hot-char patch.
...
The differences Terrys patch and this patch are:
* Remove a lot of un-needed comments.
* Don't put l_hotchar at the front of stuct linesw, there is no need to.
* Use the #defines for the hotchar in the SLIP and PPP line disciplines
1998-02-13 12:46:28 +00:00
Poul-Henning Kamp
a744622f69
Hmm, it is generally an advantage to commit the most recent version of
...
ones changes: A faster character painter procedure and fix on cursor
bug.
1998-02-13 11:31:34 +00:00
KATO Takenori
53a76bb7ed
Use RDMSR instruction instead of WRMSR.
1998-02-13 09:34:42 +00:00
KATO Takenori
197ea5e1a0
Sync with sys/i386/isa/npx.c revision 1.56.
1998-02-13 09:32:50 +00:00
KATO Takenori
a7378a5844
Sync with sys/i386/isa/clock.c revision 1.110.
1998-02-13 09:32:17 +00:00
KATO Takenori
b0fc6ff1dd
Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.254 and
...
1.37, respectively.
1998-02-13 09:31:35 +00:00
Jordan K. Hubbard
80e35f1859
MF22: correct bogus failure return.
1998-02-13 08:01:01 +00:00
Bruce Evans
9d767d027e
Staticized.
1998-02-13 07:34:52 +00:00
Bruce Evans
5883bcc9d2
Don't (conditionally) override the kernel's min() and max() functions
...
with macros. This breaks if the functions are replaced by macros with
unsuitable semantics. Define a MAX() macro unconditionally instead.
max() is unsuitable since we need a constant expression. Don't define
MIN() - we never used min().
1998-02-13 07:09:38 +00:00
Bruce Evans
359888780e
Ifdefed SMP-only declarations.
1998-02-13 06:59:22 +00:00
Bruce Evans
cee45f8421
Don't generate warnings for test coverage checking when compiling LINT.
...
Generate code instead.
1998-02-13 06:49:16 +00:00
Bruce Evans
1d804e7925
Update timer0_prescaler_count before calling hardclock() while timer0
...
is "acquired". This fixes a TSC biasing error of about 10 msec when
pcaudio is active.
Update `time' before calling hardclock() when timer0 is being released.
This is not known to be important.
Added some delays in writertc(). Efficiency is not critical here, unlike
in rtcin(), and we already use conservative delays there.
Don't touch the hardware when machdep.i8254_freq is being changed but
the maximum count wouldn't change. This fixes jitter of up to 10 msec
for most small adjustments to machdep.i8254_freq. When the maximum
count needs to change, the hardware should be adjusted more carefully.
1998-02-13 06:33:16 +00:00
Bruce Evans
9f449d2aa2
Ifdefed some npx code. npx should be optional again.
1998-02-13 05:30:18 +00:00
Bruce Evans
9729f279db
Fixed missing privilege checking and off-by-1 bounds checking in
...
i386_set_ioperm(). Don't use a magic number for the bound.
Fixed missing bounds checking in i386_get_ioperm(). Don't use a
magic number for the bound elsewhere in this function.
Removed some bogus initializers.
1998-02-13 05:25:37 +00:00
Bruce Evans
f1d7b4203c
Converted putfsent() to Lite2 mount interface - don't use numeric
...
filesystem types.
1998-02-13 04:54:27 +00:00