summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Finish a few more .Dl "quoted" arguments missed in revision 184984keramida2008-11-151-4/+4
|
* Add missing quotes to .Dl arguments.keramida2008-11-151-4/+4
| | | | | This is harmless for the mandoc output, but it makes syntax highlighting of the .Dl argument string a bit prettier in Emacs.
* First step in cleaning up CIS parsing and /dev/cardbus*.cis: removeimp2008-11-153-38/+42
| | | | | | redundant malloc/free. Add comments about how this should really be done. Fix an overly verbose comment about under 1MB mapping: go ahead and set the bits, but we ignore them.
* Merge from vendor dist: Bring in a change already in the sendmailgshapiro2008-11-151-1/+1
| | | | | | repository that will allow sendmail to be built with the c99 compiler. Submitted by: rdivacky
* - Revive fdc(4) per-device flag 0x10, which was removed in r1.284[1].jkim2008-11-151-63/+86
| | | | | | | | | | | | | - If the flag is set and auto-select fails, assume disk is not present. - Set disk empty flag only when the floppy controller reset is needed. It fixes regression introduced in r1.311, which prevented it from ignoring errors. Now fdformat(1) and dd(1) with conv=noerror option can continue when read/write errors occur as they should. - Do not retry disk probing as it is extremely slow and pointless. - Move the disk probing code into a separate function. - Do not reset disk empty flag if write-protect check fails somehow. PR: kern/116538[1]
* Fix compile. I was in the wrong tree when I tested it :-(ambrisko2008-11-141-2/+2
| | | | Pointed out by: Andrzej
* When running a 32bit app. on amd64, ensure the bits above 32bitambrisko2008-11-141-0/+15
| | | | are zero for the copyout. Confirmed by LSI.
* Switch the default rpc implementation for NFS back to the new code. I believedfr2008-11-143-9/+0
| | | | | | I have fixed the reported problems - if you still have trouble with it, please contact me with as much detail as possible so that I can track down any other issues as quickly as possible.
* Adapt to accmode_t changes.trasz2008-11-145-13/+13
| | | | Approved by: rwatson (mentor), kan
* Per request, keep privilege number 20 reserved.ed2008-11-141-0/+1
| | | | | | | | | In my commit that moved uname(), setdomainname() and getdomainname() to COMPAT_FREEBSD4, I also removed PRIV_SETDOMAINNAME, because it was already protected by userland_sysctl(). We'd better keep the number 20 reserved, to prevent it from being used again. Requested by: rwatson
* merge fix for boot-time hang on centos' xenkmacy2008-11-141-24/+38
|
* repair config file from spammingkmacy2008-11-141-0/+6
|
* Fix worldps2008-11-142-2/+2
| | | | Approved by: kmacy
* Fix typo where the code was missing the "IPMICTL_RECEIVE_MSG_32" conditionobrien2008-11-141-1/+1
| | | | test.
* When repeatedly accessing a thread credential, cache the credentialrwatson2008-11-143-42/+48
| | | | | | | | | | | | | pointer in a local thread. While this is unlikely to significantly improve performance given modern compiler behavior, it makes the code more readable and reduces diffs to the Mac OS X version of the same code (which stores things in creds in the same way, but where the cred for a thread is reached quite differently). Discussed with: sson MFC after: 1 month Sponsored by: Apple Inc. Obtained from: TrustedBSD Project
* Hide the attach message. This needs to be done in the probe as well, asn_hibma2008-11-131-6/+23
| | | | | | | | the softc is reset a few times during probing. Print 'changing to modem mode' messages if booting verbose to show the reason for the time delay. Note: Some devices (Huawei for one) take 20 seconds to appear on the USB bus).
* Silence detach messages if the device has marked itself quiet (u3g).n_hibma2008-11-132-13/+16
| | | | MFC after: 3 weeks
* Add a reset device command to ugen.c.n_hibma2008-11-135-10/+19
| | | | | This is needed to make some devices work that require a firmware upload and a USB reset afterwards.
* Use strlcpy() instead of strcpy().ed2008-11-131-1/+2
| | | | Requested by: mlaier
* Add ADMA, SATA and SAS mass storage subclasses reporting.mav2008-11-131-0/+3
|
* Add ADMA, SATA and SAS mass storage subclasses.mav2008-11-131-0/+3
|
* Convert telnetd(8) to use posix_openpt(2).ed2008-11-133-37/+23
| | | | | | | | | | | | | | | | | | Some time ago I got some reports MPSAFE TTY broke telnetd(8). Even though it turned out to be a different problem within the TTY code, I spotted a small issue with telnetd(8). Instead of allocating PTY's using openpty(3) or posix_openpt(2), it used its own PTY allocation routine. This means that telnetd(8) still uses /dev/ptyXX-style devices. I've also increased the size of line[]. Even though 16 should be enough, we already use 13 bytes ("/dev/pts/999", including '\0'). 32 bytes gives us a little more freedom. Also enable -DSTREAMSPTY. Otherwise telnetd(8) strips the PTY's pathname to the latest slash instead of just removing "/dev/" (e.g. /dev/pts/0 -> 0, instead of pts/0). Reviewed by: rink
* For now on every 10 cyclinder groups flush the buffer cache to freeambrisko2008-11-131-0/+4
| | | | | | | | | up space. If the buffer cache fills up then the disk systems can grind to a halt. Better tuning can be figured out later. Tested by: Tim, others and work Reviewed by: Kostik Belousov PR: 128832
* One more piece to add to make sense data work for a user app. from LSI.ambrisko2008-11-131-0/+10
| | | | | Submitted by: LSI MFC after: 3 days
* Tweak -mdoc usage.jkoshy2008-11-133-7/+7
|
* Fix whitespace.emaste2008-11-131-3/+2
|
* Use the remote address for access control, not the local address. This fixesdfr2008-11-132-2/+45
| | | | | | | | the nfsd problems that some people have with the new code. Add support for the vfs.nfsrv.nfs_privport sysctl which denies access unless the client is using a port number less than 1024. Not really sure if this is particularly useful since it doesn't add any real security.
* Temporarily switch NFS back to the old RPC code while I try to diagnose anddfr2008-11-134-4/+13
| | | | | | fix the problems a few people have noticed with the new code. People who want to continue testing the new code or who need RPCSEC_GSS support should use the new option NFS_NEWRPC to select it.
* Document UMASK values, fix errors.jkoshy2008-11-131-62/+62
|
* Fix typos, document UMASK values.jkoshy2008-11-131-53/+54
|
* Remove duplicates, fix errors and document UMASK values.jkoshy2008-11-131-54/+47
|
* Add myself to the src committers list, with Diomidis as the mentor.versus2008-11-131-0/+3
| | | | Approved by: dds (mentor)
* Fix Rx/Tx checksum offload ioctl handling. Now checksum offloadyongari2008-11-131-7/+9
| | | | | | | | can be controlled by ifconfig(8). Note, VLAN hardware tagging controls still lacks required handler but it requires more driver cleanups so I didn't touch that part. PR: kern/128766
* This is being committed from a sparc64 (US-III, thanks Marius!) thatkensmith2008-11-131-0/+1
| | | | | | was installed from a DVD so apparently it works... :-) Enable building DVDs for sparc64.
* The audit queue limit variables are size_t, so use size_t for the auditrwatson2008-11-132-4/+4
| | | | | | | | | queue length variables as well, avoiding storing the limit in a larger type than the length. Submitted by: sson Sponsored by: Apple Inc. MFC after: 1 week
* - Fix from jhb for failing I/O request when bus_dmamap_load fails.ambrisko2008-11-125-30/+85
| | | | | | | | | | | | | | - Fix to ioctl path in which the length could be 0 which means no data in/out from LSI. - Fix to ioctl path in which the data in the sense data space of the ioctl packet is a really a pointer to some location in user-space. From LSI re-worked a bit by me. - Add HW support for next gen cards from LSI. Thanks to LSI for their support! Submitted by: jhb, LSI MFC after: 3 days
* Various style and whitespace fixes. Previously parts of this file usedjhb2008-11-121-363/+371
| | | | | 8 space indent, parts used 4 space indent, and other parts used a weird mixture (8 spaces for first indent, 4 spaces for the rest).
* Add opt_inet.h which has been needed since r184718, which hadbz2008-11-121-1/+1
| | | | | | introduced checks for #ifdef INET. MFC after: 54 days
* 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
OpenPOWER on IntegriCloud