summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fetch the (dummy) READY CHANGED condition interrupt stati thatjoerg1996-03-313-3/+24
| | | | | | happen after an FDC reset. Submitted by: bde
* Update the information about kernel options. Mention the ``new optionjoerg1996-03-312-3/+22
| | | | | | scheme''. Closes PR # docs/1110.
* Localize timeache1996-03-312-1/+7
|
* Use unsigned char for isprintache1996-03-311-2/+2
|
* Fix a bogus message:joerg1996-03-312-4/+4
| | | | | ed0: Invalid irq configuration (2) must be 2-5 for 3c503 ^ ^
* Change name of variable to LOCALBASE, to keep it symmetric with X11BASE,asami1996-03-311-3/+3
| | | | | | | | which has been in the tree for a much longer time. Sorry for the multiple commits and I know I shouldn't be doing this but my hamster tells me to be orthogonal...("hey Phoenix, do you think I should call it LOCALBASE?" "squeak" "ok, if you say so").
* Add a variable LOCAL_PREFIX that defaults to "/usr/local", as aasami1996-03-311-2/+3
| | | | | | | | | | | | | | | | | | | | counterpart to X11BASE (default "/usr/X11R6"). Now PREFIX is set to ${X11BASE} or ${LOCAL_PREFIX} depending on whether USE_IMAKE or USE_X11 is set or not. This enables us to refer to non-X ports from X ports using ${LOCAL_PREFIX}, thus removing most of the remaining "/usr/local"s from the ports tree. This will also allow the system administrator to move the whole "local" tree to somewhere else, without affecting X ports. (Of course not all ports are necessarily happy with that, but we're working on it.) Based on: an idea that came up while I was watching a football game several months ago ("hey, maybe I can move that sideline without disturbing the other!")
* Another round of fixes:joerg1996-03-312-60/+35
| | | | | | | | | | | | . Replace my NIH-suffering code to detect the number of lines on the terminal by the curses variable LINES. . Fix the selection code for countries with more than one screenful of locations. The very few people living in America/US/Pacific now won't be charged for Indiana any longer... :) . Removed the gross code that copied over the timezone file to /etc/localtime, and create a symlink now instead.
* 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
|
* Update the queue man page for the new SLIST and STAILQ macros.gibbs1996-03-311-14/+331
|
* 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>
* Fixed typo.bde1996-03-311-2/+2
| | | | Reported by: andreas@knobel.gun.de
* Also add an id for the donors section and reference it in a strategicjkh1996-03-301-5/+5
| | | | place.
* Add a new donor's section to give credit to those who have donatedjkh1996-03-301-2/+27
| | | | | equipment or funding to the project. This is still embryonic and will no doubt grow as I track down more of our donors.
* Put signal number into logfileache1996-03-301-5/+7
|
* Add the jp.106 Japanese keymap to list of possibilities. I also seejkh1996-03-303-3/+9
| | | | | a jp.106x keymap there, but Satoshi hasn't asked for it and I don't know what it even is, so...
* 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.
* Add missing cons60* entriesache1996-03-301-1/+8
|
* There is no need to zero out the TSC when configuring a counter,wollman1996-03-291-14/+3
| | | | says Mike Haertel.
* Fix UnrawModem:ache1996-03-291-6/+6
| | | | | | restore initial (not second level) state not call it for DEV_SYNC issue input flush after restoring
* Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead ofbde1996-03-292-2/+6
| | | | | | in the clk0 counter. Reviewed by: se
* 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
* Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.bde1996-03-291-3/+3
| | | | Tweaked screen positions to match.
* 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.
* Moved the include of <sys/types.h> to before the include of <dirent.h>bde1996-03-291-1/+1
| | | | | so that mkisofs will compile when namespace pollution is removed from <stdio.h>. (<dirent.h> recently became dependent on <sys/types.h>.)
* 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
|
* stat() before open() because opening of special files may be harmful.bde1996-03-291-0/+10
|
* 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
* Fixed devfs group and permissions of some more disk devices.bde1996-03-291-7/+12
| | | | Added devfs cd control device.
* Fixed devfs group of some more disk devices.bde1996-03-291-8/+11
| | | | | | | Added devfs lpt control device (only the standard one, not the ones that aren't supported by MAKEDEV). Removed some stupid comments.
* Fixed group of some more disk devices.bde1996-03-293-27/+27
| | | | Fixed devfs function names.
* Fixed missing quote in a devfs string.bde1996-03-292-4/+4
|
* Eliminate panic("rtfree") caused by double-freeing the routefenner1996-03-291-5/+6
| | | | | | | | when rt == rt->rt_gwroute . rt == rt->gwroute shouldn't happen in the first place, but that's another problem. (try "route add -host <hostonmynet> <hostonmynet>; ping <hostonmynet>; route delete <hostonmynet>")
OpenPOWER on IntegriCloud