summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Only save userconfig changes if the boot floppy version and thejkh1996-11-123-6/+9
| | | | | | installed version match. Pointed-out-by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
* Back out rev 1.7 which was to fix PR#1206 (to be reopened).peter1996-11-121-19/+2
| | | | | | | | | | This patch causes too many side effects, one of which bites hard is when interrupting a 'make fetch' in the ports tree (PR#1990). This whole area is a real can of worms.... This most definately should go into 2.2 Reviewed by: steve, bde
* Gnu tar has problems creating an archive which contains a file with a hardjkh1996-11-121-1/+1
| | | | | | | | | | | | link to another file which has a long (>=100 char) name. When listing such an archive, the name of the link is truncated to 99 characters, and when extracting such an archive, an error is reported because it is trying to create a hard link to a file which doesn't exist. This patch fixes that problem and has also been sent to the GNU maintainers. Closes PR#1992 Submitted-By: David Dawes <dawes@landfill.physics.usyd.edu.au>
* Save some time.phk1996-11-121-2/+2
|
* Removed another #include of opt_temporary.h.bde1996-11-123-6/+3
| | | | YA2.2C.
* doc/1987, table heading in error.phk1996-11-122-2/+2
| | | | Submitted by: Mark Valentine Mark Valentine <mark@linus.demon.co.uk>
* Removed #include of "opt_temporary.h". All the temporary options wentbde1996-11-122-4/+2
| | | | | | | away, so this header is no longer generated. This change should be in 2.2. The old version shouldn;t have been in 2.2 (blush).
* doc/1994: spelling error.phk1996-11-121-2/+2
| | | | Submitted by: David Leonard David Leonard <d@scry.dstc.edu.au>
* Added missing prototype for new function sbcreatecontrol().bde1996-11-121-1/+3
| | | | Should be in 2.2.
* Forward-declare `struct inpcb' so that including this file doesn't causebde1996-11-121-1/+2
| | | | | | lots of warnings. Should be in 2.2. Previous version shouldn't have been in 2.2.
* Fixed spelling error in previous commit. This did not compile.bde1996-11-121-3/+3
|
* Restored writability of kern.maxvnodes. It was broken a year ago inbde1996-11-122-4/+4
| | | | | | rev.1.29 of kern_sysctl.c. Should be in 2.2.
* Killed "unknown protocol" printf.dg1996-11-121-2/+1
|
* Add missing lists.sgml.asami1996-11-121-2/+2
| | | | Submitted by: Hanai Hiroyuki <hanai@astec.co.jp>
* Near AHC_SCBPAGING_ENABLE add following commentache1996-11-123-3/+6
| | | | | # WARNING: can effectively kill your disks with some controllers (I am the victim of -current kernel, inodes wiped completely)
* 1. Avoid a race in scclose(). tty.c has kludges so that the race issos1996-11-113-15/+45
| | | | | | | | | | | | | | | | | | | actually harmless. 2. Fixed code to match comment in scintr(). 3. Don't allow even root to take control of the machine when securelevel > 0. I've secured the accesses to PSL_IOPL in all drivers and asked pst to review it, but he seems to be busy. Write access to /dev/kmem and other critival devices currently leaks across raisings of securelevel via open fd's, so there may as well be a similar leak for PSL_IOPL. 4. (Most important.) Don't corrupt memory beyond the screen buffers if the cursor happens to be off the 80x25 screen when syscons starts. 5. Fix console cursor update (not perfect yet). Submitted by: bruce ~
* Removed (now unused) XT_KEYBOARD option.nate1996-11-112-4/+2
|
* Removed 'XT_KEYBOARD' option from syscons. Document new-style way ofnate1996-11-116-18/+30
| | | | | | | | getting the same behavior using the flags, which can be done inside of UserConfig. (Also document other syscons flags which were previously undocumented). Requested by: bde
* Replaced I586_OPTIMIZED_BCOPY and I586_OPTIMIZED_BZERO with boot-timebde1996-11-1115-222/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | negative-logic flags (flags 0x01 and 0x02 for npx0, defaulting to unset = on). This changes the default from off to on. The options have been in current for several months with no problems reported. Added a boot-time negative-logic flag for the old I5886_FAST_BCOPY option which went away too soon (flag 0x04 for npx0, defaulting to unset = on). Added a boot-time way to set the memory size (iosiz in config, iosize in userconfig for npx0). LINT: Removed old options. Documented npx0's flags and iosiz. options.i386: Removed old options. identcpu.c: Don't set the function pointers here. Setting them has to be delayed until after userconfig has had a chance to disable them and until after a good npx0 has been detected. machdep.c: Use npx0's iosize instead of MAXMEM if it is nonzero. support.s: Added vectors and glue code for copyin() and copyout(). Fixed ifdefs for i586_bzero(). Added ifdefs for i586_bcopy(). npx.c: Set the function pointers here. Clear hw_float when an npx exists but is too broken to use. Restored style from a year or three ago in npxattach().
* Add the PPro %cr4 register to the supported registers in thedyson1996-11-111-1/+2
| | | | assembler.
* Added ocol: ppp to the first two examples so that ppp catually requestspaul1996-11-111-3/+3
| | | | | the ppp protocol when it logs in. I'm not sure whether this applies to all the examples. Are there cases where the ISP assumes ppp is being used ?
* Fixed pessimized (short) i/o port type.bde1996-11-114-10/+10
| | | | | | The change in if_epreg.h affects if_epreg.o and 3c5x9.o. These changes are probably harmless, but I can't test them.
* Fixed pessimized (short) i/o port types.bde1996-11-111-4/+4
|
* Fixed pessimized (short) i/o port type.bde1996-11-111-2/+2
|
* Turned off -W and -Winline so that the warnings that should be fixed forbde1996-11-112-6/+6
| | | | | | | | | | | | 2.2 are more obvious. -Winline is unimportant, but -W gives thousands of warnings for comparisions. Turning off -W also loses warnings for: - auto variables clobbered by longjmp. Not much of a problem in the kernel. - functions returning without a value. I don't like losing this. - an expression statement or the left side of a comma operand contains no side effects. Turning this off also stops warnings for the low quality debugging macros in gsc.c and lpt.c. Should be in 2.2.
* Fixed pessimized (short) i/o port type.bde1996-11-111-2/+2
| | | | Obtained from: SCSI branch
* Preserve %esi and %edi for get_diskinfo(). See the logs for similar fixesbde1996-11-111-0/+4
| | | | | | in bios.S. I only fixed the case that is known to be broken here. Should be in 2.2.
* Make snake 3.0-CURRENT here.jkh1996-11-113-6/+6
| | | | There's gotta be a better way of syncronizing our release numbers. :-)
* Preserve %esi and %edi for all BIOS calls. This is probably only necessarybde1996-11-111-1/+25
| | | | | | | | | | | for get_diskinfo(), whose BIOS call sets %es:%edi in some cases, although most documentation says that it doesn't change %edi in the cases that happened to matter (for hard disks). This shall be in 2.1.6 and 2.2. Submitted by: Tor.Egge@idt.ntnu.no (except I kept the unnecessary preservation of %edx and %ecx)
* Change prototypes for gmtime_r() and localtime_r() in accordance withhsu1996-11-111-3/+3
| | | | IEEE pthreads specification.
* Prototype pthread_mutexattr_getkind_np() and pthread_mutexattr_setkind_np().hsu1996-11-111-5/+7
|
* Moved pthread_mutexattr_default inside #ifndef PTHREAD_KERNEL now thathsu1996-11-111-2/+8
| | | | | | we use it in the uthreads implementation. Moved enum pthread_mutextype here from libc_r/uthread/pthread_private.h. Change prototype for pthread_getspecific().
* Parameters for localtime_r() and gmtime_r() definitions changed.hsu1996-11-111-8/+8
| | | | | Parameters for pthread_getspecific() call changed. pthread_keycreate() renamed to pthread_key_create().
* Parameters pthread_getspecific() changed.hsu1996-11-111-1/+1
|
* Update the database of known devices (people, please consider this when youmsmith1996-11-111-7/+13
| | | | | | | | | | are adding new drivers...) to match, as best I can tell, majors.i386. Improve behaviour when attempting to save changes for devices that should not be changeable. Now correclty avoids non-device items, PCI devices and devices with no isa_device structure. Submitted by: (observations from) joerg, bde
* Add pthread_mutexattr_init() and pthread_mutexattr_setkind_np().hsu1996-11-116-0/+366
|
* Add uthread_attr_init.c, uthread_attr_setstacksize.c, uthread_mattr_init.c,hsu1996-11-113-3/+21
| | | | uthread_mattr_kind_np.c, uthread_multi_np.c, and uthread_single_np.c.
* Moved enum pthread_mutextype to pthread.h.hsu1996-11-113-18/+24
| | | | Add pthread_mutexattr_default definition.
* Make pthread_getspecific() compliant with the final IEEE pthreadshsu1996-11-113-27/+27
| | | | specification: return parameter passing changed.
* kvm_malloc:ache1996-11-111-3/+3
| | | | | | | When malloc fails. don't try to memset NULL pointer, it cause core dump Replace malloc+memset with calloc, theoretically it can do some optimization of zeroing process internally Improve error diagnostic
* Change "CATEGORIES+=" to "CATEGORIES=" in sample Makefiles. It wasasami1996-11-112-5/+5
| | | | | | | | | | | "+=" originally because (as I understand) Jordan used a sed script (or was it perl?) to edit all the ports Makefiles automatically and he wanted to make sure multiple CATEGORIES lines (they were inserted after DISTNAME or something, there shouldn't have been multiple of them to begin with but that's another story) won't be stepping on each other's toes. Reminded by: obrien
* Clean up the memory mapped/Programmed I/O stuff so that the driver completelygibbs1996-11-111-69/+73
| | | | | | | | | | | | | | uses one or the other. This required some changes to the ahc_reset() function, and how early the probes had to allocate their softc. Turn the AHC_IN/OUT* macros into inline functions and lowercase their names to indicate this change. Geting AHC_OUTSB to work as a macro doing conditional memory mapped I/O would have been too gross. Be smart about the STPWEN control bit in SCFRCTL1. It should only be set if the low byte of the bus is to be terminated. We figure this out either by "caching" the value left over from the BIOS setup before we reset the card or by using the values stored in the seeprom if it is availible.
* Clean up the memory mapped/Programmed I/O stuff so that the driver completelygibbs1996-11-112-302/+337
| | | | | | | | | | | | | | | | | | | uses one or the other. This required some changes to the ahc_reset() function, and how early the probes had to allocate their softc. Turn the AHC_IN/OUT* macros into inline functions and lowercase their names to indicate this change. Geting AHC_OUTSB to work as a macro doing conditional memory mapped I/O would have been too gross. Stop setting STPWEN in the main driver and let the PCI front end do it instead. It knows better. Add the clearing of the QOUTQCNT variable during command complete processing in the SCB paging case. Go back to doing unconditional retries for the QUEUE FULL status condition. This is really a kludge, but the code to handle it properly is on the SCSI branch and will not make it into 2.2.
* Clean up the memory mapped/Programmed I/O stuff so that the driver completelygibbs1996-11-111-16/+22
| | | | | | | | | uses one or the other. This required some changes to the ahc_reset() function, and how early the probes had to allocate their softc. Turn the AHC_IN/OUT* macros into inline functions and lowercase their names to indicate this change. Geting AHC_OUTSB to work as a macro doing conditional memory mapped I/O would have been too gross.
* Add the AHC_FORCE_PIO option.gibbs1996-11-113-12/+24
| | | | Update comment on AHC_SCBPAGING_ENABLE since I think it works now.
* Fix two problems with SCB Paging.gibbs1996-11-112-36/+29
| | | | | | | | | | 1) get_free_or_disc_scb was not being passed its argument correctly in one case 2) Add protection in the form of the QOUTQCNT variable to prevent overflowing the QOUTFIFO. This should make SCB Paging work. Really, I mean it now. 8-)
* Add the IP_RECVIF socket option, which supplies a packet's incoming interfacefenner1996-11-119-112/+180
| | | | | | | | using a sockaddr_dl. Fix the other packet-information socket options (SO_TIMESTAMP, IP_RECVDSTADDR) to work for multicast UDP and raw sockets as well. (They previously only worked for unicast UDP).
* Support the PG_G flag on Pentium-Pro processors. This prettydyson1996-11-117-89/+255
| | | | | much eliminates the unnecessary unmapping of the kernel during context switches and during invtlb...
* Update to the unreleased mrouted 3.8a . This includes a minorfenner1996-11-1116-234/+602
| | | | | | | | | | | | | endian-ness fix, Router Alert options on IGMP messages, and a new keyword, "advert_metric", for fine-tuning tunnel metrics. This also includes a new mtrace, which is also unreleased but builds significantly on the experiences of users' troubles with using and understanding mtrace in release 3.8 . (unreleased does not, of course, mean untested!) This is a candidate for both 2.2 and 2.1.6 .
* Correct many errors of commission and omission in the examplejdp1996-11-107-161/+192
| | | | CVSupfiles.
OpenPOWER on IntegriCloud