summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID() for $FreeBSD$ version strings in .c files.rwatson2009-01-242-4/+6
| | | | | Obtained from: TrustedBSD Project MFC after: 3 days
* Begin to add SDT tracing of the MAC Framework: add policy modevent,rwatson2009-01-241-1/+24
| | | | | | | | register, and unregister hooks that give access to the mac_policy_conf for the policy. Obtained from: TrustedBSD Project MFC after: 3 days
* Add explicit static DTrace tracing to the callout mechanism, capturingrwatson2009-01-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | pointers to the callout handler just before and just after the callout it invoked. I attempted to do this in a manner congruent to tracing in Solaris's callout mechanism, but couldn't quite use the same names due to convention and syntax differences. Example DTrace script to generate a distribution graph of callout execution times: callout_execute:::callout_start { self->cstart = timestamp; } callout_execute:::callout_end { @length = quantize(timestamp - self->cstart); } Reviewed by: jb MFC after: 3 days
* When "-b" is specified, one could easily create "smaller" filestrhodes2009-01-241-3/+3
| | | | | | | | | that are much larger than expected (given the default size). Change "smaller files" to "split files" which is more in line with what "-b" actually does. PR: 119329 Submitted by: Julian Stacey <jhs@berklix.org>
* Update the supported device list a little bit.trhodes2009-01-242-4/+6
| | | | | PR: 84538 Submitted by: asmodai
* Add a comment on kern.ipc.maxpipekva.trhodes2009-01-241-1/+11
| | | | | PR: 105997 Reviewed by: keramida
* - Mark all standalone INT/LONG/QUAD sysctl's MPSAFE. This is donejhb2009-01-233-77/+79
| | | | | | | | | | inside the SYSCTL() macros and thus does not need to be done for all of the nodes scattered across the source tree. - Mark the name-cache related sysctl's (including debug.hashstat.*) MPSAFE. - Mark vm.loadavg MPSAFE. - Remove GIANT_REQUIRED from vmtotal() (everything in this routine already has sufficient locking) and mark vm.vmtotal MPSAFE. - Mark the vm.stats.(sys|vm).* sysctls MPSAFE.
* - Add conditional Giant locking around the vrele() injhb2009-01-231-33/+38
| | | | | | | sysctl_kern_proc_pathname(). - Mark all the kern.proc.* sysctls as MPSAFE. Submitted by: csjp (2)
* Add a flag to tag individual sysctl leaf nodes as MPSAFE and thus notjhb2009-01-232-4/+5
| | | | | | needing Giant. Submitted by: csjp (an older version)
* Use shared vnode locks for fchdir().jhb2009-01-231-2/+2
| | | | Submitted by: ups
* Tweak the wording for vfs_mark_atime() since the I/O it is avoiding by notjhb2009-01-231-3/+3
| | | | | | | updating va_atime via VOP_SETATTR() isn't always synchronous. For some filesystems it is asynchronous. Suggested by: bde
* Push down Giant in the vlnru kproc main loop so that it is only acquiredjhb2009-01-231-11/+3
| | | | | | | | around calls to vlrureclaim() on non-MPSAFE filesystems. Specifically, vnlru no longer needs Giant for the common case of waking up and deciding there is nothing for it to do. MFC after: 2 weeks
* Protect against NULL pointer dereference.trasz2009-01-231-0/+5
| | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Don't leak memory when alloc fails.trasz2009-01-231-3/+3
| | | | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 2908
* Guard against NULL pointer dereference.trasz2009-01-231-1/+4
| | | | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 1847
* Guard against NULL pointer dereference.trasz2009-01-231-0/+4
| | | | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 130
* Only start the if_slowtimo timer (which drives the if_watchdog methods ofjhb2009-01-231-2/+25
| | | | | | | network interfaces) if we have at least one interface with an if_watchdog routine. MFC after: 2 weeks
* Sort KERNFAST and KERNCONF into the list they are in.imp2009-01-231-19/+19
|
* Document KERNCONF and KERNFAST. Note that TARGET is usually all oneimp2009-01-231-1/+22
| | | | needs to set for cross building.
* Implement an idea from Sam Leffler:imp2009-01-231-0/+4
| | | | | | | | | | | | | | make KERNFAST=blah buildkernel is now a short cut for make KERNCONF=blah -DKERNFAST buildkernel This change works for all kernel config files not named "1". I did that to make sure that make -DKERNFAST buildkernel remains the same as make -DKERNFAST KERNCONF=GENERIC buildkernel rather than trying to build and configure "1". I've never seen a kernel config file named "1," so I think this is a good compromise.
* fix regulatory state check for all vaps' being down; it must be donesam2009-01-231-7/+7
| | | | before calling the ic_setregdomain callback
* add defines for driver-private bits to eliminate use of constantssam2009-01-231-1/+4
|
* - Add few VIA bridges to agp_via.c and connect it to amd64 buildjkim2009-01-235-18/+28
| | | | | as they support Intel Core/Core 2 and VIA Nano processors. - Align "optional agp" in conf/files.* for consistency while I am here.
* Use the correct type for the timeout parameter to the 32-bitjhb2009-01-231-1/+1
| | | | | | | | compat version aio_waitcomplete(). Reminded by: bz Submitted by: jamie MFC after: 3 days
* Note the implication of setting the 'w' permission on directories,trhodes2009-01-231-2/+7
| | | | | | | | while here, expand the 'naughty bits' comment in BUGS. PR: 84265 and 84268 Reviewed by: keramida Obtained from: hints from ceri, keramida
* urtw(4) works also on amd64.weongyo2009-01-231-0/+1
| | | | Tested by: kevlo
* Add urtw(4) to the list of supported network interface.weongyo2009-01-231-0/+1
|
* Add an entry for the urtw(4) module.weongyo2009-01-231-0/+1
|
* Connect urtw.4 to the build.weongyo2009-01-231-0/+4
|
* Connect urtw(4) to the i386 build only because it's not tested on amd64weongyo2009-01-231-0/+2
| | | | | architecture but expect it'd work. In cases on other architectures it'd not work yet.
* fix return status handling by ar5XXXReset; this is the reason thesam2009-01-235-10/+10
| | | | driver sometimes reports reset failed w/ status 0
* Add a new USB wireless driver, urtw(4) for supporting Realtek's 8187Lweongyo2009-01-236-0/+3860
| | | | chipset.
* Add an example of using bs=2048 to duplicate data CD-ROMs.keramida2009-01-231-0/+5
| | | | | | | | | | | This should be a bit useful for users who look at the manpage and then try to copy data CD-ROM disks using dd. A lot of us know that bs=2048 is required, but it still manages to cause a bit of grief to those who haven't heard about it. PR: bin/130857 Submitted by: Tri Brotoharsono < mail at tribrotoharsono.net > MFC after: 3 days
* don't run the calibration code if scanning, we won't be on the home channelsam2009-01-231-0/+4
|
* Attaching to the init process returns EINVAL,trhodes2009-01-231-2/+2
| | | | | | | | so give an example that is more likely to work. Stolen from the ktrace(1) manual page. PR: 128222 Submitted by: Mateusz Guzik <mjguzik@gmail.com>
* Move to having a caps flag. Newer versions of the AT91 family don'timp2009-01-231-13/+21
| | | | | need the bouncing, so save a few copies in that case. Also convert 4-bit code selection to using it.
* remove some useless #include,luigi2009-01-221-8/+2
| | | | | | document why timeconv.h is needed MFC after: 3 days
* Don't over-commit the DMA. Use the passed in size of the transferimp2009-01-221-2/+1
| | | | | | rather than a fixed 512... This fixes the mount root problem on at91. Prior to the SD card reorg, all data transfers were 512 bytes, so we didn't notice.
* Migrate towards using at91_master_clock. Initialize the clocks forimp2009-01-223-5/+12
| | | | | | the serial port class when we set the devclass since it is now no-longer a compile time constant. Eliminate the pci include, as it isn't relevant or necessary.
* Use at91_master_clock instead of AT91C_MASTER_CLOCK.imp2009-01-222-2/+3
|
* Remove now-redundant declaration.imp2009-01-221-1/+0
|
* Store at91_master_clock in a global variable as opposed to a compileimp2009-01-222-0/+4
| | | | | | time constant. This allows us to potentially change it at runtime or autodetect it early in the boot (the latter being much more likely to have a good outcome).
* VIA Nano processor has a special MSR (CENT_HARDWARECTRL3) bit 32 to determinejkim2009-01-222-2/+4
| | | | | whether TSC is P-state invariant or not. In fact, this MSR is writable but we just leave it at the BIOS default for now.
* Include a missing header file.jkim2009-01-221-0/+1
| | | | Reported by: thompsa, "build universe"
* Replace couple of strcmp(cpu_vendor, "foo") with cpu_vendor_id for i386jkim2009-01-222-4/+10
| | | | and hide i386-specific code under #ifdef.
* Add a comment explaining what ARM_KERN_DIRECTMAP is all about.cognet2009-01-221-0/+7
| | | | Suggested by: raj
* Fix a compile bogon. 'ppbus' is used by two different sets of debug codejhb2009-01-221-0/+2
| | | | | | in lptout(). Reported by: several
* MFV of tzdata2009aedwin2009-01-225-17/+78
| | | | | | | | | - Asia/Katmandu -> Asia/Kathmandu - Fix historical references to DST in Switzerland - Correct rules for America/Resolute (Nunavut) - Cuba didn't have DST in 2005. MFC after: 1 week
* Add externs to fix build with VIMAGE_GLOBALS after r187289.bz2009-01-221-0/+2
|
* Document the "-U" option. While it is not part of thetrhodes2009-01-222-2/+5
| | | | | | | | getopt(), it is accepted through smb_ctx_init() in lib/smb/ctx.c. PR: 117013 Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version)
OpenPOWER on IntegriCloud