summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Declare rsvp_input() to take the correct set of arguments and figure outwollman1995-07-241-5/+12
| | | | the receipt interface in the correct way.
* Slightly better fix than previous revision.dfr1995-07-242-8/+6
| | | | Submitted by: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Completely turn off RSVP intercept when a socket being used for that purposewollman1995-07-241-1/+2
| | | | | is PRU_DETACHed. This solves the problem that RSVP would not come up inm raw mode if previously killed.
* Fix a problem which appeared to truncate a file to the nearest block boundarydfr1995-07-242-4/+6
| | | | | | | | | when it is moved to an NFS filesystem from from another filesystem and /bin/mv failed to set the file ownership during the move. I believe that this bug is present in STABLE but I have not tested it. The fix would be the same in STABLE even though the code has changed quite considerably in CURRENT.
* Panic if no object in biodone. Slightly optimized allocbuf() again.dg1995-07-241-5/+3
|
* Use the same method to determine the time that the processmpp1995-07-231-4/+2
| | | | | | | ended that fork() uses to determine the time that the process started when calculating the elapsed time. This prevents the ac_etime field in the accounting record from getting set to -1 if the process exists for a VERY short period of time.
* Added some additional diagnostic information output when panicing indg1995-07-231-3/+3
| | | | biodone().
* Fixed two cases where some parans were missing, resulting in some bogusdg1995-07-231-18/+16
| | | | logic. Slightly simplified allocbuf().
* Added $Id$.dg1995-07-233-0/+6
|
* Fix clean rule to remove remove everything that isn't created by configbde1995-07-223-9/+12
| | | | except .depend and `version'.
* Fix clean rule for aic7xxx_asm.bde1995-07-222-4/+4
|
* this avaids the "lineoverflow" which you'll always get at 80 columnjoerg1995-07-221-2/+2
| | | | | | | | displays at bootup Reviewed by: Submitted by: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Obtained from:
* Obtained from: partly from ancient patches of mine via 1.1.5bde1995-07-2213-82/+69
| | | | | Give names to the magic tty i/o sleep addresses and use them. This makes it easier to remember what the addresses are for and to keep them unique.
* Remove vat_audio driver support here too.bde1995-07-221-29/+11
| | | | | | Clean up formatting for reserved and Talisman driver entries. Fix d_select entry for unused driver.
* Correct my cut-'n-paste job from ffs_vfsops.c and fix up the formattingdg1995-07-222-28/+12
| | | | | | to be similar. Submitted by: Bruce Evans
* Move the inline code for waking up writers to a new functionbde1995-07-2217-155/+59
| | | | | | | | | | | ttwwakeup(). The conditions for doing the wakeup will soon become more complicated and I don't want them duplicated in all drivers. It's probably not worth making ttwwakeup() a macro or an inline function. The cost of the function call is relatively small when there is a process to wake up. There is usually a process to wake up for large writes and the system call overhead dwarfs the function call overhead for small writes.
* Obtained from: partly from ancient patches of mine via 1.1.5bde1995-07-218-70/+21
| | | | | Move static termioschars() from a couple of drivers to tty.c. Now there is only one copy of ttydefchars[].
* Obtained from: partly from ancient patches by ache and me via 1.1.5bde1995-07-215-38/+45
| | | | | Nuke `symbolic sleep message strings'. Use unique literal messages so that `ps l' shows unambiguously where processes are sleeping.
* Obtained from: partly from an ancient patch of mine via 1.1.5bde1995-07-211-1/+3
| | | | | | | | | | | | | | | Temporarily nuke TS_WOPEN. It was only used for the obscure MDMBUF flow control option in the kernel and for informational purposes in `pstat -t'. The latter worked properly only for ptys. In general there may be multiple processes sleeping in open() and multiple processes that successfully opened the tty by opening it in O_NONBLOCK mode or during a window when CLOCAL was set. tty.c doesn't have enough information to maintain the flag but always cleared it in ttyopen(). TS_WOPEN should be restored someday just so that `pstat -t' can display it (MDMBUF is already fixed). Fixing it requires counting of processes sleeping in open() in too many serial drivers.
* Obtained from: partly from anancient patch of mine via 1.1.5bde1995-07-211-3/+11
| | | | Fix races for FIONREAD, TIOCSTI and TIOCSTAT.
* Obtained from: partly from an ancient patch of mine via 1.1.5bde1995-07-214-13/+12
| | | | | | | | | | | | | | | Temporarily nuke TS_WOPEN. It was only used for the obscure MDMBUF flow control option in the kernel and for informational purposes in `pstat -t'. The latter worked properly only for ptys. In general there may be multiple processes sleeping in open() and multiple processes that successfully opened the tty by opening it in O_NONBLOCK mode or during a window when CLOCAL was set. tty.c doesn't have enough information to maintain the flag but always cleared it in ttyopen(). TS_WOPEN should be restored someday just so that `pstat -t' can display it (MDMBUF is already fixed). Fixing it requires counting of processes sleeping in open() in too many serial drivers.
* Since ufs_ihashget can block, the lock must be checked for each timedg1995-07-211-14/+8
| | | | | | | the function returns. Also, moved lock into .bss and made minor cosmetic changes. Submitted by: Bruce Evans
* Obtained from: an ancient patch of mine via 1.1.5bde1995-07-211-3/+11
| | | | | | | Don't put partial PARMRK escape sequences in the input queue. Use MAX_INPUT = TTYHOG instead of TTYHOG directly for the maximum input queue size. Don't use the bogus MAX_INPUT advertised in <sys/syslimits.h>.
* Add to TODO list and move it to near the top of the file.bde1995-07-211-18/+29
|
* Obtained from: ancient usenet posting as applied to 1.1.5bde1995-07-211-2/+2
| | | | | | | | First of many changes required to restore lost stability to the tty driver. ECHONL is supposed to enable echoing of NL when ECHO is off, but it enabled echoing of everything except NL.
* Implemented an nfs_node hash list lock, similar to what was implementeddg1995-07-212-2/+62
| | | | | in ffs_vget(), and for the same reason: to prevent a race condition that results in duplicate vnodes/NFSnodes being allocated.
* Re-lookup the buffer if the vnode isn't locked. The previous check fordg1995-07-211-4/+2
| | | | | | | | VBLK vnodes isn't adequate since all NFS nodes aren't locked, either. The result is a race condition that would lead to duplicate buffers at the same block offset. Submitted by: John Dyson
* Implement a lock in ffs_vget to prevent a race condition where two processesdg1995-07-211-4/+34
| | | | | | try allocate the same inode/vnode, causing a duplicate. Submitted by: Matt Dillon, slightly reworked by me.
* Remove vat_audio driver supportpst1995-07-202-4/+2
|
* vnode_pager_alloc() never returns NULL, so don't check for it.dg1995-07-205-15/+10
|
* #if 0'd one of the DIAGNOSTIC checks in vm_page_alloc(). It was toodg1995-07-201-1/+3
| | | | expensive for "normal" use.
* Rewrote memory sizing code to generally deal with holes in extended memory.dg1995-07-194-100/+202
| | | | | This code change should allow certain Compaq machines with a 128K hole at 16MB to work.
* Change the compile-time option of DIRECTED_BROADCAST into a sysctlpeter1995-07-182-7/+13
| | | | | | variable underneath ip, "directed-broadcast". Reviewed by: David Greenman Obtained from: NetBSD, by Darren Reed.
* Allow the specification of the controller bus when wiring down scsi buses.gibbs1995-07-172-32/+54
| | | | | | | | | | This is performed by using a line similar to: controller scbus0 at ahc0 bus 1 to wire scbus0 to the second bus on an adaptec 2742T controller. Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
* Specify the controller bus in the scsi_link structure to allow hardwiredgibbs1995-07-171-2/+3
| | | | | | buses on multi-bus controllers. Currently only affects the 274xT controllers. Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
* Add examples for wiring down scbuses to drivers as well as specifyinggibbs1995-07-173-18/+30
| | | | controller buses for multi-bus controllers.
* Return EDESTADDRREQ rather than EADDRNOTAVAIL if the user attempts towollman1995-07-171-2/+2
| | | | | | half-configure a point-to-point interface. Submitted by: Jonathan M. Bresler <jmb@kryten.atinc.com>
* Fixed "bufspace" calculation. It was lossy in some circumstances of thedg1995-07-171-14/+5
| | | | | | | buffer resizing and caused a "newbuf" deadlock. Reviewed by: John Dyson & David Greenman Submitted by: Peter Wemm
* Added crdselect definition for !NCRD case.dg1995-07-161-1/+2
|
* This fixes a compiler warning, and a cosmetic problem with the linuxpeter1995-07-163-18/+6
| | | | | | | | emul code when compiling with "options KTRACE". ktrsyscall() was expecting an array of integers, this was passing the address of a structure containing an array of integers.. The cosmetic problem was that it was calling the "enter syscall" trace hook twice - this looks like a cut/paste error/typo.
* 1) Merged swpager structure into vm_object.dg1995-07-164-172/+134
| | | | | | 2) Changed swap_pager internal interfaces to cope w/#1. 3) Eliminated object->copy as we no longer have copy objects. 4) Minor stylistic changes.
* Reviewed by: phkphk1995-07-164-6/+42
| | | | | | | | | Submitted by: Andrew McRae <andrew@mega.com.au> Some initial commits from the pcmcia stuff, to make life easier for the testers. We will use the name "pccard" since that is really the buzzword at present.
* Make the bootinfo structure visible from sysctl.phk1995-07-164-6/+16
| | | | This can be used in libdisk to guess a better bios-geometry.
* Include ``options POWERFAIL_NMI'' for owners of older (non-apm)joerg1995-07-166-18/+138
| | | | | | | notebooks where a powerfail condition (external power drop; battery state low) is signalled by an NMI. Makes it beep instead of panicing. Reviewed by: davidg
* Protect TTYHOG by #ifndef so it can be overridden from the configjoerg1995-07-161-1/+3
| | | | | | file. Submitted by: hsu@clinet.fi (Heikki Suonsivu)
* There is a small bug in the cd9660 code that prevents stating ofjoerg1995-07-162-2/+4
| | | | | | | | | associated files. Submitted by: leo@dachau.marco.de (Matthias Pfaller) Not-obtained from: NetBSD. Instead sent directly to me by Matthias. (Sorry, this is to prevent people from claiming i might have gotten this from NetBSD. :)
* Don't include <sys/tty.h> in drivers that aren't tty drivers or in generalbde1995-07-1614-25/+16
| | | | files that don't depend on the internals of <sys/tty.h>
* Fix compiler warnings (systm.h wasn't included).bde1995-07-162-1/+7
|
* Do not set SCSI_NOSLEEP on every tape command (the exception being duringgibbs1995-07-161-2/+2
| | | | | | | | | | | | probes). Apart from there being no reason to set SCSI_NOSLEEP on every tape command, this prevents controller drivers from sleeping when resources are fully utilized causing unecessary "Oops not queued" errors. This is only noticed for controllers that can run out of resources like the 27/2842 adaptec controllers. Before this fix, it is almost impossible to perform extended tape operations if more than one scsi disk is on the bus with the tape drive with these controllers. This does not address a similar problem that could occur if devices are probed while other targets are active since SCSI_NOSLEEP will still be set in that case.
* Add tw.bde1995-07-163-6/+15
|
OpenPOWER on IntegriCloud