summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* pccard.c:gpalmer1996-04-062-0/+3
| | | | | | | | #include <i386/include/clock.h> to get sysbeep() prototype pcic.c: add appropriate #ifdef around a prototype to quiet GCC because fn decl. is also #ifdef'd.
* Switch 586/686 back to generic_bzero and #if 0'd the "optimized" code. Itdg1996-04-065-9/+11
| | | | | | turns out that it actually reduces performance in real-world cases. Noticed by: bde
* Fixed a bug in DEVFS code that was producing "name slot allocation failed"scrappy1996-04-051-15/+12
| | | | messages.
* Fix adjkerntz expression priority.ache1996-04-052-6/+6
| | | | Make filetimes the same as DOS times for UTC cmos clock.
* Fix adjkerntz expression priorityache1996-04-055-15/+15
|
* Don't adjust file times for UTC clock to have the same timestampsache1996-04-052-8/+12
| | | | for DOS/FreeBSD.
* Add wall_cmos_clock sysctl variable, needed to manage adjkerntz even forache1996-04-0511-35/+59
| | | | UTC cmos clocks (needed for Local Timezone FSes)
* Work around a braindead signal handling in many newer HP printers.joerg1996-04-041-8/+26
| | | | | | | | | | | They don't have BUSY de-asserted by the time they ACK (and thus cause an interrupt). The workaround is to try seeing if the BUSY will be de-asserted soon, and if not, to use an incremental backoff and semi-polled mode instead of the fixed timeout with 1/2 s we've been using previously (that caused the printer to run really slooow). Printers that have been working previously should not be affected by this.
* Add a sysctl (net.inet.tcp.always_keepalive: 0) that when set will forcephk1996-04-041-2/+7
| | | | | | keepalive on all tcp sessions. Setsockopt(2) cannot override this setting. Maybe another one is needed that just changes the default for SO_KEEPALIVE ? Requested by: Joe Greco <jgreco@brasil.moneng.mei.com>
* Log TCP syn packets for ports we don't listen on.phk1996-04-043-5/+37
| | | | | | | | | Controlled by: sysctl net.inet.tcp.log_in_vain: 1 Log UDP syn packets for ports we don't listen on. Controlled by: sysctl net.inet.udp.log_in_vain: 1 Suggested by: Warren Toomey <wkt@cs.adfa.oz.au>
* Fixed a typo in the comment for sv_errsize.smpatel1996-04-041-2/+2
|
* add a `Warning:' to the message saying that the root directory is not agpalmer1996-04-032-4/+4
| | | | | multiple of the clustersize in length to try and reduce the number of questions we get on the subject.
* Improvementss to netbootphk1996-04-036-27/+78
| | | | | | | Initial but not yet functional PCI support. Reviewed by: phk Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
* Always pass a route structure when calling ip_output().wollman1996-04-031-2/+6
|
* 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>
OpenPOWER on IntegriCloud