summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Use an unsigned int instead of an int for the Get/Set Integer interface.njl2004-03-092-6/+6
| | | | Pointed out by: le
* Reset the text attributes when initializing the console. The EFImarcel2004-03-091-0/+1
| | | | | loader typically doesn't do this so that we end up booting the with whatever the EFI loader has set it to last.
* Hook CPUs up to newbus. CPUs will ultimately be a bus driver so thatnjl2004-03-092-0/+68
| | | | | | | multiple CPU-specific drivers can attach. This is a work in progress so children aren't supported yet. Help from: jhb
* Add #ifdef CPU_SOEKRIS in the missing places around the led_* codejb2004-03-091-1/+10
| | | | | | | that is specific to those boards. This allows this file to compile again with CPU_ELAN enabled, but not CPU_SOEKRIS, for a Compulab board.
* AMD's ELAN documentation says that you write to the SYS_RST registerjb2004-03-091-0/+10
| | | | | | | | | in the Memory Mapped Configuration Region (MMCR) to reset the CPU. If CPU_ELAN is set, try this first to reset the CPU before the traditional way. Without this change, my Compulab board powers down on 'reset' instead of rebooting.
* Bump __FreeBSD_version for the pf install and write comments to UPDATING.mlaier2004-03-081-1/+1
| | | | Approved by: bms(mentor)
* Link pf to the build and install:mlaier2004-03-082-1/+20
| | | | | | | | | | | | | | | | This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor)
* Mark loadaverage callout as CALLOUT_MPSAFE.rwatson2004-03-081-1/+1
| | | | Reviewed by: jhb
* Add two new sysctls:pjd2004-03-082-4/+92
| | | | | | | | | | | - security.bsd.hardlink_check_uid, when set, means, that unprivileged users are not permitted to create hard links to files not owned by them, - security.bsd.hardlink_check_gid, when set, means, that unprivileged users are not permitted to create hard links to files owned by group they don't belong to. OK'ed by: rwatson
* Add a netgraph node to handle ATM LLC encapsulation. This currently handlesbenno2004-03-086-0/+332
| | | | | | | | | | ethernet (tested) and FDDI (not tested). The main use for this is on ADSL (or other ATM) connections where bridged ethernet is used, PPPoE being a prime example. There is no manual page as yet, I will write one shortly. Reviewed by: harti
* To comply with the spec, do not copy the TOS from the outer IPhsu2004-03-081-6/+6
| | | | | | | header to the inner IP header of the PIM Register if this is a PIM Null-Register message. Submitted by: Pavlin Radoslavov <pavlin@icir.org>
* Include <sys/types.h> for autoconf/automake detection.hsu2004-03-081-0/+2
| | | | Submitted by: Pavlin Radoslavov <pavlin@icir.org>
* Implement a work around for the deadlock avoidance case inalc2004-03-081-0/+7
| | | | | | vm_object_deallocate() so that it doesn't spin forever either. Submitted by: bde
* Add back Giant locks around kmem_free() call from user_ldt cleanup pathpeter2004-03-081-0/+2
| | | | | | during exit. Apparently it isn't safe after all. See uma_large_free(). Pointed out by: alc
* Move a vref call outside of proc locks and Giant. By virtue of the factpeter2004-03-081-5/+4
| | | | | | | that we (p1) are currently running, we hold a reference on p_textvp which means the vnode cannot go away. p2 cannot run yet (and hence cannot exit) so this should be safe to do at this point. As a bonus, it removes a block of under-Giant code that was there to support the vref.
* Other parts of the tree do not protect calls to kmem_free() with Giant,peter2004-03-081-2/+0
| | | | | so remove it from here. The most notable examples include vm_mmap(). This removes one more Giant event from exit(2).
* Stop depending on #include pollution from cpufunc.hpeter2004-03-081-0/+1
|
* MFi386: re-sort non-gcc function prototypes, trim includespeter2004-03-081-44/+30
|
* MFi386: curpcb is no longer null anymore, so do not test for it.peter2004-03-081-3/+1
|
* MFi386: set initial curpcb pcpu variable at startup time rather thanpeter2004-03-081-0/+1
| | | | waiting for a context switch
* MFi386: wait for local apic to become free before using itpeter2004-03-081-4/+2
|
* Implemented the "getifindex" control message.ru2004-03-072-0/+17
| | | | | PR: kern/63864 Submitted by: Gleb Smirnoff
* Retire pmap_pinit2(). Alpha was the last platform that used it. However,alc2004-03-0711-79/+0
| | | | | | | | | | | | | | ever since alpha/alpha/pmap.c revision 1.81 introduced the list allpmaps, there has been no reason for having this function on Alpha. Briefly, when pmap_growkernel() relied upon the list of all processes to find and update the various pmaps to reflect a growth in the kernel's valid address space, pmap_init2() served to avoid a race between pmap initialization and pmap_growkernel(). Specifically, pmap_pinit2() was responsible for initializing the kernel portions of the pmap and pmap_pinit2() was called after the process structure contained a pointer to the new pmap for use by pmap_growkernel(). Thus, an update to the kernel's address space might be applied to the new pmap unnecessarily, but an update would never be lost.
* Don't panic on providers already withered when we wither a geom.phk2004-03-071-1/+2
|
* Use one bus_dma_tag_t for all pSRB instead of creating one for each.cognet2004-03-072-25/+50
| | | | | Free what is allocated for pSRBs at unload time or if something bad happens, thanks to scottl for spotting this out.
* Convert from timeout to callout API.kan2004-03-073-4/+5
| | | | Submitted by: rwatson
* Convert from timeout to callout API.kan2004-03-071-4/+4
|
* Restore CDIOCREADAUDIO ioctl.nyan2004-03-071-0/+9
| | | | Pointed out by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
* Integrate the code from pmap_pinit2() into pmap_pinit(), leavingalc2004-03-071-5/+1
| | | | | | pmap_pinit2() empty. Approved by: marcel
* Remove unused declarations. (Some time ago, these variables became fieldsalc2004-03-074-8/+0
| | | | of vm/vm.h's struct kva_md_info.)
* Mark uma_callout as CALLOUT_MPSAFE, as uma_timeout can run MPSAFE.rwatson2004-03-071-1/+1
| | | | Reviewed by: jeff
* Remove '#include <machine/bus_pio.h>'. This is meaningless.nyan2004-03-072-2/+0
|
* Remove unneeded devices.nyan2004-03-072-115/+0
|
* Sync to 1.166 of usbdevssanpei2004-03-072-2/+16
|
* Add support 2 devices(USB-DVD-R drives)sanpei2004-03-072-0/+10
| | | | | | | | | - Logitec LDR-H443SU2 - IO-DATA DVR-UEH8 PR: kern/63793 Submitted by: Ryuji MATSUMOTO <matumoto@pluto.ai.kyutech.ac.jp> MFC after: 1 week
* Const-poison ip_stf_ttl to make it clear that the variable is notrwatson2004-03-071-1/+1
| | | | modified at run-time.
* MFi386: revisions from 1.1127 to 1.1131.nyan2004-03-071-16/+15
|
* Add the agp, bfe, sk and ti devices. (the agp is disabled by default).nyan2004-03-071-3/+6
| | | | Remove obsolete compat_atdisk device.
* Add preliminary support for PCMCIA devices in addition to PCI/cardbus.wpaul2004-03-077-271/+650
| | | | | | | | | | | | if_ndis.c has been split into if_ndis_pci.c and if_ndis_pccard.c. The ndiscvt(8) utility should be able to parse device info for PCMCIA devices now. The ndis_alloc_amem() has moved from kern_ndis.c to if_ndis_pccard.c so that kern_ndis.c no longer depends on pccard. NOTE: this stuff is not guaranteed to work 100% correctly yet. So far I have been able to load/init my PCMCIA Cisco Aironet 340 card, but it crashes in the interrupt handler. The existing support for PCI/cardbus devices should still work as before.
* Remove GIANT_REQUIRED from vunmapbuf().alc2004-03-071-2/+0
|
* Giant is not required for vm_thread_new_altkstack().alc2004-03-071-4/+1
|
* Overdue reversion of revision 1.143.ru2004-03-061-2/+2
| | | | OK'ed by: imp
* Augment /dev/sndstat with the module names, if applicable.matk2004-03-0624-44/+58
| | | | Approved by: tanimura (mentor)
* Remove the phantom 'nv' driver again.scottl2004-03-061-2/+0
|
* Always call vn_finished_write after vn_start_write was called. Allkan2004-03-061-2/+3
| | | | | occurences of 'goto done' after vn_start_write invocation were cleaning up incompletely.
* When faced with a "GenuineIntel", we know what they call it now. Replacepeter2004-03-061-2/+2
| | | | snide comment with a different one.
* Add a missing part of jhb's previous commit. It looks like he had apeter2004-03-061-1/+5
| | | | | | | patch chunk rejected that he missed. This would manifest as a lock assertion panic at boot (Giant not locked in kern_fork.c). Obtained from: jhb
* kthread_exit() no longer requires Giant, so don't force callers to acquirejhb2004-03-0510-10/+3
| | | | | | Giant just to call kthread_exit(). Requested by: many
* Lock Giant around the body of the adlink_loran() function used by thejhb2004-03-051-0/+2
| | | | adlink device kthreads.
* - Push down Giant in exit() and wait().jhb2004-03-052-26/+42
| | | | | | | | - Push Giant down a bit in coredump() and call coredump() with the proc lock already held rather than unlocking it only to turn around and relock it. Requested by: peter
OpenPOWER on IntegriCloud