summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFtbemd:imp2010-08-2335-70/+74
| | | | | | | | | Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed...
* uio_resid isn't updated by VOP_READDIR for nfs filesystems. Usebrian2010-08-231-3/+2
| | | | | | | | | the uio_offset adjustment instead to calculate a correct *len. Without this change, we run off the end of the directory data we're reading and panic horribly for nfs filesystems. MFC after: 1 week
* MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH ↵imp2010-08-236-18/+18
| | | | (which simplifies some powerpc/powerpc64 ifs)
* MF tbemd: move to using specific architecture makefilesimp2010-08-239-20/+27
|
* MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH ↵imp2010-08-232-11/+11
| | | | (which simplifies some powerpc/powerpc64 ifs)
* MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCHimp2010-08-238-10/+10
|
* It turns out that the OUTPUT_FORMAT should do the right thing for both ↵imp2010-08-232-135/+1
| | | | endians...
* MF tbemd: differentiate between arm and armebimp2010-08-232-1/+135
|
* Minor tweak from tbemdimp2010-08-231-1/+0
|
* Remove unnecessary controller reinitialization by checkingyongari2010-08-231-5/+11
| | | | IFF_DRV_RUNNING flag.
* Clean up SIOCSIFCAP handler and allow RX checksum offloading couldyongari2010-08-231-31/+38
| | | | be controlled by user.
* Better wording and fix wrong explanation.yongari2010-08-231-2/+2
| | | | Submitted by: Ben Kaduk ( minimarmot <> gmail dot com )
* Document tunable dev.rl.%unit.prefer_iomapyongari2010-08-221-1/+8
|
* It seems some newer RTL8139 controllers provides only memory spaceyongari2010-08-221-23/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | register mapping. I'm not sure whether it comes from the fact that controllers live behind certain PCI brdge(PLX PCI 6152 33BC) and the bridge has some issues in handling I/O space register mapping. Unfortunately it's not possible to narrow down to an exact controller that shows this issue because RealTek used the same PCI device/revision id again. In theory, it's possible to check parent PCI bridge device and change rl(4) to use memory space register mapping if the parent PCI bridge is PLX PCI 6152. But I didn't try to do that and we wouldn't get much benefit with added complexity. Blindly switching to use memory space register mapping for rl(4) may make most old controllers not to work. At least, I don't want to take potential risk from such change. So use I/O space register mapping by default but give users chance to override it via a tunable. The tunable to use memory space register mapping would be given by adding the following line to /boot/loader.conf file. dev.rl.%d.prefer_iomap="0" This change makes P811B quad-port work with this tunable. Tested by: Nikola Kalpazanov ( n.kalpazanov <> gmail dot com ) MFC after: 1 week
* sh: Remove remnants of '!!' to negate pattern.jilles2010-08-222-17/+30
| | | | | | | | This Almquist extension was disabled long ago. In pathname generation, components starting with '!!' were treated as containing wildcards, causing unnecessary readdir (which could fail, causing pathname generation to fail while it should not).
* Add missing mlink for insmntque1().ed2010-08-221-0/+1
| | | | MFC after: 1 week
* Introduce and use devfs_populate_vp() to unlock a vnode before callingjh2010-08-221-26/+56
| | | | | | | devfs_populate(). This is a prerequisite for the automatic removal of empty directories which will be committed in the future. Reviewed by: kib (previous version)
* sh: Test that all bytes from 128 to 255 can be used in IFS.jilles2010-08-221-0/+21
| | | | | | To avoid multibyte issues, this test forces ISO8859-1 charset. This also passes on stable/8.
* sh(1): Add a brief summary of arithmetic expressions.jilles2010-08-221-5/+36
|
* UTFize my name.des2010-08-221-1/+1
|
* Port this to FreeBSD. We miss some suword functions, so we use copyout.rpaulo2010-08-221-6/+13
| | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M sys/fasttrap_impl.h
* Call the systrace_probe_func() when the error value.rpaulo2010-08-221-2/+2
| | | | Sponsored by: The FreeBSD Foundation
* Add an extra comment to the SDT probes definition. This allows us to getrpaulo2010-08-2216-90/+129
| | | | | | | | | use '-' in probe names, matching the probe names in Solaris.[1] Add userland SDT probes definitions to sys/sdt.h. Sponsored by: The FreeBSD Foundation Discussed with: rwaston [1]
* Remove an elif and add an or-clause.rpaulo2010-08-221-3/+1
| | | | Sponsored by: The FreeBSD Foundation
* Bump KDTRACE_THREAD_ZERO and use M_ZERO as a malloc flag instead ofrpaulo2010-08-221-6/+3
| | | | | | calling bzero. Sponsored by: The FreeBSD Foundation
* Fix style issues.rpaulo2010-08-221-6/+14
| | | | Sponsored by: The FreeBSD Foundation
* Fix keyword expansion properties.jilles2010-08-220-0/+0
|
* Destroy the helper device when unloading.rpaulo2010-08-221-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add more compatibility structure members needed by the upcoming fasttraprpaulo2010-08-221-3/+33
| | | | | | DTrace device. Sponsored by: The FreeBSD Foundation
* sh: Add a test for breaking from a loop outside the current function.jilles2010-08-221-0/+15
| | | | It is unwise to rely on this but I'd like to know if this would break.
* Kernel DTrace support for:rpaulo2010-08-2210-247/+614
| | | | | | | | | o uregs (sson@) o ustack (sson@) o /dev/dtrace/helper device (needed for USDT probes) The work done by me was: Sponsored by: The FreeBSD Foundation
* Add a function compatibility function dtrace_instr_size_isa() that onrpaulo2010-08-222-0/+14
| | | | | | FreeBSD does the same as dtrace_dis_isize(). Sponsored by: The FreeBSD Foundation
* Add the FreeBSD definition for the fasttrap ioctls.rpaulo2010-08-221-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Add support for whiteouts on tmpfs.ed2010-08-223-40/+116
| | | | | | | | | | | | | | Right now unionfs only allows filesystems to be mounted on top of another if it supports whiteouts. Even though I have sent a patch to daichi@ to let unionfs work without it, we'd better also add support for whiteouts to tmpfs. This patch implements .vop_whiteout and makes necessary changes to lookup() and readdir() to take them into account. We must also make sure that when adding or removing a file, we honour the componentname's DOWHITEOUT and ISWHITEOUT, to prevent duplicate filenames. MFC after: 1 month
* Document newly introduced tunable dev.bge.%d.forced_udpcsum.yongari2010-08-221-1/+21
| | | | While I'm here also mention tunable dev.bge.%d.forced_collapse.
* It seems all Broadcom controllers have a bug that can generate UDPyongari2010-08-222-7/+43
| | | | | | | | | | | | | | | | datagrams with checksum value 0 when TX UDP checksum offloading is enabled. Generating UDP checksum value 0 is RFC 768 violation. Even though the probability of generating such UDP datagrams is low, I don't want to see FreeBSD boxes to inject such datagrams into network so disable UDP checksum offloading by default. Users still override this behavior by setting a sysctl variable or loader tunable, dev.bge.%d.forced_udpcsum. I have no idea why this issue was not reported so far given that bge(4) is one of the most commonly used controller on high-end server class systems. Thanks to andre@ who passed the PR to me. PR: kern/104826
* Load tunable from loader.conf(5) instead of device.hints(5).yongari2010-08-211-3/+6
|
* Remove LIBELF_PIC.rpaulo2010-08-211-1/+0
| | | | Sponsored by: The FreeBSD Foundation
* Don't link drti.o with libelf_pic.a. This means that all software withrpaulo2010-08-213-9/+2
| | | | | | | userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The FreeBSD Foundation
* Modify clang so that when TOOLS_PREFIX is defined we register therpaulo2010-08-213-12/+25
| | | | | | | | CLANG_PREFIX macro. This changes the default header search path when we are building clang as part of cross-tools. Submitted by: Dimitry Andric <dimitry at andric.com> Reviewed by: freebsd-current
* Add clang to the cross-tools build stage.rpaulo2010-08-211-0/+7
| | | | Submitted by: Dimitry Andric <dimitry at andric.com>
* Make sure the boot2 stage is compiled with gcc, as clang has norpaulo2010-08-211-0/+5
| | | | | | | problems compiling it, but it just gets too big at the moment, even with -Os. This is not applicable to gptboot, though. Submitted by: Dimitry Andric <dimitry at andric.com>
* We need to pull bsd.own.mk before modifying the CC variable. Otherwiserpaulo2010-08-211-0/+2
| | | | | | it will be overwritten when we include bsd.lib.mk. Pointed out by: Dimitry Andric <dimitry at andric.com>
* Skip a KASSERT which isn't appropriate when not employing page coloring.marius2010-08-211-3/+4
| | | | Reported by: Michael Moll
* Update for the new tests.rpaulo2010-08-211-263/+199
| | | | Sponsored by: The FreeBSD Foundation
* Add a sysname char * to struct opensolaris_utsname.rpaulo2010-08-211-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add the definition of LIBELF_PIC.rpaulo2010-08-211-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Use double quotes when checking the value of MACHINE_ARCH.rpaulo2010-08-211-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add a Makefile for dtruss.rpaulo2010-08-211-0/+8
| | | | Sponsored by: The FreeBSD Foundation
* Port plockstat to FreeBSD. This will be connected to the build later.rpaulo2010-08-212-11/+63
| | | | Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud