summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add opt_inet.h which has been needed since r184717 introducingbz2008-11-121-1/+1
| | | | | | checks for #ifdef INET. MFC after: 54 days
* Add opt_inet.h which has been needed since r184714, r184715 introducingbz2008-11-121-1/+2
| | | | | | | checks for #ifdef INET. Submitted by: kmacy (r184876, I splitted lines) MFC after: 54 days
* Document the alternate event names supported for "architectural" PMC events.jkoshy2008-11-123-25/+74
|
* Use spellings that are close to vendor documentation.jkoshy2008-11-121-3/+3
|
* Probe ADB miscellaneous devices (ID 7) instead of stopping at ID 6. Thisnwhitehorn2008-11-121-1/+1
| | | | | allows us to probe the brightness and volume control buttons on PPC Apple laptops, though there is not yet a driver to do anything useful with them.
* Call svc_freereq() before returning from the service proc.dfr2008-11-121-0/+1
|
* Don't call svc_freereq() before svc_freeargs().dfr2008-11-121-1/+1
|
* -Improvement: Add '\n' on debug output in sctp_lower_sosend().rrs2008-11-126-24/+22
| | | | | | | | | | | | | | | | | -Improvement: panic() on INVARIANTS kernels if memory allocation fails for a tagblock in sctp_add_vtag_to_timewait(). -Bugfix: Protect code in sctp_is_in_timewait() by SCTP_INP_INFO_WLOCK/SCTP_INP_INFO_WUNLOCK. -Cleanup: Get rid of unused variable now in sctp_init_asoc(). -Bugfix: Reuse the correct vtag in sctp_add_vtag_to_timewait(). -Cleanup: Get rid of unused constant SCTP_TIME_WAIT_SHORT in sctp_constants.h. -Improvement: Use all hash buckets of the vtag hash table. -Cleanup: Get rid of then unused constant SCTP_STACK_VTAG_HASH_SIZE_A. -Bugfix: Handle SHUTDOWN;SACK packet correctly. -Bugfix: Last TSN in a gap ack block was not being "ack'd" in the internal scoreboard. Obtained from: (with help from Michael Tuexen)
* Add a quirk for Belkin USB Bluetooth adapters (F8T012xx1 series)keramida2008-11-122-0/+10
| | | | | | | | | | | The same (vendor, product) tuple is used for aue(4) adapters, but I am not sure if the quirk is correct. I'm using the USB device 'release' info to skip aue(4) detection right now, but if there's a better way to differentiate between USB-LAN and USB Bluetooth we should update the quirk. Reviewed by: imp, rink MFC after: 2 weeks
* Add support for the Microsoft Comfort Optical Mouse 3000 (model 1043).cperciva2008-11-122-0/+3
| | | | | PR: usb/128760 Submitted by: Arjan de Vet
* Add a missing call to mtx_destroy().dfr2008-11-121-0/+1
|
* Correct .Ddyongari2008-11-123-3/+3
| | | | Pointed out by: maxim
* Add ale(4) man page and hook up ale(4) to the build.yongari2008-11-125-3/+171
| | | | Also add Xr to appropriate man pages.
* Add ale(4) to the list of supported network interface.yongari2008-11-121-0/+1
|
* Add ale(4), a driver for Atheros AR8121/AR8113/AR8114 PCIe ethernetyongari2008-11-1210-0/+4105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | controller. The controller is also known as L1E(AR8121) and L2E(AR8113/AR8114). Unlike its predecessor Attansic L1, AR8121/AR8113/AR8114 uses completely different Rx logic such that it requires separate driver. Datasheet for AR81xx is not available to open source driver writers but it shares large part of Tx and PHY logic of L1. I still don't understand some part of register meaning and some MAC statistics counters but the driver seems to have no critical issues for performance and stability. The AR81xx requires copy operation to pass received frames to upper stack such that ale(4) consumes a lot of CPU cycles than that of other controller. A couple of silicon bugs also adds more CPU cycles to address the known hardware bug. However, if you have fast CPU you can still saturate the link. Currently ale(4) supports the following hardware features. - MSI. - TCP Segmentation offload. - Hardware VLAN tag insertion/stripping with checksum offload. - Tx TCP/UDP checksum offload and Rx IP/TCP/UDP checksum offload. - Tx/Rx interrupt moderation. - Hardware statistics counters. - Jumbo frame. - WOL. AR81xx PCIe ethernet controllers are mainly found on ASUS EeePC or P5Q series of ASUS motherboards. Special thanks to Jeremy Chadwick who sent the hardware to me. Without his donation writing a driver for AR81xx would never have been possible. Big thanks to all people who reported feedback or tested patches. HW donated by: koitsu Tested by: bsam, Joao Barros <joao.barros <> gmail DOT com > Jan Henrik Sylvester <me <> janh DOT de > Ivan Brawley < ivan <> brawley DOT id DOT au >, CURRENT ML
* Turn (NFSERR_AUTHERR|code) status values into svcerr_auth(rqst, code) repliesdfr2008-11-121-2/+7
| | | | instead of returning a success with a bogus NFS error code.
* Allow v3 GETATTR requests even when weakly authenticated. Change the errordfr2008-11-121-2/+3
| | | | | return for for weakly authenticated requests from REJECTEDCRED to WEAKAUTH for consistency with Solaris.
* Don't forget to relock the TTY after uiomove() returns an error.ed2008-11-121-4/+2
| | | | | | | | | Peter Holm just discovered this funny bug inside the TTY code: if uiomove() in ttydisc_write() returns an error, we forget to relock the TTY before jumping out of ttydisc_write(). Fix it by placing tty_unlock() and tty_lock() around uiomove(). Submitted by: pho
* Update firmware version checkkmacy2008-11-125-17/+28
| | | | | | | make ddp a tunable Obtained from: Chelsio Inc. MFC after: 3 days
* Add the kerberos5 libs to the install32 target.obrien2008-11-121-0/+3
| | | | (we've been building the all along, but never installing them)
* Move audit-internal function definitions for getting and setting auditrwatson2008-11-112-2/+6
| | | | kinfo state to audit_private.h.
* Minor style tweaks and change lock name string to use _'s and not spacesrwatson2008-11-111-1/+4
| | | | to improve parseability.
* Add support for extended header BSM tokens. Currently we use thecsjp2008-11-118-4/+124
| | | | | | | | | | | | | | | | | | | | | | regular header tokens. The extended header tokens contain an IP or IPv6 address which makes it possible to identify which host an audit record came from when audit records are centralized. If the host information has not been specified, the system will default to the old style headers. Otherwise, audit records that are created as a result of system calls will contain host information. This implemented has been designed to be consistent with the Solaris implementation. Host information is set/retrieved using the A_GETKAUDIT and A_SETKAUDIT auditon(2) commands. These commands require that a pointer to a auditinfo_addr_t object is passed. Currently only IP and IPv6 address families are supported. The users pace bits associated with this change will follow in an openbsm import. Reviewed by: rwatson, (sson, wsalamon (older version)) MFC after: 1 month
* Fix the code to conform to the "or more" part of the following POSIXdds2008-11-111-1/+1
| | | | | | | | | | specification and regression test regress:25. "A function can be preceded by one or more '!' characters, in which case the function shall be applied if the addresses do not select the pattern space." MFC after: 2 weeks
* Add a test for the "or more" part of the following POSIX specification.dds2008-11-112-1/+3
| | | | | | "A function can be preceded by one or more '!' characters, in which case the function shall be applied if the addresses do not select the pattern space."
* Several cleanups related to pipe(2).ed2008-11-115-48/+34
| | | | | | | | | | | | | | | | | | - Use `fildes[2]' instead of `*fildes' to make more clear that pipe(2) fills an array with two descriptors. - Remove EFAULT from the manual page. Because of the current calling convention, pipe(2) raises a segmentation fault when an invalid address is passed. - Introduce kern_pipe() to make it easier for binary emulations to implement pipe(2). - Make Linux binary emulation use kern_pipe(), which means we don't have to recover td_retval after calling the FreeBSD system call. Approved by: rdivacky Discussed on: arch
* Avoid scheduling firmware taskqs when cold.gallatin2008-11-111-3/+7
| | | | | | | | | | | This prevents a panic which occurs when a driver attempts to load firmware at boot via firmware_get() when the firmware module has not been preloaded. firmware_get() will enqueue a task using a struct taskqueue allocated on the stack, and the machine will crash much later in the firmware taskq thread when taskqs are started and the struct taskqueue is garbage. Not objected to by: sam
* - Use RTFREE_LOCKED macrokmacy2008-11-111-3/+3
| | | | | | | | - Don't clone route on lookup (was causing arpresolve to fail) - u_int_32 -> uint32_t Reviewed by: qingli MFC after: 3 days
* Fake the assoc id so that ndis can work on the latest net80211.thompsa2008-11-111-1/+10
| | | | | PR: kern/128750 Submitted by: Paul B. Mahol
* No need to run rm ${COMPFILE} after mm_install() - mm_install()sobomax2008-11-111-1/+0
| | | | does it for us.
* style(9) fixes.scf2008-11-111-20/+14
| | | | MFC after: 1 week
* Make ispfw(4) play nice with individual firmware modules.jkim2008-11-111-41/+109
| | | | | | | | | | - Do not let individual KLD module unregister firmware image loaded by ispfw or vice versa. - Make 'kldunload ispfw' actually unregister all firmware images loaded by ispfw, not just 'isp_1040'. - Print which KLD module actually loaded the firmware image. - Remove unused return value from do_load_fw() and do_unload_fw() and remove duplicate sys/param.h while I am here.
* Sigh. Fix a pointer/int compile error.peter2008-11-101-1/+1
|
* Fix a signal emulation bug introduced in r163018 (and present in 7.x).peter2008-11-101-1/+1
| | | | | This prevents 32 bit signal handlers from finding out what the faulting address is. Both the secret 4th argument and siginfo->si_addr are zero.
* Add missing USB_BUS_LOCK* change from r184824.thompsa2008-11-101-1/+1
|
* Wrap sx locking of the audit worker sleep lock in macros, update comments.rwatson2008-11-101-24/+31
| | | | | MFC after: 2 months Sponsored by: Apple, Inc.
* Convert the two main locking areas into macros to make it clear on what we arethompsa2008-11-1027-338/+350
| | | | | | | | | grabbing and why. These are now: USB_BUS_LOCK/USB_BUS_UNLOCK USB_XFER_LOCK/USB_XFER_UNLOCK Reviewed by: alfred
* Make usr.sbin/cron/crontab and usr.sbin/cron/lib WARNS=3 cleanmatteo2008-11-106-23/+20
| | | | | | Tested with: make universe MFC after: 3 days
* Include more detailed explanation of this case, since it's prettykientzle2008-11-101-5/+34
| | | | | | | | | | | | | | | subtle why it comes out the way it does. Once you realize that it depends on the archiving order, it's also important to realize that filesystem differences aren't going to break this case. (Some of the other tests have had to be extensively rewritten to make them independent of the order in which a particular filesystem returns file entries.) (This commit also serves to note the PR number that I accidentally omitted from the previous commit.) PR: bin/128562 MFC after: 30 days
* Test --strip-components and fix it to actually work. Jaakko did akientzle2008-11-103-16/+116
| | | | | | | | | | | | | | | good job writing this test; it exercises a lot of subtle cases. The trickiest one is that a hardlink to something that didn't get extracted should not itself be extracted. In some sense, this is not the desired behavior (we'd rather restore the file), but it's the best you can do in a single-pass restore of a tar archive. The test here should be extended to exercise cpio and newc formats as well, since their hardlink models are different, which will lead to different handling of some of these edge cases. Submitted by: Jaakko Heinonen MFC after: 30 days
* Improve on 184781 - instead of ignoring the file when the only differencesobomax2008-11-091-2/+8
| | | | | is CVS Id, replace the old one with the new one automatically. While I don't see much difference, some people think it's somehow better that way.
* - Separate PMC class dependent code from other kinds of machinejkoshy2008-11-0920-952/+1585
| | | | | | | | | | | | | | | | | dependencies. A 'struct pmc_classdep' structure describes operations on PMCs; 'struct pmc_mdep' contains one or more 'struct pmc_classdep' structures depending on the CPU in question. Inside PMC class dependent code, row indices are relative to the PMCs supported by the PMC class; MI code in "hwpmc_mod.c" translates global row indices before invoking class dependent operations. - Augment the OP_GETCPUINFO request with the number of PMCs present in a PMC class. - Move code common to Intel CPUs to file "hwpmc_intel.c". - Move TSC handling to file "hwpmc_tsc.c".
* Style tweak.jkoshy2008-11-091-2/+2
|
* For consistency work on the local object passed into the function for thebz2008-11-091-3/+3
| | | | | | | lock operation instead using the global name. Submitted by: ganbold MFC after: 2 months
* Regenerate system call tables for r184789.ed2008-11-0916-116/+66
|
* Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4.ed2008-11-0914-65/+68
| | | | | | | | | | | | | | | | | | | | | Looking at our source code history, it seems the uname(), getdomainname() and setdomainname() system calls got deprecated somewhere after FreeBSD 1.1, but they have never been phased out properly. Because we don't have a COMPAT_FREEBSD1, just use COMPAT_FREEBSD4. Also fix the Linuxolator to build without the setdomainname() routine by just making it call userland_sysctl on kern.domainname. Also replace the setdomainname()'s implementation to use this approach, because we're duplicating code with sysctl_domainname(). I wasn't able to keep these three routines working in our COMPAT_FREEBSD32, because that would require yet another keyword for syscalls.master (COMPAT4+NOPROTO). Because this routine is probably unused already, this won't be a problem in practice. If it turns out to be a problem, we'll just restore this functionality. Reviewed by: rdivacky, kib
* Revert to previous revision.matteo2008-11-091-23/+0
| | | | | | I should not commit anything at 3.50 AM. In addition to danfe's comments, I got others. I'll work on a better version of the patch.
* - Document the changed meaning of a '*' argument to option "-c".jkoshy2008-11-091-7/+7
| | | | - Tweak grammar.
* Change the meaning of a "*" argument to option -c to mean 'alljkoshy2008-11-091-7/+21
| | | | | unhalted CPUs', instead of 'all CPUs'. This change brings pmccontrol(8) in line with pmcstat(8).
* Ignore files that only differ in CVS Id tag.sobomax2008-11-091-0/+14
| | | | MFC after: 2 weeks
OpenPOWER on IntegriCloud