summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add Matrox Mystique 1064/1164SG chips info. By the datasheet from Matrox,foxfair1998-12-231-2/+2
| | | | | | | they use the same value in the VID register. PR kern/9137: Matrox Mystique chip name typo error Submitted by: Alex D. Chen <dhchen@Canvas.dorm7.nccu.edu.tw>
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-236-15/+117
| | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Don't leave the CDROM tray locked if an attempt to mount it is made andmsmith1998-12-231-1/+2
| | | | | | the drive is actually empty. Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Update comments to routines in vm_page.c, most especially whether adillon1998-12-231-19/+106
| | | | | routine can block or not as part of a general effort to carefully document blocking/non-blocking calls in the kernel.
* Invalid is spelled with the v *BEFORE* the a.imp1998-12-221-2/+2
|
* Add entries for DUMMYNET and BRIDGEluigi1998-12-223-3/+24
|
* 'ip_fw_head' and 'M_IPFW' are also used in ip_dummynet so cannot beluigi1998-12-221-3/+3
| | | | | static... Reported by: Dave Alden
* Error check is not necessary - this function cannot fail in thiseivind1998-12-221-8/+4
| | | | | | context. Noted by: gibbs
* Staticize.eivind1998-12-223-17/+17
| | | | Reviewed by: gibbs
* Adjust some comments to prevent future confusion on the implementation.dillon1998-12-221-6/+26
| | | | Also add a reference to the buf(9) manual page.
* Don't calculate the residual twice.gibbs1998-12-221-7/+9
|
* Staticize the overrun buffer so that they are not shared betweengibbs1998-12-226-24/+24
| | | | | | | cards of different bus types as each bus type may have a different bus mapping. Submitted by: Eivind Eklund <eivind@yes.no>
* Return NULL on resource shortage instead of blindly continuing.gibbs1998-12-221-2/+4
| | | | Obtained from: Eivind Eklund <eivind@yes.no>
* Add a quirk NORRLS (no reserve/release) which can (andmjacob1998-12-221-39/+84
| | | | | | | | | | | | | | | | | | | | | will) get set for the devices that don't actually support reserve/release (so we don't keep trying it). Add softc storage and manage storing last I/O and CTL commands that had errors (for correlative purposes). In saclose clear the 'MOUNTED' bit if we either rewind or unload (yes, this shouldn't be necessary since the next open should catch whether a tape change occurred, but I'm having some questions about that actually working so this is safer for the moment). Oh, forgot to mention in previous commit messages that some of the failures particularly at close time cause the tape to be ejected (for the sake of safety)- all this prior to redoing the state machine (which is in progress) which will try and handle this better. Complete the addition of the setmark support (from Martin.Birgmeier@aon.at).
* add command storage to correlate with latched errormjacob1998-12-221-1/+3
|
* Correctly handle misaligned VMIO buffer (whose start or end offset in the VMluoqi1998-12-221-77/+92
| | | | | | | | | object are not page aligned). This should fix the mount_msdos panic after a failed attemp to mount as ffs. Reviewed By: Matthew Dillon <dillon@apollo.backplane.com> Archie Cobbs <archie@whistle.com> Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
* Add simple terminal emulator, compatible with cons25. Currently supportedabial1998-12-222-9/+386
| | | | | | | | | | capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind -DTERM_EMU - should it cause any problems, you can remove this define to get back the old behaviour. You'll find some examples how to use it in src/share/examples/bootforth. Reviewed by: jkh
* Add new word ".#" which acts like "." but doesn't output a space separator.abial1998-12-221-0/+13
| | | | | I found it impossible to output parametrized strings like "\033[%d;%dH" without building them first in pad area.
* * Begin integration of built-ins with Forth: leave the exit code fromabial1998-12-223-30/+46
| | | | | | | a built-in command on Forth stack. * Fix a bug which was causing a panic when loading stripped aout kernels. Reviewed by: jkh
* The result of running make linux_sysent.c on the new syscalls.mastersos1998-12-223-4/+5
|
* Fix NOIMPL -> NOPROTO as per bruce.sos1998-12-222-4/+4
|
* Better error checking and more complete struct initialization.eivind1998-12-221-5/+13
| | | | Reviewed by: Simon Shapiro <shimon@simon-shapiro.org>
* Check return value of tsleep(). I've checked of all call points -eivind1998-12-222-8/+14
| | | | | | | | there does not seem to be a problem with this. PR: kern/8732 Analysis by: David G Andersen <danderse@cs.utah.edu> Tested by: Alfred Perlstein <bright@hotjobs.com>
* Staticize.eivind1998-12-212-18/+18
|
* Recover from previous dummynet screwupluigi1998-12-212-38/+71
|
* Add in forward space/backward space/write SetMarks commands.mjacob1998-12-211-3/+5
| | | | Obtained from:Martin.Birgmeier@aon.at
* Restore 1.82->1.83 change deleted by mistake< per Bruce suggestionluigi1998-12-211-1/+2
|
* The result of running make linux_sysent.c on the new syscall.master filesos1998-12-213-4/+4
|
* Syscall 168 (poll) is not implemented in the Linux emulator. Thissos1998-12-212-4/+6
| | | | | | | syscall is used by Oracle. PR: 9154 Submitted by: Marcel Moolenaar <marcel@scc.nl>
* Kill(pid, 0) normally returns 0 on both FreeBSD and Redhat after havingsos1998-12-212-4/+4
| | | | | | | | | performed all sorts of sanity checks. The FreeBSD linux emulator returns EINVAL in such a case. Allowing signal 0 to be passed to kill will result in compatible behaviour. PR: 9082 Submitted by: Marcel Moolenaar <marcel@scc.nl>
* As promised, cleanup the #if __FreeBSD_version mess.joerg1998-12-211-41/+3
|
* Include rdp(4).joerg1998-12-215-5/+13
| | | | Should i also include it into GENERIC?
* This commit was generated by cvs2svn to compensate for changes in r41980,joerg1998-12-212-0/+1680
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * This is my first cut on a driver for the RealTek RTL 8002 pocketjoerg1998-12-212-0/+1680
| | | | | | | | | | | | | | | | | | | | | | | | | | ethernet driver. The BUGS section is still impressive, but the driver seems to work for me now. Disclaimer: i haven't been able to test this under -current so far (but it compiles, and the notebook it's intended for can now be updated to -current more easy than before). Don't be afraid of the many #ifdefs on __FreeBSD_version in the imported file; i want them in the repository on the vendor-branch so other people can also manually integrate it into older systems. I'll clean it up on the -current branch in a followup commit. The vendor-banch version right now supports systems back to 2.2R. This driver should be layered upon ppc(4), but i currently have no idea how to do this. Eventually i'll further develop the driver to also support the more modern RTL 8012 success, which seems to be present in a number of cheap pocket ethernet adapters these days. Right now, i doubt it will run with the 8012 without any changes. Finally a big Thanks! to RealTek for promptly providing me with documentation and with the source code for the 8012 pocket driver upon request. I wish all vendors were that cooperative!.
* Regrettably, you can't take setdef0.c out of order, or, surprise,msmith1998-12-213-9/+9
| | | | | | | linker sets don't work and thus neither does the kernel. This should stop being a problem with an improved linker set mechanism in the pipeline (see the bootloader) but for now this has to stay like this.
* Sync with sys/i386/conf/options.i386 revision 1.96.kato1998-12-212-14/+4
|
* Sync with sys/i386/conf/Makefile.i386 revision 1.131.kato1998-12-212-6/+6
|
* Check for DMA capbility is against unit,not controller.msmith1998-12-211-2/+2
| | | | Submitted by: Lee Cremeans <lee@st-lcremean.tidalwave.net>
* Add asleep() and await() support. Currently highly experimental. Adillon1998-12-213-4/+206
| | | | | small support structure had to be added to the proc structure, and a few minor conditional panics no longer apply.
* Add two fields for the lower layers convenience.phk1998-12-201-1/+5
|
* Remove unused file. It seems to have been a vestige of when mfs did itsbde1998-12-201-43/+0
| | | | own memory allocation.
* Backed out rev.1.46. It had no effect for aout, was incomplete for elf,bde1998-12-201-10/+6
| | | | and had gratuitous gcc dependencies. Rev.1.47 has a better fix.
* Fixed building elf kernels without a `make depend' step. The magicbde1998-12-203-9/+9
| | | | | ordering in rev.1.38 was broken by putting setdef0.o before vnode_if.o in SYSTEM_OBJS.
* Remove a vestige of the amd driver.bde1998-12-201-667/+0
| | | | Forgotten by: msmith
* Add a workaround to avoid 'defined but not used' warnings for linkerdfr1998-12-201-8/+10
| | | | sets on i386 and alpha ELF kernels.
* Add LDGP(pv) to suword, subyte, fuword, fubyte so that they can be calleddfr1998-12-201-1/+5
| | | | from kernel modules.
* In ufs_setattr(), if only one of va_atime or va_mtime are != VNOVAL, thendfr1998-12-201-3/+3
| | | | | the code set the other field in the inode to VNOVAL. This can happen sometimes on an NFS server.
* 1) Fix some serious bugs (1 botch on my part which caused a filemark to bemjacob1998-12-191-40/+89
| | | | | | | | | | written even it the tape was opened readonly- 2 botches in deferred error handling for FIXED LENGTH mode which caused panic && hand resp.). Fixed a memory leak in sa_mount. 2) Fixed an annoying bug when turning of compression to actually reflect this for future status calls. 3) Implement the MTIOCERRSTAT call where latched control and I/O residuals and sense data are returned to the application asking for them.
* Move the "generic" SMP options from options.i386 to conf/optionsmsmith1998-12-192-14/+4
|
* Move the "generic" SMP options from options.i386 to conf/options.msmith1998-12-191-1/+5
| | | | | | | This has the useful side-effect of ensuring that opt_smp.h is always generated, so we can assume it will always be available. Prompted by: Andrew Gallatin <gallatin@cs.duke.edu>
OpenPOWER on IntegriCloud