summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Patches are given here for pcisupport.c to recognise most of VIAphk1998-05-031-1/+22
| | | | | | | | | | Technologies' Socket 7 chipsets. This covers all of the Apollo chipsets except the Master (82C570) and the MVP3, and it also covers the cheap VXPro and VXTWO knockoffs of the VP1 and VPX. PR: 6481 Reviewed by: phk Submitted by: Lee Cremeans <lcremean@tidalwave.net>
* Add PCI device IDs for Intel BX PCI chip-set components.se1998-05-021-1/+7
| | | | Submitted by: Steinar Haug <sthaug@nethelp.no>
* Another minor cleanup of the split code. Make sure that pages aredyson1998-05-021-2/+15
| | | | | busied during the entire time, so that the waits for pages being unbusy don't make the objects inconsistant.
* Seatbelts for vm_page_bits() in case a file offset is passed in rather thanpeter1998-05-021-2/+3
| | | | | | | | | | | the page offset. If a large file offset was passed in, a large negative array index could be generated which could cause page faults etc at worst and file corruption at the least. (Pages are allocated within file space on page alignment boundaries, so a file offset being passed in here is harmless to DTRT. The case where this was happening has already been fixed though, this is in case it happens again). Reviewed by: dyson
* Support 1.44MB floppy disk.kato1998-05-024-6/+25
| | | | | Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>, NOKUBI Hirotaka <hnokubi@yyy.or.jp>
* Don't depend on "implicit int".bde1998-05-012-5/+5
|
* Added -ansi to CWARNFLAGS so that ANSI errors don't come back.bde1998-05-011-2/+2
|
* Support compiling with `gcc -ansi'. Just use __inline instead of inline.bde1998-05-011-2/+5
| | | | | | | [__]inline is only used to bloat the code here. It gives a separate copy of all the strings for each time this header is included... Fixed misuse of __P(()).
* Oops, the previous commit should have changed `i386' to `__i386__',bde1998-05-014-11/+11
| | | | not `__i386'.
* Partially fixed write clustering for cases where cluster_wbuild() isbde1998-05-011-1/+4
| | | | | | | called from vfs_bio_awrite() without going through cluster_write() or ufs_bmaparray(), in particular for all writes to block disk devices. Only ufs_bmaparray() sets vp->v_maxio in a correct way, and it doesn't seem to be called early enough even for regular files.
* vm_page_is_valid() wasn't expecting a large offset argument, it'speter1998-05-011-2/+3
| | | | | | | | | | | expecting a sub-page offset. We were passing the file position, and vm_page_bits() could do some interesting things when base was larger PAGE_SIZE. if (size > PAGE_SIZE - base) size = PAGE_SIZE - base; is interesting when (PAGE_SIZE - base) is negative. I could imagine that this could have interesting consequences for memory page -> device block bit validation.
* Fix one problem with NFSv3 > 2GB file support.peter1998-05-011-3/+3
| | | | Submitted by: bde
* Fix minor bug with new over used swap fix.dyson1998-05-011-1/+2
|
* Loopback network interface driver (net/if_loop.c) has no SIOCSIFFLAGSphk1998-04-301-1/+4
| | | | | | | | ioctl handler. PR: 6466 Reviewed by: phk Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Make errno finally and permanently thread-aware so that it is no longerjb1998-04-301-5/+1
| | | | | | | | | | | | necessary to compile with _THREAD_SAFE defined. This means that people will get thread-aware code whether they like it or not. This change is required to allow a process to link against libpthread and libc to use kernel threads (and prevent each thread from clobbering another thread's errno just be doing a syscall). This is bound to break some ports, but it is strictly allowed by ANSI C, so anything that breaks as a result was already broken anyway 8-). "Sorry".
* Fix an error that I made with an optimization. In the casedyson1998-04-301-2/+2
| | | | | | of softupdates, we need to do vtruncbuf the old way. Luoqi caught, found the bug and submitted this fix. Submitted by: Luoqi Chen <luoqi@chen.ml.org>
* Use ${.TARGET} rather than $@. i386 tested, pc98 untested because configimp1998-04-295-60/+60
| | | | | | on my box doesn't grok machine type pc98. PR: 3272 Submitted by: jhs
* Fixes incorrect company and product names in uha(4) manpage andandreas1998-04-293-6/+6
| | | | | | LINT config file. Should be merged to -STABLE as well. PR: closes 6447 Submitted by: Steven Plite splite@purdue.edu
* Use DFLTBSIZE instead of MAXBSIZE for pm_fatblksize.dt1998-04-292-32/+38
| | | | | | | | | | In msdosfs_sync: spelling fix, formatting changes; fix MNT_LAZY (sync modified denodes, don't sync device) Mostly submitted by (and with hints from): bde Increase limit for maximum disk size: as far as I can see previous limit was gratuitously too low.
* Sync with sys/i386/i386/trap.c revision 1.127.kato1998-04-291-1/+5
|
* Add a needed prototype, and fix a panic problem with the newdyson1998-04-291-1/+4
| | | | memory code.
* Add "flags 0x10" to the sio0 entry so that SMP-GENERIC acts in thesamemax1998-04-291-2/+2
| | | | manner as the GENERIC kernel to the -h option.
* Tighten up management of memory and swap space during map allocation,dyson1998-04-297-153/+268
| | | | | | | deallocation cycles. This should provide a measurable improvement on swap and memory allocation on loaded systems. It is unlikely a complete solution. Also, provide more map info with procfs. Chuck Cranor spurred on this improvement.
* Translate T_PROTFLT to SIGSEGV instead of SIGBUS when running undereivind1998-04-289-9/+76
| | | | | | | | | Linux emulation. This make Allegro Common Lisp 4.3 work under FreeBSD! Submitted by: Fred Gilham <gilham@csl.sri.com> Commented on by: bde, dg, msmith, tg Hoping he got everything right: eivind
* Fix a pseudo-swap leak problem. This mitigates "leaks" due todyson1998-04-281-14/+35
| | | | | | freeing partial objects, not freeing entire objects didn't free any of it. Simple fix to the map code. Reviewed by: dg
* Submitted by: Doug Ambrisko <ambrisko@whistle.com>julian1998-04-283-34/+71
| | | | make standard links for the first detected sound card.
* Cast return values to the appropriate fp_*_t. Note that the man pagedes1998-04-272-18/+18
| | | | | | | incorrectly refers to them as e.g. fp_except rather than fp_except_t. PR: misc/6310 Submitted by: Niall Smart
* Fixed spelling of "fictitious" in diagnostics and commentsdes1998-04-273-13/+13
| | | | PR: kern/6429
* Support more than 256 tun devices:brian1998-04-271-9/+13
| | | | | | | | $ ls -l /dev/tun25[4-7] crw------- 1 fax dialer 52, 254 Apr 27 02:27 /dev/tun254 crw------- 1 fax dialer 52, 255 Apr 27 02:27 /dev/tun255 crw------- 1 fax dialer 52, 0x00010000 Apr 27 02:31 /dev/tun256 crw------- 1 fax dialer 52, 0x00010001 Apr 27 02:31 /dev/tun257
* Add the PAT cpuid feature.dyson1998-04-262-4/+4
|
* Sync with sys/i386/isa/wd.c revision up to 1.163.kato1998-04-251-4/+6
|
* Correct copyright.dyson1998-04-252-12/+5
|
* Sync with sys/i386/isa/wd.c revision 1.161.kato1998-04-251-3/+9
|
* Sync with sys/i386/conf/GENERIC revision 1.108.kato1998-04-252-2/+4
|
* Oops- osreldate.h is not around like I thought it would be... hmmm.. quick ↵mjacob1998-04-241-2/+8
| | | | fix to get around this
* Discussed with: bdeobrien1998-04-241-1/+1
|
* Create virgin disklabels with 8 (MAXPARTITIONS) partitions rather thanobrien1998-04-241-4/+2
| | | | | three (RAW_PART + 1); This makes ``disklabel -Brw sdN auto'' do the Right Thing.
* At the request of Garrett, changed sysctl:dg1998-04-242-4/+4
| | | | net.inet.tcp.delack_enabled -> net.inet.tcp.delayed_ack
* Ensure that TCP_REXMTVAL doesn't return a value less than t_rttmin. Thisdg1998-04-242-14/+9
| | | | | | | | | | | is believed to have been broken with the Brakmo/Peterson srtt calculation changes. The result of this bug is that TCP connections could time out extremely quickly (in 12 seconds). Also backed out jdp's partial fix for this problem in rev 1.17 of tcp_timer.c as it is obsoleted by this commit. Bug was pointed out by Kevin Lehey <kml@roller.nas.nasa.gov>. PR: 6068
* slice_device.c: permissions changes for SLICE devicesjulian1998-04-243-8/+9
| | | | | | vn.c: change time of SYSINIT scheduling. wd.c don't revert to fully closed state. ( may require more) all in SLICE mode only.
* Added kern.ipc.nmbclustersdg1998-04-243-3/+6
|
* When calling the open function, specify either FREAD and/or FWRITEjulian1998-04-231-3/+3
| | | | as leaving them both 0 has the same effect as not openning the device at all.
* Oops forgot to include opt_bootp.hjulian1998-04-231-2/+4
| | | | Bootp works a lot better with devfs if this is present.
* Convert timespecclear() back to an expression (this time withouteivind1998-04-232-12/+6
| | | | sideeffects).
* Wrap timerclear in do { ... } while(0)eivind1998-04-232-4/+10
|
* Add devfs support.eivind1998-04-231-2/+32
| | | | Submitted by: somebody whose name escapes me :-(
* Mask the interrupt before setting the corresponding bit in ipending iftegge1998-04-224-20/+22
| | | | | | the interrupt is already active. Don't use lock prefix for operations on ipending. Always use lock prefix for operations on iactive.
* Bad144 support for the slice system (!)julian1998-04-225-27/+154
| | | | | | Submitted by: luoqi@watermarkgroup.com (Luoqi Chen) I'm amazed by this. Slice has only been checked in for 2 days..
* Add support for the Qlogic ISP SCSI && FC/AL Adaptersmjacob1998-04-226-6/+24
|
* Add support for the Qlogic ISP SCSI && FC/AL Adaptersmjacob1998-04-223-0/+1121
|
OpenPOWER on IntegriCloud