summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Add quirk for Fujitsu M2513A MO drives. These drives hang at variousiedowse2001-11-171-0/+15
| | | | | | | | operations due to the synchronize cache command. PR: kern/21674 Submitted by: W.Scholten <whs@xs4all.nl> MFC after: 1 week
* MFi386: revisions from 1.26 to 1.30.nyan2001-11-172-10/+196
|
* MFi386: revision 1.12nyan2001-11-171-0/+9
|
* MFi386: revision 1.326.nyan2001-11-171-0/+1
|
* MFi386: revision 1.160nyan2001-11-171-0/+2
|
* MFi386: revision 1.483nyan2001-11-172-12/+12
|
* Give struct socket structures a ref counting interface similar todillon2001-11-1723-182/+223
| | | | | | | vnodes. This will hopefully serve as a base from which we can expand the MP code. We currently do not attempt to obtain any mutex or SX locks, but the door is open to add them when we nail down exactly how that part of it is going to work.
* Fix the non-KSTACK_GUARD case.. It has been broken since the KSEpeter2001-11-172-0/+2
| | | | commit. ptek was not been initialized.
* Start bringing i386/pmap.c into line with cleanups that were done topeter2001-11-177-515/+385
| | | | | | | | | | | | | | | alpha pmap. In particular - - pd_entry_t and pt_entry_t are now u_int32_t instead of a pointer. This is to enable cleaner PAE and x86-64 support down the track sor that we can change the pd_entry_t/pt_entry_t types to 64 bit entities. - Terminate "unsigned *ptep, pte" with extreme prejudice and use the correct pt_entry_t/pd_entry_t types. - Various other cosmetic changes to match cleanups elsewhere. - This eliminates a boatload of casts. - use VM_MAXUSER_ADDRESS in place of UPT_MIN_ADDRESS in a couple of places where we're testing user address space limits. Assuming the page tables start directly after the end of user space is not a safe assumption. There is still more to go.
* Forward declare struct ifnet - this fixes a warning in tdfx_pci.cpeter2001-11-171-0/+1
|
* Fix printf warnings (int/long)peter2001-11-171-2/+4
| | | | #if 0 around unused ifname_bsd_to_linux() function
* Fix warning in debug printf. This is a long on alpha, and int on i386,peter2001-11-171-1/+1
| | | | but printed with %ld always.
* Missing KSE s/curproc/curthread/peter2001-11-171-1/+1
|
* Return EOPNOTSUPP for unknown module events.iedowse2001-11-172-2/+8
| | | | | PR: kern/18473 Submitted by: "Jeroen C. van Gelderen" <gelderen@systemics.com>
* Fix some warnings on 64 bit platforms.peter2001-11-171-1/+4
|
* When laying out objects in a ZONE_INTERRUPT zone, allow them to crossjlemon2001-11-171-2/+4
| | | | | | | | a page boundary, since we've already allocated all our contiguous kva space up front. This eliminates some memory wastage, and allows us to actually reach the # of objects were specified in the zinit() call. Reviewed by: peter, dillon
* utime/stime.tv_sec are elapsed times, not relative to 1970. We canpeter2001-11-171-4/+4
| | | | | safely print them as longs. Even if ^T overflows after a process has accumulated 68 years of user or system time, it is no big deal.
* You cannot cast a time_t to quad_t and printf it with %lld. quad_t ispeter2001-11-161-2/+2
| | | | 64 bits, not long long.
* Fix a number of misspellings of "dependency" and "dependencies" iniedowse2001-11-166-21/+21
| | | | | | | comments and function names. PR: kern/8589 Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
* Handle the IBCS2 FIONREAD ioctl. I have only tested that thisiedowse2001-11-161-0/+1
| | | | | | | compiles, but the patch looks reasonable. PR: i386/5784 Submitted by: Remy NONNENMACHER <remy@synx.com>
* Back out the previous fix to the leading zero problem, I hadn'tphk2001-11-161-2/+0
| | | | | noticed it in there already. That should teach me to check exit code from cvsup.
* Reject leading zeros in dev_stdclone().phk2001-11-161-0/+2
| | | | | PR: 32019 Submitted by: fenner
* Regenerate with 1.19 of pccarddevsimp2001-11-161-8/+77
|
* Merge in most (hopefully all) of the devices that OpenBSD has thatimp2001-11-161-3/+40
| | | | NetBSD/FreeBSD doesn't have listed.
* Cosmetic tweak to eliminate some diffspeter2001-11-161-2/+0
|
* Merge another missing part of i386/pmap.c rev 1.220. Dont blindly clearpeter2001-11-161-1/+2
| | | | | the PG_BUSY flag without using the code that wakes up something else that may be sleeping on it.
* Oops, I accidently merged a whitespace error from the original commit.peter2001-11-164-4/+4
| | | | (whitespace at end of line in rev 1.264 pmap.c). Fix them all.
* Merge rev 1.264 from i386/pmap.c (tegge via alfred):peter2001-11-162-2/+8
| | | | | | | Protect against an infinite loop when prefaulting pages. This can happen when the vm system maps past the end of an object or tries to map a zero length object, the pmap layer misses the fact that offsets wrap into negative numbers and we get stuck.
* Merge rev 1.202 from i386/pmap.c (back in 1998 by John Dyson):peter2001-11-162-0/+6
| | | | | | | Make flushing dirty pages work correctly on filesystems that unexpectedly do not complete writes even with sync I/O requests. This should help the behavior of mmaped files when using softupdates (and perhaps in other circumstances also.)
* Merge rev 1.293 of i386/pmap.c - skip PG_UNMANAGED in pmap_collect()peter2001-11-162-2/+2
|
* Converge/fix some debug code (#if 0'ed on alpha, but whatever)peter2001-11-163-43/+33
| | | | | | - use NPTEPG/NPDEPG instead of magic 1024 (important for PAE) - use pt_entry_t instead of unsigned (important for PAE) - use vm_offset_t instead of unsigned for va's (important for x86-64)
* Converge with i386/pmap.c - dont refer to curproc, use curthread.peter2001-11-162-4/+4
|
* Switch warnings and strict back on again in a way that's compatiblejoe2001-11-161-3/+3
| | | | | | with -stable as well as -current. Reviewed by: imp
* Merge part of i386/pmap.c rev 1.220 that got missed in alpha/pmap.cpeter2001-11-161-5/+1
| | | | rev 1.10
* As part of a general cleanup and reconvergence of related pmap code,peter2001-11-162-46/+1
| | | | | start tidying up some loose ends. The DEBUG_VA stuff has long since passed its use-by date. It wasn't used on ia64 but got cut/pasted there.
* Fix a leftover client comment, long line fix.peter2001-11-151-6/+4
|
* Do not allow leading zeros on device names in dev_stdclone().fenner2001-11-151-0/+2
| | | | | PR: kern/32019 Reviewed by: phk
* Allow bit 21 of EFLAGS register (PSL_ID) be changed in the use-mode withoutsobomax2001-11-152-2/+2
| | | | | | | | | | ill effects. This should fix problems threaded programs are having with auto-detecting CPU type. Reported by: Joe Clarke <marcus@marcuscom.com> Tested by: Joe Clarke <marcus@marcuscom.com> Reviewed by: jhb MFC after: 1 week
* Use MTX_QUIET for the lock operations during clock interrupts so their logsjhb2001-11-151-6/+6
| | | | don't drown out more useful log messages.
* Add a couple of returns to making recovering from a failed witness_assert()jhb2001-11-151-2/+6
| | | | more sane in the RESTARTABLE_PANICS case.
* 'error' is now unused, since its only purpose was to catch therwatson2001-11-151-1/+0
| | | | results of suser_td().
* Document the atkbd flags of 0x03 and be explicit to mention this mightasmodai2001-11-152-0/+4
| | | | | | | | fit some dockingstation keyboard probing. PR: 23681 Submitted by: yokota [PR issued by: Claude Lefrancois <lmcclef@lmc.ericsson.se>]
* Temporarily disable unloading, as it appears to be broken (read: causesrwatson2001-11-151-0/+2
| | | | panics)
* o Rely on /dev/snp* permissions, rather than using suser() in snpopen()rwatson2001-11-151-3/+0
| | | | | | to prevent inappropriate use of the snoop device. This means that, with appropriate chmod'ing, arbitrary users may make use of the snoop device.
* Remove definition of witness and comment stating that this file implementsjhb2001-11-152-44/+2
| | | | witness. Witness moved off to subr_witness.c a while ago.
* Add card_if.h to SRCS.matusita2001-11-151-1/+1
| | | | | | src/sys/dev/an/if_an_pccard.c rev 1.10 change requires to include "card_if.h" but Makefile doesn't know about this file. Without this, kernel build will fail at this driver.
* Remove clkrun_hack for ThinkPad 570.asmodai2001-11-151-2/+1
| | | | | | PR: 28031 Submitted by: Tan Koan-Sin <freedom@csie.nctu.edu.tw> MFC after: 2 weeks
* - Don't enable interrupts in trap() if we trapped while holding a spinjhb2001-11-152-12/+34
| | | | | | | | lock as this usually makes the problem worse. - If we get a page fault while holding a spin lock, treat it as a fatal trap and don't even bother calling into the VM since calling into the VM will panic when trying to lock Giant before we can get a useful message anyways.
* Axe NFS_NOSERVER since it doesn't do anything anymore. Remove NFSSERVERjhb2001-11-153-3/+0
| | | | from your config file instead.
* Fix re-enabling ACPI on wakeup from hibernation. The problem was thatiwasaki2001-11-151-3/+2
| | | | | acpi_Disable() cleared all GPE events. Some old ACPI implementaions still need current re-enabling code.
OpenPOWER on IntegriCloud