summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Synchronize with sys/i386/isa/lpt.c revision 1.60.kato1997-04-211-6/+8
|
* Synchronize with sys/i386/isa/syscons.c.revision 1.210.kato1997-04-211-10/+12
|
* Add a reconnect capability directing ppp to re-establishbrian1997-04-219-22/+136
| | | | | | | | | | | the connection after an unexpected loss of carrier: set reconnect timer ntries The man page warns against using this command when your timeout value is slightly more than the other sides :{} Suggested by: burton@bsampley.vip.best.com (Burton Sampley)
* Fix markup bogons.jfieber1997-04-211-6/+6
|
* Merge from 2.2.asami1997-04-211-8/+13
|
* Clean-up my modification of popen.c for vfork. Bruce's (this) is better.dyson1997-04-201-10/+12
| | | | Submitted by: Bruce Evans <bde@freebsd.org>
* Bring over doc fixes.jkh1997-04-202-29/+8
|
* YAMF22jkh1997-04-201-15/+14
|
* Fixed the type of a timeout function and removed casts that hid thebde1997-04-201-2/+7
| | | | | | type mismatches. There was no problem in practice (at least on 386's). The timeout args still get bogusly cast from int to `void *' via caddr_t and back to int.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-204-48/+76
| | | | | | | | | type mismatches. mcd and scd were/are particularly bogus. They used a general purpose function taking 2 args for the timeout function and fudged varargs stuff to supply the second arg for the timeout case. This broke `cc -mrtd'. Bounce through a timeout function instead. The timeout arg still gets bogusly cast from int to `void *' and back.
* Fix both a problem with accessing backing objects, and also releasedyson1997-04-202-2/+28
| | | | | | the process map on nonexistant pages. PR: kern/3327 Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>
* Re-institute the efficent version of vfork. It appears to make adyson1997-04-201-2/+2
| | | | | | | difference of approx 3mins in make world on my P6!!! This means that vfork now has full address space sharing, so beware with sloppy vfork programming. Also, you really do need to apply the previously committed popen fix in libc.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-209-16/+15
| | | | | type mismatches. Not taking an arg in sequencer_timer() broke `cc -mrtd'.
* Sync with 2.2 and clean up some tortured english that was added.jkh1997-04-2028-96/+415
|
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-204-33/+24
| | | | | | | | | | | | | type mismatches. There was no problem in practice (at least on 386's). Don't cast NULL in calls to timeout functions. pcvt is fully prototyped and doesn't support K&R. Timeout functions take args of type `void *', so use magic numbers of type `void *' for UPDATE_* to reduce the danger of wrong conversions. Removed FreeBSD-pre-1.1-related TIMEOUT_FUNC_T macro. It was especially bogus for the pre-1.1 case.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-203-30/+36
| | | | type mismatches. Not taking an arg in scrn_timer() broke `cc -mrtd'.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-201-11/+7
| | | | | | | | type mismatches. There was no problem in practice (at least on 386's). Removed NetBSD-related TIMEOUT macro. NetBSD uses the same BSD4.4Lite timeout interface as FreeBSD. As a concession to portability, declare the timeout function without using the FreeBSD timeout_t typedef.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-207-31/+35
| | | | type mismatches. There was no problem in practice (at least on 386's).
* Fixed inconsistent extern declaration of a timeout function andbde1997-04-201-2/+2
| | | | | removed a cast that helped hide the problem. There was no problem in practice (at least on 386's).
* Use separate routines for memmove() and memcpy(). This lets me dropbde1997-04-201-0/+2
| | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD
* Use separate routines for memmove() and memcpy(). This lets me dropbde1997-04-202-94/+4
| | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD
* Merged with the 1996/11/12 NetBSD version:bde1997-04-201-10/+24
| | | | | | | | | | | | | | | - use a slightly less bogus copyright. This file was never contributed to Berkeley. It still claims to be copright by the Regents. - use <machine/asm.h> instead of "DEFS.h". - use RCSID($Id$) instead of explicit assembly code and messy ifdefs. The rcsid won't be put into the object file until we make RCSID() non-null. NetBSD uses a LIBC_SCCS ifdef here. We used a LIBC_RCS instead, but I want RCSID() to be controlled directly by LIBC_RCS (actually by LIB_RCS). This is the only difference with the NetBSD version. - added ifdefs to support generation of memcpy() and memmove(). The other changes are "while I'm here" to get this. - improved style of the copy backwards case.
* Updating FAQ entry for X Inside.pds1997-04-201-32/+67
| | | | | | | | Added FAQ entries for tape changers and login names. Fixed <code> tags. PR: docs/3324 PR: docs/3326
* Fixed linting of and compilation of the gcc byte-swapping macrosbde1997-04-201-15/+12
| | | | | | | | | | | | | | | properly. Simply don't use the gcc macros if we're not gcc, and declare prototypes for the byte-swapping functions in case the macro versions are not used. The previous fix was wrong and broke libpcap, which abuses -Dlint. Don't pollute the namespace if _POSIX_SOURCE is defined. This is broken - it makes almost everything in <machine/endian.h> inaccessible if _POSIX_SOURCE is defined, yet <machine/endian.h> is not a POSIX header. Other systems don't do it any better. Removed always-false `BYTE_ORDER == BIG_ENDIAN' ifdef. Obtained from: partly from Lite(2?) and NetBSD
* 1. i82365.h: Chip identifiers should not be #ifdef PC98. Add identifierphk1997-04-203-45/+76
| | | | | | | | | | (pt. unused) for TI PCI1130. 2. pccard.c: PCIC_RESUME_RESET is now (also) a sysctl. (Never make it a #ifdef if it can be made a sysctl!) 3. pcic.c: make getb() and putb() proper member functions of struct pcic_slot. Add a couple of missing casts.
* The bit of the cardbus bridge support code se and I have been able to agreephk1997-04-202-2/+14
| | | | | on so far... :-) Reviewed by: se
* Fix up the "hlt vector" change I made.phk1997-04-203-21/+21
| | | | Reviewed by: bde, bde, bde
* Synchronize with sys/i386/isa/diskslice_machdep.c revision 1.25.kato1997-04-202-16/+22
|
* Tweak column headers a tad for when running in SMP mode.peter1997-04-191-2/+2
|
* Sync with original source.wosch1997-04-191-52/+126
| | | | | BTW, the BSD family tree has been reviewed by: John S. Quarterman, Keith Bostic, Kirk McKusick, Peter H. Salus.
* Understand `--' to end processing of command options.wosch1997-04-191-5/+5
| | | | | This means one search for a string starting with a dash. Fix also filenames starting with a dash. Close PR #3349
* Fixed long lines.bde1997-04-192-16/+18
| | | | | | Removed unused macros CALL() and ASMSTR. Reviewed by: jdp
* Fixed #include and/or prototype bugs in synopsis.bde1997-04-196-10/+11
|
* Updated comment about MANDEPEND (it was misplaced in bsd.prog.mk).bde1997-04-191-1/+3
|
* Synchronize with sys/i386/isa/sio.c revision 1.163.kato1997-04-192-10/+22
|
* Removed unused (and almost unusable) support for LDONLY. See ld/rtldbde1997-04-191-27/+1
| | | | | | | | | | | for how to use gcc to invoke the linker only. Removed `.if 0'ed support for not creating intermediate object files. Removed unused include of bsd.libnames.mk (LDONLY had the last reference to it). Removed stale misplaced comment about MANDEPEND.
* Fix a bug where a program which appended many small records to a file coulddfr1997-04-192-2/+6
| | | | | | | | | | | | | wind up writing zeros instead of real data when the file is on an NFSv2 mounted directory. While tracking this bug down, I noticed that nfs_asyncio was waking *all* the iods when a block was written instead of just one per block. Fixing this gives a 25% performance improvment for writes on v2 (less for v3). Both are 2.2 candidates. PR: kern/2774
* Avoid division by 0 in check_part(). (It occurred when max_nsectors == 0.bde1997-04-192-16/+22
| | | | | | | This case is clearly an error, but we keep calling check_part() to get diagnostics.) Fixed nearby indentation and commenting bugs.
* Fix typo in previous commitache1997-04-191-2/+2
|
* Point people at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/CTM for the deltasgpalmer1997-04-191-2/+2
| | | | | instead of ftp://freefall.cdrom.com/pub/CTM (which it hasn't been for ages)
* Unceremoneously discard HDLC frames with less than two bytes in them.phk1997-04-191-1/+7
| | | | | | | XXX: real fix: this could should check the number of bytes in the packet before accessing them. Found by: phkmalloc
* Fix make depend.dfr1997-04-193-1/+19
|
* Avoid `lock against myself' panic by following operation:kato1997-04-194-12/+66
| | | | | | | | | | # mount -t union (or null) dir1 dir2 # mount -t union (or null) dir2 dir1 The function namei in union_mount calls union_root. The upper vnode has been already locked and vn_lock in union_root causes above panic. Add printf's included in `#ifdef DIAGNOSTIC' for EDEADLK cases.
* Don't disable CPU cache in init_486dlc. If BIOS supports Cyrix 486,kato1997-04-192-6/+2
| | | | | | | | | BIOS enables CPU cache and other registers. If BIOS does not supports it, CPU cache is disabled at reset time. This commit closes PR/3292. PR: 3292
* Enable GLOBAL tags support.jkh1997-04-181-1/+3
|
* Enable GLOBAL tags support for nvi.jkh1997-04-1811-94/+292
| | | | Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
* Don't call timeout() for DTR wakeup or busy check if the relevant timeoutbde1997-04-183-15/+33
| | | | | is already active. This fixes "timeout table full" panics under 100% interrupt load and other weird conditions.
* No longer use AAP for queueing SCBs to the QINFIFO.gibbs1997-04-181-79/+63
| | | | | | | | | Clean up the unexpected busfree handler. We now look directly at the message that might have caused the bus free to occur instead of looking at an SCB flag. This makes the handling more robust and also allows for recovery actions that might cause an "unexpected busfree" to be performed even if an SCB is not availible to "tag". Most notably, this happens when we don't find an SCB for a reconnecting target.
* Revert some changes to the selection and reselection code that were thoughtgibbs1997-04-181-41/+19
| | | | | | | | | | | | to fix a selection timeout problem. If we can't find an SCB for the reconnecting target, issue a bus device reset as the SCSI2 spec suggests. Add a missing call to "add_scb_to_free_list" in the non paging case. In the non-paging case, the SCBs don't really need to be on the free list, but putting them there clears the tag field which is something the recovery code depends on.
* Use v3 protocol by default if it is supported by the server. Allow thedfr1997-04-182-11/+49
| | | | | | user to force v2 protocol even if the server supports v3. Obtained from: NetBSD but with a slightly different implementation
OpenPOWER on IntegriCloud