ƒ°\182799 185 119 482 298 158 162 138 315 397 145 337 123 225 225 129 781 168 548 137 238 469 196 137 135 163 188 135 194 174 157 162 285 121 254 146 177 129 177 288 160 506 159 184 437 566 341 389 166 431 189 307 367 166 537 296 137 406 630 316 278 148 378 172 297 243 226 234 148 228 244 319 160 173 456 181 126 230 476 3855 972 506 410 292 192 203 376 358 499 682 106 240 175 211 301 568 133 295 334 227 117 145 231 369 150 213 159 234 242 222 218 187 118 600 781 229 312 352 268 372 459 340 458 606 169 169 185 223 213 250 387 174 201 143 134 297 629 125 298 346 227 227 345 345 236 236 199 221 318 304 185 223 229 178 247 190 233 207 159 212 237 228 283 374 505 135 197 235 488 303 115 220 574 566 566 164 164 158 160 296 223 177 177 185 185 260 260 K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-05T20:45:31.885121Z K 7 svn:log V 27 Sort products numerically. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-05T20:49:45.797145Z K 7 svn:log V 389 Keep track of the active buffer on output. For the moment, panic if the device indicates that it wasn't able to write all the data in the buffer out. Ed Schouten doesn't like the idea of a panic here. I think for production code, we need something better. For right now, while we're trying to assess the impact of this issue, a panic is OK. So complain to me, not him if this is hit. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-09-05T21:03:19.494982Z K 7 svn:log V 202 Be consistent about whether these multi-lined macros are separated by a blank line. Some were, some weren't. Decide in favour of the line as it matches what an inline would do, and it's easier to read. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-05T22:17:21.266603Z K 7 svn:log V 63 Add missing files not committed with the latest vendor import. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-05T22:23:41.633654Z K 7 svn:log V 70 Kill bogus #if 1. There's no need for it since usb works these days. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-05T22:24:31.075394Z K 7 svn:log V 43 Merge ath again (addition of wisoc files). END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-05T22:27:10.932246Z K 7 svn:log V 222 Kill vestiges of the special case code we once had in place for usb memory allocation. It was change to include the range in the normal memory area, so these ifdef'd out special cases are no longer useful to keep around. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-05T22:29:50.263903Z K 7 svn:log V 304 Kill bogus #if 0'd stuff for interrupts. They don't happen, and this driver will need more serious help to work with an interrupt driven path. There's many subtleties in driving the DMA engine with interrupts in many configurations. Best to not "guess" what the right way would be and mislead people. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-05T22:30:59.646763Z K 7 svn:log V 53 Turn some lame pseudo-code into a less lame comment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-06T00:25:16.633397Z K 7 svn:log V 240 Read ethernet address from ID registers for RTL8102E/RTL8102EL as reading from EEPROM doesn't seem to work on these controllers. Reported by: Milan Obuch ( freebsd-net at dino dot sk ) Tested by: Milan Obuch ( freebsd-net at dino dot sk ) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-06T05:26:31.087455Z K 7 svn:log V 28 Unbreak ia64: pges are 8KB. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-06T06:01:15.443401Z K 7 svn:log V 127 MFC r182587: If atime is missing, use time at which program started instead of substituting mtime Approved by: re (Ken Smith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-06T06:01:45.119417Z K 7 svn:log V 127 MFC r182587: If atime is missing, use time at which program started instead of substituting mtime Approved by: re (Ken Smith) END K 10 svn:author V 4 jhay K 8 svn:date V 27 2008-09-06T10:12:52.880838Z K 7 svn:log V 36 Chase the ghostscript port changes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-09-06T13:17:35.620122Z K 7 svn:log V 686 Fix double free in setfacl(1). Description from the author: Initially, 'acl' (an 'acl_t *') is allocated, and its ACCESS_ACL and DEFAULT_ACL fields are passed to the 'libc' ACL routines for subsequent allocation. If the '-m' option (merge existing ACL with a new one) is specified, then 'set_acl_mask()' will be called and passed one of the two ACLs. This function, in turn, replaces this given ACL structure by another, freshly allocated. However, the pointer in the 'acl' variable in the caller is not updated. The caller then proceeds to free the ACL, incurring in a double free condition. Submitted by: Pedro Martelletto Approved by: rwatson (mentor) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2008-09-06T14:10:31.912326Z K 7 svn:log V 71 Add myself to the list of ports committers. Approved by: ade (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-06T14:43:32.540805Z K 7 svn:log V 456 Make TIOCCONS use priv_check() instead of checking /dev/console permissions. As discussed with Robert on IRC, checking the permissions on /dev/console to see if we can call TIOCCONS could be unreliable. When we run a chroot() without a devfs instance mounted inside, it won't actually check the permissions on the device node inside the devfs instance. Using the already existing PRIV_TTY_CONSOLE for this seems like a better idea. Approved by: rwatson END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-06T15:21:01.668343Z K 7 svn:log V 45 Document BUS_DMA_NOCACHE. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-06T15:41:58.105200Z K 7 svn:log V 146 Small style(9) nit in . There are a lot of places where we do "#define" instead of "#define". Clean this up a little. END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-09-06T16:47:07.733480Z K 7 svn:log V 376 Export the IPFW_DEFAULT_RULE outside ip_fw2.c. This number in not only the default rule number but also the maximum rule number. User space software such as ipfw and natd should be aware of its value. The software that already includes ip_fw.h should use the defined value. All other a expected to use sysctl (as discussed on net@). MFC after: 5 days. Discussed on: net@ END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:04:44.103359Z K 7 svn:log V 103 fix age calculations (yet again); entries in the q have values relative to the head MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:14:27.313741Z K 7 svn:log V 45 o fix BAR definitions o add 11e reason codes END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:15:55.305491Z K 7 svn:log V 43 purge ni_reqcw; not used and never will be END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:18:38.722108Z K 7 svn:log V 71 o show key indices w/o adjustment o display all key flags symbolically END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-09-06T17:23:37.615469Z K 7 svn:log V 96 Use IPFW_DEFAULT_RULE instead of hardcoded value since now it is available. MFC after: 5 days. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-09-06T17:24:07.402817Z K 7 svn:log V 43 Lock vnode exclusively around insmntque(). END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-09-06T17:26:52.881261Z K 7 svn:log V 101 Check rule numbers against maximum value to avoid rules cleanup due to overflow. MFC after: 5 days. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:29:11.105388Z K 7 svn:log V 82 moreve the aggregation q; it's not being used and there's a better way to do this END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:31:55.715183Z K 7 svn:log V 65 don't do ampdu reordering of fragments; they should never happen END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:33:46.681953Z K 7 svn:log V 70 add IEEE80211_NODE_HT_ALL to collect up all the HT-related node flags END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:38:20.489515Z K 7 svn:log V 192 o validate the ba policy in addba response o leave a check for the max ba window disabled; we accept out of range values and just truncate them but may want to act differently in the future END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:39:31.409400Z K 7 svn:log V 29 put back placeholder comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:42:51.604560Z K 7 svn:log V 161 o kill IEEE80211_NODE_PSUPDATE; it was never used o kill IEEE80211_NODE_CHWUPDATE; it's use was pointless and it was defined wrong (overlap w/ existing flags) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:43:47.446118Z K 7 svn:log V 54 only return the negotiated ampdu density for sta mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:48:25.852113Z K 7 svn:log V 85 use c99 syntax for initializers; this silences warnings with picky compiler settings END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-06T17:51:02.378581Z K 7 svn:log V 37 make all checks if ni_chw consistent END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-09-07T04:35:04.004908Z K 7 svn:log V 84 - Cleanup i8251 related defines. - Move i8255 related defines into a separate file. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-09-07T04:44:24.018695Z K 7 svn:log V 194 - Add the i386_memio_map_load() function to load I/O address table. - Add the bus_space_compare macro for bus_space consistency. - Switch using the bus_space_map_load() in isa_load_resourcev(). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-09-07T04:47:39.890503Z K 7 svn:log V 67 Use bus_space_compare() rather than i386_memio_compare() directly. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-07T05:22:33.223013Z K 7 svn:log V 408 When restoring a directory, allow symlinks to be followed. The full logic here gets a little complex, but the net effect is that the SECURE_SYMLINKS flag will prevent us from ever following a symlink. Without it, we'll only follow symlinks to dirs. bsdtar specifies SECURE_SYMLINKS by default, suppresses it for -P. I've also beefed up the write_disk_secure test to verify this behavior. PR: bin/126849 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-07T06:15:45.465439Z K 7 svn:log V 62 Correct the comments here. PR: bin/126849 MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-09-07T07:55:12.035942Z K 7 svn:log V 92 Initialize vp, so we don't call VOP_UNLOCK() with NULL vnode pointer. Confirmed by: marcus END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-07T11:38:30.134656Z K 7 svn:log V 345 Add a second KASSERT checking for len >= 0 in the tcp output path. This is different to the first one (as len gets updated between those two) and would have caught various edge cases (read bugs) at a well defined place I had been debugging the last months instead of triggering (random) panics further down the call graph. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-07T13:09:04.255927Z K 7 svn:log V 474 Catch a possible NULL pointer deref in case the offsets got mangled somehow. As a consequence we may now get an unexpected result(*). Catch that error cases with a well defined panic giving appropriate pointers to ease debugging. (*) While the concensus was that the case should never happen unless there was a bug, noone was definitively sure. Discussed with: kmacy (about 8 months back) Reviewed by: silby (as part of a larger patch in March) MFC after: 2 months END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-09-07T13:54:57.102933Z K 7 svn:log V 247 - Add a new ioctl for getting the provider name of a geom provider. - Add a routine for looking up a device and checking if it is a valid geom provider given a partial or full path to its device node. Reviewed by: phk Approved by: pjd (mentor) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-09-07T13:58:35.281038Z K 7 svn:log V 295 - Make use of the new and g_device_path utility function in libgeom to avoid duplication of code in fdisk and boot0cfg. Also make use of g_providername to fix an issue with fdisk and boot0cfg not using the correct provider when writing the MBR. Reviewed by: phk Approved by: pjd (mentor) END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-09-07T14:32:03.552197Z K 7 svn:log V 72 Change space -> tab in printed usage output to make it look consistent. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-07T14:44:55.818417Z K 7 svn:log V 339 Convert SYSCTL_INTs for tcp_mssdflt and tcp_v6mssdflt to SYSCTL_PROCs and check that the default mss for neither v4 nor v6 goes below the minimum MSS constant (216). This prevents people from shooting themselves in the foot. PR: kern/118455 (remotely related) Reviewed by: silby (as part of a larger patch in March) MFC after: 2 months END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-09-07T15:19:34.409004Z K 7 svn:log V 93 Bring a paragraph in this manual page a bit closer to the present date. Discussed with: des END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-07T15:20:21.903345Z K 7 svn:log V 215 V_irtualize SVN r182846 tcp_mssdflt/tcp_v6mssdflt procedure based sysctl implementations for VIMAGE the same way we did elsewhere: update the implementation but leave the globals and the SYSCTL statement untouched. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-07T16:39:21.637761Z K 7 svn:log V 274 Segment registers are stored in the uc_mcontext member of the struct l_ucontext. To restore the registers content, trampoline needs to dereference uc_mcontext instead of taking some undefined values from l_ucontext. Submitted by: Dmitry Chagin MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-07T18:15:34.354549Z K 7 svn:log V 71 Add support for MacBook Air. (not tested) Obtained from: mactel-linux END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-07T18:50:25.118648Z K 7 svn:log V 445 Split tcp_mss() in tcp_mss() and tcp_mss_update() where the former calls the latter. Merge tcp_mss_update() with code from tcp_mtudisc() basically doing the same thing. This gives us one central place where we calcuate and check mss values to update t_maxopd (maximum mss + options length) instead of two slightly different but almost equal implementations to maintain. PR: kern/118455 Reviewed by: silby (back in March) MFC after: 2 months END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-07T18:55:55.458847Z K 7 svn:log V 203 Minor cleanup of this config file: o It has been tested only on KB9202, KB9202A and KB9202B boards o Better comments about hints o option o Add newer SX_NOINLINE option. o Fix a few comments END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-09-07T19:10:06.076849Z K 7 svn:log V 42 Use %d to print numfibs MFC after: 1 day END K 10 svn:author V 4 joel K 8 svn:date V 27 2008-09-07T20:25:19.269323Z K 7 svn:log V 312 Fix deactivation of speakers while plugging in headphones on Fujitsu U1010, Lenovo 3k N200 and Acer Aspire 4715Z. Reviewed by: attilio PR: 126216, 126244, 127034 Submitted by: Anton E. Kartashev , Ganael Laplanche , Dennis Generaloff END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-07T20:44:45.701616Z K 7 svn:log V 538 To my reading there are no real consumers of ip6_plen (IPv6 Payload Length) as set in tcpip_fillheaders(). ip6_output() will calculate it based of the length from the mbuf packet header itself. So initialize the value in tcpip_fillheaders() in correct (network) byte order. With the above change, to my reading, all places calling tcp_trace() pass in the ip6 header via ipgen as serialized in the mbuf and with ip6_plen in network byte order. Thus convert the IPv6 payload length to host byte order before printing. MFC after: 2 months END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-09-07T22:08:10.527298Z K 7 svn:log V 219 Re-apply patch from bin/92839 to avoid two possible buffer overflows. For an unknown reason, this seems to have never been applied to vendor sources. PR: bin/92839 Submitted by: Helge Oldach END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-09-07T22:15:41.547976Z K 7 svn:log V 181 Merge from vendor/ntp/dist: r182856: Apply updated patch from bin/92839 to avoid two possible buffer overflows. PR: bin/92839 Submitted by: Helge Oldach END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-07T23:59:27.414684Z K 7 svn:log V 51 Correct a leaking archive_entry in the test suite. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-08T00:41:32.867029Z K 7 svn:log V 285 Commit the no-brainer parts of my space saving kernel experiments. We don't inline the locking primitives, and only grab those parts of mii that we really need. Other space optimizations are too agressive for the generic file (removing all of usb, and loading it as kernel modules). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-08T00:58:12.734466Z K 7 svn:log V 75 Fix a type-aliasing problem in the libarchive test suite, restore WARNS=6. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-09-08T03:18:00.001503Z K 7 svn:log V 200 Revert r180140 for 6.4 and 7.1 where the bridge mac address is taken from the first member, there were problems reported in edge cases and using pppoe. Reviewed by: philip Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-09-08T03:28:26.691086Z K 7 svn:log V 146 Put the bridge mac inheritance behind a sysctl with the default off as this still needs all the edge cases fixed. Submitted by: Eygene Ryabinkin END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-09-08T06:27:00.324960Z K 7 svn:log V 132 - Update the libgeom manpage with a description of g_device_path and g_providername utility functions. Approved by: kib (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-08T06:29:24.956024Z K 7 svn:log V 142 Fix a typo in a comment in the ACPI Fujitsu driver. The word "hotkys" should read "hotkeys". Submitted by: Jille Timmermans END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-08T08:58:29.182665Z K 7 svn:log V 56 Fix inconsistencies in the comments. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-08T09:09:23.313673Z K 7 svn:log V 135 In linux_set_thread_area(), mark pcb as PCB_GS32BIT. This was missed when r180992 was committed. Reviewed by: peter MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-08T09:55:51.179274Z K 7 svn:log V 151 Provide private per-CPU GDTs on amd64. This is required at least for the linux CB_GS32BIT to work. Noted by: nox Reviewed by: peter MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-08T09:59:05.306388Z K 7 svn:log V 226 The pcb_gs32p should be per-cpu, not per-thread pointer. This is location in GDT where the segment descriptor from pcb_gs32sd is copied, and the location is in GDT local to CPU. Noted and reviewed by: peter MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-08T10:27:11.875811Z K 7 svn:log V 68 Bump __FreeBSD_version for per-CPU GDT on amd64. Requested by: nox END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-09-08T10:40:48.854281Z K 7 svn:log V 81 ds133x: Introduce device_identify method; update NOTES. Obtained from: Semihalf END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-09-08T11:41:20.162979Z K 7 svn:log V 361 Pass 1 of mpsafetty-ifying si(4). It compiles and has basic functionality, but needs a lot more work. In particular, it has no flow control and has a tendency to race when giving commands. It still uses Giant for the tty and driver lock, but this is a keep-it-simple feature for now. Some of the [temporary] proliferation of messages lines are way too long. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-09-08T15:49:07.518070Z K 7 svn:log V 89 Streamline #include sections in ds133x and ds1672 drivers. This unbreaks the LINT build. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-09-08T17:13:18.581196Z K 7 svn:log V 29 Note sendmail 8.14.3 upgrade END K 10 svn:author V 4 oleg K 8 svn:date V 27 2008-09-08T18:10:15.765304Z K 7 svn:log V 136 bge_tick(): do not touch PHY if link is up. This should solve problem with extra input errors for some BCM57XX chips. PR: kern/122295 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-08T19:44:57.012933Z K 7 svn:log V 383 Close a race in sleepq_broadcast() where the sleepq could be reused after it had been assigned to the last sleeping thread. That thread might have started running on another CPU and have reused that sleep queue. Fix it by just walking the thread queue using TAILQ_FOREACH_SAFE() rather than a while loop. PR: amd64/124200 Discovered by: tegge Tested by: benjsc MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-08T20:20:44.021609Z K 7 svn:log V 3758 o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to the ncr53c9x.c core where it actually belongs so future front-ends don't need to add it. o Use the correct OFW property when looking for the initiator ID of the SBus device. o Don't specify an alignment when creating the parent DMA tag for SUNW,fas; their DMA engine doesn't require an alignment constraint and it's no inherited by the child DMA tags anyway (which probably is a bug though). o Drop the superfluous sc_maxsync and use sc_minsync instead. The former apparently was added due to a confusion with the maximum frequency used in cam(4), which basically corresponds to the inverse of minimum sync period. o Merge ncr53c9x.c from NetBSD: 1.116: NCRDMA_SETUP() should be called before NCR_SET_COUNT() and NCRCMD_DMA command in ncr53c9x_select(). 1.125: free allocated resources on detach. o Static'ize ncr53c9x_action(), ncr53c9x_init() and ncr53c9x_reset() as these are not required outside of ncr53c9x.c. o In ncr53c9x_attach() don't leak the device mutex in case attaching fails. o Register an asynchronous notification handler so in case cam(4) reports a lost device we can cancel outstanding commands and restore the default parameters for the target in question. o For FAS366 correctly support 16-bit target IDs and let it know that we use 32-bit transfers. o Overhaul the negotiation of transfer settings. This includes distinguishing between current and goal transfer settings of the target so we can renegotiate their goal settings when necessary and correcting the order in which tagged, wide and synchronous transfers are negotiated. o If we are requesting sense, force a renegotiation if we are currently using anything different from asynchronous at 8 bit as the target might have lost our transfer negotiations. o In case of an XPT_RESET_BUS just directly call ncr53c9x_init() instead of issuing a NCRCMD_RSTSCSI, which in turn will issue an interrupt that is treated as an unexpected SCSI bus reset by ncr53c9x_intr() and thus calls ncr53c9x_init(). Remove the now no longer used ncr53c9x_scsi_reset(). o Correct an off-by-one error when setting cpi->max_lun. o In replace printf(9) with device_printf(9) calls where appropriate and in ncr53c9x_action() remove some unnecessarily verbose messages. o In ncr53c9x_sched() use TAILQ_FOREACH() instead of reimplementing it and consolidate two tagging-related target info checks into one. o In ncr53c9x_done() set the CAM status to CAM_SCSI_STATUS_ERROR when appropriate, respect CAM_DIS_AUTOSENSE and teach it to return SCSI status information. o In ncr53c9x_dequeue() ensure the tags are cleared. o Use ulmin() instead of min() where appropriate. o In ncr53c9x_msgout() consistently use the reset label. o When we're interrupted during a data phase and the DMA engine is still active, don't panic but reset the core and the DMA engine as this should be sufficient. Also, the typical problem for triggering this was the lack of renegotiation when requesting sense. o Correctly handle DEVICE RESETs. o Adapt the locking of esp(4) to MPSAFE cam(4). This includes moving the calls of lsi64854_attach() to the bus front-ends so it can pass the esp(4) mutex to bus_dma_tag_create(9). o Change the LSI64854 driver to not create a DMA tag and map for the Ethernet channel as le(4) will handle these on its own as well as sync and unload the DMA maps for the SCSI and parallel port channel after a DMA transfer. o Cam(4)'ify some NetBSD-centric comments. o Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9) and take advantage of rman_get_rid(9) in order to save some softc members. Reviewed by: scottl MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-08T20:38:48.226064Z K 7 svn:log V 876 USIII and beyond CPUs have stricter requirements when it comes to synchronization needed after stores to internal ASIs in order to make side-effects visible. This mainly requires the MEMBAR #Sync after such stores to be replaced with a FLUSH. We use KERNBASE as the address to FLUSH as it is guaranteed to not trap. Actually, the USII synchronization rules also already require a FLUSH in pretty much all of the cases changed. We're also hitting an additional USIII synchronization rule which requires stores to AA_IMMU_SFSR to be immediately followed by a DONE, FLUSH or RETRY. Doing so triggers a RED state exception though so leave the MEMBAR #Sync. Linux apparently also has gotten away with doing the same for quite some time now, apart from the fact that it's not clear to me why we need to clear the valid bit from the SFSR in the first place. Reviewed by: nwhitehorn END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-08T21:24:25.460496Z K 7 svn:log V 410 For cheetah-class CPUs ensure that the dt512_0 is set to hold 8k pages for all three contexts and configure the dt512_1 to hold 4MB pages for them (e.g. for direct mappings). This might allow for additional optimization by using the faulting page sizes provided by AA_DMMU_TAG_ACCESS_EXT for bypassing the page size walker for the dt512 in the superpage support code. Submitted by: nwhitehorn (initial patch) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-08T21:40:15.284800Z K 7 svn:log V 317 - Reduce scope of #ifdef's in uma_zcreate() call in init_turnstile0(). - Set UMA_ZONE_NOFREE so that the per-turnstile spin locks are type stable to avoid a race where one thread might dereference a lock in a free'd turnstile that was previously used by another thread. Theorized by: tegge (2) MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-09-08T22:43:55.927397Z K 7 svn:log V 198 Add new TAPGIFNAME tap(4) character device ioctl. This is a convenient shortcut to obtain network interface name using file descriptor for character device. Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-09-08T22:44:51.927409Z K 7 svn:log V 99 Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4) character device ioctl's. MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-09T01:36:02.212237Z K 7 svn:log V 108 Fix issue with recovering from transient jumbo mbuf shortage. Submitted by: Chelsio Inc. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-09-09T02:05:03.744299Z K 7 svn:log V 279 We should never call drm_pci_alloc() while holding locks, due the the calls to bus_dma. There were multiple paths that held different locks or no locks at all. This patch ensures that all of the calling paths drop their lock(s) before calling drm_pci_alloc(). Reviewed by: kib END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-09-09T02:18:37.451387Z K 7 svn:log V 261 IGP based radeon cards such as the rs485 and rs690 require that the GART table be un-cached. Our previous memory barrier was not sufficient. This patch allocates the IGP GART tables using the BUS_DMA_NOCACHE flag to get these cards working. Approved by: kib END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-09T07:35:21.682497Z K 7 svn:log V 407 Work around an integer division resulting in 0 and thus the congestion window not being incremented, if cwnd > maxseg^2. As suggested in RFC2581 increment the cwnd by 1 in this case. See http://caia.swin.edu.au/reports/080829A/CAIA-TR-080829A.pdf for more details. Submitted by: Alana Huebner, Lawrence Stewart, Grenville Armitage (caia.swin.edu.au) Reviewed by: dwmalone, gnn, rpaulo MFC After: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-09-09T09:46:36.589736Z K 7 svn:log V 588 Return two fixes from previous backout which does not require review by secteam@ for the reasons mentioned below. 1) Rename /dev/urandom to /dev/random since urandom marked as XXX Deprecated alias in /sys/dev/random/randomdev.c (this is our naming convention and no review by secteam@ required) 2) Set rs_stired flag after forced initialization to prevent double stearing. (this is already in OpenBSD, i.e. they don't have double stearing. It means that this change matches their code path and no additional secteam@ review required) Submitted by: Thorsten Glaser (2) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-09T10:10:03.979212Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-09T10:19:48.221471Z K 7 svn:log V 143 Add workaround for CRC errors seen at 100Mbps on JMC250 A2. While here update chip revision number of JMC250/JMC260 from the latest datasheet. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-09-09T12:31:42.298984Z K 7 svn:log V 81 Remove redundant close(2). Submitted by: kensmith Approved by: rwatson (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-09T13:01:14.814950Z K 7 svn:log V 118 Remove superfluous copyin() of args, structures are already in kernel space. Submitted by: dchagin MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-09-09T14:15:55.937209Z K 7 svn:log V 208 Initialise the SVCAUTH field for new transport structures when they are allocated instead of waiting for the first request. This fixes an issue with rpcbind's support for PMAPPROC_CALLIT. Reviewed by: markm END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-09-09T16:00:17.083112Z K 7 svn:log V 470 Getdents requires padding with 2 bytes instead of 1 byte as with getdents64. The last byte is used for storing the d_type, add this to plain getdents case where it was missing before. Also change the code to use strlcpy instead of plain strcpy. This changes fix the getdents crash we had reports about (hl2 server etc.) PR: kern/117010 MFC after: 1 week Submitted by: Dmitry Chagin (dchagin@) Tested by: MITA Yoshio Approved by: kib (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-09T16:21:25.626158Z K 7 svn:log V 38 Update for new HAL. Reviewed by: sam END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-09-09T17:14:32.413424Z K 7 svn:log V 199 Move call to _malloc_thread_cleanup() so that if this is the last thread, the call never happens. This is necessary because malloc may be used during exit handler processing. Submitted by: davidxu END K 10 svn:author V 3 bms K 8 svn:date V 27 2008-09-09T18:40:50.552763Z K 7 svn:log V 241 Add support to rc.initdiskless for /conf/T/M/remount_subdir. This allows the location of the configuration data to be relocated within the filesystem containing it. A nullfs mount is used in order to achieve this. Obtained from: XORP, Inc. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-09-09T19:59:51.085618Z K 7 svn:log V 132 Add support for the CyberPower CP1500AVRLCD. PR: 126845 Submitted by: gavin Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-09T22:32:30.104325Z K 7 svn:log V 22 Build k8temp on i386. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-09T22:37:29.582949Z K 7 svn:log V 50 Allow building k8temp on i386. MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-10T01:10:17.186115Z K 7 svn:log V 136 - Fix regression with GETMEM - Remove gratuitous bswap macros - check for rev 3 with t3b Obtained from: Chelsio Inc. MFC after: 3 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-09-10T03:40:51.557159Z K 7 svn:log V 272 rename flags and add a ZYD_FLAG_DETACHING flag to indicate we're detaching that when the USB is pulled out forcibly during the driver is running background scan, a page fault can be occurred even if we called usb_rem_task() when detaching. It looks like a kind of races. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-09-10T03:49:08.659405Z K 7 svn:log V 56 Fix path in all includes: remove /mips32 subdirectory END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-10T07:11:08.754324Z K 7 svn:log V 118 Get initial bootstrap of APs working under xen. Note that the APs still blow up in sched_throw(). MFC after: 1 month END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-09-10T09:32:25.551925Z K 7 svn:log V 65 o Correct a comment: a test file size is a four pages not three. END K 10 svn:author V 3 bms K 8 svn:date V 27 2008-09-10T13:08:37.472485Z K 7 svn:log V 141 Add a missing break statement; IFDATA_LINKSPECIFIC would fall through to IFDATA_DRIVERNAME otherwise. Reviewed by: brooks MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-09-10T13:16:41.649369Z K 7 svn:log V 147 Remove VSVTX, VSGID and VSUID. This should be a no-op, as VSVTX == S_ISVTX, VSGID == S_ISGID and VSUID == S_ISUID. Approved by: rwatson (mentor) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-09-10T14:27:34.856364Z K 7 svn:log V 126 Use PAGE_{SIZE,MASK,SHIFT} from machine/param.h rather than hard-coding page size and using sysconf(3). Suggested by: marcel END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-09-10T15:47:31.445504Z K 7 svn:log V 122 If arm.h is going to define WCHAR_TYPE, don't assume WCHAR_TYPE_SIZE doesn't already have a definition. Reported by: imp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T17:41:41.029204Z K 7 svn:log V 95 Add a proper detach method to the est(4) driver using cpufreq_unregister(). MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T17:59:21.009895Z K 7 svn:log V 26 Various whitespace fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T18:06:08.197484Z K 7 svn:log V 507 Some K8 chipsets don't expose all of the PCI devices on bus 0 via PCIe memory-mapped config access. Add a workaround for these systems by checking the first function of each slot on bus 0 using both the memory-mapped config access and the older type 1 I/O port config access. If we find a slot that is only visible via the type 1 I/O port config access, we flag that slot. Future PCI config transactions to flagged slots on bus 0 use type 1 I/O port config access rather than memory mapped config access. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2008-09-10T18:09:52.351400Z K 7 svn:log V 685 Beginning of overhaul of fwcontrol: - Documentation of send_phy_config() - cleanup of malloc's() and added error checking throughout - new capability to iterate over multiple firewire buses - update usage() display - cleanup command line parsing to allow out of order switches - cleanup command line parsing to allow multiple switches per invocation - cleanup grammar of man page a bit - add some ranges to the man page to indicate what values are valid Since fwcontrol's code is the same across 6/7/head this can be applied to all branches after the MFC period. Reviewed by: Dieter freebsd@sopwith.solgatos.com Approved by: mentor Scott scottl@samsco.org MFC after: 60 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T18:36:58.985011Z K 7 svn:log V 136 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and the driver worked ok with them. Tested by: friends of yar END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T18:42:19.143507Z K 7 svn:log V 219 Disable the inline assembly crc32 routine and use the C version instead. The assembly version is reported to be broken on 5.x+. PR: kern/100425 Submitted by: Rashid N. Achilov shelton www.granch.ru MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T19:13:30.669198Z K 7 svn:log V 259 Teach WITNESS about the interlocks used with lockmgr. This removes a bunch of spurious witness warnings since lockmgr grew witness support. Before this, every time you passed an interlock to a lockmgr lock WITNESS treated it as a LOR. Reviewed by: attilio END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-10T19:42:13.257241Z K 7 svn:log V 176 mld_timerresid() returns ms so instead of doing the maths in usec and then dividing down to ms, do the maths in ms. Obtained from: NetBSD mld6.c rev. 1.47 MFC after: 2 months END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-10T20:07:08.064666Z K 7 svn:log V 276 Work around Cheetah+ erratum 34 (USIII+ erratum #10) by relocating the locked entry in it16 slot 0, which typically is occupied by the PROM, and manually entering locked entries in slots != 0. Thanks to Hubert Feyrer for donating the Blade 2000 this change was developed on. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-09-10T20:12:10.827694Z K 7 svn:log V 365 Make sure the TTY has not disappeared out from under us before calling ttydevsw_outwakeup(). This should fix panics which occur after remote login sessions timeout during moderate TTY activity. An example of where this might occur is where a pending write to the terminal is occurring while sshd(8) is shutting down the TTY after a TCP timeout. Submitted by: ed END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-10T20:22:27.415038Z K 7 svn:log V 244 Add drivers for the power management devices found on Fireplane/ Safari- and JBus-based machines. Currently the main purpose of these drivers is debugging of the resource allocation on nexus(4) and the register content of these devices though. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-10T20:53:22.157518Z K 7 svn:log V 362 Revert r177108 and restore r60506 for sparc64 as long as libstand isn't fixed to only open the network device once and not do a open and close dance on every file access; the firmwares of newer sparc64 machines perform an auto-negotiation with every open which in turn causes netbooting to take horribly long if we open and close the device over and over again. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T21:30:35.536207Z K 7 svn:log V 513 Remove an assertion that is no longer correct with the addition of sx_sleep(). During sx_sleep(), we drop the sleepqueue chain lock after putting the thread on the queue but before checking for signals while we release the sx lock. If another thread wakes up the thread that is about to go to sleep during that window, then TDF_SINTR won't be set when the current thread checks for signals. Thus, it isn't accurate to always assert that that flag is set here anymore. Reported by: peter Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T21:53:15.560088Z K 7 svn:log V 77 MFC: Add more PCI IDs including those for ICH10. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T21:55:58.581850Z K 7 svn:log V 77 MFC: Add more PCI IDs including those for ICH10. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-10T22:46:02.549445Z K 7 svn:log V 93 MFC: Use ppc_detach() for device_detach instead of ppc_attach(). Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-10T23:37:06.977881Z K 7 svn:log V 128 MFC 182089: Don't calculate checksum if it has already been validated lro_opt.diff Approved by: re Obtained from: Chelsio Inc. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-10T23:41:49.574480Z K 7 svn:log V 118 MFC 182882: Fix issue with recovering from transient jumbo mbuf shortage. Submitted by: Chelsio Inc Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-11T04:21:05.358393Z K 7 svn:log V 155 MFC: r182594, r182679, r182694, r182899 Bring cxgbtool and corresponding ioctl interfaces up to version 1.5 Approved by: re Obtained from: Chelsio Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-09-11T09:55:54.553640Z K 7 svn:log V 291 Fix the device name spacing. The old logic padded the device name out but assumed the unit number was one digit long; this fails for things like SATA devices which (for me) begin at ad10. Assemble the full device name in a temporary buffer and then calcluate padding based on that string. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-11T11:36:21.375434Z K 7 svn:log V 82 Update insmntque(9) manpage, bringing it close to reality. Reviewed by: brueffer END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-11T11:38:48.807031Z K 7 svn:log V 108 Document make_dev_credf(9), destroy_dev_sched(9) and destroy_dev_drain(9) functions. Reviewed by: brueffer END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-11T11:41:33.985883Z K 7 svn:log V 51 Add a first draft of the cdevpriv(9) documentation END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-11T11:43:47.459194Z K 7 svn:log V 42 Document dev_clone eventhandler interface END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-09-11T12:17:21.624026Z K 7 svn:log V 204 IXP425: split handling of the two QMGR interrupts so they are separately managed. Adjust ixpqmgr_{attach,detach} to comply with device_* interface. Reviewed by: cognet, imp, sam, stass Tested by: cognet END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-09-11T12:36:13.809833Z K 7 svn:log V 536 ARM interrupts improvements. - Fix nexus_setup_intr() abuse of setting up multiple IRQs in one go. Calling arm_setup_irqhandler() in loop is bogus, as there's just one cookie given from the caller and it is overwritten in each iteration so that only the last handler's cookie value prevails. - Proper intr masking/unmasking handling: the IRQ source is masked at PIC level only after the last handler has been removed from the list. Reviewed by: cognet, imp, sam, stass Obtained from: Grzegorz Bernacki gjb ! semihalf dot com END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-09-11T12:39:54.088953Z K 7 svn:log V 33 ARM nexus style(9) improvements. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-09-11T15:28:28.609167Z K 7 svn:log V 200 The ERESTART to EINTR conversion is already done in kern_select so there is no need to repeat it in linux_select(). Submitted by: Dmitry Chagin MFC after: 1 week Approved by: kib (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T18:33:57.950309Z K 7 svn:log V 253 Update the comments above the 0xcf9 register reset attempt to match the code. We only attempt a single reset using this method (a "hard" reset), and we use two writes to ensure there is a 0 -> 1 transition in bit 2 to force a reset. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T18:59:53.791023Z K 7 svn:log V 134 MFC: Use default CPU compiler flags that work on all amd64-capable CPUs when building 32-bit compat libs. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T19:00:21.503041Z K 7 svn:log V 134 MFC: Use default CPU compiler flags that work on all amd64-capable CPUs when building 32-bit compat libs. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T19:08:51.150855Z K 7 svn:log V 252 MFC: Several changes (181759-181762) to allow the "simple" and "client" firewall configurations to be configured (interfaces and attached networks) from rc.conf rather than requiring users to edit /etc/rc.firewall directly. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T19:21:56.513437Z K 7 svn:log V 252 MFC: Several changes (181760-181762) to allow the "simple" and "client" firewall configurations to be configured (interfaces and attached networks) from rc.conf rather than requiring users to edit /etc/rc.firewall directly. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T19:36:03.833463Z K 7 svn:log V 143 MFC: Use single byte read and write operations to toggle the BIOS and OS semaphores rather than 4 byte operations. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T19:37:26.093053Z K 7 svn:log V 143 MFC: Use single byte read and write operations to toggle the BIOS and OS semaphores rather than 4 byte operations. Approved by: re (kensmith) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-11T20:15:34.592277Z K 7 svn:log V 107 Fix two small typo's in comments in the nullfs vnops code. Submitted by: Jille Timmermans END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-09-11T20:32:06.792516Z K 7 svn:log V 124 Makefile.inc already defines OPENSSL if crypto is available/wanted. PR: bin/127296 Submitted by: oliver MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-09-11T20:39:46.250640Z K 7 svn:log V 222 Remove the unused field "pc_prvspace" from the MD fields for the struct pcpu. There's not even a thing such as a "struct pcup". While I'm there, remove a comment that makes no sense for arm. Spotted out by: Mark Tinguely END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-09-11T20:43:38.250003Z K 7 svn:log V 208 Bandaid: disable interrupts to make sure intr_enabled and the IER register are in sync. I'm not sure why it is needed, and why it wouldn't be on other arm platforms, but it prevents a lockup under heavy I/O. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-11T21:42:11.416361Z K 7 svn:log V 93 Add a 'hw.pci.mcfg' tunable. It can be set to 0 to disable memory-mapped PCI config access. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-09-11T22:11:41.126063Z K 7 svn:log V 127 Sweep this man page a bit: - new sentence = new line - use .Dq macro to quote words - some minor rewording MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-11T23:49:36.184893Z K 7 svn:log V 134 MFC 182591 Don't check if an interface can do tcp offload if there are no offload devices registered on the system. Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-11T23:53:08.045221Z K 7 svn:log V 84 MFC 181614 Vendor fix for PHY problem. Approved by: re Obtained from: Chelsio Inc END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-11T23:58:46.764927Z K 7 svn:log V 152 MFC 182899 - Fix regression with GETMEM - Remove gratuitous bswap macros - check for rev 3 with t3b Approved by: re Obtained from: Chelsio Inc. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2008-09-12T03:45:08.705859Z K 7 svn:log V 93 Connect ufoma(4) to build and, disable handsfree interface that is not yet ported to newtty. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-12T03:53:54.265279Z K 7 svn:log V 135 Windows compatibility: The stub replacement for compression_program (which always returns an error when invoked) needs its prototype. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-12T04:03:34.023349Z K 7 svn:log V 109 Portability: Support platforms that lack (struct stat).st_blksize or SSIZE_MAX Of course, FreeBSD has both. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-12T04:08:11.485556Z K 7 svn:log V 62 Portability: Not everyone is lucky enough to have ftruncate() END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-12T04:34:56.000625Z K 7 svn:log V 114 MFC r182838: Correct tar -xP so that it will follow symlinks to existing dirs. Approved by: re (Kostik Belousov) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-12T04:39:07.734307Z K 7 svn:log V 139 MFC r182838: Fix tar -xP to follow symlinks to dirs. Without -P, it still refuses on security grounds. Approved by: re (Kostik Belousov) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-12T05:33:00.828854Z K 7 svn:log V 130 Portability: Don't use symbolic constants when the values are more standard than the names are. Remove some trailing whitespace. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-12T09:49:01.367577Z K 7 svn:log V 190 Remove warning about static LDT segment allocation. Applications continue using it after ~7 years since warning was introduced, and there is no reason to discourage them. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-12T09:51:11.873901Z K 7 svn:log V 281 The user_ldt_alloc() function shall return with dt_lock locked. The user_ldt_free() function shall return with dt_lock unlocked. Error handling code in both functions do not handle this, fix it by doing necessary lock/unlock. While there, fix minor style nits. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-12T09:53:29.237424Z K 7 svn:log V 412 When doing rfork(0), i.e. separating curproc VM from any other user of the same vmspace, decrement the reference count of the shared LDT instead of a newly-made copy. Code factually removed LDT from the process that did rfork(0). Introduce user_ldt_deref() function that does decrement of refcount for the struct proc_ldt, and call it in the rfork(0) case on the shared LDT. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-12T13:04:39.011002Z K 7 svn:log V 43 Remove unneeded comma. Noted by: kensmith END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-12T13:08:12.136924Z K 7 svn:log V 104 MFC r182816: Document BUS_DMA_NOCACHE. MFC r182962: Remove unneeded comma. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T14:41:53.860774Z K 7 svn:log V 142 Use the parent device's DMA tag when creating our own DMA tags. This fixes a panic on sparc64. Reviewed by: Florian Smeets flo kasimir.com END K 10 svn:author V 8 sepotvin K 8 svn:date V 27 2008-09-12T17:40:17.183060Z K 7 svn:log V 390 Make mlxcontrol work with more than one system drive: - When searching for the next system drive, return the next one instead of always returning the first one. - Plug fd lead and make sure that the MLX_NEXT_CHILD ioctl is called on the controller fd, not the disk's one. While there, fix a cut-n-pase error in a warning. Reviewed by: jhb Approved by: kan (mentor) MFC after: 1 month END K 10 svn:author V 8 sepotvin K 8 svn:date V 27 2008-09-12T17:54:50.556814Z K 7 svn:log V 205 Display the sum of the runtime of all the threads in a process when it's multithreaded instead of picking the time of the first thread found. Reviewed by: jhb Approved by: kan (mentor) MFC after: 1 month END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-09-12T18:15:12.916695Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-09-12T18:26:09.165238Z K 7 svn:log V 124 MFC r182722: Fix the sysctl function parameters. We were only querying Sensor 0. Noticed by: des Approved by: re END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-09-12T18:37:52.650876Z K 7 svn:log V 479 MFC r182854 Fix deactivation of speakers while plugging in headphones on Fujitsu U1010, Lenovo 3k N200 and Acer Aspire 4715Z. Reviewed by: attilio PR: 126216, 126244, 127034 Submitted by: Anton E. Kartashev , Ganael Laplanche , Dennis Generaloff Requested by: joel Approved by: re (kib, via joel), imp (mentor, implicit) Obtained from: joel END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-12T19:28:57.794071Z K 7 svn:log V 474 MFC: svn r182885, cvs rev. 1.381 tcp_input.c Work around an integer division resulting in 0 and thus the congestion window not being incremented, if cwnd > maxseg^2. As suggested in RFC2581 increment the cwnd by 1 in this case. See http://caia.swin.edu.au/reports/080829A/CAIA-TR-080829A.pdf for more details. Submitted by: Alana Huebner, Lawrence Stewart, Grenville Armitage (caia.swin.edu.au) Reviewed by: dwmalone, gnn, rpaulo, silby Approved by: re (gnn) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-09-12T19:36:37.298276Z K 7 svn:log V 474 MFC: svn r182885, cvs rev. 1.381 tcp_input.c Work around an integer division resulting in 0 and thus the congestion window not being incremented, if cwnd > maxseg^2. As suggested in RFC2581 increment the cwnd by 1 in this case. See http://caia.swin.edu.au/reports/080829A/CAIA-TR-080829A.pdf for more details. Submitted by: Alana Huebner, Lawrence Stewart, Grenville Armitage (caia.swin.edu.au) Reviewed by: dwmalone, gnn, rpaulo, silby Approved by: re (gnn) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T20:09:05.943873Z K 7 svn:log V 72 MFC: Don't disable USB in the PAE kernel config. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T20:28:13.615161Z K 7 svn:log V 72 MFC: Don't disable USB in the PAE kernel config. Approved by: re (kib) END K 10 svn:author V 8 takawata K 8 svn:date V 27 2008-09-12T20:34:12.641830Z K 7 svn:log V 61 Don't issue CDC request before negotiate the interface role. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-12T20:35:17.035289Z K 7 svn:log V 64 MFC r182739: license change from NetBSD. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:00:11.709659Z K 7 svn:log V 203 MFC: Fix a spin lock LOR when waking up a thread from a process that is swapped out by deferring the wakeup of the swapper kernel process until after releasing sleepq chain locks. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:07:22.896914Z K 7 svn:log V 130 MFC: Only count the number of CPUs in the rendezvous map once, use CPU_ABSENT(), and count up to mp_maxid. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:30:54.605766Z K 7 svn:log V 85 MFC: Add a script to perform simple analysis of a crash dump. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:33:29.867131Z K 7 svn:log V 85 MFC: Add a script to perform simple analysis of a crash dump. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:36:48.132898Z K 7 svn:log V 93 MFC: Fix two places that used && instead of & to test if OBF was set. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:37:37.097019Z K 7 svn:log V 93 MFC: Fix two places that used && instead of & to test if OBF was set. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:40:57.597904Z K 7 svn:log V 167 MFC: Adjust the handling of the various timer frequencies when using the lapic timer to use dynamic divisors and try to keep stathz around 128. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-12T21:41:21.564865Z K 7 svn:log V 167 MFC: Adjust the handling of the various timer frequencies when using the lapic timer to use dynamic divisors and try to keep stathz around 128. Approved by: re (kib) END