summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add a readonly sysctl variable of type string, kern.bootp_cookie,luigi2002-03-131-0/+15
| | | | | | | | | | | | | | | | | | | which is initialized with whatever string a dhcp/bootp server passes as vendor tag 134. There is no standard tag that I know with this information, and no vendor-defined tag that applies to FreeBSD that I could find doing the same thing. The intended use is to pass information to userland for run-time configuration of a diskless client without having to run a bootp/dhcp client for the third time (after the one in pxeboot/etherboot, and the one in the kernel bootp), also because these clients generally screwup the interface configuration, which is not exactly what you want when you have your disks nfs-mounted. Manpage update to follow soon. MFC-after: 3 days
* Fix ifdef LOCORE protection.jake2002-03-131-4/+4
|
* Add a DEBUGGER_ON_POWERFAIL option. This makes the power button on ultra 10sjake2002-03-132-0/+8
| | | | work like an NMI button.
* Fix braino.jake2002-03-132-6/+0
|
* Cleanup the recent cardbus cleanups. This fixes some of the panicsimp2002-03-132-50/+31
| | | | | that I introduced with -v. However, other problems still remain (including the loss of interrupts).
* Add support for starting and stopping cpus with ipis.jake2002-03-134-8/+93
| | | | | | Stop the other cpus when shutting down or entering the debugger. Submitted by: tmm
* Use intr_disable/intr_restore instead of doing it manually.jake2002-03-131-4/+2
| | | | Submitted by: tmm
* Add support for driving the clocks on secondary cpus.jake2002-03-132-6/+52
| | | | Submitted by: tmm
* Fix a bug where the wrong number of windows were copied for a failed filljake2002-03-132-2/+2
| | | | | on return to user mode. We may not have frame pointers setup for more than 1 on return from exec.
* White space.jake2002-03-132-2/+2
|
* Make IPI_WAIT use a bit mask of the cpus that a pmap is active on and onlyjake2002-03-134-43/+50
| | | | | | | | | | | | wait for those cpus, instead of all of them by using a count. Oops. Make the pointer to the mask that the primary cpu spins on volatile, so gcc doesn't optimize out an important load. Oops again. Activate tlb shootdown ipi synchronization now that it works. We have all involved cpus wait until all the others are done. This may not be necessary, it is mostly for sanity. Make the trigger level interrupt ipi handler work. Submitted by: tmm
* Add an ATOMIC_CLEAR_INT macro.jake2002-03-131-2/+13
| | | | Submitted by: tmm
* Use the deo hosted toolchain by default.jake2002-03-131-10/+14
|
* LABELOFFSET is 128 for sparc64.jake2002-03-133-0/+15
| | | | | Submitted by: tmm Forgotten by: obrien
* Add realloc() and reallocf(), and make free(NULL, ...) acceptable.archie2002-03-132-0/+78
| | | | Reviewed by: alfred
* Only i386 has wbinvd().dfr2002-03-121-0/+2
|
* This patch adds the "LOCKSHARED" option to namei which causes it to only ↵jeff2002-03-126-3/+112
| | | | | | | | | | | | | | | | acquire shared locks on leafs. The stat() and open() calls have been changed to make use of this new functionality. Using shared locks in these cases is sufficient and can significantly reduce their latency if IO is pending to these vnodes. Also, this reduces the number of exclusive locks that are floating around in the system, which helps reduce the number of deadlocks that occur. A new kernel option "LOOKUP_SHARED" has been added. It defaults to off so this patch can be turned on for testing, and should eventually go away once it is proven to be stable. I have personally been running this patch for over a year now, so it is believed to be fully stable. Reviewed by: jake, obrien Approved by: jake
* Fix some -Wunused warnings by "using" a macro argumentpeter2002-03-121-7/+7
|
* Fix a warning (make ucontext_t *ucp a const)peter2002-03-121-1/+2
|
* Stop concatenating __func__ with stringspeter2002-03-121-2/+2
|
* Deal with a structure member rename in a recent acpica importpeter2002-03-121-1/+1
|
* Do not concatenate __func__ with strings, because it is not a string.peter2002-03-121-2/+2
| | | | Later gcc's blow up on this.
* Do not do string concatenation with __func__ (which is not a string)peter2002-03-121-1/+1
|
* Recent acpica imports have changed the lengths from UINT32 to ACPI_SIZE,peter2002-03-121-3/+3
| | | | which is 64 bit on ia64. Fix it.
* Add support for 3Com Airconnect PCI cards.brooks2002-03-111-0/+1
| | | | MFC after: 3 days
* First commit of the GEOM subsystem to make it easier for people tophk2002-03-1113-0/+3690
| | | | | | | | | | | | | | | | | | | | | | test and play with this. This is not yet production quality and should be run only on dedicated test boxes. For people who want to develop transformations for GEOM there exist a set of shims to run geom in userland (ask phk@freebsd.org). Reports of all kinds to: phk@freebsd.org Please include in report: dmesg sysctl debug.geomdot sysctl debug.geomconf Known significant limitations: no kernel dump facility. ioctls severely restricted. Sponsored by: DARPA, NAI Labs
* Add new support for locking an ATA channel and use that throughoutsos2002-03-118-49/+70
| | | | | | the ATA/ATAPI driver. This solves the concurrency problem with the new GEOM code, and also cuts a good deal of the patch size in the upcoming MFC.
* Fix a misspelling of mine: s/optomization/optimization/.jhb2002-03-112-2/+2
| | | | Noticed by: bmilekic
* Grrr, turn preemption back off on the alpha again. It is still not stable.jhb2002-03-111-1/+1
| | | | Noticed by: wilko, mjacob, jhb, peter, and others
* Fix a bug in ufsdirhash_adjfree() that caused it to incorrectlyiedowse2002-03-111-10/+7
| | | | | | | | | | | | | | | | | | | | update the free-space statistics in some cases. The problem affected directory blocks when the free space dropped below the size of the maximum allowed entry size. When this happened, the free-space summary information could claim that there are no further blocks that can fit a maximum-size entry, even if there are. The effect of this bug is that the directory may be enlarged even though there is space within the directory for the new entry. This wastes disk space and has a negative impact on performance. Fix it by correctly computing the dh_firstfree array index, adding a helper macro for clarity. Put an extra sanity check into ufsdirhash_checkblock() to detect the situation in future. Found by: dwmalone Reviewed by: dwmalone MFC after: 1 week
* On FreeBSD make usb_proc_t the same as d_thred_t always.imp2002-03-111-2/+2
|
* I missed one VOP_CLOSE in the previous commit.phk2002-03-111-0/+5
| | | | Pointed out by: bde
* Be more specific about when block major numbers disappeared fromjoe2002-03-119-9/+9
| | | | the cdev switch.
* As a XXX bandaid open the mounted device READ/WRITE even if we only mountphk2002-03-111-0/+14
| | | | | | | | | | | read-only. The trouble here is that we don't reopen the device in read/write mode when we remount in read/write mode resulting in a filesystem sending write requests to a device which was only opened read/only. I'm not quite sure how such a reopen would best be done and defer the problem to more agile hackers.
* Remove use of the bogus ioctl DIOCGPART.phk2002-03-112-22/+2
| | | | | | | It was used to initialize an unused variable, because ext2fs was copy&pasted from UFS rather than copy,paste&cleaned from UFS. Suggested by: bde
* Simplify the interface cloning framework by handling unitmux2002-03-119-252/+95
| | | | | | | | | unit allocation with a bitmap in the generic layer. This allows us to get rid of the duplicated rman code in every clonable interface. Reviewed by: brooks Approved by: phk
* Add commented out GEOM line to NOTESphk2002-03-112-0/+6
|
* Add GEOM to conf/files.phk2002-03-111-0/+11
|
* Augment struct bio for GEOM.phk2002-03-111-4/+14
|
* Add a field to struct disk for GEOMphk2002-03-111-0/+1
|
* Make the disk_clone() routine more robust for abuse.phk2002-03-111-33/+26
| | | | Sneak in a trivial bit of the GEOM stuff while we're here anyway.
* Add the GEOM option.phk2002-03-111-0/+1
|
* Mark some arguments __unused.phk2002-03-111-2/+2
|
* Stop abusing the pgrpsess_lock.tanimura2002-03-114-12/+8
|
* Do not lock the pgrpsess_lock exclusively across ttywait().tanimura2002-03-111-0/+2
| | | | | Spotted by: David Wolfskill <david@catwhisker.org> Investigated by: rwatson
* Correct a typo. (* that should've been &)benno2002-03-113-3/+3
|
* Due to changes in the handling of the #line directive by GCC(cpp) 3.1,obrien2002-03-111-1/+1
| | | | we must now explicitly list the source directory with -I.
* Make the diagnostics printfs less ugly.dd2002-03-111-4/+6
|
* Add support for Simplified Direct Access Device in scsi_op_desc().simokawa2002-03-111-0/+4
|
* Fix the type of some constants, and make some macros safer by castingtmm2002-03-111-18/+18
| | | | the argument.
OpenPOWER on IntegriCloud