summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r207626, r207627:mm2010-05-184-3/+46
| | | | | | | | | | | | | | | MFC r207626: Speed up ZFS list operation with objset prefetching. MFC r207627: Enable "zfs list" to list explicitly requested snapshots. OpenSolaris onnv revisions: 8415:8809e849f63e, 10474:0e96dd3b905a (partial) PR: kern/146297 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6386929, 6758338, 6755389, 6847118)
* MFC r208077:bz2010-05-181-1/+9
| | | | | | Document the 'short preamble' capability for 802.11bg. Reviewed by: sam
* MFC r208100:bz2010-05-182-2/+2
| | | | | | | | | | | | | | Fix an issue with the dynamic pcpu/vnet data allocators. We cannot expect that modspace is the last entry in the linker set and thus that modspace + possible extra space up to PAGE_SIZE would be contiguous. For the moment do not support more than *_MODMIN space and ignore the extra space. Discussed with: jeff, rwatson (briefly) Reviewed by: jeff Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH
* MFC r208023thompsa2010-05-182-5/+9
| | | | Use fixed width integer types for parsing the binary hid data.
* MFC r208089:dougb2010-05-181-1/+0
| | | | Remove duplicate
* MFC r208088:dougb2010-05-181-5/+5
| | | | Hide the creation and population of the temproot
* MFC r204738, r205113 (imp):mm2010-05-181-15/+78
| | | | | | | | | | | | | MFC r204738: Remove stale references to libkrb5. Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend on something else, and then SUBDIR+= the rest. MFC r205113: Make this conform to the other top-level Makefile subdir listings with one file per line. Approved by: delphij (mentor)
* Adjust svn:mergeinfo for revision 204546. This commit moves mergeinfo todelphij2010-05-180-0/+0
| | | | lib/ and removes mergeinfo on individual file.
* MFC r207630delphij2010-05-181-6/+2
| | | | | | | Remove if_ar, if_ray, if_sr, if_ppp, if_sl to reflect the current modules available, they were removed due to NEEDSGIANT. While I'm there, add if_et which was missed quite a while ago.
* MFC r203773thompsa2010-05-171-0/+3
| | | | | | | | | Within libusb 0.1 API, bus number is always faked to 0. Device numbers, however, are possitive and seem to be reverse sorted in the list. Conform device numbering and bring a result that is consistent with the libusb 0.1 API. It is now possible to distinguish a device based on its (bus, dev) numbers.
* MFC r208012thompsa2010-05-171-6/+10
| | | | Support getting signed and unsigned HID data.
* MFC r208021thompsa2010-05-171-2/+2
| | | | | Fix return values for usb_find_busses() and usb_find_devices(). We should try to return the actual number of busses and devices.
* MFC r208020thompsa2010-05-174-2/+8
| | | | Fix header file compliancy with libusb 1.0 from sourceforge.
* MFC r208048thompsa2010-05-171-0/+1
| | | | Allow the USB_REQ_DEBUG to be enabled in the kernel conf.
* MFC r208019thompsa2010-05-174-596/+947
| | | | Sync run(4) driver from author's site.
* MFC r208018thompsa2010-05-171-24/+163
| | | | | | | Reduce diffs to p4. Add test code for delaying or failing usb control requests, disabled by default under ifdef USB_REQ_DEBUG.
* MFC r208017thompsa2010-05-171-2/+2
| | | | Fix possibly wrong bit masking.
* MFC r208016thompsa2010-05-172-0/+2
| | | | Add new FTDI USB device ID.
* MFC r208015thompsa2010-05-171-1/+1
| | | | Increase the max ports to 12, 3G devices exist where the ppp endpoint is #9.
* MFC r208014thompsa2010-05-171-9/+20
| | | | | | | | Back out r203140 which was causing problems when the first and the last microframe slot was not in the smask. The problem was that the EHCI driver was then thinking that the transfer was immediately complete in some cases. Which could lead to freeze-like situations, which can be recovered by unplugging the USB device.
* MFC r208013thompsa2010-05-171-1/+4
| | | | Add missing ifdefs for usb power saving support.
* MFC r208011thompsa2010-05-171-0/+1
| | | | Add the ASUS MyPal A730W device id.
* MFC r208010thompsa2010-05-171-2/+4
| | | | Provide more information about the device location in the USB system.
* MFC r208009thompsa2010-05-172-0/+15
| | | | Enable support for mouse panning wheels.
* MFC r208008thompsa2010-05-175-54/+158
| | | | | | | | | If a USB device is suspended and a USB set config request is issued when the USB enumeration lock is locked, then the USB stack fails to resume the device because locking the USB enumeration lock is part of the resume procedure. To solve this issue a new lock is introduced which only protects the suspend and resume callbacks, which can be dropped inside the usbd_do_request_flags() function, to allow suspend and resume during so-called enumeration operations.
* MFC r208007thompsa2010-05-171-2/+2
| | | | Staticise usb_ref_device and usb_unref_device.
* MFC r208006thompsa2010-05-172-0/+8
| | | | | | | Add quirks for the Alcor SDCR_6362 Card Reader, Freecom HDD storage device and Samsung YP_U4 music player. PR: usb/145265, usb/146104
* MFC r207404thompsa2010-05-171-1/+1
| | | | usb_controller.c requires opt_ddb.h
* MFC r206638thompsa2010-05-171-3/+1
| | | | | Use the UIPROTO_BOOT_KEYBOARD #define from usb.h rather than a local (almost identically named) local #define.
* MFC r203148thompsa2010-05-173-3/+231
| | | | Uuencode the rt2870 firmware into ascii like the other firmware blobs.
* MFC r208030:trasz2010-05-171-0/+4
| | | | | Add missing check to prevent local users from panicing the kernel by trying to set malformed ACL.
* MFC r207971:yongari2010-05-171-13/+52
| | | | | | Document undocumented tunables and sysctl variables. While here use actual string to specify width as well as using Cm to set command argument.
* MFC r207853:yongari2010-05-171-4/+4
| | | | Now sge(4) supports TCP segmentation offload (TSO).
* MFC r207852:yongari2010-05-171-50/+14
| | | | | | | | | | | | | SiS190 supports RX 10 bytes padding, CRC stripping as well as VLAN hardware tag insertion/stripping. Remove conditional code that disables these hardware features on SiS190. Also nuke RX fixup code which is no more required on strict-alignment architectures because SiS190 supports RX 10 bytes padding. Now all hardware features except jumbo frame and WOL are supported. Thanks to Masa Murayama who confirmed SiS190 also has the same hardware features of SiS191. I guess the only difference between SiS191 and SiS190 would be jumbo frame support. It will be implemented in near future.
* MFC r207851:yongari2010-05-172-15/+103
| | | | | | | | | | | | | | Implement TSO and TSO over VLAN. Increase number of allowed fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB sized packet which in turn requires long list of mbuf chain. Due to lack of documentation, I'm not sure whether driver have to pull up ethernet/IP/TCP header with options to make controller work but driver have to parse TCP header to update pseudo TCP checksum anyway. The controller expects pseudo TCP checksum computed by upper stack and the checksum should follow the MS NDIS specification to make TSO work. Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
* MFC r207832:yongari2010-05-173-78/+242
| | | | | | | | | | | | | | | | | | | | | | | Export hardware MAC statistics through sysctl node. Previously fxp(4) already used to extract most hardware MAC statistics but it didn't show them. With this change, all MAC statistics counters are exported. Because there are a couple of new counters for 82558 and 82559, enable extended MAC statistics functionality to get these counters. Accoring to public data sheet, 82559 MAC statistics return 24 DWORD counters(3 counters are unknown at this moment) so increase MAC counter structure to meet the MAC statistics block size. The completion of MAC counter dump is now checked against FXP_STATS_DR_COMPLETE status code which is appended at the end of status block. Previously fxp(4) ignored the status of the FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the completion of pending command before issuing FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try it next time. This scheme may show better performance but there is chance to loose updated counters after stopping controller. So make sure to update MAC statistics in fxp_stop(). While I'm here move sysctl node creation to fxp_sysctl_node(). Tested by: Larry Baird < lab <> gta dot com >
* MFC r207750:yongari2010-05-171-4/+13
| | | | | | | | | | | | | | | | | 8255x configure command requires number of bytes of configuration table. The default size of the configuration table was 22 bytes. To use extended feature of 82550/82551 the configuration table size was expanded to 32 bytes. The added configuration for 82550/82551 specifies VLAN hardware tagging and IPSec configuration as well as TCO. To make configuration easier fxp(4) used a configuration template and the template was copied to configuration table. After that, some parameters of the configuration table was changed depending on controller type and operation mode. However the size of template was 22 bytes so some configuration parameters were not properly initialized on 82550/82551. Fix this by increasing the template size. For 82557, 82558 and 82559 the size of the configuration is still 22 bytes.
* MFC: Locks SPTREE when setting some SP entries to state DEAD.vanhu2010-05-171-0/+6
| | | | | | | This can prevent kernel panics when updating SPs while there is some traffic for them. Obtained from: NETASQ
* MFC r207553, r207555, r207651:mm2010-05-172-24/+35
| | | | | | | | | | | | | | | Implement the no_user_check option to pam_krb5. This option is available in the Linux implementation of pam_krb5 and allows to authorize a user not known to the local system. Ccache is not used as we don't have a secure uid/gid for the cache file. Usable for authentication of external kerberos users (e.g Active Directory) via PAM from applications like Cyrus saslauthd, PHP or perl. PR: bin/146186 Approved by: deplhij (mentor)
* Since sometimes developer activity the week before a code freeze starts causeskensmith2010-05-171-2/+2
| | | | | the stable branch to be a little less reliable than normal mark the stable/8 branch as 8.1-PRERELEASE to warn users.
* MFC r207848:kib2010-05-171-4/+4
| | | | | The thread_unsuspend() requires both process mutex and process spinlock locked. Postpone the process unlock till the thread_unsuspend() is called.
* MFC r207847:kib2010-05-171-1/+4
| | | | | | For detach procfs ctl command, also clear P_STOPPED_TRACE process stop flag, and for each thread, TDB_SUSPEND debug flag, same as it is done by exit1() for orphaned debugee.
* MFC: r207785rmacklem2010-05-172-4/+4
| | | | Fix typos in macros.
* MFC: r207764rmacklem2010-05-171-2/+34
| | | | | | Patch the experimental NFS client so that it works for NFSv2 by adding the necessary mapping from NFSv3 procedure numbers to NFSv2 procedure numbers when doing NFSv2 RPCs.
* MFC: r207689rmacklem2010-05-171-4/+4
| | | | | | | If the "-alldirs" export option was used for the V4: line, mountd would crash in check_options() since dp == NULL for the V4: line. This patch moves the check for options allowed on the V4: line to ahead of where dp is used to avoid this crash.
* MFC r207944: sh: Fix pathname expansion with quoted slashes like *\/.jilles2010-05-162-9/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4 in dash. Because this is the first code I'm importing from dash to expand.c, add the Herbert Xu copyright notice which is in dash's expand.c. When pathname expanding *\/, the CTLESC representing the quoted state was erroneously taken as part of the * pathname component. This CTLESC was then seen by the pattern matching code as escaping the '\0' terminating the string. The code is slightly different because dash converts the CTLESC characters to backslashes and removes all the other CTL* characters to allow substituting glob(3). The effect of the bug was also slightly different from dash (where nothing matched at all). Because a CTLESC can escape a '\0' in some way, whether files were included despite the bug depended on memory that should not be read. In particular, on many machines /*\/ expanded to a strict subset of what /*/ expanded to. Example: echo /*"/null" This should print /dev/null, not /*/null. PR: bin/146378 Obtained from: dash
* MFC 207985rrs2010-05-161-3/+2
| | | | | | Fix an old long time bug in generating a fwd-tsn. This would appear when greater than the size of mbuf TSN's would need to be skipped.
* MFC 207983rrs2010-05-162-4/+5
| | | | | | | | | More PR-SCTP bugs: - Make sure that when you kick the streams you add correctly using a 16 bit unsigned. - Make sure when sending out you allow FWD-TSN to skip over and list the ACKED chunks in the stream/seq list (so the rcv will kick the stream)
* MFC 207966 (for Michael)rrs2010-05-162-16/+0
| | | | Get rid of unused constants.
* MFC of 207963rrs2010-05-161-36/+13
| | | | | | | | | This fixes PR-SCTP issues: - Slide the map at the proper place. - Mark the bits in the nr_array ONLY if there is no marking. - When generating a FWD-TSN we allow us to skip past ACKED chunks too.
OpenPOWER on IntegriCloud