summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Add support for multibyte thousands_sep encodings, e.g., U+066C.das2009-01-223-173/+225
| | | | | | | | The integer thousands' separator code is rewritten in order to avoid having to preallocate a buffer for the largest possible digit string with the most possible instances of the longest possible multibyte thousands' separator. The new version inserts thousands' separators for integers using the same code as floating point.
* - Update my copyright.jeff2009-01-221-16/+27
| | | | | | | | - Print human readable time as a float with two digits of precision. Use ns now as well since clock periods are well into the hundreds of picoseconds now. - Show the average duration in the stats frame. This is often more useful than total duration.
* Rename sc_is_pseudo to sc_nobulk member in ufoma_softc.takawata2009-01-221-13/+13
| | | | | | That was pseudo ucom because it used home brew tty interface. Now, it is integrated to usb serial framework, so it is not pseudo ucom any more.
* Add locking to ppc and ppbus and mark the whole lot MPSAFE:jhb2009-01-2121-497/+830
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - To avoid having a bunch of locks that end up always getting acquired as a group, give each ppc(4) device a mutex which it shares with all the child devices including ppbus(4), lpt(4), plip(4), etc. This mutex is then used for all the locking. - Rework the interrupt handling stuff yet again. Now ppbus drivers setup their interrupt handler during attach and tear it down during detach like most other drivers. ppbus(4) only invokes the interrupt handler of the device that currently owns the bus (if any) when an interrupt occurs, however. Also, interrupt handlers in general now accept their softc pointers as their argument rather than the device_t. Another feature of the ppbus interrupt handlers is that they are called with the parent ppc device's lock already held. This minimizes the number of lock operations during an interrupt. - Mark plip(4), lpt(4), pcfclock(4), ppi(4), vpo(4) MPSAFE. - lpbb(4) uses the ppc lock instead of Giant. - Other plip(4) changes: - Add a mutex to protect the global tables in plip(4) and free them on module unload. - Add a detach routine. - Split out the init/stop code from the ioctl routine into separate functions. - Other lpt(4) changes: - Use device_printf(). - Use a dedicated callout for the lptout timer. - Allocate the I/O buffers at attach and detach rather than during open and close as this simplifies the locking at the cost of 1024+32 bytes when the driver is attached. - Other ppi(4) changes: - Use an sx lock to serialize open and close. - Remove unused HADBUS flag. - Add a detach routine. - Use a malloc'd buffer for each read and write to avoid races with concurrent read/write. - Other pps(4) changes: - Use a callout rather than a callout handle with timeout(). - Conform to the new ppbus requirements (regular mutex, non-filter interrupt handler). pps(4) is probably going to have to become a standalone driver that doesn't use ppbus(4) to satisfy it's requirements for low latency as a result. - Use an sx lock to serialize open and close. - Other vpo(4) changes: - Use the parent ppc device's lock to create the CAM sim instead of Giant. - Other ppc(4) changes: - Fix ppc_isa's detach method to detach instead of calling attach. Tested by: no one :-(
* - Document targets run-depends-list and build-depends-listtabthorpe2009-01-211-2/+7
| | | | | | | PR: docs/127575 Submitted by: Walter Venable <walt relnor.com> Approved by: keramida MFC after: 3 days
OpenPOWER on IntegriCloud