ƒ¯/218713 187 421 184 263 174 167 154 377 140 136 138 518 189 194 235 138 112 258 189 166 149 194 142 166 194 208 163 164 115 310 175 175 270 496 141 612 383 251 175 175 215 169 215 186 186 835 287 287 161 330 120 304 379 272 239 123 110 123 110 275 149 181 186 186 317 298 163 159 297 130 143 329 110 147 225 598 1105 345 318 392 188 163 306 279 165 157 167 674 282 273 227 227 111 126 120 145 111 204 400 929 2170 250 233 206 251 141 178 170 910 224 407 144 256 600 225 276 343 142 477 622 2794 243 184 119 163 144 266 335 302 213 171 206 355 126 188 461 175 163 170 172 485 143 223 230 213 149 168 215 127 245 103 273 231 162 541 541 225 225 370 370 240 240 704 704 144 256 221 267 215 174 264 248 120 180 110 180 111 224 156 158 127 276 189 582 339 997 997 846 K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-15T20:18:52.330976Z K 7 svn:log V 328 Apply a few small optimizations to boot2's code, to make it shrink a little further. This gets us further on the way to be able to build it successfully with clang. Using in-tree gcc, this shrinks boot2.bin with 60 bytes, the in-tree clang shaves off 72 bytes, and ToT clang 84 bytes. Submitted by: rdivacky Reviewed by: imp END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-02-15T20:46:51.985074Z K 7 svn:log V 91 MFC: 217335 Clean up the experimental NFS server replay cache when the module is unloaded. END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-02-15T20:53:01.472044Z K 7 svn:log V 169 MFC: 217336 In the experimental NFS server, when converting an open-owner to a lock-owner, start at sequence id 1 instead of 0, to match up with both Solaris and Linux. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-15T21:01:13.412283Z K 7 svn:log V 82 In sys/boot/common/ufsread.c, use uint8_t instead of u_int8_t. Submitted by: mdf END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-15T21:22:09.169531Z K 7 svn:log V 71 Put the macro declaration in the relevant include file for future use. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-15T21:24:50.837533Z K 7 svn:log V 58 Style(9) fix. Wrap long lines in linux_rt_sigtimedwait(). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-15T21:42:48.470143Z K 7 svn:log V 280 Make a linux_rt_sigtimedwait() system call is actually working. 1) Translate the native signal number in the appropriate Linux signal. 2) Remove bogus code, which can lead to a panic as it calls kern_sigtimedwait with same ksiginfo. 3) Return the corresponding signal number. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-15T21:46:36.304026Z K 7 svn:log V 44 For realtime signals fill the sigval value. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-15T22:00:00.216326Z K 7 svn:log V 44 Move invariant assignments out of the loop. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-15T22:01:39.658458Z K 7 svn:log V 46 Add JMicron RAID BIOS metadata format module. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-15T22:03:09.719071Z K 7 svn:log V 425 Fix some leftover binaries and shared libraries in the system that still have an executable stack, due to linking in hand-assembled .S or .s files, that have no .GNU-stack sections: RWX --- --- /lib/libcrypto.so.6 RWX --- --- /lib/libmd.so.5 RWX --- --- /lib/libz.so.6 RWX --- --- /lib/libzpool.so.2 RWX --- --- /usr/lib/liblzma.so.5 These were found using scanelf, from the sysutils/pax-utils port. Reviewed by: kib END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-15T22:17:47.600094Z K 7 svn:log V 94 test: Note that this is used both as a normal program and a shell builtin. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-15T22:28:15.749662Z K 7 svn:log V 101 When building libzpool on ia64 or sparc64, don't add the .note.GNU-stack section. Submitted by: kib END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-02-16T06:00:27.278268Z K 7 svn:log V 137 Add the -j option to enable soft updates journaling when creating a new file system. Reviewed by: Kostik Belousov END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-16T08:12:54.341645Z K 7 svn:log V 46 Set of random improvements to JMicron module. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-16T08:16:33.886023Z K 7 svn:log V 20 Some grammar fixes. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-16T08:33:30.289596Z K 7 svn:log V 160 Add support for new USB to ethernet controller: Moschip MCS7730/MCS7830 Submitted by: Rick van der Zwet Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-16T09:26:56.697428Z K 7 svn:log V 92 Fix build breakage in if_mos.c when USB_DEBUG option is set. Approved by: thompsa (mentor) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T14:25:26.646091Z K 7 svn:log V 69 Guess when all the bits will be in place for announcing 8.2-RELEASE. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-16T14:26:23.228838Z K 7 svn:log V 57 Move topology lock/unlock inside g_raid_kill_consumer(). END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T14:28:04.767027Z K 7 svn:log V 97 Guess when all the bits will be in place for announcing 8.2-RELEASE. Approved by: re (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-16T15:04:00.776654Z K 7 svn:log V 50 Add and use helper function opening disk by name. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T15:18:28.264094Z K 7 svn:log V 69 Guess when all the bits will be in place for announcing 7.4-RELEASE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T15:19:31.942998Z K 7 svn:log V 97 Guess when all the bits will be in place for announcing 7.4-RELEASE. Approved by: re (implicit) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-16T15:20:37.762962Z K 7 svn:log V 114 MFi386: revision 218713 Apply a few small optimizations to boot2's code, to make it shrink a little further. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T15:24:22.829223Z K 7 svn:log V 66 Ready for 8.2-RELEASE builds to start. Approved by: re (implcit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T15:24:56.789843Z K 7 svn:log V 67 Ready for 7.4-RELEASE builds to start. Approved by: re (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-16T15:27:54.324608Z K 7 svn:log V 23 Fix SINGLE on JMicron. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-16T15:43:35.033764Z K 7 svn:log V 213 Bump dummynet module version to meet dummynet schedulers' requirements, and thus unbreak loading dummynet.ko via /boot/loader.conf. Reported by: rihad on freebsd-net Approved by: kib (mentor) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T16:18:46.924767Z K 7 svn:log V 78 Copy releng/8.2 to release/8.2.0 for 8.2-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-16T16:19:54.008698Z K 7 svn:log V 78 Copy releng/7.4 to release/7.4.0 for 7.4-RELEASE. Approved by: re (implicit) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-16T17:50:21.322012Z K 7 svn:log V 173 To avoid excessive code duplication create wrapper for fill regs from stack frame. Change the trap() code to use newly created function instead of explicit regs assignment. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-16T18:05:10.178071Z K 7 svn:log V 403 Remove reading of symbols from a.out loaded files. Since we are tight on space for clang and a.out support is only needed for /boot/loader, they are excess bytes that serve no useful purpose other than to support really old kernels (FreeBSD < 3.2 or so). Prefer clang support over support for these old kernels and remove this code. We gain about 100 bytes of space this way. Reviewed by: rdivacky@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-16T19:30:29.361894Z K 7 svn:log V 49 Sync: merge r218496 through r218745 from ^/head. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-16T20:07:44.839077Z K 7 svn:log V 516 Modify the spi flash driver to allow smaller read IO sizes, but enforce the larger, aligned write+erase sizes the driver currently implements. This preserves write behaviour but makes the flash driver usable for things like a read-only FFS or a geom_uzip/geom_compress . Note that since GEOM will now return the sector size as being smaller, writes of sector size/alignment will now fail with an EIO. Code which writes to the flash device will have to be (for now) manually taught about the flash write blocksize. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-16T20:46:57.590996Z K 7 svn:log V 290 Fix the last binary in the base system that still has an executable stack, /usr/sbin/uathload. Since this program links in a .o file containing a firmware blob, and there is no clean way to add a .note.GNU-stack section to this .o file, we simply use the -z noexecstack option to ld here. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-16T21:04:47.065458Z K 7 svn:log V 158 Only use -z noexecstack for these explicit arches: i386, amd64, powerpc and powerpc64. Other arches currently do not support this feature. Reminded by: kib END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:10:50.861881Z K 7 svn:log V 80 MFC r218650: Move potentially offensive fortune to fortunes-o. PR: bin/137702 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:13:02.682620Z K 7 svn:log V 80 MFC r218650: Move potentially offensive fortune to fortunes-o. PR: bin/137702 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:21:23.312141Z K 7 svn:log V 119 MFC r218652, r218677: Only print the unit number when invoked with the -n flag. PR: bin/144300 Submitted by: arundel END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-16T21:23:09.130964Z K 7 svn:log V 75 Remove in-addr.arpa from the list of zones it is possible to slave locally END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:24:09.322169Z K 7 svn:log V 119 MFC r218652, r218677: Only print the unit number when invoked with the -n flag. PR: bin/144300 Submitted by: arundel END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:27:19.116382Z K 7 svn:log V 91 MFC r218619: Fix typos. PR: docs/131625 Submitted by: Andrew Wright END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:29:05.480906Z K 7 svn:log V 91 MFC r218619: Fix typos. PR: docs/131625 Submitted by: Andrew Wright END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-16T21:29:13.975233Z K 7 svn:log V 743 Mfp4 CH=177274,177280,177284-177285,177297,177324-177325 VNET socket push back: try to minimize the number of places where we have to switch vnets and narrow down the time we stay switched. Add assertions to the socket code to catch possibly unset vnets as seen in r204147. While this reduces the number of vnet recursion in some places like NFS, POSIX local sockets and some netgraph, .. recursions are impossible to fix. The current expectations are documented at the beginning of uipc_socket.c along with the other information there. Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH Reviewed by: jhb Tested by: zec Tested by: Mikolaj Golub (to.my.trociny gmail.com) MFC after: 2 weeks END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:41:44.197798Z K 7 svn:log V 191 MFC r218620: If the pf.conf(5) example file is copied when setting up a firewall it's easy to forget about icmp. Update the file to show allowing icmp through the firewall. PR: docs/144096 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-16T21:46:03.135662Z K 7 svn:log V 191 MFC r218620: If the pf.conf(5) example file is copied when setting up a firewall it's easy to forget about icmp. Update the file to show allowing icmp through the firewall. PR: docs/144986 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-16T21:59:42.576572Z K 7 svn:log V 65 Add initial support for RTL8401E PCIe Fast Ethernet. PR: 154789 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-17T05:16:59.379689Z K 7 svn:log V 234 Properly propagate whether the channel is HT40 or not when calculating packet duration for the ath_rate_sample module. This doesn't affect the packet TX at all; only how much time the sample rate module attributes to a completed TX. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-17T05:30:38.018038Z K 7 svn:log V 25 Call the right function. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-17T05:52:53.622355Z K 7 svn:log V 208 Add a new parameter to selectively enable/disable the ANI operations. This was inspired by ath9k, which disables ANI anti-noise immunity parameter tweaking (but leaves the rest of the ANI operations alone.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-17T05:56:03.317281Z K 7 svn:log V 283 Add in ANI parameters for the AR9280. These aren't enabled by default as they're likely not entirely correct, but they give people something to toy with to compare behaviour/performance. Disable the anti-noise part, as this apparently interferes with RIFS. I haven't verified this. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-17T07:39:53.872538Z K 7 svn:log V 174 - Fix build of manual page and inclusion of mos driver into kernel config file. - Fix style compliancy by wrapping some long lines in if_mos.c Approved by: thompsa (mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-02-17T08:54:22.634359Z K 7 svn:log V 146 Improve the check for ports which have gone missing, and just ignore them. We want a run to perform as much work as possible before it gives up. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-02-17T11:47:40.057788Z K 7 svn:log V 31 Vendor import of OpenSSH 5.7p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2011-02-17T11:48:58.286041Z K 7 svn:log V 18 Tag OpenSSH 5.7p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2011-02-17T11:49:48.280690Z K 7 svn:log V 31 Vendor import of OpenSSH 5.8p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2011-02-17T11:50:30.692926Z K 7 svn:log V 18 Tag OpenSSH 5.8p1 END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-02-17T12:21:14.163805Z K 7 svn:log V 182 Fix the beginning day of the Great Lent, it starts on Monday for 7 weeks before Paskha. Fix the Exaltation of the Holy Cross day. Add more Twelve holidays (dvunadesyatye prazdniki). END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-17T15:10:13.449783Z K 7 svn:log V 57 Install iodev.h. Reviewed by: attilio MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-17T15:36:29.273887Z K 7 svn:log V 89 Remove pmap fields that are either unused or not fully implemented. Discussed with: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-17T16:12:55.891106Z K 7 svn:log V 94 MFH r218702, r218705, r218706, r218721, r218722, r218727, r218728, r218732, r218734, r218740. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-17T16:21:26.670138Z K 7 svn:log V 94 MFH r218702, r218705, r218706, r218721, r218722, r218727, r218728, r218732, r218734, r218740. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-17T16:33:41.662211Z K 7 svn:log V 219 Add "Extract Only" functionality to pc-sysinstall. This allows disk setup to be done manually, pc-sysinstall is pointed to a mount-point for installation. PR: bin/154685 Submitted by: kmoore Approved by: kib (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-17T17:03:56.124459Z K 7 svn:log V 205 Save a copy of errno before invoking syslog() if accept() or select() fail. syslog() can trash the errno value causing nfsd to exit for non-fatal errors like ECONNABORTED from accept(). MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-17T17:31:36.583451Z K 7 svn:log V 68 Disable short-GI in 20mhz mode - the hardware doesn't support this. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-17T17:35:09.245555Z K 7 svn:log V 64 Just be double-sure short-gi isn't being enabled in 20mhz mode. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-17T19:31:21.538279Z K 7 svn:log V 201 Fix the R_ARM_ABS32 relocation implementation. The memory address contains the addend that we need to include. Obtained from: Juniper Networks. Fixed by: Santhanakrishnan Balraj END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-17T21:34:30.834485Z K 7 svn:log V 39 Create projects directory for pf work. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-17T21:35:10.519149Z K 7 svn:log V 52 Create branch for pf45 import. Discussed with: eri END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-17T22:05:00.480418Z K 7 svn:log V 237 Import the latest pf45 patch (with minor whitespace adjustments already) for cleanup and finalizing. Submitted by: eri Discussed with: eri Obtained from: http://docs.FreeBSD.org/cgi/mid.cgi?AANLkTinXNRKSwjuOeQkDTANhSSbHYHZnf4SvaFHbEdrg END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-17T22:48:22.750045Z K 7 svn:log V 19 Cleanup whitspace. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-02-18T00:02:35.895143Z K 7 svn:log V 52 MFC: r214904: bring MIPS minidump support to libkvm END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T01:56:25.580200Z K 7 svn:log V 128 Always check memory allocation failure. If driver encounter memory allocation error, do not attach driver. Reviewed by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T02:14:53.099482Z K 7 svn:log V 501 When driver have to use base softc due to lack of SROM on second port, copy SROM information from base softc as well and run SROM parser again. This change is necessary for some dual port controllers to make dc(4) correctly detect PHY media based on first port configuration table. While I'm here add a check for validity of the base softc before duplicating SROM contents from base softc. If driver failed to attach to the first port it can access invalid area. PR: kern/79262 Reviewed by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T02:58:09.915107Z K 7 svn:log V 1007 Apply special PHY initialization code for 21143 controllers before any other media configuration. Otherwise some 21143 controller cannot establish a link. While I'm here remove the PHY initialization code in dc_setcfg(). Since dc_setcfg() is called whenever link state is changed, having the PHY initialization code in dc_setcfg() resulted in continuous link flips. After driver resets SIA, use default SIA transmit/receive configuration instead of disabling autosense/autonegotiation. Otherwise, controller fails to establish a link as well as losing auto-negotiation capability. For manual media configuration, always configure 21143 controller with specified media to ensure media change. This change makes ANA-6922 establish link with/without auto-negotiation. While I'm here be more strict on link UP/DOWN detection logic. Many thanks to marius who fixed several bugs in initial patch and even tested the patch on a couple of dc(4) controllers. PR: kern/79262 Reviewed by: marius Tested by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T03:37:53.018245Z K 7 svn:log V 248 Remove use case of DC_TX_ONE. It was used to limit queue just 1 TX frame in DM910x controllers. In r67595(more than 10 years ago) it was replaced to use "Store and Forward" mode and made controller generate TX completion interrupt for every frame. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-02-18T06:42:15.174737Z K 7 svn:log V 221 Upgrade Martin Wilke 's commit bit to a src bit; Martin has been showing excessive promise for some time in areas such as VirtualBox, etc, and will now be able to put his own patches in the tree. Approved by: core END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-18T07:37:30.708942Z K 7 svn:log V 294 - Make an enum for all the umidi USB transfers. - Use the USB stack's builtin clear-stall feature. - Wrap some long lines. - Use memcpy() instead of bcopy(). - Use memset() instead of bzero(). - Tested applications: /usr/ports/audio/fluidsynth MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2011-02-18T08:00:26.709472Z K 7 svn:log V 97 cxgbe(4) - NIC driver for Chelsio T4 (Terminator 4) based 10Gb/1Gb adapters. MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-02-18T08:38:24.991725Z K 7 svn:log V 67 I will be mentoring miwi@'s commit bit upgrade. Approved by: core END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2011-02-18T09:40:13.325820Z K 7 svn:log V 211 Fixed IPsec's HMAC_SHA256-512 support to be RFC4868 compliant. This will break interoperability with all older versions of FreeBSD for those algorithms. Reviewed by: bz, gnn Obtained from: NETASQ MFC after: 1w END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-18T09:47:58.514538Z K 7 svn:log V 186 MFC r218550: For UIO_NOCOPY case of reading request on zfs vnode, which has vm object attached, activate the page after the successful read, and free the page if read was unsuccessfull. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2011-02-18T13:21:30.861776Z K 7 svn:log V 71 Moved the general note about FreeBSD 9.x at the beginning of the list. END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-02-18T13:41:45.100737Z K 7 svn:log V 65 Replace hard-coded value by Julian2Gregorian converter function. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-18T14:34:33.396107Z K 7 svn:log V 67 Rename bsdinstall-dist to freebsd-dist so it's clearer what it is. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-18T14:54:34.616581Z K 7 svn:log V 573 Import bsdinstall. This is meant to be (eventually in conjunction with pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond. Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and powerpc64. Integration into the build system will occur in the coming weeks. Merging with pc-sysinstall will use this code as a frontend, while temporarily retaining the interactive partition editor here. This work will be done in parallel with improvements on this code and release integration. Thanks to all who have provided testing and comments! END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-18T15:00:25.310480Z K 7 svn:log V 184 Add support to pc-sysinstall's create-part feature, to create non MBR type partitions, such as GPT and others. PR: bin/154684 Submitted by: kmoore Approved by: kib (mentor, implicit) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-18T15:06:35.699757Z K 7 svn:log V 175 Improve pc-sysinstall's localization options to include support for GDM & KDM desktop login managers. PR: bin/154686 Submitted by: kmoore Approved by: kib (mentor, implicit) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-18T15:13:07.973267Z K 7 svn:log V 129 Sort available keyboard layouts to a more sane default. PR: bin/154687 Submitted by: kmoore Approved by: kib (mentor, implicit) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-02-18T15:52:57.398430Z K 7 svn:log V 129 Remove US as the default layout in backend, let front-ends decide that Submitted by: kmoore Approved by: kib (mentor, implicit) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-18T16:00:26.575985Z K 7 svn:log V 20 Cleanup whitespace. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-18T16:01:14.953151Z K 7 svn:log V 35 Make compile on all architectures. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-18T16:01:49.641600Z K 7 svn:log V 29 Add missing V_irtualization. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-18T16:02:17.892662Z K 7 svn:log V 54 Add missing header file (though we might not use it). END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-18T16:13:59.297897Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-18T16:21:09.779623Z K 7 svn:log V 112 V_irtulize pfsyncstats (and minor other V_correction). Note: the sysctl handler function stays "notyet" so far. END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-18T16:29:38.800258Z K 7 svn:log V 307 MFC: 212420, 212616, 212772, 212802, 213535, 213702, 213704, 213707, 213708, 213743, 213839, 213840, 213882, 213898, 216088, 216227, 216363, 216368: Merge the mps(4) driver into stable/8. This is currently only included in GENERIC on amd64, since that is the only architecture it has been tested on. END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-18T17:01:57.105248Z K 7 svn:log V 836 In the MPS driver, during device removal processing, don't assume that the controller firmware will return all of our commands. Instead, keep track of outstanding I/Os and return them to CAM once device removal processing completes. mpsvar.h: Declare the new "io_list" in the mps_softc. mps.c: Initialize the new "io_list" in the mps softc. mps_sas.c: o Track SCSI I/O requests on the io_list from the time of mpssas_action() through mpssas_scsiio_complete(). o Zero out the request structures used for device removal commands prior to filling them out. o Once the target reset task management function completes during device removal processing, assume any SCSI I/O commands that are still oustanding will never return from the controller, and process them manually. Submitted by: gibbs MFC after: 3 days END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-18T17:06:06.305046Z K 7 svn:log V 2076 Fix several issues with the mps(4) driver. When the driver ran out of DMA chaining buffers, it kept the timeout for the I/O, and I/O would stall. The driver was not freezing the device queue on errors. mps.c: Pull command completion logic into a separate function, and call the callback/wakeup for commands that are never sent due to lack of chain buffers. Add a number of extra diagnostic sysctl variables. Handle pre-hardware errors for configuration I/O. This doesn't panic the system, but it will fail the configuration I/O and there is no retry mechanism. So the device probe will not succeed. This should be a very uncommon situation, however. mps_sas.c: Freeze the SIM queue when we run out of chain buffers, and unfreeze it when more commands complete. Freeze the device queue when errors occur, so that CAM can insure proper command ordering. Report pre-hardware errors for task management commands. In general, that shouldn't be possible because task management commands don't have S/G lists, and that is currently the only error path before we get to the hardware. Handle pre-hardware errors (like out of chain elements) for SMP requests. That shouldn't happen either, since we should have enough space for two S/G elements in the standard request. For commands that end with MPI2_IOCSTATUS_SCSI_IOC_TERMINATED and MPI2_IOCSTATUS_SCSI_EXT_TERMINATED, return them with CAM_REQUEUE_REQ to retry them unconditionally. These seem to be related to back end, transport related problems that are hopefully transient. We don't want to go through the retry count for something that is not a permanent error. Keep track of the number of outstanding I/Os. mpsvar.h: Track the number of free chain elements. Add variables for the number of outstanding I/Os, and I/O high water mark. Add variables to track the number of free chain buffers and the chain low water mark, as well as the number of chain allocation failures. Add I/O state flags and an attach done flag. MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-18T17:41:39.493459Z K 7 svn:log V 157 MFC 212441,212492: - Note O_SYNC and O_NOFOLLOW flags in dbopen(3) since r190497. [1] - Bump dates in dbopen(3) and cpuset_getaffinity(2). PR: 150030 [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-18T17:42:29.673694Z K 7 svn:log V 140 MFC 212492: Bump date in cpuset_getaffinity(2). Note, the original commit also affects dbopen(3), however that change is not needed here. END K 10 svn:author V 6 danger K 8 svn:date V 27 2011-02-18T17:43:22.718718Z K 7 svn:log V 110 - add missing if_ devices which were missing and are available as loadable modules too Reviewed by: brucec END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-02-18T19:07:16.357327Z K 7 svn:log V 154 Add a helper script that detects which partition we are on and update the other. MFC after: 1 month Obtained from: FreeNAS Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-18T20:25:30.603007Z K 7 svn:log V 49 Sync: merge r218746 through r218816 from ^/head. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-02-18T20:30:58.560576Z K 7 svn:log V 83 Bugfix: Get per vnet sysctl variables and statistics working. MFC after:3 months. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-18T20:37:09.903345Z K 7 svn:log V 75 sh: Unset some more locale vars in two tests that may cause them to break. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T20:38:05.591858Z K 7 svn:log V 813 For controllers that have TX interrupt moderation capability, request TX completion interrupt for every 8-th frames. Previously dc(4) requested TX completion interrupt if number of queued TX descriptors is greater than 64. This caused a lot of TX completion interrupt under high TX load once driver queued more than 64 TX descriptors. It's quite normal to see more than 64 queued TX descriptors under high TX load. This change reduces the number of TX completion interrupts to be less than 17k under high TX load. Because this change does not generate TX completion interrupt for each frame, add reclaiming transmitted buffers in dc_tick not to generate false watchdog timeouts. While I'm here add check for queued descriptors in dc_txeof() since there is no more work to do when there is no pending descriptors. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-18T20:51:13.575714Z K 7 svn:log V 128 sh: Test that the read builtin passes through all byte values except NUL, newline and backslash. This also passes on stable/8. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-18T20:54:12.656890Z K 7 svn:log V 314 Merge binutils 2.17.50 to head. This brings a number of improvements to x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-18T21:39:09.734901Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@218816 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-18T21:44:53.099295Z K 7 svn:log V 155 Turn off default generation of userland dot symbols on powerpc64 now that we have a binutils that supports it. Kernel dot symbols remain on to assist DDB. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-02-18T22:25:11.665791Z K 7 svn:log V 507 Modify kdb_trap() so that it re-calls the dbbe_trap function as long as the debugger back-end has changed. This means that switching from ddb to gdb no longer requires a "step" which can be dangerous on an already-crashed kernel. Also add a capability to get from the gdb back-end back to ddb, by typing ^C in the console window. While here, simplify kdb_sysctl_available() by using sbuf_new_for_sysctl(), and use strlcpy() instead of strncpy() since the strlcpy semantic is desired. MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T22:58:46.100172Z K 7 svn:log V 128 Make sure to clear status word of TX descriptor in dc_list_tx_init(). Do not update if_opackets if the transmission had failed. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T23:08:05.539279Z K 7 svn:log V 179 There is no need to execute filter configuration when driver is not running. Remove wrong driver state change in dc_setfilt_xircom(). While I'm here nuke unnecessary assignments. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-18T23:18:08.168857Z K 7 svn:log V 246 Fix a long standing bug where driver handed over RX descriptor ownership to controller before completion of access to the descriptor. Driver is faking up status word so it should not give ownership to controller until it completes RX processing. END K 10 svn:author V 3 eri K 8 svn:date V 27 2011-02-18T23:47:58.879482Z K 7 svn:log V 50 Fix compiling ALTQ_REQ/ALTQ_RIO/ALTQ_ECN options. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-19T00:00:32.550722Z K 7 svn:log V 380 Send frames only when there is a valid link and driver is running as well as controller has enough free TX descriptors. Remove check for number of queued frames before attempting to transmit. I guess it was added to allow draining queued frames even if there is no link. I'm under the impression this type of check should be done in upper layer. No other drivers in tree do that. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-19T01:37:28.371803Z K 7 svn:log V 525 Rearrange interrupt handler a bit and remove forever loop. Previously dc(4) always checked whether there is pending interrupts and this consumed a lot of CPU cycles in interrupt handler. Limit the number of processing for TX/RX frames to 16. Also allow sending frames in the loop not to starve TX under high RX load. Reading DC_ISR register should be protected with driver lock, otherwise interrupt handler could be run(e.g. link state change) before the completion of dc_init_locked(). While I'm here remove unneeded code. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-19T02:47:10.950232Z K 7 svn:log V 2696 Split common TX/RX descriptor DMA tag to TX and RX DMA tags respectively and fix all bus_dma(9) issues seen when bounce buffers are used. o Setup frame handling had no bus_dmamap_sync(9) which prevented driver from configuring RX filter. Add missing bus_dmamap_sync(9) in both dc_setfilt_21143()/dc_setfilt_xircom() and dc_txeof(). o Use bus_addr_t for DMA segment instead of using u_int32_t. o Introduce dc_dma_alloc()/dc_dma_free() functions to allocate/free DMA'able memory. o Create two DMA descriptor list for each TX/RX lists. This change will minimize the size of bounce buffers that would be used in each TX/RX path. Previously driver had to copy both TX/RX lists when bounce buffer is active. o 21143 data sheet says descriptor list requires 4 bytes alignment. Remove PAGE_SIZE alignment restriction and use sizeof(struct dc_dec). o Setup frame requires 4 bytes alignment. Remove PAGE_SIZE alignment restriction and use sizeof(struct dc_dec). o Add missing DMA map unload for both setup frame and TX/RX descriptor list. o Overhaul RX handling logic such that make driver always allocate new RX buffer with dc_newbuf(). Previously driver allowed to copy received frame with m_devget(9) after passing the descriptor ownership to controller. This can lead to passing wrong frame to upper stack. o Introduce dc_discard_rxbuf() which will discard received frame and reuse loaded DMA map and RX mbuf. o Correct several wrong bus_dmamap_sync(9) usage in dc_rxeof and dc_txeof. The TX/RX descriptor lists are updated by both driver and HW so READ/WRITE semantics should be used. o If driver failed to allocate new RX buffer, update if_iqdrops counter instead of if_ierrors since driver received the frame without errors. o Make sure to unload loaded setup frame DMA map in dc_txeof and clear the mark of setup frame of the TX descriptor in dc_txeof(). o Add check for possible TX descriptor overruns in dc_encap() and move check for free buffer to caller, dc_start_locked(). o Swap the loaded DMA map and the last DMA map for multi-segmented frames. Since dc_txeof() assumes the last descriptor of the frame has the DMA map, driver should swap the first and the last DMA map in dc_encap(). Previously driver tried to unload not-yet-loaded DMA map such that the loaded DMA map was not unloaded at all for multi-segmented frames. o Rewrite DC_RXDESC/DC_TXDESC macro to simpler one. o Remove definition of ETHER_ALIGN, it's already defined in ethernet.h. With this changes, dc(4) works with bounce buffers and it shall also fix issues which might have shown in PAE environments. Tested by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-19T03:01:24.313492Z K 7 svn:log V 146 Count how many frames driver lost in interrupt handler. This register is cleared on read so make sure to clear it in driver initialization phase. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-19T03:23:19.085436Z K 7 svn:log V 88 Consistently use a tab character instead of space after #define. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-19T03:32:10.390379Z K 7 svn:log V 23 s/u_intXX_t/uintXX_t/g END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-19T07:39:14.889824Z K 7 svn:log V 71 MFC r218327: Clear the padding when returning context to the usermode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-19T07:45:17.352014Z K 7 svn:log V 52 MFC r218329: Fix kernel linkage without device npx. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-19T07:47:25.948743Z K 7 svn:log V 173 v_mountedhere is a member of the union. Check that the vnodes have proper type before using the member. Reported and tested by: Michael Butler END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-19T09:08:13.973283Z K 7 svn:log V 239 In the distribution list, 'A' is listed as the key to press to select both 'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the conflict. PR: bin/153809 Submitted by: Janne Snabb MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-19T09:24:24.406037Z K 7 svn:log V 206 Remove the quotas option from the Startup Services menu. GENERIC has no support for quotas so this option has no effect. PR: bin/123237 Submitted by: Lawrence Mayer MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-19T09:33:53.096759Z K 7 svn:log V 117 Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/113979 MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-19T10:32:12.394281Z K 7 svn:log V 78 MFi386: revision 218745 Remove reading of symbols from a.out loaded files. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-19T10:36:05.326912Z K 7 svn:log V 112 MFi386: revision 218744 To avoid excessive code duplication create wrapper for fill regs from stack frame. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-02-19T11:06:00.972618Z K 7 svn:log V 263 Improve 256 color support. - Add screen-256color, - Improve rxvt-256color to set pa and op properly. - Add rxvt-unicode-256color as an alias to rxvt-256color. PR: conf/152713, conf/153164 Submitted by: Alexander Verbod and Frédéric Perrin MFC after: 2 weeks END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-19T11:09:38.332384Z K 7 svn:log V 33 Add support to set a slice name. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-02-19T11:31:56.064116Z K 7 svn:log V 97 Properly styleify utmpx code and document error codes in man page. Submitted by: Garrett Cooper END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-02-19T11:44:04.948922Z K 7 svn:log V 369 Add a utility, utxrm(8). Most of the ports I broke when I imported utmpx, were simple management utilities for the utmp database, allowing you to add/remove entries manually. Add a small tool called utxrm(8), which allows you to remove an entry from the utmpx database by hand. This is useful when a login daemon crashes or fails to remove the entry during shutdown. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-19T11:44:46.056169Z K 7 svn:log V 82 MFC: revision 218390 Clear the padding when returning context to the usermode. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-02-19T11:47:48.450449Z K 7 svn:log V 70 MFC: revision 218391 Fix linking of the kernel without device npx. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-19T13:22:18.145908Z K 7 svn:log V 75 sh: Make execution/fork1.0 work even if the basename of ${SH} is not "sh". END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-19T13:23:13.041187Z K 7 svn:log V 77 sh: Do not use "local" in the test runner as POSIX and ksh93 do not have it. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-19T14:27:14.627724Z K 7 svn:log V 393 Don't restore old mount options and flags if VFS_MOUNT(9) succeeds but vfs_export() fails. Restoring old options and flags after successful VFS_MOUNT(9) call may cause the file system internal state to become inconsistent with mount options and flags. Specifically the FFS super block fs_ronly field and the MNT_RDONLY flag may get out of sync. PR: kern/133614 Discussed on: freebsd-hackers END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-19T14:49:49.141777Z K 7 svn:log V 43 The PC98 gpart module supports labels now. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-19T14:57:00.805528Z K 7 svn:log V 127 Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-19T15:22:06.453647Z K 7 svn:log V 129 Don't present the user with spurious errors when overwriting a disk with a deleted, but uncommitted, gpart. Reported by: brucec END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-19T17:09:26.416091Z K 7 svn:log V 121 Use the "magic constant" we use elsewhere in the tree in the switch, rather than just the plain number for IP version 6. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-19T17:10:10.785019Z K 7 svn:log V 58 Make compile without INET6 (not sure about w/o INET yet). END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-19T17:11:13.867085Z K 7 svn:log V 77 Remove the no longer used pf_subr.c and add pf_lb.c to the files to compile. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-19T17:13:32.467199Z K 7 svn:log V 123 Add missing include for VNET. Make sysctl compile[1]. Correctly set CURVNET(). Whitespace noise. Submitted by: dim [1] END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-19T17:14:03.096491Z K 7 svn:log V 36 Unify and cleanup module Makefiles. END K 10 svn:author V 4 miwi K 8 svn:date V 27 2011-02-19T17:38:51.797694Z K 7 svn:log V 151 - Add support for MosChip 9865 Single 1284 Printer port PR: kern/152663 Submitted by: Jonathan Chen Approved by: rwatson (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-19T17:44:13.138243Z K 7 svn:log V 12 IFC r218861 END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-19T21:04:36.927382Z K 7 svn:log V 180 tmpfs_remove() isn't modifying the file's data, so it shouldn't set TMPFS_NODE_MODIFIED on the node. PR: 152488 Submitted by: Anton Yuzhaninov Reviewed by: kib MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-19T22:53:50.938618Z K 7 svn:log V 133 Add more udav device ID's. Submitted by: Rick van der Zwet MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-20T00:59:39.971071Z K 7 svn:log V 68 Add a note about AXFR of important zones being available from ICANN END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:02:11.552359Z K 7 svn:log V 444 MFC r217353: - Add a locked variant of jme_start() and invoke it directly while holding the lock instead of queueing it to a task. - Do not invoke jme_rxintr() to reclaim any unprocessed but received packets when shutting down the interface. Instead, just drop these packets to match the behavior of other drivers. - Hold the driver lock in the interrupt handler to avoid races with ioctl requests to down the interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:05:35.191383Z K 7 svn:log V 444 MFC r217353: - Add a locked variant of jme_start() and invoke it directly while holding the lock instead of queueing it to a task. - Do not invoke jme_rxintr() to reclaim any unprocessed but received packets when shutting down the interface. Instead, just drop these packets to match the behavior of other drivers. - Hold the driver lock in the interrupt handler to avoid races with ioctl requests to down the interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:08:49.325092Z K 7 svn:log V 128 MFC r217379: - Move ether_ifdetach() earlier and remove now-unneeded IN_DETACH flag. - Expand locking in interrupt handler. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:10:14.944597Z K 7 svn:log V 128 MFC r217379: - Move ether_ifdetach() earlier and remove now-unneeded IN_DETACH flag. - Expand locking in interrupt handler. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:15:26.712306Z K 7 svn:log V 273 MFC r218141: alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id via PCI accessor. Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:16:59.633819Z K 7 svn:log V 273 MFC r218141: alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id via PCI accessor. Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:20:49.105737Z K 7 svn:log V 143 MFC r217794: Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:22:48.340937Z K 7 svn:log V 143 MFC r217794: Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:24:59.865835Z K 7 svn:log V 607 MFC r215432: MCP55 is the only NVIDIA controller that supports VLAN tag insertion/stripping and it also supports TSO over VLAN. Implement TSO over VLAN support for MCP55 controller. While I'm here clean up SIOCSIFCAP ioctl handler. Since nfe(4) sets ifp capabilities based on various hardware flags in device attach, there is no need to check hardware flags again in SIOCSIFCAP ioctl handler. Also fix a bug which toggled both TX and RX checksum offloading even if user requested either TX or RX checksum configuration change. Tested by: Rob Farmer ( rfarmer <> predatorlabs dot net ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-20T01:26:29.528164Z K 7 svn:log V 607 MFC r215432: MCP55 is the only NVIDIA controller that supports VLAN tag insertion/stripping and it also supports TSO over VLAN. Implement TSO over VLAN support for MCP55 controller. While I'm here clean up SIOCSIFCAP ioctl handler. Since nfe(4) sets ifp capabilities based on various hardware flags in device attach, there is no need to check hardware flags again in SIOCSIFCAP ioctl handler. Also fix a bug which toggled both TX and RX checksum offloading even if user requested either TX or RX checksum configuration change. Tested by: Rob Farmer ( rfarmer <> predatorlabs dot net ) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-20T03:35:59.783338Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@218875 END K 10 svn:author V 6 murray K 8 svn:date V 27 2011-02-20T05:29:00.085613Z K 7 svn:log V 160 Add complex(3) manual page documenting our partial support for C99 complex arithmetic in libm. Reviewed by: David Schultz MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2011-02-20T07:46:35.899292Z K 7 svn:log V 125 Merge changes from HEAD up to r218821. This is to ease the merge of binutils 2.17 which is needed for an ARM EABI userland. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-20T07:58:30.709899Z K 7 svn:log V 170 Do not clobber %rdx. Before calling vfork() syscall the linux user-space stores the current PID in the %rdx and restore it when the parent process will leave the kernel. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-20T09:17:59.839006Z K 7 svn:log V 122 MFC r218670: Lock the vnode around clearing of VV_TEXT flag. Remove mp_fixme() note mentioning that vnode lock is needed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-20T09:52:29.576325Z K 7 svn:log V 82 Add restrict keyword to pthread_sigmask prototype and manpage. MFC after: 1 week END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-20T11:29:40.572911Z K 7 svn:log V 171 MFH r218089: syscons: install all available kbdmaps eee_nordic.kbd, us.dvorakl.kbd, and us.dvorakr.kbd were not installed. Found by: Neil Short END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-20T11:30:12.655185Z K 7 svn:log V 155 MFH r218089: syscons: install all available kbdmaps us.dvorakl.kbd, and us.dvorakr.kbd were not installed. Found by: Neil Short END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T12:55:16.226935Z K 7 svn:log V 28 Temporarily raise my limit. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T12:57:14.853885Z K 7 svn:log V 88 Vendor import of llvm trunk r126079: http://llvm.org/svn/llvm-project/llvm/trunk@126079 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T12:59:03.670730Z K 7 svn:log V 18 Tag llvm r126079. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T13:06:31.325269Z K 7 svn:log V 88 Vendor import of clang trunk r126079: http://llvm.org/svn/llvm-project/cfe/trunk@126079 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T13:07:10.266363Z K 7 svn:log V 19 Tag clang r126079. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-20T14:18:58.535425Z K 7 svn:log V 128 sh: Split off some special behaviour into separate tests. This allows some other shells to pass the tests for basic behaviour. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-20T16:16:42.895740Z K 7 svn:log V 56 Remove a hack made obsolete by the binutils 2.17 merge. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-20T17:28:58.066773Z K 7 svn:log V 63 sh: Add some tests for omitting whitespace whereever possible. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-20T17:54:49.355442Z K 7 svn:log V 35 Add notes about ASCII/Hex WEP keys END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T19:33:47.541828Z K 7 svn:log V 183 Upgrade our copy of llvm/clang to r126079, from upstream's trunk. This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-20T21:58:07.860205Z K 7 svn:log V 97 Clang now supports profiling, so remove the part that says it doesn't from sys/conf/kern.pre.mk. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-20T22:25:23.102605Z K 7 svn:log V 490 Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3 and k8-sse3 cpu-types for -march=/-mtune= gcc options. These new cpu-types include the SSE3 instruction set that is supported by all newer AMD Athlon 64 and Opteron processors. All three cpu-types are supported by clang and all gcc versions starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed). PR: gnu/154906 Discussed with: kib, kan, dim Obtained from: gcc 4.3 (r124339, GPLv2 licensed) MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-20T22:32:21.188002Z K 7 svn:log V 247 Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T00:47:39.753353Z K 7 svn:log V 900 MFC r217246,217832: r217246: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration in different location of TX descriptor. TSO is enabled by default for controllers that use new descriptor format. For old controllers, TSO is still disabled by default due to broken frames under certain conditions but users can enable it. Special thanks to Hayes Wang at RealTek. r217832: Disable TSO for all Realtek controllers. Experimentation showed RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I have did not show such problem so it could be RTL8111C specific issue. Because there are too many variants it's hard to tell how many controllers have such issue. Just disable TSO by default but have user override it. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T00:50:48.885775Z K 7 svn:log V 900 MFC r217246,217832: r217246: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration in different location of TX descriptor. TSO is enabled by default for controllers that use new descriptor format. For old controllers, TSO is still disabled by default due to broken frames under certain conditions but users can enable it. Special thanks to Hayes Wang at RealTek. r217832: Disable TSO for all Realtek controllers. Experimentation showed RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I have did not show such problem so it could be RTL8111C specific issue. Because there are too many variants it's hard to tell how many controllers have such issue. Just disable TSO by default but have user override it. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-21T00:58:50.931448Z K 7 svn:log V 749 MFC r217247,217381-217382,217384-217385: r217247: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so DUMP request for down interface caused request timeout. r217381: Allow TX/RX checksum offloading to be configured independently. r217382: re_reset() should be called only after setting device specific features. r217384: Make sure to check validity of dma maps before destroying. r217385: If driver is not able to allocate RX buffer, do not start driver. While I'm here move RX buffer allocation and descriptor initialization up to not touch hardware registers in case of RX buffer allocation failure. END