ƒ³.223331 176 566 383 178 198 150 168 168 186 186 135 176 161 1564 1564 318 241 196 360 308 440 293 258 326 264 169 247 325 180 162 461 238 99 162 318 140 260 433 129 218 288 126 137 308 177 141 124 305 298 110 182 328 577 166 116 128 394 344 344 165 165 275 418 418 1830 1830 1855 1855 174 174 120 120 177 177 147 652 203 321 143 169 169 162 170 181 214 147 202 140 165 253 214 168 259 611 825 147 883 206 127 185 131 210 167 141 182 99 379 524 162 180 307 340 388 457 163 157 233 242 214 126 168 168 99 263 120 172 111 182 118 646 133 179 187 370 290 151 578 281 141 213 162 113 178 213 139 239 193 1152 484 331 117 114 153 148 275 797 397 746 950 417 232 208 125 125 125 334 255 176 154 223 533 1098 97 101 143 237 413 K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-20T11:46:03.256188Z K 7 svn:log V 470 Add a callback for ADDBA response timeouts. TX for the given TID needs to be paused during ADDBA requests (and unpaused once the session is established.) Since net80211 currently doesn't implement software aggregation, if this pause/unpause is done in the driver (as it is in my development branch) then it will need to be unpaused both on ADDBA response and on ADDBA timeout. This callback allows the driver to unpause TX for the relevant TID. Reviewed by: bschmidt END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-20T12:22:30.208087Z K 7 svn:log V 291 Change the way how we update bootcode for BSD scheme. Since the only parameter that we check is size of bootcode, then allow only two sizes: size of boot1 and size of /boot/boot. This partially protects users from losing ability to boot if incorrect bootcode is specified. Requested by: ru END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-20T12:32:59.022531Z K 7 svn:log V 87 MFC r222742: Do not return EINVAL when user does `ipfw set N flush` on an empty set. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-20T12:35:12.237083Z K 7 svn:log V 106 Leave an extra comment about flowtable and IPv6 support rectifying a previous comment. MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-06-20T12:40:21.608311Z K 7 svn:log V 58 Added more SUJ test cases (suj18 will be added later on). END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-20T13:46:38.963552Z K 7 svn:log V 77 MFC r222744: Increase buffer size for the command line. PR: bin/125370 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-20T13:46:57.314069Z K 7 svn:log V 77 MFC r222744: Increase buffer size for the command line. PR: bin/125370 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-20T13:51:53.676448Z K 7 svn:log V 95 MFC r222745: Initialize co.use_set variable before parsing each new rule. PR: bin/134975 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-20T13:52:14.373978Z K 7 svn:log V 95 MFC r222745: Initialize co.use_set variable before parsing each new rule. PR: bin/134975 END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2011-06-20T15:22:47.161283Z K 7 svn:log V 38 Add missing argument for -h in usage. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-20T16:42:20.282108Z K 7 svn:log V 80 Correct a typo. Submitted by: Fabian Keil MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-20T16:48:00.389821Z K 7 svn:log V 65 Revert r214857 pursudant to 9.0-RELEASE cycle. Requested by: jh END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-20T18:08:34.719154Z K 7 svn:log V 1470 MFC 221346,223049: Handle a rare edge case with nearly full TCP receive buffers. If a TCP buffer fills up causing the remote sender to enter into persist mode, but there is still room available in the receive buffer when a window probe arrives (either due to window scaling, or due to the local application very slowing draining data from the receive buffer), then the single byte of data in the window probe is accepted. However, this can cause rcv_nxt to be greater than rcv_adv. This condition will only last until the next ACK packet is pushed out via tcp_output(), and since the previous ACK advertised a zero window, the ACK should be pushed out while the TCP pcb is write-locked. To guarantee this, advance the advertised window (rcv_adv) even if we advertise a zero window. During the window while rcv_nxt is greather than rcv_adv, a few places would compute the remaining receive window via rcv_adv - rcv_nxt. However, this value was then (uint32_t)-1. On a 64 bit machine this could expand to a positive 2^32 - 1 when cast to a long. In particular, when calculating the receive window in tcp_output(), the result would be that the receive window was computed as 2^32 - 1 resulting in advertising a far larger window to the remote peer than actually existed. Fix various places that compute the remaining receive window to either assert that it is not negative (i.e. rcv_nxt <= rcv_adv), or treat the window as full if rcv_nxt is greather than rcv_adv. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-20T18:08:52.007560Z K 7 svn:log V 1470 MFC 221346,223049: Handle a rare edge case with nearly full TCP receive buffers. If a TCP buffer fills up causing the remote sender to enter into persist mode, but there is still room available in the receive buffer when a window probe arrives (either due to window scaling, or due to the local application very slowing draining data from the receive buffer), then the single byte of data in the window probe is accepted. However, this can cause rcv_nxt to be greater than rcv_adv. This condition will only last until the next ACK packet is pushed out via tcp_output(), and since the previous ACK advertised a zero window, the ACK should be pushed out while the TCP pcb is write-locked. To guarantee this, advance the advertised window (rcv_adv) even if we advertise a zero window. During the window while rcv_nxt is greather than rcv_adv, a few places would compute the remaining receive window via rcv_adv - rcv_nxt. However, this value was then (uint32_t)-1. On a 64 bit machine this could expand to a positive 2^32 - 1 when cast to a long. In particular, when calculating the receive window in tcp_output(), the result would be that the receive window was computed as 2^32 - 1 resulting in advertising a far larger window to the remote peer than actually existed. Fix various places that compute the remaining receive window to either assert that it is not negative (i.e. rcv_nxt <= rcv_adv), or treat the window as full if rcv_nxt is greather than rcv_adv. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-20T21:28:50.067651Z K 7 svn:log V 226 Add global -d and -e options to either print device numbers (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Reviewed by: jhb Sponsored by: Sandvine Incorporated MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-20T21:31:01.089790Z K 7 svn:log V 145 - Remove MD usage of pc_cpumask and pc_other_cpus. [1] - Remove CTASSERTs which no longer need to hold since r222813. Submitted by: attilio [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-20T21:36:53.624187Z K 7 svn:log V 100 As astopgap minimize the sched_lock coverage in pmap_activate() in order to reduce lock contention. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-20T21:57:26.836286Z K 7 svn:log V 262 Fix the new NFSv4 server so that it allows Access and Readlink operations while traversing non-exported file systems. This is required for some non-FreeBSD clients to do NFSv4 mounts. Found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-20T22:02:01.571965Z K 7 svn:log V 210 Fix the new NFSv4 server so that it only allows Lookup of directories and symbolic links when traversing non-exported file systems. Found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-06-20T22:59:29.039112Z K 7 svn:log V 347 Eliminate some global tuneables in favor of adapter-specific, particular flow control and dma coalesce. Also improve the sysctl operation on those too. Add IPv6 detection in the ioctl code, this was done for ixgbe first, carrying that over. Add resource ability to disable particular adapter. Add HW TSO capability so vlans can make use of TSO END K 10 svn:author V 5 jamie K 8 svn:date V 27 2011-06-20T23:04:13.258410Z K 7 svn:log V 198 Following r222465: Check for IPv4 or IPv6 to be available by the kernel to not provoke errors trying to query options not available. Make it possible to compile out INET or INET6 only parts. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T03:05:17.632714Z K 7 svn:log V 165 Mark the card as bad on shutdown. This means that bus_child_present will return false on shutdown and massive spewage from usb disappears for usb cardbus adapters. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T03:07:59.762903Z K 7 svn:log V 233 When we see an interrupt status of 0xffffffff, check to see if the child is still present. If not, return 'handled' and don't print anything (this is expected behavior). We expect an interrupt on eject, power-down and/or shutdown. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-21T03:42:00.063834Z K 7 svn:log V 168 o remove getFunctionAlignment(). It's not part of the class. o set the minimum and preferred function alignment. o set the size and alignment of the jump buffer. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-21T04:06:39.464714Z K 7 svn:log V 78 The "size" param needs no adjusting to stripeoffset. Reported by: Kris Moore END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-21T04:46:00.002104Z K 7 svn:log V 150 Mod the offset padding by alignment. Without this change we may pad too much when underlying GEOM object have a zero stripesize. MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-21T05:27:49.824219Z K 7 svn:log V 229 o Implement IA64TargetLowering::LowerFormalArguments() for just a single case. o Implement IA64TargetLowering::LowerReturn() as empty. o Give a stab at IA64CallingConv.td We now reach IA64FrameLowering::emitPrologue() END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-21T06:06:47.112200Z K 7 svn:log V 89 Do not use SET_HOST_IPLEN() macro for IPv6 packets. PR: kern/157239 MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-21T07:19:03.701422Z K 7 svn:log V 71 Garbage collect never used global, sysctl, externs. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-06-21T08:37:55.402120Z K 7 svn:log V 368 MFC r222897: Intel NM10 chipset's SATA controller has same PCI ID and revision as ICH7's, but has only 2 SATA ports instead of 4. The worst part is that SStatus and SError registers for missing ports are not implemented and return wrong values (0xffffffff), that caused infinite reset loop. Just ignore that SError value while I found no better way to identify them. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-06-21T08:39:09.152002Z K 7 svn:log V 145 MFC r223097: Skip BAR(5) usage for SATA registers access on ICH8M Apples, because for some reason it causes system lock up. Linux does the same. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-21T09:09:53.025774Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-21T09:19:38.237949Z K 7 svn:log V 66 Remove the usage of pc_other_cpus from amd64. Tested by: pluknet END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-21T10:35:20.121006Z K 7 svn:log V 226 When user specifies the bootcode with size smaller than VTOC_BOOTCODE, gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check size of bootcode before writing it. Pointed out by: ru MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-06-21T12:38:40.492984Z K 7 svn:log V 48 Use a non-standard page size that is supported. END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-06-21T14:31:36.982056Z K 7 svn:log V 167 Cleanup www configuration and static files. - Add apache configuration. - Add static files. - Add js/sorttable.js to generate sortable tables and adjust processlogs. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-06-21T17:59:51.468569Z K 7 svn:log V 341 Minor cleanups to ulog-helper: - Remove unneeded linking against libmd. libulog depends on this library, but the ulog-helper tool itself does not. - Change the comment at the top to mention utmpx instead of utmp, wtmp and lastlog. - Simply use user_from_uid() to translate to a username string. - Put variable declarations together. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2011-06-21T19:13:48.467788Z K 7 svn:log V 35 Fix a couple of NULL dereferences. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-21T19:15:23.852564Z K 7 svn:log V 122 Change sparc64 to use the initial exec TLS model, too. This avoids random assertion failures in _malloc_thread_cleanup(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-21T19:29:27.664077Z K 7 svn:log V 195 Use AcpiWalkResources() to parse the resource list from _CRS rather than using a home-rolled loop. While here, add support for 64-bit address range resources. Silence on: acpi@ (older version) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-21T19:31:31.501064Z K 7 svn:log V 34 Minor whitespace and style fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-06-21T19:34:57.041897Z K 7 svn:log V 46 Make ``realpath'' behave like ``realpath .''. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-21T19:58:29.748726Z K 7 svn:log V 210 Fix the new NFSv4 server so that it checks for VREAD_ACL when a client does a Getattr for an ACL and not VREAD_ATTRIBUTES. This was found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-21T20:33:55.257840Z K 7 svn:log V 81 Staticify cleanup() which is not referenced in other places. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-21T20:36:10.753158Z K 7 svn:log V 45 Remove unneeded headers. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-21T20:44:06.755230Z K 7 svn:log V 28 Eliminate unneeded headers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-21T20:47:03.823000Z K 7 svn:log V 209 On machines where we don't need to lock the kernel TSB into the dTLB and thus may basically use the entire 64-bit kernel address space increase the kernel virtual memory to not be limited by VM_KMEM_SIZE_MAX. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-21T20:48:14.248478Z K 7 svn:log V 202 On machines where we don't need to lock the kernel TSB into the dTLB and thus may basically use the entire 64-bit kernel address space reduce VM_KMEM_SIZE_SCALE to 1 allowing kernel to use more memory. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-21T20:50:55.442478Z K 7 svn:log V 15 Fix whitespace END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T20:51:09.624041Z K 7 svn:log V 90 Supress warning that command didn't complete when the parent bus thinks the card is gone. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T20:52:55.207983Z K 7 svn:log V 235 Supress command completion failure warning when the card isn't present. Only call the bus to check if we actually do timeout so we don't affect the normal case (since this case needn't be optimized and this guards against all races). END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-21T21:07:33.004887Z K 7 svn:log V 479 Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the uid<->username mapping cache with an entry when another entry for that uid is already loaded. This fixes a case where the mapping of "toor" would replace "root" when the daemon was started, resulting in no mapping for "root" until the cache entry for "toor" timed out. The algorithm is inefficient, but since it is only done once when the daemon is started up, I don't think that's an issue. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-21T21:30:20.840053Z K 7 svn:log V 74 Fix build with ACPI_DEBUG defined. Submitted by: jkim Pointy hat to: jhb END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T22:16:04.314500Z K 7 svn:log V 24 My broken 'u' key scks! END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T22:17:28.354770Z K 7 svn:log V 36 Really spell suppress the right way END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-06-21T22:45:31.195522Z K 7 svn:log V 301 Minor cleanup: o Consider No CIS a normal event and stop whining about it so much (too many cards are like this, espeically usb/firewire cards). o Add comments to the cis reading code. o Made the read from config space a smidge easier to read and eliminate a loop that can be done mathematically. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:16:40.912102Z K 7 svn:log V 247 MFC r221818: Add initial BCM5719 support. TSO and jumbo frame was intentionally disabled for BCM5719 A0 revision due to known hardware errata. Many thanks to Broadcom for continuing support of FreeBSD. Submitted by: Geans Pin at Broadcom END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:17:48.416580Z K 7 svn:log V 247 MFC r221818: Add initial BCM5719 support. TSO and jumbo frame was intentionally disabled for BCM5719 A0 revision due to known hardware errata. Many thanks to Broadcom for continuing support of FreeBSD. Submitted by: Geans Pin at Broadcom END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:21:19.887928Z K 7 svn:log V 69 MFC r221974: Correctly disable jumbo frame support for BCM5719 A0. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:22:26.106897Z K 7 svn:log V 69 MFC r221974: Correctly disable jumbo frame support for BCM5719 A0. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:35:42.672913Z K 7 svn:log V 178 MFC r222581: Poke correct GPIO pins for newer axe(4) controllers with Marvell PHY. Newer models seem to use different LED mode that requires enabling both GPIO1 and GPIO2. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:38:25.901449Z K 7 svn:log V 321 MFC r222542: If driver is not running, disable interrupts and do not try to process received frames. Previously it was possible to handle RX interrupts even if controller is not fully initialized. This resulted in non-working driver after system is up and running. Reported by: hselasky Tested by: hselasky END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:39:36.433570Z K 7 svn:log V 321 MFC r222542: If driver is not running, disable interrupts and do not try to process received frames. Previously it was possible to handle RX interrupts even if controller is not fully initialized. This resulted in non-working driver after system is up and running. Reported by: hselasky Tested by: hselasky END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:48:13.962479Z K 7 svn:log V 1732 MFC r205091,216860: r205091: Implement Rx checksum offloading for Yukon EC, Yukon Ultra, Yukon FE and Yukon Ultra2. These controllers provide very simple checksum computation mechanism and it requires additional pseudo header checksum computation in upper stack. Even though I couldn't see much performance difference with/without Rx checksum offloading it may help notebook based controllers. Actually controller can compute two checksum value by giving different starting position of checksum computation on received frame. However, for long time, Marvell's checksum offloading engine have been known to have several silicon bugs so don't blindly trust computed partial checksum value. Instead, compute partial checksum twice by giving the same checksum computation position and compare the result. If the value is different it's clear indication of hardware bug. This configuration lose IP checksum offloading capability but I think it's better to take safe route. Note, Rx checksum offloading for Yukon XL was still disabled due to known silicon bug. r216860: Fix endianness bug introduced in r205091. After controller updates control word in a RX LE, driver converts it to host byte order. The checksum value in the control word is stored in big endian form by controller. r205091 didn't account for the host byte order conversion such that the checksum value was incorrectly interpreted on big endian architectures which in turn made all TCP/UDP frames dropped. Make RX checksum offload work on any architectures by swapping the checksum value. Reported by: Sreekanth M. ( kanthms <> netlogicmicro dot com ) Tested by: Sreekanth M. ( kanthms <> netlogicmicro dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T00:49:24.433063Z K 7 svn:log V 1732 MFC r205091,216860: r205091: Implement Rx checksum offloading for Yukon EC, Yukon Ultra, Yukon FE and Yukon Ultra2. These controllers provide very simple checksum computation mechanism and it requires additional pseudo header checksum computation in upper stack. Even though I couldn't see much performance difference with/without Rx checksum offloading it may help notebook based controllers. Actually controller can compute two checksum value by giving different starting position of checksum computation on received frame. However, for long time, Marvell's checksum offloading engine have been known to have several silicon bugs so don't blindly trust computed partial checksum value. Instead, compute partial checksum twice by giving the same checksum computation position and compare the result. If the value is different it's clear indication of hardware bug. This configuration lose IP checksum offloading capability but I think it's better to take safe route. Note, Rx checksum offloading for Yukon XL was still disabled due to known silicon bug. r216860: Fix endianness bug introduced in r205091. After controller updates control word in a RX LE, driver converts it to host byte order. The checksum value in the control word is stored in big endian form by controller. r205091 didn't account for the host byte order conversion such that the checksum value was incorrectly interpreted on big endian architectures which in turn made all TCP/UDP frames dropped. Make RX checksum offload work on any architectures by swapping the checksum value. Reported by: Sreekanth M. ( kanthms <> netlogicmicro dot com ) Tested by: Sreekanth M. ( kanthms <> netlogicmicro dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:42:52.482885Z K 7 svn:log V 1757 MFC r222219,222221,222223,222226-222227,222231,222516: Merge all relevant changes from HEAD to fix long standing instability issues of msk(4). To get desired effect of this merge, cold restarting is required because incorrectly programmed registers are not reset to default value. PR: kern/114631, kern/116853, kern/139093, kern/144206, kern/147824, kern/151169, kern/154591, kern/155636, kern/156493 r222219: Do not blindly clear entire GPHY control register. It seems some bits of the register is used for other purposes such that clearing these bits resulted in unexpected results such as corrupted RX frames or missing LE status updates. For old controllers like Yukon EC it had no effect but it caused all kind of troubles on Yukon Supreme. This change shall improve stability of controllers like Yukon Ultra, Ultra2, Extreme, Optima and Supreme. r222221: Rework store and forward configuration of TX MAC FIFO. Basically it enables store and forward mode except for jumbo frame on Yukon Ultra. r222223: Do not configure RAM registers for controllers that do not have them. These registers are defined only for Yukon XL, Yukon EC and Yukon FE. r222226: Make sure to enable all clocks before accessing registers. Releasing PHY from power down/COMA is done after enabling all clocks. While I'm here remove unnecessary controller reset. r222227: Do not touch ASF related register for controllers that do not have these registers. Also disable Watchdog of ASF microcontroller. r222231: When MTU is changed, check whether driver should be reinitialized or not. If reinitialized is required, clear driver running flag. r222516: Correctly check MAC running status before disabling TX/RX MACs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:44:09.116311Z K 7 svn:log V 1757 MFC r222219,222221,222223,222226-222227,222231,222516: Merge all relevant changes from HEAD to fix long standing instability issues of msk(4). To get desired effect of this merge, cold restarting is required because incorrectly programmed registers are not reset to default value. PR: kern/114631, kern/116853, kern/139093, kern/144206, kern/147824, kern/151169, kern/154591, kern/155636, kern/156493 r222219: Do not blindly clear entire GPHY control register. It seems some bits of the register is used for other purposes such that clearing these bits resulted in unexpected results such as corrupted RX frames or missing LE status updates. For old controllers like Yukon EC it had no effect but it caused all kind of troubles on Yukon Supreme. This change shall improve stability of controllers like Yukon Ultra, Ultra2, Extreme, Optima and Supreme. r222221: Rework store and forward configuration of TX MAC FIFO. Basically it enables store and forward mode except for jumbo frame on Yukon Ultra. r222223: Do not configure RAM registers for controllers that do not have them. These registers are defined only for Yukon XL, Yukon EC and Yukon FE. r222226: Make sure to enable all clocks before accessing registers. Releasing PHY from power down/COMA is done after enabling all clocks. While I'm here remove unnecessary controller reset. r222227: Do not touch ASF related register for controllers that do not have these registers. Also disable Watchdog of ASF microcontroller. r222231: When MTU is changed, check whether driver should be reinitialized or not. If reinitialized is required, clear driver running flag. r222516: Correctly check MAC running status before disabling TX/RX MACs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:47:23.015998Z K 7 svn:log V 78 MFC r222230: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:48:41.753689Z K 7 svn:log V 78 MFC r222230: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:54:49.152763Z K 7 svn:log V 24 MFC r222269: style(9) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:55:47.642779Z K 7 svn:log V 24 MFC r222269: style(9) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:57:31.951432Z K 7 svn:log V 81 MFC r222232: Add 88E8075 Yukon Supreme to the list of supported hardware list. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T01:57:45.920347Z K 7 svn:log V 81 MFC r222232: Add 88E8075 Yukon Supreme to the list of supported hardware list. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-22T02:11:42.441388Z K 7 svn:log V 47 The IOMMU is not involved for the storage bus. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-22T02:18:45.909460Z K 7 svn:log V 555 Remove link state change callback handler. There is no need to register both status change and link state change callbacks. Implement checking valid link in state change callback and poll active link state in vr_tick(). This allows immediate detection of lost link as well as protecting driver from frequent link flips during link renegotiation. taskq implementation was removed because driver now needs to poll link state in vr_tick(). While I'm here do not report current link state if interface is not running. Tested by: n_hibma MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-22T02:23:18.612607Z K 7 svn:log V 102 This is more complicated than I expected. Storage devices need the IOMMU set up, but must not use it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-22T04:11:27.799983Z K 7 svn:log V 220 Free up SPRG1 any time the MMU is enabled. This allows it to be used as a scratch register handling kernel SLB faults, and will eliminate the need (once a special fault handler is written) to lock in kernel SLB entries. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-22T06:27:32.379104Z K 7 svn:log V 49 I knew there was something funny about this line END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-22T06:45:34.889824Z K 7 svn:log V 77 MFC r222805: amdsbwd: update to support SB8xx southbridges PR: kern/157568 END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-22T06:58:42.541960Z K 7 svn:log V 77 MFC r222805: amdsbwd: update to support SB8xx southbridges PR: kern/157568 END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-22T07:08:44.017194Z K 7 svn:log V 70 MFC r222051,222055: usb: change to one-pass probing of device drivers END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-22T07:15:57.121740Z K 7 svn:log V 78 MFC r222670: opensolaris compat / zfs: avoid early overflow in ddi_get_lbolt* END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-22T07:18:14.737981Z K 7 svn:log V 89 MFC r222756: don't use cpuid level 4 in x86 cpu topology detection if it's not supported END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-22T08:01:44.531034Z K 7 svn:log V 116 MFC r222786 and r222790: Improve enumeration of Low- and Full-speed devices connected through a High-speed USB HUB. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-22T08:09:50.642610Z K 7 svn:log V 50 MFC r219221: Remove dependency to ucom from ulpt. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-06-22T08:20:01.716424Z K 7 svn:log V 105 One more braino from me. Pointy hat to: glebius Submitted by: Alexander V. Chernikov END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-22T08:22:29.116135Z K 7 svn:log V 43 MFC r218864 and r223288. Add new USB ID's. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-22T08:52:16.601830Z K 7 svn:log V 68 MFC r213852: - Add support for LibUSB in 32-bit compatibility mode. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-22T08:55:00.275163Z K 7 svn:log V 155 MFC r210823, r211397, r210933, r219101, r213852, r213849 and r208020: - Add support for LibUSB in 32-bit compatibility mode. - Some manpage related fixes. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-22T09:16:32.892909Z K 7 svn:log V 119 MFC r221199: Guard against default ni_chan PR: kern/144642 Submitted by: Arthur Hartwig END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-22T09:55:28.750589Z K 7 svn:log V 77 Document PKT_ALIAS_SKIP_GLOBAL option. Submitted by: Alexander V. Chernikov END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-22T14:27:30.684438Z K 7 svn:log V 163 Begin fleshing out the aggregate session handling code. Document what I see as currently missing, so I don't forget to fill in the gaps and implement this stuff. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-22T14:33:16.086218Z K 7 svn:log V 515 Squirrel away a cheap copy of the sequence number to use in later trechery. When doing A-MPDU, the sequence number of the current packet is needed in order to ensure what's queued to the hardware is within the BAW. When doing aggregation, the sequence number of the current packet is needed to see whether to squeeze said packet into an aggregate. The code could use M_SEQNO() (and I may do that later) but one of my aims is to separate out the code which handles mbufs to the code which does all the rest of it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-22T16:15:15.744850Z K 7 svn:log V 732 Add a helper routine to conditionally modify the start address of a resource allocation from an x86 Host-PCI bridge driver so that it can be reused by the ACPI Host-PCI bridge driver (and eventually the MPTable Host-PCI bridge driver) instead of duplicating the same logic. Note that this means that hw.acpi.host_mem_start is now replaced with the hw.pci.host_mem_start tunable that was already used in the non-ACPI case. This also removes hw.acpi.host_mem_start on ia64 where it was not applicable (the implementation was very x86-specific). While here, adjust the logic to apply the new start address on any "wildcard" allocation even if that allocation comes from a subset of the allowable address range. Reviewed by: imp (1) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-22T16:26:21.913822Z K 7 svn:log V 53 - Reduce namespace to the actually necessary symbols END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-06-22T16:40:45.409154Z K 7 svn:log V 789 Set negative quality to TSC timecounter when C3 state is enabled for Intel processors unless the invariant TSC bit of CPUID is set. Intel processors may stop incrementing TSC when DPSLP# pin is asserted, according to Intel processor manuals, i. e., TSC timecounter is useless if the processor can enter deep sleep state (C3/C4). This problem was accidentally uncovered by r222869, which increased timecounter quality of P-state invariant TSC, e.g., for Core2 Duo T5870 (Family 6, Model f) and Atom N270 (Family 6, Model 1c). Reported by: Fabian Keil (freebsd-listen at fabiankeil dot de) Ian FREISLICH (ianf at clue dot co dot za) Tested by: Fabian Keil (freebsd-listen at fabiankeil dot de) - Core2 Duo T5870 (C3 state available/enabled) jkim - Xeon X5150 (C3 state unavailable) END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-06-22T17:31:50.179222Z K 7 svn:log V 113 Updated to reflect the new block / frag defaults defined by r222319. While here, fix the error handling cleanup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-22T17:55:16.934051Z K 7 svn:log V 35 Use uintXX_t instead of u_intXX_t. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-06-22T17:59:53.452362Z K 7 svn:log V 91 Cosmetic fixes; mostly s/file system/filesystem/g and removing weird indent from messages. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-06-22T18:02:28.046960Z K 7 svn:log V 37 Advertise growfs(8) a little better. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-06-22T18:18:05.612764Z K 7 svn:log V 115 Merge r217202 from head: Add support for the Zeagle N2iTion3 Dive Computer to uplcom(4). Requested by: hselasky END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-22T18:22:53.157224Z K 7 svn:log V 75 Take mux's commit bit into safekeeping per his request. Approved by: core END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-22T18:48:07.107333Z K 7 svn:log V 49 Oops, missed these in 223424. Reported by: jkim END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-06-22T19:14:49.924927Z K 7 svn:log V 88 Add LOGIN_SETCPUMASK and LOGIN_SETLOGINCLASS to the setusercontext(3) calls in ftpd(8). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-22T19:42:32.346278Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-22T19:47:45.483726Z K 7 svn:log V 281 Fix the new NFSv4 client so that it uses the same uid as was used for doing a mount when performing system operations on AUTH_SYS mounts. This resolved an issue when mounting a Linux server. Found during testing at the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-22T20:00:27.947398Z K 7 svn:log V 432 Export AddLink() function from libalias. It can be used when custom alias address needs to be specified. Add inbound handler to the alias_ftp module. It helps handle active FTP transfer mode for the case with external clients and FTP server behind NAT. Fix passive FTP transfer case for server behind NAT using redirect with external IP address different from NAT ip address. PR: kern/157957 Submitted by: Alexander V. Chernikov END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-22T20:04:39.234827Z K 7 svn:log V 66 Remove pc_other_cpus usage from i386 and XEN. Tested by: pluknet END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-22T20:20:49.750943Z K 7 svn:log V 86 - Readd regression tests from previous regex code; probably it will be still useful END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-22T21:04:13.984388Z K 7 svn:log V 214 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to the x86 tree. The $PIR code is still only enabled on i386 and not amd64. While here, make the qpi(4) driver on conditional on 'device pci'. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-22T21:10:12.377523Z K 7 svn:log V 242 Plug an mbuf leak in the new NFS client that occurred when a server replied NFS3ERR_JUKEBOX/NFS4ERR_DELAY to an rpc. This affected both NFSv3 and NFSv4. Found during testing at the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks END K 10 svn:author V 5 jamie K 8 svn:date V 27 2011-06-22T21:18:37.795344Z K 7 svn:log V 293 Advance to the next command before running anything, so errors found in finish_command can be processed properly. Call failed() once in next_command() instead of multiple times in run_command(). Continue processing commands when a no-wait operation (IP__OP or background command) succeeds. END K 10 svn:author V 4 will K 8 svn:date V 27 2011-06-22T21:43:10.147692Z K 7 svn:log V 363 Plumb support for the device advanced information CCB in the ATA XPT. This was previously done only for SCSI XPT in r223081, on which the change in r223089 depended in order to respond to serial number requests. As a result of r223089, da(4) and ada(4) devices register a d_getattr for geom to use to obtain the information. Reported by: ache Reviewed by: ken END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-22T21:53:45.056761Z K 7 svn:log V 67 Clarify tftpd's -d flag in the new TFTP implementation. Bump date. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-22T22:05:37.080171Z K 7 svn:log V 61 Fix typo. Reported by: Nick Mann END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-06-22T22:08:55.979458Z K 7 svn:log V 138 Use USB_VENDOR_OVISLINK define rather than the vendor ID. PR: usb/158142 Submitted by: Robert Millan MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-22T22:55:51.356577Z K 7 svn:log V 145 Bump date. Document the following commands which were added in the new TFTP implementation: blocksize, blocksize2, packetdrop, options, rollover END K 10 svn:author V 4 will K 8 svn:date V 27 2011-06-22T22:55:51.602140Z K 7 svn:log V 120 Return CAM_REQ_INVALID if the SCSI XPT receives an unsupported operation via the XPT_DEV_ADVINFO CCB. Reviewed by: ken END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-06-22T22:56:42.954052Z K 7 svn:log V 33 Fix build on ia64 after r223426. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-22T23:25:24.509928Z K 7 svn:log V 72 Update references to RFC's that the newer TFTP implementation supports. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-22T23:26:04.137385Z K 7 svn:log V 72 Update references to RFC's that the newer TFTP implementation supports. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-22T23:36:01.982212Z K 7 svn:log V 6 - MFC END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-23T00:04:06.882043Z K 7 svn:log V 168 - Manually merge some new files. I don't actually understand how they got lost but mergeinfo is already recorded so the branch should be in a consistent state now. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-23T00:27:45.062963Z K 7 svn:log V 24 MFC r222906: less v444. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-23T00:29:35.762431Z K 7 svn:log V 76 MFC r223341: Correct a typo. Submitted by: Fabian Keil END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-23T00:36:49.548963Z K 7 svn:log V 15 MFC less v444. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-23T02:35:55.607437Z K 7 svn:log V 90 Remove links to mirrorlist.FreeBSD.org. Submitted by: ryusuke Reported by: gavin, brucec END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-23T02:38:06.329489Z K 7 svn:log V 26 Bump &release.manpath.*;. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-23T02:38:36.771918Z K 7 svn:log V 550 Break out most of the HAL related tweaks into a per-HAL instance, rather than global variables. This specifically allows for debugging to be enabled per-NIC, rather than globally. Since the ath driver doesn't know about AH_DEBUG, and to keep the ABI consistent regardless of whether AH_DEBUG is enabled or not, enable the debug parameter always but only conditionally compile in the debug methods if needed. The ALQ support is currently still global pending some brainstorming. Submitted by: ssgriffonuser@gmail.com Reviewed by: adrian, bschmidt END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-23T03:20:11.731205Z K 7 svn:log V 33 Add hypervisor call error codes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-23T03:37:25.327772Z K 7 svn:log V 79 Rework the PS3 disk driver to support NCQ and do its DMA a little differently. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-23T04:06:33.048507Z K 7 svn:log V 87 Use 4 KB pages for storage bus devices, which seems to be what the HV uses internally. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-23T04:35:45.172822Z K 7 svn:log V 269 Use atomic operations to mask and unmask IRQs. This prevents a problem (obvious in retrospect) in which interrupts on one CPU that are temporarily masked can end up permanently masked when a handler on another CPU clobbers the interrupt mask register with an old copy. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-06-23T05:23:59.990925Z K 7 svn:log V 197 Revert to using the page queues lock in vm_page_clear_dirty_mask() on MIPS. (At present, although atomic_clear_char() is defined by atomic.h on MIPS, it is not actually implemented by support.S.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-23T06:53:13.050214Z K 7 svn:log V 56 Fix indenting issues introduced by the previous commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-23T06:55:29.039433Z K 7 svn:log V 482 Re-introduce a global ath_hal_debug again for now, whilst I figure out what to do about the few cases where the HAL state isn't available (regdomain) or isn't yet setup (probe/attach.) The global ath_hal_debug now affects all instances of the HAL. This also restores the ability for probe/attach debugging to work; as the sysctl tree may not be attached at that point. Users can just set the global "hw.ath.hal.debug" to a suitable value to enable probe/attach related debugging. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-23T07:54:03.033009Z K 7 svn:log V 183 - Add more USB templates for various USB device classes - Add basic template support for USB 3.0 - Export definition of template sysctl numbers through usb_ioctl.h MFC after: 7 days END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-23T09:40:46.332362Z K 7 svn:log V 44 Make the result available to check against. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-06-23T09:42:41.974359Z K 7 svn:log V 116 Be consistent with r160968: keep autoSrcAddr flag untouched when node receives NGM_SHUTDOWN. Submitted by: pluknet END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-23T09:43:53.645112Z K 7 svn:log V 65 Add leading zeros when printing the stackframe on __powerpc64__. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-23T09:46:12.119740Z K 7 svn:log V 16 Fix merge typo. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-23T10:35:45.147946Z K 7 svn:log V 81 - Add some comments about the origin of some USB descriptors. MFC after: 7 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-06-23T10:43:36.585084Z K 7 svn:log V 116 Document that autoSrcAddr isn't re-enabled on NGM_SHUTDOWN. Submitted by: Vadim Goncharov END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-23T12:11:43.866486Z K 7 svn:log V 44 add missing #define for the non-debug case. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-06-23T15:10:44.562321Z K 7 svn:log V 146 Fix ATAPI breakage introduced by r223443. It made SCSI commands to ATAPI device to never complete, that caused probe process (system boot) stuck. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2011-06-23T15:28:54.483902Z K 7 svn:log V 98 Merge r216057 from head: Add new device ids. Buffalo (Melco Inc.) WLI-UC-G PR: 141777 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-23T15:53:17.356358Z K 7 svn:log V 1058 The recent change to increase the zfsboot size to 64k made a few BIOSes unhappy (probably they don't handle crossing the 64k boundary, etc.). Fix this by changing zfsldr to use a loop reading from the disk one sector at a time. To avoid trashing the saved copy of the MBR which is used for disk I/O, read zfsboot2 at address 0x9000. This has the advantage that BTX no longer needs to be relocated as it is read into the correct location. However, the loop to relocate zfsboot2.bin can now cross a 64k boundary, so change it to use relative segments instead. (This will need further work if zfsboot2.bin ever exceeds 64k.) While here, stop storing a relocated copy of zfsldr at 0x700. This was only used by the xread hack which has recently been removed (and even that use was dubious). Also, include the BIOS error code as hex when reporting read errors to aid in debugging. Much thanks to Henri Hennebert for patiently testing various iterations of the patch as well as fixing the zfsboot2.bin relocation to use relative segments. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-23T16:21:43.072620Z K 7 svn:log V 388 Unblock the outgoing thread after we performed pmap_switch() to switch the region registers. pmap_switch() returns the pmap for which the region register are currently programmed, which needs to be re-programmed on the CPU the ougoing thread gets switched in. This change does not noticibly change anything or fix known bugs, but does give me a warm fuzzy feeling by being more correct. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-23T16:34:41.906232Z K 7 svn:log V 230 Clear any outstanding atomic reservations when traps are taken. This fixes some interesting bugs (mostly on SMP systems) with atomic operations silently failing in interrupt heavy situations, especially when using overflow pages. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-06-23T17:28:46.408720Z K 7 svn:log V 24 Import ACPICA 20110623. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-06-23T17:30:34.619698Z K 7 svn:log V 21 Tag ACPICA 20110623. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-06-23T17:42:27.188164Z K 7 svn:log V 61 Put back the global for rx processing due to popular demand. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-06-23T20:31:52.785232Z K 7 svn:log V 56 Fix make buildworld -DMODULES_WITH_WORLD Sort opt_ srcs END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-23T20:54:44.033815Z K 7 svn:log V 182 Make GNU as recognize the ARM 'rrx' mnemonic, which can be generated by clang for certain expressions. Code taken from Apple cctools (GPLv2). Submitted by: damjan.marion@gmail.com END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-23T22:21:28.760750Z K 7 svn:log V 696 Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) instead of a PCPU field for curthread. This averts a race on SMP systems with a high interrupt rate where the thread looking up the value of curthread could be preempted and migrated between obtaining the PCPU pointer and reading the value of pc_curthread, resulting in curthread being observed to be the current thread on the thread's original CPU. This played merry havoc with the system, in particular with mutexes. Many thanks to jhb for helping me work this one out. Note that Book-E is in principle susceptible to the same problem, but has not been modified yet due to lack of Book-E hardware. MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T02:30:02.032569Z K 7 svn:log V 299 - Move all USB device ID arrays into so-called sections, sorted according to the mode which they support: host, device or dual mode - Add generic tool to extract these data: tools/bus_autoconf Discussed with: imp Suggested by: Robert Millan PR: misc/157903 MFC after: 14 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-24T02:56:24.750607Z K 7 svn:log V 649 Bring back synchnet() implementation from older tftp implementation. The synchnet() function was converted to a no-op when the new TFTP implementation was committed to FreeBSD. However, this function, as it was in the older code, is needed in order to synchronize between the tftpd server and tftp clients, which may be buggy. Specifically, we had a buggy TFTP client which would send TFTP ACK packets for non-TFTP packets, which would cause the count of packets to get out of whack, causing transfers to fail with the new TFTPD implementation. Obtained from: Juniper Networks Submitted by: Santhanakrishnan Balraj END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-24T03:50:54.983498Z K 7 svn:log V 853 Fixes to newer tftp code in libstand: (1) Coding style changes. (2) If the server does not acknowledge any blocksize option, revert to the default blocksize of 512 bytes. (3) Send ACK if the first packet happens to be the last packet. (4) Do not accept blocksize greater than what was requested. (5) Drop any unwanted OACK received if a tftp transfer is already in progress. (6) Terminate incomplete transfers with a special no-error ERROR packet. Otherwise we rely on the tftp server to time out, which it does eventually, after re-sending the last packet several times and spamming the system log about it every time. This idea is borrowed from the PXE client, which does exactly that. Submitted by: Alexander Kabaev Reviewed and Tested by: Santhanakrishnan Balraj END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T04:16:06.820462Z K 7 svn:log V 319 - Add additional information to the PnP info of USB HUBs children which is now required by bus_autoconf. - Allow interface class matching even if device class is vendor specific. - Update bus_autoconf tool to not generate system and subsystem match lines for the nomatch event. PR: misc/157903 MFC after: 14 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T04:35:58.076026Z K 7 svn:log V 134 - Make sure we don't match the wrong device by adding a match for the bus the device belongs to. PR: misc/157903 MFC after: 14 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-24T05:41:38.487079Z K 7 svn:log V 111 Acknowledge Edwin Groothuis for the major rewrite he did of the tftpd and tftp code to support TFTP blocksize. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-24T07:05:20.498079Z K 7 svn:log V 31 Remove duplicated header files END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-24T07:18:44.543192Z K 7 svn:log V 31 Remove duplicated header files END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-24T07:29:04.350281Z K 7 svn:log V 31 Remove duplicated header files END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T11:14:09.937400Z K 7 svn:log V 236 - Add two new API's to libusb20 which can be used to retrive information about the parent USB device: - libusb20_dev_get_parent_address - libusb20_dev_get_parent_port - Rename libusb20_compat01.c into libusb01.c MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-24T12:30:43.206543Z K 7 svn:log V 159 Import one of the two missing US FCC DFS bands to FCC3. The FCC opened up this band sometime in 2009 (and ath was updated); but regdomain.xml wasn't updated. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-24T12:31:36.314062Z K 7 svn:log V 81 Fix an incorrect frequency band for HT/40 in the FCC SKU. Noticed by: bschmidt@ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-24T12:50:18.158653Z K 7 svn:log V 59 More incorrect HT/40 setups in FCC. Noticed-by: bschmidt@ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-06-24T12:55:16.824332Z K 7 svn:log V 126 Actually, if code had followed style(9), there would be less stupid errors like the one fixed in r223416. Noticed by: julian END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T13:41:46.406284Z K 7 svn:log V 440 MFC 221218: Change rman_manage_region() to actually honor the rm_start and rm_end constraints on the rman and reject attempts to manage a region that is out of range. - Fix various places that set rm_end incorrectly (to ~0 or ~0u instead of ~0ul). - To preserve existing behavior, change rman_init() to set rm_start and rm_end to allow managing the full range (0 to ~0ul) if they are not set by the caller when rman_init() is called. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T13:45:14.448192Z K 7 svn:log V 1004 MFC 221220: Extend the rman(9) API to support altering an existing resource. Specifically, these changes allow a resource to back a relocatable and resizable resource such as the I/O window decoders in PCI-PCI bridges. - rman_adjust_resource() can adjust the start and end address of an existing resource. It only succeeds if the newly requested address space is already free. It also supports shrinking a resource in which case the freed space will be marked unallocated in the rman. - rman_first_free_region() and rman_last_free_region() return the start and end addresses for the first or last unallocated region in an rman, respectively. This can be used to determine by how much the resource backing an rman must be adjusted to accomodate an allocation request that does not fit into the existing rman. While here, document the rm_start and rm_end fields in struct rman, rman_is_region_manager(), the bound argument to rman_reserve_resource_bound(), and rman_init_from_resource(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T13:58:56.548257Z K 7 svn:log V 6 Typo. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-24T14:03:10.750064Z K 7 svn:log V 5 MFC. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-24T14:31:30.303135Z K 7 svn:log V 48 Fix another broken HT40 channel band reference. END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-06-24T14:40:22.059279Z K 7 svn:log V 139 Tidy up a capabilities-related comment. This comment refers to an #ifdef that hasn't been merged [yet?]; remove it. Approved by: rwatson END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-06-24T14:56:38.277316Z K 7 svn:log V 316 Add support for string values with white spaces for ifconfig(8) parameters accepting them (such as description, group). Changes discussed on freebsd-rc. PR: conf/156675 Reported by: "Alexander V. Chernikov" Suggested by: hrs Analyzed with: Alexander V. Chernikov via IRC MFC after: 2 weeks END