summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add feature for tcp "established".phk1996-04-035-54/+43
| | | | | Change interface between netinet and ip_fw to be more general, and thus hopefully also support other ip filtering implementations.
* Pick up CWARNFLAGS from /etc/make.conf if defined.phk1996-04-031-3/+5
|
* Fixed a problem that the UPAGES of a process were being run downdyson1996-04-034-20/+50
| | | | | | | in a suboptimal manner. I had also noticed some panics that appeared to be at least superficially caused by this problem. Also, included are some minor mods to support more general handling of page table page faulting. More details in a future commit.
* Removed prototype for devfs_add_devsw() as it no longer existsscrappy1996-04-031-9/+1
|
* Merged devfs_add_devsw() into devfs_add_devswf()scrappy1996-04-031-34/+17
|
* Add NULLFS_DIAGNOSTIC, KERNFS_DIAGNOSTIC, UMAPFS_DIAGNOSTIC, UNION_DIAGNOSTICgpalmer1996-04-033-3/+33
| | | | | and SAFETY. Currently all commented out until I can verify that they don't cause LINT to fail to compile.
* Correct a comment which was hiding part of the declaration ofgpalmer1996-04-031-3/+3
| | | | devfs_link(), causing compiles to fail.
* Correct a bug which wrote the result of devfs_add_devswf() for twogpalmer1996-04-021-3/+3
| | | | | | separate devices to the same place Reviewed by: Julian Elischer <julian>, Marc G. Fournier <scrappy>
* Prototyped wrong the first time through for devfs_link()scrappy1996-04-021-5/+4
|
* Document PERFMON.wollman1996-04-023-18/+21
| | | | Delete obsolete PROBE_VERBOSE.
* Align help screen.phk1996-04-021-2/+17
| | | | add gateway command.
* Fix two cases where ia->ia_ifp could be NULL.phk1996-04-021-2/+4
|
* take out prototype for dev_linkf()scrappy1996-04-021-9/+4
| | | | change prototype for dev_link() to devfs_link()
* Change dev_link() to devfs_link()scrappy1996-04-021-4/+4
|
* Made the src code match the man page.scrappy1996-04-021-28/+2
| | | | Removed dev_link() and dev_linkf(), replacing dev_linkf() with devfs_link()
* changed from using dev_link() to devfs_link()scrappy1996-04-024-12/+12
|
* Convert from using dev_link() to dev_linkf()scrappy1996-04-011-15/+21
|
* Convert from using devfs_add_devsw() to devfs_add_devswf()scrappy1996-04-012-36/+50
| | | | Fixed Permissions/Ownership in DEVFS to reflect /dev
* Changed use of devfs_add_devsw() to devfs_add_devswf()scrappy1996-04-011-96/+39
| | | | | | | Changed DEVFS structure devfs_token so that adding the devices is a simple matter of a 4 line for loop versus 16 lines of code Reviewed by: julian@freebsd.org
* Change if/goto into a while loop.dg1996-03-312-8/+4
|
* Remove bogus architectures to allow make tags to work.jkh1996-03-311-1/+1
| | | | Submitted-by: Andreas Klemm <andreas@knobel.gun.de>
* Convert to use stdarg in bt_cmd. Use XS_SELTIMEOUT for selection timeouts.gibbs1996-03-311-29/+37
| | | | Obtained from: stdarg fixes adapted from cgd's work on the NetBSD BT driver
* Convert to use stdarg in aha_cmd. Use XS_SELTIMEOUT for selection timeouts.gibbs1996-03-311-28/+35
| | | | Obtained from: stdarg fixes adapted from cgd's work on the NetBSD BT driver
* Fetch the (dummy) READY CHANGED condition interrupt stati thatjoerg1996-03-313-3/+24
| | | | | | happen after an FDC reset. Submitted by: bde
* Fix a bogus message:joerg1996-03-312-4/+4
| | | | | ed0: Invalid irq configuration (2) must be 2-5 for 3c503 ^ ^
* Removed dead option DUMMY_NOPS.bde1996-03-313-21/+24
| | | | | Restored undead option AUTO_EOI_1. Added undocumented option PERFMON.
* Finished removing NOP macros.bde1996-03-312-20/+2
|
* Moved rtcin() to clock.c.bde1996-03-3112-50/+79
| | | | | | | | Always delay using one inb(0x84) after each i/o in rtcin() - don't do this conditional on the bogus option DUMMY_NOPS not being defined. If you want an optionally slightly faster rtcin() again, then inline it and use a better named option or sysctl variable. It only needs to be fast in rtcintr().
* Killed religous FASTER_NOP again.bde1996-03-313-15/+3
|
* Implement the SLIST and the STAILQ macros. This gives a program all thegibbs1996-03-311-3/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | aesthetics of using the 4.4 queue macros without paying undo space or time in scenartios where a singly-linked list works fine. From queue.h: /* * A singly-linked list is headed by a single forward pointer. The elements * are singly linked for minimum space and pointer manipulation overhead at * the expense of O(n) removal for arbitrary elements. New elements can be * added to the list after an existing element or at the head of the list. * Elements being removed from the head of the list should use the explicit * macro for this purpose for optimum efficiency. A singly-linked list may * only be traversed in the forward direction. Singly-linked lists are ideal * for applications with large datasets and few or no removals or for * implementing a LIFO queue. * * A singly-linked tail queue is headed by a pair of pointers, one to the * head of the list and the other to the tail of the list. The elements are * singly linked for minimum space and pointer manipulation overhead at the * expense of O(n) removal for arbitrary elements. New elements can be added * to the list after an existing element, at the head of the list, or at the * end of the list. Elements being removed from the head of the tail queue * should use the explicit macro for this purpose for optimum efficiency. * A singly-linked tail queue may only be traversed in the forward direction. * Singly-linked tail queues are ideal for applications with large datasets * and few or no removals or for implementing a FIFO queue. */
* Implement the XS_SELTIMEOUT error code. This causes the SCSI code togibbs1996-03-312-3/+5
| | | | | not retry again and should be used when a device times out during selection (ie is not on the bus). This should speed up the boot sequence.
* ncr.c:gibbs1996-03-312-33/+11
| | | | | | | | | | Use new XS_SELTIMEOUT error code for selection timeouts. aic7870.c: Move SCB walking code to aic7xxx.c and make it work for all card types. The flag AHC_EXTSCB is no longer needed since the SCBs are walked in all cases now.
* Fix support for the aic7850 by looking only at the relavent bits of thegibbs1996-03-312-201/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QINCNT. The 7850 puts random garbage in the high bits and all my attempts to determine the cause of this failed. This approach does seem to work around the problem. Go back to relying on the SCSIPERR interrupt instead of having the sequencer interrupt at the beginning of ITloop after a parity error occured. Determine the number of SCBs on a card automatically and base the qcntmask on the number of SCBs. Add entries for 11.4MHz, 8.8MHz, 8.0MHz, and 7.2MHz to ULTRA portion of the syncrate table. They seem to work fine on the 2940UW I have here and will allow more non-ultra devices (like my tape drive) to run sync while the adapter is in ULTRA mode. Return XS_SELTIMEOUT instead of XS_TIMEOUT for selection timeouts. I was getting sick of waiting for the SCSI code to retry each non-existant unit multiple times during boot and XS_SELTIMEOUT bypasses all retries. Use new SLIST queue macros. This was inspired by NetBSD using TAILQs in their SCSI drivers. For optimum cache hits, the free scb list should be LIFO which is what the old and new code does. NetBSD implemented a FIFO queue for some reason. Spaces -> tabs.
* Override the unit number passed into us in the isa_device structure withgibbs1996-03-311-1/+8
| | | | | the current unit in bt_unit. We do this as a kludge to make the unit nubmer work properly between the pci/eisa/isa bt boards that are in the system.
* Don't set the number of SCBs here. aic7xxx.c determines the number ofgibbs1996-03-311-7/+1
| | | | SCBs by walking them.
* aic7xxx.seq:gibbs1996-03-315-31/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix support for the aic7850 by looking only at the relavent bits of the QINCNT. The 7850 puts random garbage in the high bits and all my attempts to determine the cause of this failed. This approach does seem to work around the problem. Don't trust SCSIPERR to tell us when there is a parity error. On some revs of the 7870 and the 7880, this bit follows the parity of the current byte. Instead of using a SEQINT to tell the kernel, re-enable the standard parity error interrupt since it seems to pause the sequencer right at the time of the error which is the effect we were looking for anyway. aic7xxx_reg.h: Remove PARITY_ERROR seqeuncer interrupt type, its no longer used. Define QCOUNTMASK as the SRAM location for the mask to use on the QINCNT register. QCOUNTMASK is determined by the number of SCBs supported by the device we're working on. aic7xxx_asm.c Properly check the return value of fopen, and define the arg list in getopt correctly. Submitted by: Pete Bentley <pete@demon.net>
* Correct the handling of NOCLDSTOP when using sigvec()peter1996-03-301-12/+24
| | | | | | | | | Make the SA_NODEFER handling more correct, previously if you called sigaction to set a handler and had SA_NODEFER set, and manually masked the signal itself in sa_mask, and when you read the settings back later, you'd find SA_NODEFER incorrectly cleared. Pointed out by: bde
* Add a SV_NODEFER and SV_RESETHAND #define, after Bruce pointed out thatpeter1996-03-302-2/+6
| | | | | a program that was saving and restoring a signal via sigvec() was not doing the complete job if either of these bits had been set via sigaction.
* re-add the ps_signodefer. The interaction between SA_NODEFER and thepeter1996-03-301-1/+2
| | | | sa_mask was "non intuitive" and broke another of bde's test cases.
* Because of the way that ptrace() now calls procfs routines to read/writepeter1996-03-301-2/+16
| | | | | | | | | | the process's memory, it was possible for the procfs_domem() call to return a residual leftover, but with no errno. Since this is no good for ptrace which ignored the the residual, remap a leftover amount into an errno rather than fooling the caller into thinking it was successful when in fact it was not. Submitted by: bde (a very long time ago :-)
* When doing a 'make depend', dont blow away the existing .depend untilpeter1996-03-303-15/+21
| | | | the generation of a new one is complete.
* There is no need to zero out the TSC when configuring a counter,wollman1996-03-291-14/+3
| | | | says Mike Haertel.
* Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead ofbde1996-03-296-18/+180
| | | | | | in the clk0 counter. Reviewed by: s
* Fixed the type of sv_sendsig. The `code' arg to signal handlers is nowbde1996-03-291-8/+6
| | | | u_long.
* Parenthesized macros.bde1996-03-292-14/+14
| | | | Fixed munged tabs.
* Added necessary quotes (${CPP} might have spaces in it). Removedbde1996-03-293-9/+9
| | | | unnecessary quotes.
* Added newlines and punctuation.bde1996-03-291-7/+11
| | | | | Removed defunct options. It will be easy to keep track of bogus options by looking at CFLAGS when all real options are moved out of CFLAGS.
* Removed references to nonexistent files.bde1996-03-292-8/+2
|
* Removed never-used files.bde1996-03-292-278/+0
|
* Fixed reference counting related to relookup(). relookup() mustbde1996-03-291-3/+11
| | | | | | | | be called with the directory referenced, and this reference will be dropped iff relookup() fails, so the value returned must not be ignored. Reviewed by: davidg
OpenPOWER on IntegriCloud