Commit Graph

34121 Commits

Author SHA1 Message Date
dfr
7a9bc41cc4 In ufs_setattr(), if only one of va_atime or va_mtime are != VNOVAL, then
the code set the other field in the inode to VNOVAL.  This can happen
sometimes on an NFS server.
1998-12-20 12:36:01 +00:00
bde
db9539dd37 FIxed unsorting of cross references in previous commit. 1998-12-20 06:30:05 +00:00
bde
32e7a08ca5 Fixed unsorting of MAN1 in previous commit. 1998-12-20 06:27:00 +00:00
wes
08ad2ecd3d Added documenation for the existing implementation of asctime_r,
ctime_r, gmtime_r, and localtime_r.
1998-12-20 06:22:06 +00:00
foxfair
32d2041e9b Fixed typo done, thanks! 1998-12-20 02:53:49 +00:00
foxfair
2ab2dd56dd Fixed typo. 1998-12-20 02:52:30 +00:00
mjacob
d71b9016dc 1) Fix some serious bugs (1 botch on my part which caused a filemark to be
written even it the tape was opened readonly- 2 botches in deferred error
handling for FIXED LENGTH mode which caused panic && hand resp.). Fixed
a memory leak in sa_mount.
2) Fixed an annoying bug when turning of compression to actually reflect
this for future status calls.
3) Implement the MTIOCERRSTAT call where latched control and I/O residuals
and sense data are returned to the application asking for them.
1998-12-19 23:33:21 +00:00
msmith
9050cce8aa Move the "generic" SMP options from options.i386 to conf/options 1998-12-19 23:07:51 +00:00
msmith
d5bf173f19 Move the "generic" SMP options from options.i386 to conf/options.
This has the useful side-effect of ensuring that opt_smp.h is
always generated, so we can assume it will always be available.

Prompted by:	Andrew Gallatin <gallatin@cs.duke.edu>
1998-12-19 23:07:16 +00:00
mjacob
d9c216a344 add in new errstat subcommand (MTIOCSERRSTAT) 1998-12-19 20:23:37 +00:00
mjacob
9795888822 Add MTIOCERRSTAT ioctl and structures that define (at least for
SCSI) the data returned for latched residual and error statistics.
Reserve space for LOG SENSE data which we'll get later. This area
in transition as the HP TapeAlert initiative is looked at.
1998-12-19 20:21:56 +00:00
obrien
4146899a25 Display uptime in upper right corner.
Submitted by:	Andy Farkas <andyf@speednet.com.au>
Obtained from:	freebsd-current list
1998-12-19 20:09:20 +00:00
sos
25759a95be Make it compile again.
I have no idea if the new stuff works though.

Broken by: Julian
1998-12-19 19:05:57 +00:00
phk
8d37d7da90 Add "fla" to Disk_Names() 1998-12-19 18:48:33 +00:00
bde
3bb6da1b8b Wait for channel commands to complete after issuing the commands.
The optimisation of only waiting before issuing new commands is
obviously invalid in general and it caused many errors in NIST-PCTS.
I think the errors were mostly for characters sent with the wrong
parity, etc., after a half complete tcsetattr().

Use microtime() instead of a magic loop count to limit the wait.
The wait is a busy-wait :-( and normally takes about 500 usec.
1998-12-19 16:28:57 +00:00
foxfair
4b4a7fe681 Add more non-Intel family ((new)) chipset, just like VIA technology MVP3
AcerLabs Aladdin-V. It makes the PCI probing work when system booting. I
will try to merge some additional funtion(i.e. wdc1 problem cause tons of
PR appear :<) ASAP if I could.

Remind me if something wrong after committing, thanks!
1998-12-19 16:05:19 +00:00
dillon
e831efdb4f Commit initial man page for 'security'... an introduction to security
mechanisms.  It is a little light on detail but still a pretty good
    overview.  I suggest that for specific detail (such as, for example,
    how to setup kerberos), that additional security-DETAILNAME man pages
    be written and refered to.
1998-12-19 09:33:03 +00:00
julian
2a8dd8b3fc Remove the bogus charracters "42" from the beginning of the first line.
looks like "editor turd".
1998-12-19 08:35:30 +00:00
julian
d718e5c06d Fix two bogons created by 'patch(1)' in my last commit. 1998-12-19 08:23:31 +00:00
dillon
c8892ea5ce Take bind out of sandbox and run it as root again, but leave support
mechanisms ('bind' user and group) in place so the feature can be easily
    turned on.  There were too many complaints.  The security(1) man
    page will be created/updated to include the appropriate info.
1998-12-19 07:25:56 +00:00
wpaul
6a5ae683b9 Trim the ethernet CRC from received frames manually in wb_rxeof().
The Winbond chip always includes the CRC with every received frame,
and I can't find anything in the Winbond manual that indicates you can
program it not to do this.
1998-12-19 04:19:44 +00:00
msmith
434b0ce442 Fix for bogus BIOS configuration of the 450NX PCI interface on some
systems (eg. Dell 6300).

PR:		kern/8928
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1998-12-19 02:58:29 +00:00
julian
61490236bc Reviewed by: Luoqi Chen, Jordan Hubbard
Submitted by:	 "Richard Seaman, Jr." <lists@tar.com>
Obtained from:	linux :-)

Code to allow Linux Threads to run under FreeBSD.

By default not enabled
This code is dependent on the conditional
COMPAT_LINUX_THREADS (suggested by Garret)
This is not yet a 'real' option but will be within some number of hours.
1998-12-19 02:55:34 +00:00
msmith
da7c7a2e12 Support for Intel 450NX-based systems with more than one PCI bus (ie.
most of them).

Many thanks to Kevin Van Maren for the work here, Intel for lending us
a 450NX system to work this out on, and several other folks for testing
the patches.  See the PR for an extensive discussion of the nature of
the problem and resolution.

PR:		kern/8928
Submitted by:	Kevin Van Maren <vanmaren@fast.cs.utah.edu>
1998-12-19 02:51:22 +00:00
dt
c38333521c Make <sys/dirent.h> and <dirent.h> self-sufficient, using new __intN_t types. 1998-12-19 00:30:01 +00:00
dt
e03090ed37 Install <sys/inttypes.h> as <inttypes.h>. 1998-12-19 00:21:13 +00:00
dt
5d9cc4426e Little reorganization:
- created internal names for fixed-size integral types, like __int32_t. They
  will be used to make several headers self-sufficient.
- <stdlib.h> don't include <machine/types.h> anymore.
- created <sys/inttypes.h>, which can be used as <inttypes.h>.
- declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>.

Reviewed by:	bde
1998-12-19 00:02:34 +00:00
wpaul
e5dfa4c78d Correct the definition for PN_NETCFG_NO_RXCRC: it's 0x20000000, not
0x02000000. This error was causing the chip to always include the
ethernet CRC along with every received frame (the driver turns on
PN_NETCFG_NO_RXCRC, but it was frobbing the wrong bit).
1998-12-18 18:31:34 +00:00
mjacob
e432d65bec Made changes suggested by bruce, plus a couple of others which made -Wall work.
Obtained from:bde@freebsd.org
1998-12-18 18:16:35 +00:00
bde
c26aa71e02 Removed unused (slightly wrong) stub functions.
Fixed some staticization obfuscations.
1998-12-18 18:07:10 +00:00
des
b8af0c7d8d Don't specify a language to compile_et.
Rename fetchConnect to _fetch_connect since it's internal.
1998-12-18 14:32:48 +00:00
des
ab07ab9139 Unbreak K&R support, and generate code that works in K&R C as well as
ANSI C no matter what language is specified.
1998-12-18 14:29:51 +00:00
asami
615c9f88c4 Add share/emacs/site-lisp. Too many things break without it.
Reviewed by:	ports list (a long time ago)
1998-12-18 08:06:34 +00:00
jkh
214c5d6e78 Now that textproc/docproj works properly, use it instead of the long
list of ports.
1998-12-18 05:13:01 +00:00
mjacob
6662c8e53a Add in block position/block locate functions. 1998-12-18 04:31:43 +00:00
mjacob
50ba4cd74d Add structures and function definitions pertinent for hardware locate support. 1998-12-18 04:29:16 +00:00
jkoshy
50a4f62af0 Add references to test(1) and expr(1). 1998-12-18 03:51:18 +00:00
jkoshy
1f0db97d01 Add cross-references to test(1) and expr(1) respectively.
PR: 		docs/9111
Submitted by:	Josh Gilliam <josh@quick.net>
1998-12-18 03:16:47 +00:00
jkoshy
dbc51805b8 Fix spelling nits.
PR:		docs/9115
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-12-18 03:08:57 +00:00
mjacob
9007253495 1) Clarify that a weof count of zero is allowed (flush buffers).
2) Add in the set of {sethpos,setspos,rdhpos,rdspos) commands to implement the
Hardware && SCSI Logical Block position ioctls.
1998-12-18 02:02:20 +00:00
dfr
28aeb66d7e Enable building libio on the alpha. 1998-12-17 23:02:11 +00:00
dfr
1f39998b9a Move some compile flags from the kernel makefile to bsd.kern.mk so that
kernel modules are built with the right flags.

Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-12-17 22:36:21 +00:00
gibbs
904988fa58 Correct the definition of the changer device capabilities page. The
previous definition confused some reserved bytes for exchange capabilities.
1998-12-17 22:26:39 +00:00
mjacob
b83aae2412 import logical/hardware block locate ioctls from NetBSD 1998-12-17 19:26:49 +00:00
bde
b3eb962304 Flush the tx fifo in cystop(). Now ttyflush() (and thus tcflush(3))
almost works properly.  Unfortunately, there is no way to flush
the rx fifo without resetting the channel, which also flushes the
tx fifo.  We avoid resetting even when both fifos need to be flushed,
since resetting seems to cause the rx to lose sync if it is done
while data is arriving.

Reminded by:	NIST-PCTS
1998-12-17 19:23:09 +00:00
mjacob
d91789e596 Add some tape specific density codes- only enough of them here to recognize
some specific older units so we can choose 2FM@EOD or FIXED blocksize
quirks.
1998-12-17 19:04:18 +00:00
mjacob
f87175eaf7 Several changes having to do blocksize- mostly to force variable as the default.
Attempt to determine (at mount time if not done so already) via density code
whether a device should default to fixed mode or not. Attempts to set to
variable that fail will cause fixed to be selected.

Similarly, the '2 filemarks at EOM' quirk is now determined (or attempted to
be determined) via density code. Some as yet not entirely tested code for
coping with 2FM@EOD position is now also in place.
1998-12-17 18:56:23 +00:00
bde
9cbd1c4cd2 Fixed handling of BREAK in input. BREAK was not being converted into an
escape sequence in the `-ignbrk -brkint parmrk' case.

Found by:	NIST-PCTS
1998-12-17 18:43:08 +00:00
bde
4d682cb5b4 Oops, this should have been in the previous commit (ensure atomic update
of com->cor[1]).
1998-12-17 18:18:06 +00:00
bde
54f96be976 Implemented sending of BREAKs. This is quite complicated because the
hardware is interrupt-driven to a fault and sending a BREAK requires
mode switching.  Always running in the BREAK-capable mode as in PR 8318
would double the overhead for sending \0's.

Reminded by:	PR 8318
1998-12-17 17:40:13 +00:00