ƒ²?221352 170 1414 496 217 386 145 190 191 476 694 245 351 260 175 194 186 238 161 161 135 168 151 176 296 1240 244 123 110 134 115 155 126 122 308 190 185 348 537 196 173 279 300 2670 206 166 208 267 140 99 232 229 123 110 121 153 129 4240 124 251 171 124 132 154 244 244 314 388 1208 204 118 154 169 152 157 135 390 262 171 163 185 338 757 196 270 204 317 124 289 280 188 227 124 189 99 738 168 181 251 159 167 132 132 132 232 336 126 342 151 164 230 351 376 312 170 470 473 358 243 185 242 191 406 225 1049 381 112 535 264 173 1384 324 151 201 158 114 181 163 1027 151 241 128 164 265 182 99 163 158 481 1748 256 154 136 330 207 310 231 722 356 197 181 165 336 1193 179 539 181 435 216 327 144 181 K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-02T22:52:22.189701Z K 7 svn:log V 1316 MFC r220368: Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers have one send ring, one standard receive producer ring and one receive return ring. In order to receive jumbo frames on the controllers, driver now will increase Rx buffer size to 9k. Two Rx modes are supported on these controllers and I chose standard Rx BDs over extended Rx BDs. The extended Rx BD mode allows up to 4 segmentations for each Rx BDs such that kernel does not have to allocate large buffer of contiguous memory for receiving. The extended Rx BD mode is already used on controllers that have separate jumbo receive ring. However, using extended Rx BDs on BCM5714/BCM5715/BCM5780 reduces the number of Rx BDs to 256 entries which in turn may reduce the performance. Also UMA backed page allocator for jumbo frame returns contiguous memory so using extended Rx BD has no advantage on FreeBSD unless highly customized local allocator implemented in driver is used. To use jumbo buffers in standard receive ring, Rx buffer allocation handler was changed to allocate MJUM9BYTES sized mbuf. PR: kern/155192 Tested by: Vijay Singh gmail dot com> Submitted by: mjacob (initial version) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-02T22:54:24.851608Z K 7 svn:log V 404 Add LINT-NOINET6 which we have inofficially supported for years and our users complained when broken. Similarly add LINT-NOINET, and for at least documentation purposes add LINT-NOIP (which compiles out INET and INET6 and couple of NIC drivers). Tested by: make universe (if you broke it since you fix it) Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-05-02T23:34:33.744961Z K 7 svn:log V 120 - Fixed a typo in an if() statement when setting flow control for MTU greater than 5000 bytes. Submitted by: yongari END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-03T01:19:39.617303Z K 7 svn:log V 288 MFC: r220810 Fix up handling of the nfsmount structure in read and write within the experimental NFS client. Mostly add mutex locking and use the same rsize, wsize during the operation by keeping a local copy of it. This is another change that brings it closer to the regular NFS client. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-03T01:43:04.211920Z K 7 svn:log V 50 Fix corner case where the size is a power of two. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-03T01:55:27.099242Z K 7 svn:log V 93 MFC: r220875 Add stablerestart(5) to the See Also list for nfsd.8. This is a content change. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-05-03T04:44:50.766915Z K 7 svn:log V 95 Switch to ANSI function prototypes in a few places. Get rid of some unused parameter warnings. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T05:09:02.049915Z K 7 svn:log V 384 MFC r220831: ipdn_bound_var() function is designed to bound a variable between specified minimum and maximum. In case when specified default value is out of bounds it does not work as expected and does not limit variable. Check that default value is in range and limit it if needed. Also bump max_hash_size value to 65536 to correspond with manual page. PR: kern/152887 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T05:42:50.526149Z K 7 svn:log V 602 MFC r218360 (by luigi): correct the 'output_time' of packets generated by dummynet. In the dec.2009 rewrite I introduced a bug, using for the computation the arrival time instead of the time the packet has exited from the queue. The bandwidth computation was still correct because it is computed elsewhere, but traffic was sent out in bursts. The bug is also present in RELENG_8 after dec.2009 Thanks to Daikichi Osuga for investingating, finding and fixing the bug with detailed graphs of the behaviour before and after the fix. Submitted by: Daikichi Osuga END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-03T07:24:47.180715Z K 7 svn:log V 148 MFC r221119: Fix typo in "continuously" argument used in patrol auto command. Unlike the version in head, this one preserves a misspelled version. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-05-03T07:32:58.249885Z K 7 svn:log V 256 Change the way rctl interfaces with jails by introducing prison_racct structure, which acts as a proxy between them. This makes jail rules persistent, i.e. they can be added before jail gets created, and they don't disappear when the jail gets destroyed. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T07:33:39.179791Z K 7 svn:log V 168 Add "-a alignment" option to gpart(8). When it specified gpart(8) tries to align partition start offset and size to be multiple of alignment value. MFC after: 2 weeks END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-05-03T07:39:54.666683Z K 7 svn:log V 79 Add #include for missing forward declation of struct inpcb. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-05-03T07:43:47.208872Z K 7 svn:log V 98 - Comment out unused variable. - Add parentheses around expression to eliminate compiler warning. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-05-03T07:46:02.260069Z K 7 svn:log V 90 Rename DEBUG macro to TFTP_DEBUG, to be more consistent with debug macros in other files. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-03T08:27:16.375101Z K 7 svn:log V 141 MFC r221119: Fix typo in "continuously" argument used in patrol auto command. Unlike in head, this version preserves a misspelled argument. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-05-03T08:39:57.459122Z K 7 svn:log V 70 MFC r221282: Add ChangeLog.gcc43 for backported changes from gcc 4.3 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-05-03T08:40:55.082638Z K 7 svn:log V 70 MFC r221282: Add ChangeLog.gcc43 for backported changes from gcc 4.3 END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T09:59:33.808722Z K 7 svn:log V 44 MFC r219958: Discourage from using "cp -r". END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T10:01:08.888264Z K 7 svn:log V 77 MFC r219955: It's possible to unmount multiple items at once, make it clear. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T10:08:11.884870Z K 7 svn:log V 60 Don't call -f option's argument "stdin". MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T10:11:44.896978Z K 7 svn:log V 85 Properly detect interface's state in the LINK_STATE_UNKNOWN case. MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2011-05-03T10:18:27.875457Z K 7 svn:log V 203 Call pam_setcred() before login_getpwclass to support home directories on GSS-API authenticated NFS where the kerberos credentials need to be saved so that the kernel can authenticate to the NFS server. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T11:00:31.589668Z K 7 svn:log V 1147 MFC r206428 (by luigi): This commit enables partial operation of dummynet with kernels compiled with "options VIMAGE". As it is now, there is still a single instance of the pipes, and it is only usable from vnet0 (the main instance). Trying to use a pipe from a different vimage does not crash the system as it did before, but the traffic coming out from the pipe goes to the wrong place, and i still need to figure out where. Support for per-vimage pipes is almost there (just a matter of uncommenting the VNET_* definitions for dn_cfg, plus putting into the structure the remaining static variables), however i need first to figure out how init/uninit work, and also to understand where packets are ending up on exit from a pipe. In summary: vimage support for dummynet is not complete yet, but we are getting there. MFC r206461 (by bz): Try to help with a virtualized dummynet after r206428. This adds the explicit include (so far probably included through one of the few "hidden" includes in other header files) for vnet.h and adds a cast to unbreak LINT-VIMAGE. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T11:07:46.864122Z K 7 svn:log V 152 MFC r220832: Add sysctl handlers for net.inet.ip.dummynet.hash_size, .pipe_byte_limit and .pipe_slot_limit oids to prevent to set incorrect values. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-03T11:22:37.906829Z K 7 svn:log V 31 Vendor import of OpenSSH 5.8p2 END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-03T11:23:40.013314Z K 7 svn:log V 18 Tag OpenSSH 5.8p2 END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T11:37:03.264286Z K 7 svn:log V 43 Vendor import of bwk's 1-May-2011 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T11:39:00.941264Z K 7 svn:log V 24 Tag a 20110501 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T11:47:19.457572Z K 7 svn:log V 64 Update to a 1-May-2011 release (except for the isblank change). END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T12:22:46.212397Z K 7 svn:log V 35 Updated `flags' field description. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T12:29:03.720179Z K 7 svn:log V 31 Fixed bad format and misorder. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-03T13:16:02.490780Z K 7 svn:log V 215 Do not report legacy unit numbers (do not create legacy aliases) for disks on port multiplier ports above first two. They don't fit into ATA_STATIC_ID scheme and so can't be mapped properly. No need to pollute dev. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-03T13:34:40.489995Z K 7 svn:log V 99 Fixed the HISTORY section which was copied without editing from aio(4). Submitted by: Igor Sysoev END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-03T14:43:16.051921Z K 7 svn:log V 93 Fix stack smash problem in makeinfo, by increasing buffer sizes in current_chapter_number(). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-03T15:12:01.769868Z K 7 svn:log V 247 Add support for synthesizing an APM partition map to map Mac PowerPC bootstrap partitions from the ISO9660 boot catalog. This preserves OS X's ability to mount the CD, while allowing us a way to provide HFS-ified bootstrap code for Open Firmware. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-03T15:50:22.096372Z K 7 svn:log V 444 SNDCTL_DSP_GETIPTR: set pointer to sndbuf_getfreeptr() Rationale: - unlike current behavior this seems to be compliant with OSS specification: http://manuals.opensound.com/developer/SNDCTL_DSP_GETIPTR.html - this seems to meet expectations of some OSS programs compiled for or ported from Linux, e.g. ALSA OSS plugin - this doesn't seem to break any programs as far as current testing shows Tested by: nox, hselasky MFC after: 4 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-05-03T15:58:24.201483Z K 7 svn:log V 103 Add in support for multicast. Submitted by: Sriram Rapuru at @ Wipro for Exar Inc. MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-03T16:00:26.719100Z K 7 svn:log V 82 Don't pass empty mount options to nmount(2). Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-05-03T16:00:36.933014Z K 7 svn:log V 186 Give some sort of message when the program is not run as root. Root privileges are required to talk to the device. Submitted by: Sriram Rapuru at Wipro for Exar Inc. MFC after: 2 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-05-03T16:36:39.074537Z K 7 svn:log V 202 MFC r221049: Stop zeroing UFS1 superblocks if we fall off the end of the disk, in order to avoid wasting time (potentially many hours) in the event that we find a partially-overwritten UFS1 superblock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-03T17:37:24.632952Z K 7 svn:log V 2576 Reimplement how PCI-PCI bridges manage their I/O windows. Previously the driver would verify that requests for child devices were confined to any existing I/O windows, but the driver relied on the firmware to initialize the windows and would never grow the windows for new requests. Now the driver actively manages the I/O windows. This is implemented by allocating a bus resource for each I/O window from the parent PCI bus and suballocating that resource to child devices. The suballocations are managed by creating an rman for each I/O window. The suballocated resources are mapped by passing the bus_activate_resource() call up to the parent PCI bus. Windows are grown when needed by using bus_adjust_resource() to adjust the resource allocated from the parent PCI bus. If the adjust request succeeds, the window is adjusted and the suballocation request for the child device is retried. When growing a window, the rman_first_free_region() and rman_last_free_region() routines are used to determine if the front or end of the existing I/O window is free. From using that, the smallest ranges that need to be added to either the front or back of the window are computed. The driver will first try to grow the window in whichever direction requires the smallest growth first followed by the other direction if that fails. Subtractive bridges will first attempt to satisfy requests for child resources from I/O windows (including attempts to grow the windows). If that fails, the request is passed up to the parent PCI bus directly however. The PCI-PCI bridge driver will try to use firmware-assigned ranges for child BARs first and only allocate a "fresh" range if that specific range cannot be accommodated in the I/O window. This allows systems where the firmware assigns resources during boot but later wipes the I/O windows (some ACPI BIOSen are known to do this) to "rediscover" the original I/O window ranges. The ACPI Host-PCI bridge driver has been adjusted to correctly honor hw.acpi.host_mem_start and the I/O port equivalent when a PCI-PCI bridge makes a wildcard request for an I/O window range. The new PCI-PCI bridge driver is only enabled if the NEW_PCIB kernel option is enabled. This is a transition aide to allow platforms that do not yet support bus_activate_resource() and bus_adjust_resource() in their Host-PCI bridge drivers (and possibly other drivers as needed) to use the old driver for now. Once all platforms support the new driver, the kernel option and old driver will be removed. PR: kern/143874 kern/149306 Tested by: mav END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-03T18:23:11.896288Z K 7 svn:log V 113 Enable the new PCI-PCI bridge driver on amd64 and i386 by default. It can be disabled via 'nooptions NEW_PCIB'. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-03T18:36:36.152795Z K 7 svn:log V 70 Make CPU_MAXSETSIZE dependant by MAXCPU as well. Discussed with: jhb END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-03T18:48:06.514885Z K 7 svn:log V 111 Add a comment explaining the discrepancy in size between kernel and userland of cpuset_t. Discussed with: jhb END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T18:54:18.408051Z K 7 svn:log V 175 Add make_dev_alias_p() function. It is similar to make_dev_alias(), but it may return an error like make_dev_p() does. Reviewed by: kib (previous version) MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-03T18:55:16.348463Z K 7 svn:log V 49 Document make_dev_alias_p(). MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-03T18:57:46.830167Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-03T19:12:42.133665Z K 7 svn:log V 139 Use make_dev_alias_p() added in r221397 to create alias dev entry. It removes panic in case if alias name is already busy for some reason. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-03T19:33:06.644959Z K 7 svn:log V 132 Fix prototype for ffsll(3) and fls(3). PR: docs/156796 Submitted by: Jean-Yves Migeon MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-03T19:33:09.841290Z K 7 svn:log V 29 - Vendor import of TRE 0.8.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-03T19:35:50.582354Z K 7 svn:log V 16 - Tag TRE 0.8.0 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-03T19:42:57.094091Z K 7 svn:log V 27 - Create my user directory END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-03T19:43:43.984631Z K 7 svn:log V 59 - Create my TRE integration branch for Summer of Code 2011 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-03T19:50:39.736458Z K 7 svn:log V 35 - Delete unnecessary garbage files END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-03T19:51:29.511154Z K 7 svn:log V 4143 - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP (reporting IFM_LOOP based on BMCR_LOOP is left in place though as it might provide useful for debugging). For most mii(4) drivers it was unclear whether the PHYs driven by them actually support loopback or not. Moreover, typically loopback mode also needs to be activated on the MAC, which none of the Ethernet drivers using mii(4) implements. Given that loopback media has no real use (and obviously hardly had a chance to actually work) besides for driver development (which just loopback mode should be sufficient for though, i.e one doesn't necessary need support for loopback media) support for it is just dropped as both NetBSD and OpenBSD already did quite some time ago. - Let mii_phy_add_media() also announce the support of IFM_NONE. - Restructure the PHY entry points to use a structure of entry points instead of discrete function pointers, and extend this to include a "reset" entry point. Make sure any PHY-specific reset routine is always used, and provide one for lxtphy(4) which disables MII interrupts (as is done for a few other PHYs we have drivers for). This includes changing NIC drivers which previously just called the generic mii_phy_reset() to now actually call the PHY-specific reset routine, which might be crucial in some cases. While at it, the redundant checks in these NIC drivers for mii->mii_instance not being zero before calling the reset routines were removed because as soon as one PHY driver attaches mii->mii_instance is incremented and we hardly can end up in their media change callbacks etc if no PHY driver has attached as mii_attach() would have failed in that case and not attach a miibus(4) instance. Consequently, NIC drivers now no longer should call mii_phy_reset() directly, so it was removed from EXPORT_SYMS. - Add a mii_phy_dev_attach() as a companion helper to mii_phy_dev_probe(). The purpose of that function is to perform the common steps to attach a PHY driver instance and to hook it up to the miibus(4) instance and to optionally also handle the probing, addition and initialization of the supported media. So all a PHY driver without any special requirements has to do in its bus attach method is to call mii_phy_dev_attach() along with PHY-specific MIIF_* flags, a pointer to its PHY functions and the add_media set to one. All PHY drivers were updated to take advantage of mii_phy_dev_attach() as appropriate. Along with these changes the capability mask was added to the mii_softc structure so PHY drivers taking advantage of mii_phy_dev_attach() but still handling media on their own do not need to fiddle with the MII attach arguments anyway. - Keep track of the PHY offset in the mii_softc structure. This is done for compatibility with NetBSD/OpenBSD. - Keep track of the PHY's OUI, model and revision in the mii_softc structure. Several PHY drivers require this information also after attaching and previously had to wrap their own softc around mii_softc. NetBSD/OpenBSD also keep track of the model and revision on their mii_softc structure. All PHY drivers were updated to take advantage as appropriate. - Convert the mebers of the MII data structure to unsigned where appropriate. This is partly inspired by NetBSD/OpenBSD. - According to IEEE 802.3-2002 the bits actually have to be reversed when mapping an OUI to the MII ID registers. All PHY drivers and miidevs where changed as necessary. Actually this now again allows to largely share miidevs with NetBSD, which fixed this problem already 9 years ago. Consequently miidevs was synced as far as possible. - Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that weren't explicitly converted to support flow control before. It's unclear whether flow control actually works with these but typically it should and their net behavior should be more correct with these changes in place than without if the MAC driver sets MIIF_DOPAUSE. Obtained from: NetBSD (partially) Reviewed by: yongari (earlier version), silence on arch@ and net@ END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-03T19:51:56.443996Z K 7 svn:log V 30 - Bring in TRE into my branch END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-03T20:13:27.155828Z K 7 svn:log V 155 Convert the last use of xcopyout() to ddi_copyout() and remove the now unused xcopyin() as well as xcopyout(). MFC together with r219089. Approved by: mm END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-03T20:32:21.235121Z K 7 svn:log V 76 Add a missing break. This bug was introduced in r221249. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-03T20:34:02.671921Z K 7 svn:log V 29 Remove code with any effect. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-03T20:47:16.130116Z K 7 svn:log V 41 Another pass to cleanup most whitespace. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-03T21:20:24.998611Z K 7 svn:log V 63 IFC @221412 Then try to cleanup the merge disaster. Love p4. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-04T00:43:06.162382Z K 7 svn:log V 152 Cleanup some of the previously merged but not really tracked files to reduce diffs to head. Reflect properties from head on the (locally) added files. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-04T01:07:32.578464Z K 7 svn:log V 152 Cleanup some of the previously merged but not really tracked files to reduce diffs to head. Reflect properties from head on the (locally) added files. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T01:24:03.183088Z K 7 svn:log V 216 MFC: r220876 Modify the offset + size checks for read and write in the experimental NFS client to take care of overflows. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T01:39:44.601238Z K 7 svn:log V 290 MFC: r220877 Modify the offset + size checks for read and write in the experimental NFS client to take care of overflows for the calls above the buffer cache layer in a manner similar to r220876. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-04T02:23:59.287938Z K 7 svn:log V 1111 Fix some corner cases in the net80211 sequence number retransmission handling. The current sequence number code does a few things incorrectly: * It didn't try eliminating duplications from HT nodes. I guess it's assumed that out of order / retransmission handling would be handled by the AMPDU RX routines. If a HT node isn't doing AMPDU RX, then retransmissions need to be eliminated. Since most of my debugging is based on this (as AMPDU TX software packet aggregation isn't yet handled), handle this corner case. * When a sequence number of 4095 was received, any subsequent sequence number is going to be (by definition) less than 4095. So if the following sequence number (0) doesn't initially occur and the retransmit is received, it's incorrectly eliminated by the IEEE80211_FC1_RETRY && SEQ_LEQ() check. Try to handle this better. This almost completely eliminates out of order TCP statistics showing up during iperf testing for the 11a, 11g and non-aggregate 11n AMPDU RX case. The only other packet loss conditions leading to this are due to baseband resets or heavy interference. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-04T02:52:41.239783Z K 7 svn:log V 103 Make sure to run make obj before release. Trying to run them in one step doesn't always work reliably. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-04T07:34:44.860678Z K 7 svn:log V 26 Upgrade to OpenSSH 5.8p2. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T08:21:24.531396Z K 7 svn:log V 57 Add the v4l2 header now that we have an use case for it. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T08:22:58.348174Z K 7 svn:log V 72 Tag the v4l2 header with the linux kernel version where I took it from. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T08:31:58.630114Z K 7 svn:log V 55 Copy the v4l2 header unchanged from the vendor branch. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T08:41:55.573514Z K 7 svn:log V 60 Add explanation about the use-permission and FreeBSDify it. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T08:42:31.314761Z K 7 svn:log V 38 Fix typo in comment, improve comment. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T09:05:39.781436Z K 7 svn:log V 292 This is v4l2 support for the linuxulator. This allows to access FreeBSD native devices which support the v4l2 API from processes running within the linuxulator, e.g. skype or flash can access the multimedia/pwcbsd or multimedia/webcamd supplied drivers. Submitted by: nox MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-04T09:26:33.126197Z K 7 svn:log V 166 Remove this useless bit of code for Kite. The RIFS register value is overriden by the initvals, so disabling RIFS before calling writeIni() effectively does nothing. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T09:52:34.369672Z K 7 svn:log V 74 Add FEATURE macros for v4l and v4l2 to the linuxulator. Suggested by: ae END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-04T11:22:52.266649Z K 7 svn:log V 72 In ncl_printf(), call vprintf() instead of printf(). MFC after: 3 days END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T12:37:10.589688Z K 7 svn:log V 88 Use proper return codes (valuable output, invalid config, problems). MFC after: 1 week END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-05-04T12:44:46.081690Z K 7 svn:log V 240 Regression tests for Capsicum capability mode. Ensure that system calls that access global namespaces, e.g. open(2), are not permitted, and that whitelisted sysctls like kern.osreldate are. Approved by: rwatson Sponsored by: Google, Inc. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T12:48:02.748599Z K 7 svn:log V 659 The security run requests unmaskable output, even if the only output is to tell that there is a separate email or that the output is logged to a file. This commit changes the return code for the non-inline case to tell that this message is not important enough and can be masked if necessary. The messages from the security checks themself are not affected by this and show up as before in the periodic security email/file. The inline case still requests to not mask the output, as with the current way of handling this there is no easy way to handle this. PR: 138692 Analysis/patch atch by: Chris Cowart X-MFC after: on request END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T12:59:11.891747Z K 7 svn:log V 104 When checking existence of providers skip those which are orphaned. PR: kern/132273 MFC after: 2 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-05-04T13:09:20.464185Z K 7 svn:log V 172 Commit the missing linux_videdev2_compat.h (lost somewhere between commit tree patch generation -> successful compile tree build test -> commmit). Pointy hat to: netchild END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T13:20:44.464949Z K 7 svn:log V 106 Revert r221308, since it incorrectly zero'd both client and server stats when "-c" or "-s" was specified. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-04T13:27:45.414697Z K 7 svn:log V 225 Implemented a mount option "nocto" that disables cache coherency checking at open time. It may improve performance for read-only NFS mounts. Use deliberately. MFC after: 1 week Reviewed by: rmacklem, jhb (earlier version) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-04T13:28:53.600184Z K 7 svn:log V 30 - Trim some unnecessary files END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T13:30:38.641575Z K 7 svn:log V 191 Revert r221306, since NFSSVC_ZEROSTATS zero'd both client and server stats, when separate modifiers for NFSSVC_GETSTATS for each of client and server stats is what it required by nfsstat(1). END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T13:36:18.819594Z K 7 svn:log V 182 Add kernel support for NFSSVC_ZEROCLTSTATS and NFSSVC_ZEROSRVSTATS so that they can be used by nfsstat(1) to implement the "-z" option for the new NFS subsystem. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T13:50:37.377263Z K 7 svn:log V 91 Fix nfsstat.c so that the "-z" option works for the new NFS subsystem. MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-04T14:37:01.935131Z K 7 svn:log V 130 Remove the previously added comment. Probabilly me is the only one who didn't know userland and kerneland sizes were mismatching. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-04T14:52:17.386537Z K 7 svn:log V 28 Revert by accident r221441. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-04T14:55:57.935979Z K 7 svn:log V 93 Revert comment introduction. It seems I'm the only one who didn't know of the size mismatch. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-04T15:45:23.755996Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-04T17:04:31.253515Z K 7 svn:log V 641 Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive return ring is 4. The BCM57765 family is known to support IEEE 802.3az EEE(Energy Efficient Ethernet) but this change does not include EEE support code. I hope EEE is implemented in near future. This change will support BCM57761, BCM57765, BCM57781, BCM57785, BCM57791 and BCM57795. All hardware offloading features are supported and suspend/resume also should work. Many thanks to Broadcom for continuing support of FreeBSD. Tested by: Paul Thornton (prt <> prt dot org) HW donated by: Broadcom END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T17:37:37.116366Z K 7 svn:log V 77 Remove unneeded checks, g_new_xxx functions can not fail. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T17:56:53.007671Z K 7 svn:log V 90 Remove "for a moment" assignment. struct g_geom zeroed when allocated. MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2011-05-04T17:58:15.414908Z K 7 svn:log V 157 Encode horizontal scroll events (AC Pan) as button presses (bit 5 and 6) Submitted by: David Demelier demelier dot david at gmail dot com MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T18:06:40.008254Z K 7 svn:log V 68 Removed KASSERT, g_new_providerf() can not fail. MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-05-04T18:16:05.406948Z K 7 svn:log V 75 Remove unneeded tab after .Ed to make manlint happy. Reported by: manlint END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T18:17:21.593920Z K 7 svn:log V 41 Remove unneeded code. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T18:26:45.536099Z K 7 svn:log V 41 Remove unneeded code. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-04T18:41:26.200601Z K 7 svn:log V 41 Remove unneeded code. MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T19:28:44.958070Z K 7 svn:log V 134 Modify nfsstat(1) so that it prints out the buffer cache stats in the same way for the new client as the old one. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T20:13:26.837796Z K 7 svn:log V 238 Modify nfsstat(1) so that it reports statistics for the new NFS client/server by default, in a format compatible with the old NFS client/server. Also add a "-o" flag that forces nfsstat(1) to get statistics for the old NFS client/server. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-04T20:26:48.368327Z K 7 svn:log V 32 - Remove duplicated declaration END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T20:28:06.292830Z K 7 svn:log V 244 Update nfsstat.1 to reflect the changes done to nfsstat(1) by r221455. This includes a new "-o" option for displaying statistics from the old NFS client/server and a slightly different description for the "-e" option. This is a content change. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-04T20:28:45.749133Z K 7 svn:log V 57 - Add Makefile glue to build TRE as a standalone library END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-04T20:29:40.596075Z K 7 svn:log V 68 Revert md_assert_preempt() introduction. Discussed with: jeff, jhb END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-04T21:27:05.259866Z K 7 svn:log V 134 Implement Resource Pooling V2 and an MPTCP like congestion control. Based on a patch received from Martin Becke. MFC after: 2 weeks. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-04T21:49:34.784168Z K 7 svn:log V 255 sh: Detect an error for ${#var}. In particular, this makes things like ${#foo[0]} and ${#foo[@]} errors rather than silent equivalents of ${#foo}. PR: bin/151720 Submitted by: Mark Johnston Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-04T22:02:33.865322Z K 7 svn:log V 278 Add a comment noting that the NFS code assumes that the values of error numbers in sys/errno.h will be the same as the ones specified by the NFS RFCs and that the code needs to be fixed if error numbers are changed in sys/errno.h. Suggested by: Peter Jeremy MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-04T22:12:22.455905Z K 7 svn:log V 216 sh: Apply set -u to variables in arithmetic. Note that this only applies to variables that are actually used. Things like (0 && unsetvar) do not cause an error. Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-04T23:07:30.686294Z K 7 svn:log V 79 Always re-arm an iq's interrupt before leaving the handler. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-04T23:34:10.453199Z K 7 svn:log V 369 Change the way powerpc bootable CDs are generated to work around a bug in hybrid image generation in cdrtools. This produces a small HFS partition containing loader, mapped in by an oddly-formed APM table using a new feature in makefs. This does not appear to work yet on early-model G3 systems, which will be fixed later, but produces bootable CDs on everything else. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-04T23:41:11.556834Z K 7 svn:log V 372 Repair release CD generation on PC98 and sun4v after release building changes, and backport the new logic (ISO images are TARGET dependant, not TARGET_CPUARCH dependant) to Makefile.sysinstall. While modifying ISO image scripts, change several archs to use makefs (from base) instead of mkisofs (from ports) which makes release CD generation both faster and self-hosting. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-05T00:11:09.313277Z K 7 svn:log V 260 Fix the new NFS client so that it handles the 64bit fields that are now in "struct statfs" for NFSv3 and NFSv4. Since the ffiles value is uint64_t on the wire, I clip the value to INT64_MAX to avoid setting f_ffree negative. Tested by: kib MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-05T00:43:40.321783Z K 7 svn:log V 146 Enable Ethernet@WireSpeed for BCM5718/BCM57765 family. While I'm here inverse meaning of PHY flag as Ethernet@WireSpeed is enabled for most PHYs. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-05T00:43:55.526313Z K 7 svn:log V 90 Correct the kernel config name printed out during install. PR: 156579 Submitted by: dhw END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-05T00:52:19.497020Z K 7 svn:log V 141 Fix boot on old machines (e.g. blue and white G3s) by synthesizing a 512-byte sector map instead unused space in the first 2048-byte sector. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-05T01:09:42.074019Z K 7 svn:log V 96 s/shaN_crypt/crypt_shaN/g to be a more consistent with the existing naming. Reviewed by: markm END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-05T01:16:06.666554Z K 7 svn:log V 310 libarchive is mixing libmd and libcrypto -- correct to use one or the other. [mixing the two can be quite bad -- they define the same context structures, but with differing structure members (and sizes)] Update the hash function support comments, and update config_freebsd.h to match. Approved by: kientzle END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-05T02:00:53.675443Z K 7 svn:log V 127 Modify the NFS nfssvc(2) syscall so that it allows anyone to get the statistics for the new NFS subsystem. MFC after: 2 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-05T02:04:56.518342Z K 7 svn:log V 957 T4 packet filtering/steering. - Enable 5-tuple and every-packet lookup. - Setup the default filter mode to allow filtering/steering based on IP protocol, ingress port, inner VLAN ID, IP frag, FCoE, and MPS match type; all combined together. You can also filter based on MAC index, Ethernet type, IP TOS/IPv6 Traffic Class, and outer VLAN ID but you'll have to modify the default filter mode and exclude some of the match-fields in it. IPv4 and IPv6 SIP/DIP/SPORT/DPORT are always available in all filter rules. - Add driver ioctls to get/set the global filter mode. - Add driver ioctls to program and delete hardware filters. A couple of the "switch" actions that rewrite Ethernet and VLAN information and switch the packet out of another port may not work as the L2 code is not yet in place. Everything else, including all "drop" and "pass" rules with RSS or absolute qid, should work. Obtained from: Chelsio Communications END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-05T02:35:11.989218Z K 7 svn:log V 286 1. If PKG_DBDIR cannot be determined from make, set the default 2. Add the -H flag to tar in case /var/db/pkg itself is a symlink 3. Direct stderr to /dev/null to suppress the leading slash warning [1] PR: ports/156810 [1] Submitted by: Jeremy Chadwick [1] END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-05T02:35:25.640948Z K 7 svn:log V 17 Guard ptrdiff_t. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-05T02:38:08.864421Z K 7 svn:log V 443 T4 packet timestamps. Reference code that shows how to get a packet's timestamp out of cxgbe(4). Disabled by default because we don't have a standard way today to pass this information up the stack. The timestamp is 60 bits wide and each increment represents 1 tick of the T4's core clock. As an example, the timestamp granularity is ~4.4ns for this card: # sysctl dev.t4nex.0.core_clock dev.t4nex.0.core_clock: 228125 MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-05T02:52:10.933711Z K 7 svn:log V 169 Remove version-specific stuff. If anyone wants to keep it up to date the information can be restored. Loosely inspired by the PR. PR: misc/153995 Submitted by: eadler END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T02:59:31.679703Z K 7 svn:log V 78 Import some HOWL (AR9130) related fixes from Atheros. Obtained from: Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T03:42:04.425279Z K 7 svn:log V 1287 Fix up the chipset checks for the AR5416 and later silicon. The checks should function as follows: * AR_SREV_ : check macVersion matches that version id * AR_SREV__ : check macVersion and macRevision match the version / revision respectively * AR_SREV___OR_LATER: check that + if the chip silicon version == macVersion, enforce revision >= macRevision + if the chip silicon version > macVersion, allow it. For example, AR_SREV_MERLIN() only matches AR9280 (any revision), AR_SREV_MERLIN_10() would only match AR9280 version 1.0, but AR_SREV_MERLIN_20_OR_LATER() matches AR9280 version >= 2.0 _AND_ any subsequent MAC (So AR9285, AR9287, etc.) The specific fixes which may impact users: * if there is Merlin hardware > revision 2.0, it'll now be correctly matched by AR_SREV_MERLIN_20_OR_LATER() - the older code simply would match on either Merlin 2.0 or a subsequent MAC (AR9285, AR9287, etc.) * Kite version 1.1/1.2 should now correctly match. As these macros are used in the AR9285 reset/attach path, and it's assumed that the hardware is kite anyway, the behaviour shouldn't change. It'll only change if these macros are used in other codepaths shared with older silicon. Obtained from: Linux ath9k, Atheros END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-05T03:57:43.826722Z K 7 svn:log V 228 Implement ipi_send() for Altix. This is quick-n-dirty, but works. We have SMP up and running. I haven't had a chance to test whether ptc.g works properly (given that the SHub has a register for it), but that's easily found out. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-05T03:58:23.871612Z K 7 svn:log V 56 Enable SMP by default and remove commented-out options. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T04:43:05.103513Z K 7 svn:log V 105 Another Howl (AR9130) fix. I haven't seen a 5ghz AR9130 based board yet though! Obtained from: Atheros END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-05T07:59:12.618810Z K 7 svn:log V 66 djm released a new 5.8p2 tarball with the correct version number. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-05T08:01:22.766304Z K 7 svn:log V 22 updated 5.8p2 tarball END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-05T08:04:31.913505Z K 7 svn:log V 89 Merge from upstream: #include before checking for macros that it defines. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-05-05T08:08:18.217392Z K 7 svn:log V 71 Merge two upstream patches from vendor branch. No functional changes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T08:11:22.756927Z K 7 svn:log V 931 Don't perform NF calibration for radio chains which aren't in use: Quoting the ath9k commit message: At present the noise floor calibration is processed in supported control and extension chains rather than required chains. Unnccesarily doing nfcal in all supported chains leads to invalid nf readings on extn chains and these invalid values got updated into history buffer. While loading those values from history buffer is moving the chip to deaf state. This issue was observed in AR9002/AR9003 chips while doing associate/dissociate in HT40 mode and interface up/down in iterative manner. After some iterations, the chip was moved to deaf state. Somehow the pci devices are recovered by poll work after chip reset. Raading the nf values in all supported extension chains when the hw is not yet configured in HT40 mode results invalid values. Reference: https://patchwork.kernel.org/patch/753862/ Obtained from: Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T09:04:49.481275Z K 7 svn:log V 56 Add nvram2env (untested) and geom_map (tested) to PB92. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-05T09:55:55.577567Z K 7 svn:log V 149 Formatting fixes: o Fix date o Break sentences o Remove trailing whitespaces o Sort xrefs by section number Requested by: ru MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-05T10:17:08.023745Z K 7 svn:log V 37 [mdoc] remove a hard sentence break. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-05T10:17:49.795273Z K 7 svn:log V 73 - Add a forgotten -o to usage(). - Sync usage() with manpage's SYNOPSIS. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-05T12:52:05.991107Z K 7 svn:log V 168 MFC r221335: Correct a typo. According to Intel document 318914, the Tj(max) for Core 2 Duo Mobile CPUs should be 105. Noticed by: Mark Johnston END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-05T13:55:43.629981Z K 7 svn:log V 82 Garbage collect some unused variables and stray debug code. Submitted by: marius END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-05T14:05:29.500229Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-05T14:13:08.764012Z K 7 svn:log V 72 Add make_dev_alias_p to MLINKS. Pointed out by: pjd MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-05T14:16:40.930081Z K 7 svn:log V 58 Convert IA64 ISO script to use makefs instead of mkisofs. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-05T14:19:37.707686Z K 7 svn:log V 383 MFC: r220928 Remove the nm_mtx mutex locking from the test for nm_maxfilesize. This value rarely, if ever, changes and the nm_mtx mutex is locked/unlocked earlier in the function, which should be sufficient to avoid getting a stale cached value for it. There is a discussion w.r.t. what these tests should be, but I've left them basically the same as the regular NFS client for now. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-05T14:39:14.158166Z K 7 svn:log V 1650 Commit the support for removing cpumask_t and replacing it directly with cpuset_t objects. That is going to offer the underlying support for a simple bump of MAXCPU and then support for number of cpus > 32 (as it is today). Right now, cpumask_t is an int, 32 bits on all our supported architecture. cpumask_t on the other side is implemented as an array of longs, and easilly extendible by definition. The architectures touched by this commit are the following: - amd64 - i386 - pc98 - arm - ia64 - XEN while the others are still missing. Userland is believed to be fully converted with the changes contained here. Some technical notes: - This commit may be considered an ABI nop for all the architectures different from amd64 and ia64 (and sparc64 in the future) - per-cpu members, which are now converted to cpuset_t, needs to be accessed avoiding migration, because the size of cpuset_t should be considered unknown - size of cpuset_t objects is different from kernel and userland (this is primirally done in order to leave some more space in userland to cope with KBI extensions). If you need to access kernel cpuset_t from the userland please refer to example in this patch on how to do that correctly (kgdb may be a good source, for example). - Support for other architectures is going to be added soon - Only MAXCPU for amd64 is bumped now The patch has been tested by sbruno and Nicholas Esborn on opteron 4 x 12 pack CPUs. More testing on big SMP is expected to came soon. pluknet tested the patch with his 8-ways on both amd64 and i386. Tested by: pluknet, sbruno, gianni, Nicholas Esborn Reviewed by: jeff, jhb, sbruno END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T14:43:09.340613Z K 7 svn:log V 160 Updates to geom_map from the author. The major update here is to support 64 bit size/offsets. There's also style related changes. Submitted by: ray@dlink.ua END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-05T14:43:35.588181Z K 7 svn:log V 59 Add a manpage for geom_map(4). Submitted by: ray@dlink.ua END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-05T14:45:24.848623Z K 7 svn:log V 41 Don't duplicate define the stdint types. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-05T16:14:13.629566Z K 7 svn:log V 237 Make cross-compiling using clang work better, by respecting the LLVM_HOSTTRIPLE that is defined during the cross-tools stage. Using clang, you can now build amd64 world and kernel on i386, and vice versa. Other arches still need work. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-05T17:11:26.033429Z K 7 svn:log V 114 Add PCI ID for Marvell 88SE9182 -- PCIe 2.x x2 relative of the 88SE912x. Submitted by: dchagin MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-05-05T17:28:45.703671Z K 7 svn:log V 217 Add an initialization to the error variable, without this there is a rare return path that bogusly appears to fail when it should not. Also white space correction. Thanks to Arnaud Lacombe for noticing the problem. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-05T18:47:24.113682Z K 7 svn:log V 138 Fine-tune llvm optimization for sys/boot/i386/boot2, which shaves off some more bytes from the final boot2 image. Submitted by: rdivacky END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-05-05T18:50:52.472373Z K 7 svn:log V 625 MFC r221074, r221075, r221076, r221078: r221074: Fix assert messages. r221075: For conversation between hastctl and hastd we should use HASTCTL_CMD defines. r221076: Rename HASTCTL_ defines, which are used for conversation between main hastd process and workers, remove unused one and set different range of numbers. This is done in order not to confuse them with HASTCTL_CMD defines, used for conversation between hastctl and hastd, and to avoid bugs like the one fixed in r221075. r221078: Add missing ifdef. This fixes build with NO_OPENSSL. Reported by: Pawel Tyll Approved by: pjd (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-05T18:56:48.015165Z K 7 svn:log V 263 Some changes around LAPIC timer programming. This fixes heavy interrupt storm and resulting system freeze when using LAPIC timer in one-shot mode under Xen HVM. There, unlike real hardware, programming timer with zero period almost immediately causes interrupt. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-05T19:15:15.364628Z K 7 svn:log V 100 Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400 series. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-05T19:17:55.494399Z K 7 svn:log V 81 Simplify this script somewhat, following excellent suggestions from Ed Schouten. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-05T19:35:12.267776Z K 7 svn:log V 69 Revert this, as in userland MAXCPU is always 1. Reported by: marcel END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-05T19:49:27.489328Z K 7 svn:log V 240 * Update copyright notice. * Cleanup usage of iov's. * Add support for SCTP_TIMEOUTS socketoption. * Fix a bug in sctp_recvmsg(): return the msg_flags in case of an error. * Fix a bug in the error handling of sctp_peeloff(): return the -1. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-05T20:55:55.718164Z K 7 svn:log V 1096 sh: Add $'quoting' (C-style escape sequences). A string between $' and ' may contain backslash escape sequences similar to the ones in a C string constant (except that a single-quote must be escaped and a double-quote need not be). Details are in the sh(1) man page. This construct is useful to include unprintable characters, tabs and newlines in strings; while this can be done with a command substitution containing a printf command, that needs ugly workarounds if the result is to end with a newline as command substitution removes all trailing newlines. The construct may also be useful in future to describe unprintable characters without needing to write those characters themselves in 'set -x', 'export -p' and the like. The implementation attempts to comply to the proposal for the next issue of the POSIX specification. Because this construct is not in POSIX.1-2008, using it in scripts intended to be portable is unwise. Matching the minimal locale support in the rest of sh, the \u and \U sequences are currently not useful. Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-05T22:04:59.371403Z K 7 svn:log V 84 MFC r221011: sh: Remove duplicate code resetting uid/gid for set +p/ +o privileged. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-05T22:07:02.060922Z K 7 svn:log V 443 MFC r221012: sh: Check setuid()/setgid() return values. If the -p option is turned off, privileges from a setuid or setgid binary are dropped. Make sure to check if this succeeds. If it fails, this is an error which will cause the shell to abort except in interactive mode or if 'command' was used to make 'set' or an outer 'eval' or '.' non-special. Note that taking advantage of this feature and writing setuid shell scripts seems unwise. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-05T23:09:17.694925Z K 7 svn:log V 90 Bump up the number of egress queues that the driver is allowed to use. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-06T01:29:14.563411Z K 7 svn:log V 337 Change the new NFS server so that it returns 0 when the f_bavail or f_ffree fields of "struct statfs" are negative, since the values that go on the wire are unsigned and will appear to be very large positive values otherwise. This makes the handling of a negative f_bavail compatible with the old/regular NFS server. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-06T02:45:02.597243Z K 7 svn:log V 120 Fix GPIO_MAXPINS calculation for the AR71xx, AR724x, AR913x SoC. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-06T03:26:24.617511Z K 7 svn:log V 226 Do not use Open Firmware to open the device and instead program its start on our own. This prevents hangs at boot when using a bm(4) NIC where the cable is not plugged in at boot time. Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-06T03:44:49.382346Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@221517 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-06T07:13:34.185942Z K 7 svn:log V 90 Convert delay parameter back to ms when reporting to user. PR: 156838 MFC after: 1 week END