ƒ°185733 205 294 205 124 162 136 164 274 437 486 144 167 816 185 2430 258 158 254 453 146 216 866 344 175 342 223 175 121 121 717 175 158 254 403 589 130 124 151 289 240 217 1075 205 1697 132 559 166 154 240 208 241 289 938 197 112 162 123 130 123 311 213 213 166 204 215 122 314 127 142 215 314 327 130 683 683 291 299 240 170 219 764 262 355 229 133 112 148 128 113 117 151 129 125 203 141 269 138 156 155 143 281 116 177 155 133 123 157 265 125 146 124 128 131 111 290 132 410 317 119 114 283 282 145 321 161 209 172 278 256 136 136 111 235 111 224 216 224 216 170 126 135 140 309 130 119 110 1268 98 119 110 137 110 119 110 119 110 119 110 170 632 297 346 287 2227 356 288 318 523 193 281 274 265 158 242 129 129 260 260 978 140 201 129 212 121 122 125 140 125 223 135 132 132 125 125 145 126 297 303 364 242 237 183 227 197 175 485 K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-07T05:49:22.859243Z K 7 svn:log V 197 Commit WIP to move net80211 state changes and scanning to threads in order to simplify drivers. Once complete drivers will be able to sleep during callbacks and not need private taskqueues at all. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-07T06:00:20.942489Z K 7 svn:log V 110 add support for "route shutdown" - allow existing connections to continue to use the route but no future ones END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-07T06:01:09.954258Z K 7 svn:log V 30 add shutdown command to route END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-07T06:18:47.797375Z K 7 svn:log V 62 Now that pmu(4) has features, it should also have a man page. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-07T06:34:50.811947Z K 7 svn:log V 36 Fix spelling error (find -> found). END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-07T07:02:26.732018Z K 7 svn:log V 70 - add refcount and rwlock to llentry - reduce coverage of AFDATA lock END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-07T13:25:06.642381Z K 7 svn:log V 181 Improve usefulness of the panic by printing the pointer to the problematic dquot. In-tree gdb is often unable to get the dq value, so supply it in panic message. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-07T18:32:09.811841Z K 7 svn:log V 344 Use atomic_add_int rather than a simple ++ to ensure no cache races if the power interrupt and init code waiting for the interrupt are running on different CPUs. I haven't seen this make any real difference, but I've also had some reports of odd behavior I can't otherwise explain. It is an infrequent operation, and certainly wouldn't hurt. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-07T18:34:27.111472Z K 7 svn:log V 393 Use '0' rather than PZERO to not change the priority that I'm waiting at. I don't think this will make a huge difference, but I have received a report of a interrupt storm on one 16-bit card that this might fix (chances are it won't, since I think that we may need to check both the CBB registers for the 16-bit card as well as the PCIC registers for power state change). Submitted by: jhb@ END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-07T18:45:30.288138Z K 7 svn:log V 48 Use "allowed_peer" throughout this manual page. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-07T19:17:33.978113Z K 7 svn:log V 75 bring in diagnostic tools that are useful now that we have hal source code END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-07T19:26:34.260821Z K 7 svn:log V 723 New periodic calibration scheme needed for 11n parts that have multiple algorithms and potentially collect multiple samples. Instead of a single calibration interval we now have short and long intervals; the long interval roughly corresponds to the previous single interval. The short interval is used to speedup collection of samples and happens much quicker. We make calls using the short interval until we're told the calibration work is complete at which point we fallback to the long interval. In addition there is a much longer reset interval used to flush all calibration state and cause everthing to start anew. With these changes you can also disable calibration entirely by setting the long interval to zero. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-07T19:29:11.864557Z K 7 svn:log V 93 honor IEEE80211_BPF_CRYPTO for raw xmit; fixes shared key auth in sta mode PR: kern/129022 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-07T19:42:20.016389Z K 7 svn:log V 2334 PROBLEM: putting in a loader config file a line of the form loader_conf_files="foo bar baz" should cause loading the files listed, and then resume with the remaining config files (from previous values of the variable). Unfortunately, sometimes the line was ignored -- actually even modifying the line in /boot/default/loader.conf sometimes doesn't work. ANALYSIS: After much investigation, turned out to be a bug in the logic. The existing code detected a new assignment by looking at the address of the the variable containing the string. This only worked by pure chance, i.e. if the new string is longer than the previous value then the memory allocator may return a different address to store the string hence triggering the detection. SOLUTION: This commit contains a minimal change to fix the problem, without altering too much the existing structure of the code. However, as a step towards improving the quality and reliability of this code, I have introduced a handful of one-line functions (strget, strset, strfree, string= ) that could be used in dozens of places in the existing code. HOWEVER: There is a much bigger problem here. Even though I am no Forth expert (as most fellow src committers) I can tell that much of the forth code (in support.4th at least) is in severe need of a review/refactoring: + pieces of code are replicated multiple times instead of writing functions (see e.g. set_module_*); + a lot of stale code (e.g. "structure" definitions for preloaded_files, kernel_module, pnp stuff) which is not used or at least belongs elsewhere. The code bload is extremely bad as the loader runs with very small memory constraints, and we already hit the limit once (see http://svn.freebsd.org/viewvc/base?view=revision&revision=185132 Reducing the footprint of the forth files is critical. + two different styles of coding, one using pure stack functions (maybe beautiful but surely highly unreadable), one using high level mechanisms to give names to arguments and local variables (which leads to readable code). Note that this code is used by default by all FreeBSD installations, so the fragility and the code bloat are extremely damaging. I will try to work fixing the three items above, but if others have time, please have a look at these issues. MFC after: 4 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-07T21:15:43.330541Z K 7 svn:log V 163 - convert radix node head lock from mutex to rwlock - make radix node head lock not recursive - fix LOR in rtexpunge - fix LOR in rtredirect Reviewed by: sam END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-07T21:32:56.478519Z K 7 svn:log V 62 Restore opt_inet.h include which was lost in the last commit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-07T22:49:47.861917Z K 7 svn:log V 161 Minor tweaks to some of the comments. Also, add a XXX wondering if we need to frob the 16-bit EXCA registers during the new interrupt-driven power-up sequence. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-07T23:02:37.799763Z K 7 svn:log V 357 - According to the corresponding Linux, NetBSD and OpenSolaris drivers, there should be a 1us delay after every write when bit-banging the MII. Also insert barriers in order to ensure the intended ordering. These changes hopefully will solve the bus wedging occasionally experienced with DM9102A since r182461. - Deobfuscate dc_mii_readreg() a bit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-08T00:28:21.853837Z K 7 svn:log V 54 Add missing include to sys/lock.h before sys/rwlock.h END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-08T01:44:18.325860Z K 7 svn:log V 119 Make sure to return the result of meida change request. Previously it used to return success regardless of the result. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-08T02:34:13.780740Z K 7 svn:log V 769 o Implemented miibus_statchg handler. It detects whether re(4) established a valid link or not. In miibus_statchg handler add a check for established link is valid one for the controller(e.g. 1000baseT is not a valid link for fastethernet controllers.) o Added a flag RE_FLAG_FASTETHER to mark fastethernet controllers. o Added additional check to know whether we've really encountered watchdog timeouts or missed Tx completion interrupts. This change may help to track down the cause of watchdog timeouts. o In interrupt handler, removed a check for link state change interrupt. Not all controllers have the bit and re(4) did not rely on the event for a long time. In addition, re(4) didn't request the interrupt in RL_IMR register. Tested by: rpaulo END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-08T02:37:08.834625Z K 7 svn:log V 243 Add facilities to pmu(4) to interrogate battery status on Apple PowerPC laptops. This includes battery presence detection, charging status, current and voltage readouts, and charge level indication. The sysctl interface is somewhat ACPI-like. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-08T02:38:13.605518Z K 7 svn:log V 75 Accidentally left ADB out of the PowerPC NOTES file during initial import. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-08T02:48:41.594002Z K 7 svn:log V 245 Reduce spin wait time consumed in GMII register access routines. Waiting for 1ms for each GMII register access looks overkill and it may also decrease overall performance of driver because re(4) invokes mii_tick for every hz. Tested by: rpaulo END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-08T03:00:45.190325Z K 7 svn:log V 122 Clean up the mac GPIO interface a little. Also remove bogus copyright and 3rd license clause. Submitted by: Marco Trillo END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-08T03:48:03.384345Z K 7 svn:log V 79 mutex.h is needed here. It got it by namespace pollution. Pointed out by: bde END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-08T06:53:53.942519Z K 7 svn:log V 27 replace rtfree with RTFREE END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-08T06:54:24.635538Z K 7 svn:log V 27 replace rtfree with RTFREE END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-08T11:04:17.035349Z K 7 svn:log V 624 The dqrele() function syncs the dq, then acquires the dqh lock, and then does final drop of the the dq reference to put it onto the free list. There is a possibility that the dq would be found by another thread after sync and before the dqh lock is acquired. If that other thread drops the dq before we have taken the dqh lock, the dirty dq is put on the free list. Recheck the DQ_MOD after the dqh lock is relocked. Repeat dqsync() if the dq is dirty. This ensures that up to date dq is written in the quota file and fixes assertion in dqget(). Reported and tested by: Frode Nordahl MFC after: 3 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-12-08T12:04:00.647688Z K 7 svn:log V 80 Take dhartmei's commit bit into safekeeping per his request. Approved by: core END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-08T12:28:48.649899Z K 7 svn:log V 63 Document processor errata that affect performance measurement. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-08T12:29:30.338386Z K 7 svn:log V 161 Do drop vm map lock earlier in the sysctl_kern_proc_vmmap(), to avoid locking a vnode while having vm map locked. Reported and tested by: pho MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-08T12:34:52.015753Z K 7 svn:log V 310 Change the linprocfs /maps and procfs /map handlers to use sbuf instead of doing uiomove. This allows for reads from non-zero offsets to work. Patch is forward-ported des@' one, and was adopted to current code by dchagin@ and me. Reviewed by: des (linprocfs part) PR: kern/101453 MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-08T13:15:31.411490Z K 7 svn:log V 496 Make two style changes to create new commit and document proper commit message for r185765. Noted by: rdivacky Requested by: des Commit message for r185765 should be: In procfs map handler, and in linprocfs maps handler, do not call vn_fullpath() while having vm map locked. This is done in anticipation of the vop_vptocnp commit, that would make vn_fullpath sometime acquire vnode lock. Also, in linprocfs, maps handler already acquires vnode lock. No objections from: des MFC after: 2 week END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-08T17:01:05.850105Z K 7 svn:log V 37 - Add project folder for new gvinum. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-08T17:09:02.037282Z K 7 svn:log V 31 - Add missing word in comment. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2008-12-08T17:12:40.002250Z K 7 svn:log V 54 White space only: Tabify; white space at EOL removed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-08T17:18:37.424066Z K 7 svn:log V 191 MFC r185667,r185680,r185681: Overhaul the Rockridge option parsing and beef up the ISO9660 bidder. This makes the ISO reader a lot more robust when reading malformed input. Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-08T17:22:44.389888Z K 7 svn:log V 142 Obey the TMPDIR, TMP, TEMP, or TEMPDIR environment variables when choosing a scratch directory for the tests. Fallback to "/tmp", of course. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-12-08T18:39:59.437052Z K 7 svn:log V 123 - Detect Bochs BIOS variants and use HZ_VM as well. - Free kernel environment variable after its use. - Fix style(9) nits. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-08T20:18:50.054408Z K 7 svn:log V 978 Add a reference count to struct inpcb, which may be explicitly incremented using in_pcbref(), and decremented using in_pcbfree() or inpcbrele(). Protocols using only current in_pcballoc() and in_pcbfree() calls will see the same semantics, but it is now possible for TCP to call in_pcbref() and in_pcbrele() to prevent an inpcb from being freed when both tcbinfo and per-inpcb locks are released. This makes it possible to safely transition from holding only the inpcb lock to both tcbinfo and inpcb lock without re-looking up a connection in the input path, timer path, etc. Notice that in_pcbrele() does not unlock the connection after decrementing the refcount, if the connection remains, so that the caller can continue to use it; in_pcbrele() returns a flag indicating whether or not the inpcb pointer is still valid, and in_pcbfee() is now a simple wrapper around in_pcbrele(). MFC after: 1 month Discussed with: bz, kmacy Reviewed by: bz, gnn, kmacy Tested by: kmacy END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-08T20:21:57.729514Z K 7 svn:log V 110 - avoid recursively locking the radix node head lock - assert that it is held if RTF_RNH_LOCKED is not passed END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-08T20:27:00.534892Z K 7 svn:log V 1599 Move from solely write-locking the global tcbinfo in tcp_input() to read-locking in the TCP input path, allowing greater TCP input parallelism where multiple ithreads or ithread and netisr are able to run in parallel. Previously, most TCP input paths held a write lock on the global tcbinfo lock, effectively serializing TCP input. Before looking up the connection, acquire a write lock if a potentially state-changing flag is set on the TCP segment header (FIN, RST, SYN), and otherwise a read lock. We may later have to upgrade to a write lock in certain cases (ACKs received by the syncache or during TIMEWAIT) in order to support global state transitions, but this is never required for steady-state packets. Upgrading from a write lock to a read lock must be done as a trylock operation to avoid deadlocks, and actually violates the lock order as the tcbinfo lock preceeds the inpcb lock held at the time of upgrade. If the trylock fails, we bump the refcount on the inpcb, drop both locks, and re-acquire in-order. If another thread has freed the connection while the locks are dropped, we free the inpcb and repeat the lookup (this should hardly ever or never happen in practice). For now, maintain a number of new counters measuring how many times various cases execute, and in particular whether various optimistic assumptions about when read locks can be used, whether upgrades are done using the fast path, and whether connections close in practice in the above-described race, actually occur. MFC after: 6 weeks Discussed with: kmacy Reviewed by: bz, gnn, kmacy Tested by: kmacy END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-08T20:53:27.030913Z K 7 svn:log V 36 Fix typo in the comment %is -> %si. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-08T21:04:24.407889Z K 7 svn:log V 466 Add strndup(3) prototype to string.h. This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-08T21:46:55.701528Z K 7 svn:log V 72 add RW_SYSINIT_FLAGS macro and rw_sysinit_flags initialization function END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-08T21:52:06.843719Z K 7 svn:log V 58 Respect RBX_MUTE flag from boot[012]. MFC after: 4 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-08T23:45:41.935115Z K 7 svn:log V 143 Optimiza assembly in the previous r185779, to save whooping 16 bytes. Submitted by: Christoph Mallon MFC after: 4 weeks (including r185779) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-09T00:25:57.467475Z K 7 svn:log V 111 Remove now unused label. Submitted by: Christoph Mallon MFC after: 4 weeks (along with r185779 and r185780) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-09T01:01:02.304148Z K 7 svn:log V 140 Add the ability to control the sleep LED with led(4). Adding this fairly useless feature gives us a reasonably complete PMU implementation. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-09T04:17:44.500013Z K 7 svn:log V 191 MFC r185667,r185680,r185681: Overhaul the Rockridge option parsing and beef up the ISO9660 bidder. This makes the ISO reader a lot more robust when reading malformed input. Approved by: re END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-09T04:30:47.215826Z K 7 svn:log V 841 Fix a long standing VLAN tagged frame handling bug. When VLAN tagged frame is received the hardware sets 'LONG' bit of Rx status word. It is always set when the size of received frame exceeded 1518 bytes, including CRC. This VLAN tagged frame clears 'OK' bit of Rx status word such that driver should not rely on 'OK' bit of Rx status word to pass the VLAN tagged frame to upper stack. To fix the bug, don't use SIS_CMDSTS_PKT_OK for Rx error check and introduce SIS_RXSTAT_ERROR macro that checks Rx errors. If we are configured to accept VLAN tagged frames and the received frame size is less than or equal to maximum allowed length of VLAN tagged frame, clear 'LONG' bit of Rx status word before checking Rx errors. Reported by: Vladimir Ermako < samflanker <> gmail DOT com > Tested by: Vladimir Ermako < samflanker <> gmail DOT com > END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-09T04:54:17.209957Z K 7 svn:log V 102 - remove a number of cases of IF_AFDATA_LOCK recursion - implement LLE_EXCLUSIVE - implement LLE_FREE END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-09T05:02:17.303252Z K 7 svn:log V 18 IFC 185596:185785 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-09T06:23:35.435426Z K 7 svn:log V 68 temporarily comment out modules that don't build in XEN environment END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-09T06:24:26.632269Z K 7 svn:log V 29 comment out MODULES_OVERRIDE END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-12-09T09:24:25.031177Z K 7 svn:log V 36 o Use full month name in .Dd macro. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-09T09:25:03.384356Z K 7 svn:log V 31 Fix a cornercase during search END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-09T10:21:38.088975Z K 7 svn:log V 214 Move macros defining flags and shortcus to nested structure fields in inpcbinfo below the structure definition in order to make inpcbinfo fit on a single printed page; related style tweaks. MFC after: pretty soon END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-09T11:01:17.637055Z K 7 svn:log V 116 MFC r185542: Add 8168D support. Submitted by: Andrew < andrewwtulloch <> gmail DOT com > Approved by: re (kib) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-09T11:05:59.333527Z K 7 svn:log V 116 MFC r185542: Add 8168D support. Submitted by: Andrew < andrewwtulloch <> gmail DOT com > Approved by: re (kib) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-12-09T14:56:39.425475Z K 7 svn:log V 69 Fix compilation errors by including sys/lock.h prior to sys/rwlock.h END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-09T15:49:02.657980Z K 7 svn:log V 107 Enhance one comment relating to recent TCP locking changes, and fix a typo in another. MFC after: 6 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-09T16:20:58.541694Z K 7 svn:log V 122 MFC r185557: Prevent creation of the duplicated negative namecache entries. Approved by: re (kensmith) Requested by: jhb END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-12-09T16:25:46.305830Z K 7 svn:log V 25 Convert mxge to buf_ring END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-09T16:30:41.323083Z K 7 svn:log V 221 MFC r185761: Recheck the DQ_MOD after the dqh lock is relocked. Repeat dqsync() if the dq is dirty. This ensures that up to date dq is written in the quota file and fixes assertion in dqget(). Approved by: re (kensmith) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-09T16:50:37.456153Z K 7 svn:log V 34 - Initial import of HEAD sources. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-09T16:52:02.190805Z K 7 svn:log V 49 - Import initial HEAD sources for userland part. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-09T17:33:56.270669Z K 7 svn:log V 122 MFC r185557: Prevent creation of the duplicated negative namecache entries. Approved by: re (kensmith) Requested by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-09T17:47:00.435869Z K 7 svn:log V 221 MFC r185761: Recheck the DQ_MOD after the dqh lock is relocked. Repeat dqsync() if the dq is dirty. This ensures that up to date dq is written in the quota file and fixes assertion in dqget(). Approved by: re (kensmith) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-09T17:47:05.875627Z K 7 svn:log V 234 Add support for suspend and resume. This currently only works for 64bit HV mode kernels. A 32bit PV mode kernel will suspend but fails to restore because Xen gets confused by the magic recursive mappings in the virtual address space. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-09T18:27:04.053659Z K 7 svn:log V 37 - Import the gvinum work done in p4. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-09T19:36:04.551382Z K 7 svn:log V 590 MFC of 3 separate commits. Bug fix from Chelsio which addresses the issue of the device resetting when it sees only received packets. In some cases where a device only recieves data it mistakenly thinks that its transmitting side is broken and resets the device. Fix a bug with the ael1006 PHY. The bug shows up as persistent but incomplete packet loss, of between 10-30%. The fix is to put the PHY into and take it out of local loopback mode when resetting the interface. Bug fix to support N310 version of Chelsio cards (board ID 1088). Obtained from: Chelsio Inc. Approved by: re@ END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-09T19:36:50.422393Z K 7 svn:log V 590 MFC of 3 separate commits. Bug fix from Chelsio which addresses the issue of the device resetting when it sees only received packets. In some cases where a device only recieves data it mistakenly thinks that its transmitting side is broken and resets the device. Fix a bug with the ael1006 PHY. The bug shows up as persistent but incomplete packet loss, of between 10-30%. The fix is to put the PHY into and take it out of local loopback mode when resetting the interface. Bug fix to support N310 version of Chelsio cards (board ID 1088). Obtained from: Chelsio Inc. Approved by: re@ END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-09T19:44:53.787357Z K 7 svn:log V 199 Fix a bug introduced in r185747: rather than dereferencing an uninitialized *rt to something undefined, use the fibnum that came in as function argument. Found with: Coverity Prevent(tm) CID: 4168 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-09T20:05:58.019713Z K 7 svn:log V 207 Add rwlock.h (and lock.h for that) to keep no-INET kernels compiling after RADIX_NODE_HEAD_{,UN}LOCK() were added. Must have been "learned" by pollution before (most likely: route.h -> radix.h -> rwlock.h) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-09T20:59:55.502539Z K 7 svn:log V 146 - Simplify renaming of gvinum objects a great deal by using strchr and friends instead of allocating an extra string to be used for tokenizing. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-09T21:09:05.283823Z K 7 svn:log V 79 It does not make much sense to include net/route.h twice. Remove one #include. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-09T21:10:09.305513Z K 7 svn:log V 125 - Check return value of the encoded keyword before using it. Pointed out by: Christian Weisgerber END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-09T21:34:22.522619Z K 7 svn:log V 668 - Limit BCM5701 B5 to 32-bit mode as a workaround for a bug which causes data corruption in combination with certain bridges. Information about this problem was kindly provided by davidch. [1] - As BGE_FLAG_PCIX is meant to indicate that the controller is in PCI-X mode, revert to the pre __FreeBSD_version 602101 method of reading the bus mode register rather than checking the mere existence of a PCI-X capability, which is also there when the NIC f.e. is put into a 32-bit slot causing it not to be in PCI-X mode. Setting BGE_FLAG_PCIX inappropriately could cause the NIC to be tuned incorrectly. PR: 128833 [1] Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-09T23:57:09.406404Z K 7 svn:log V 165 Update comment on INP_TIMEWAIT to say what it's about, as we caution regarding the misplacement of flags in inp_vflag in an earlier comment. MFC after: pretty soon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-10T00:08:25.070852Z K 7 svn:log V 258 Merge r185791 from head to stable/7: Move macros defining flags and shortcuts to nested structure fields in inpcbinfo below the structure definition in order to make inpcbinfo fit on a single printed page; related style tweaks. Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T00:54:21.725766Z K 7 svn:log V 134 - add missed radix node head lock acquisition when calling - only acquire llentry lock exclusively when lookup fails - fix lle lookup END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T01:16:41.552400Z K 7 svn:log V 39 First pass at merging arpv2 in to HEAD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T01:20:57.309589Z K 7 svn:log V 18 IFC 185786:185816 END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-10T02:04:45.075737Z K 7 svn:log V 53 Creating a personal branch for various feature work. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T02:04:46.258729Z K 7 svn:log V 34 merge qingli's latest arpv2 patch END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T02:10:44.713225Z K 7 svn:log V 19 add if_llatbl.[ch] END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T02:18:55.825112Z K 7 svn:log V 23 revert to HEAD version END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-10T02:20:58.221453Z K 7 svn:log V 56 make a copy of head for the L2/L3 (arp-v2) rewrite work END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T02:21:08.189521Z K 7 svn:log V 35 merge fix for loopback connections END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T02:24:50.600047Z K 7 svn:log V 31 remove unused rt_expire define END K 10 svn:author V 3 das K 8 svn:date V 27 2008-12-10T02:32:06.477798Z K 7 svn:log V 110 Move the xprintf hook to where it belongs; it shouldn't be in the middle of vfprintf's variable declarations. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T02:59:09.448241Z K 7 svn:log V 47 only downgrade if we hold the lock exclusively END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T03:04:16.928312Z K 7 svn:log V 174 - ifp lookup only needs to be protected with an rlock - lock lle exclusively for LLE_CREATE - don't hold LLE_LOCK across arprequest - only hold IF_AFDATA_LOCK across lookup END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T03:16:30.530463Z K 7 svn:log V 44 rt might be null do not dereference blindly END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T03:17:01.083680Z K 7 svn:log V 62 nd6_output doesn't need to be protected by the IF_AFDATA_LOCK END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T03:17:27.271226Z K 7 svn:log V 61 if_output doesn't need to be protected by the IF_AFDATA_LOCK END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T03:30:37.854166Z K 7 svn:log V 49 fix IF_AFDATA_LOCK recursion in nd6_cache_lladdr END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T03:47:21.833960Z K 7 svn:log V 186 - fix case where flags was not passed to lla_lookup - use exclusive flag to determine whether or not to wunlock rather than the condition that determined the use of the exclusive flag END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T04:05:46.901374Z K 7 svn:log V 22 add missed lle unlock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T04:06:54.953158Z K 7 svn:log V 83 - acquire the IF_AFDATA_LOCK ind nd6_storelladdr - drop the lle lock before return END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T04:07:51.203060Z K 7 svn:log V 61 else clause only contains LLE_DELETE check change to else if END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T04:31:04.890234Z K 7 svn:log V 39 call IF_AFDATA_UNLOCK after lla_lookup END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T05:25:13.193758Z K 7 svn:log V 29 remove local vinet6.h change END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T05:50:07.446542Z K 7 svn:log V 63 inform rtrequest that we already hold the radix node head lock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T06:01:27.166400Z K 7 svn:log V 170 merge changes from head_arpv2 branch: - substantially reduce the scope of the IF_AFDATA_LOCK - make the IF_AFDATA_LOCK not recursive - add rwlock and refcount to llentry END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T07:14:51.979871Z K 7 svn:log V 31 IFC 185627:185839 merge latest END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T07:45:11.226123Z K 7 svn:log V 52 we might be renewing the lookup without la_hold set END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T07:48:28.251135Z K 7 svn:log V 30 need exclusive for renew OR m END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T08:01:10.334826Z K 7 svn:log V 34 remove gratuitous debugging noise END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T08:22:51.408473Z K 7 svn:log V 37 don't reference if_addr_mtx directly END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T08:23:47.981353Z K 7 svn:log V 17 unlock when done END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-10T08:28:30.681614Z K 7 svn:log V 196 - When renaming a gvinum volume, try to destroy and recreate the provider with the new name if the provider is not in use. Suggested by: Rick C. Petty END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-10T08:29:42.181371Z K 7 svn:log V 39 - Make style consistent with the rest. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-10T08:55:12.982414Z K 7 svn:log V 313 Merge r185814 from stable/7 to releng/7.1: Merge r185791 from head to stable/7: Move macros defining flags and shortcuts to nested structure fields in inpcbinfo below the structure definition in order to make inpcbinfo fit on a single printed page; related style tweaks. Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T09:21:52.000747Z K 7 svn:log V 222 fix a reported panic when adding a route and one hit here when deleting a route - pass RTF_RNH_LOCKED to rtalloc1_fib in 2 cases where the lock is held - make sure the rnh lock is held across rt_setgate and rt_getifa_fib END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T10:12:04.195223Z K 7 svn:log V 25 IF_RELENG7 184527:185849 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-10T10:21:54.218720Z K 7 svn:log V 20 push in missed adds END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-10T10:46:34.418851Z K 7 svn:log V 190 Don't get confused if we encounter a device which is part of a raidz or raidz2 pool while probing for vdevs. PR: 129539 Submitted by: Paul Wootton (paul at fletchermoorland dot co dot uk) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-10T10:46:58.792570Z K 7 svn:log V 185 MFC: Add Pentium D cores into the list that can't handle 12.5% and 25% throttle. Also, fix logic error which makes detection always negative while I am here (already fixed in current). END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-10T10:50:19.040457Z K 7 svn:log V 49 Fix misplaced /* slipped in the previous commit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-10T11:03:16.643784Z K 7 svn:log V 224 Move flag definitions for t_flags and t_oobflags below the definition of struct tcpcb so that the structure definition is a bit more vertically compact. Can't yet fit it on one printed page, though. MFC after: pretty soon END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-12-10T11:09:31.415143Z K 7 svn:log V 65 MFC: automatically upgrade files that only differ in CVS Id tag. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-10T11:11:43.418920Z K 7 svn:log V 112 Move syncache flag definitions below data structure, compress some vertical whitespace. MFC after: pretty soon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-10T13:24:38.656996Z K 7 svn:log V 76 Remove inconsistent white space from in_pcballoc(). MFC after: pretty soon END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-10T14:06:08.868536Z K 7 svn:log V 184 - Make it possible to detach a subdisk from a RAID5 plex as long as the plex is not dependant on the subdisk. - While here, make error messages consistent and remove stale comments. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-10T14:49:54.839010Z K 7 svn:log V 163 We need to pass a structure with enough space for an NFSv2 filehandle to nfs_srvmtofh_xx otherwise bad things happen when an NFSv2 client tries to make a request. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-10T15:30:45.019662Z K 7 svn:log V 44 MFC: 185860 - stack overflow in fha_assign. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-10T15:31:37.111310Z K 7 svn:log V 44 MFC: 185860 - stack overflow in fha_assign. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-10T16:02:54.372876Z K 7 svn:log V 19 MF7: 184965:185862 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-10T16:11:09.408943Z K 7 svn:log V 142 Relock user map earlier, to have the lock held when break leaves the loop earlier due to sbuf error. Pointy hat to: me Submitted by: dchagin END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-10T16:20:49.484444Z K 7 svn:log V 19 MF6: 184967:185863 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-10T17:00:14.243385Z K 7 svn:log V 131 MFC r185335: In null_lookup(), do the needed cleanup instead of panicing saying the cleanup is needed. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-10T17:07:13.378945Z K 7 svn:log V 123 MFC r185739: Improve usefulness of the panic by printing the pointer to the problematic dquot. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-10T17:16:11.064238Z K 7 svn:log V 131 MFC r185335: In null_lookup(), do the needed cleanup instead of panicing saying the cleanup is needed. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-10T17:20:39.350061Z K 7 svn:log V 123 MFC r185739: Improve usefulness of the panic by printing the pointer to the problematic dquot. Approved by: re (kensmith) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-10T18:13:30.232836Z K 7 svn:log V 77 - Add missing printout information when appending file. Submitted by: naddy END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T19:31:11.872945Z K 7 svn:log V 31 Unlock pf userland vendor area END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T19:31:42.607733Z K 7 svn:log V 40 Flatten out the pf userland vendor area END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T19:33:10.916190Z K 7 svn:log V 45 No keyword expansion in vendor code, please. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-10T19:45:58.035565Z K 7 svn:log V 216 Rather than using a char array with explicit assumptions about the layout of 'struct osigevent' in 'struct aiocb', use int and void pointer spare members that are identical to 'struct osigevent'. MFC after: 1 month END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T20:44:18.829836Z K 7 svn:log V 35 Bootstrap mergeinfo on pf userland END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T20:54:37.488313Z K 7 svn:log V 24 Import OPENBSD_4_2_BASE END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T20:55:44.080344Z K 7 svn:log V 15 Tag for pf 4.2 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-10T20:56:19.243631Z K 7 svn:log V 1174 - Add 32-bit compat system calls for VFS_AIO. The system calls live in the aio code and are registered via the recently added SYSCALL32_*() helpers. - Since the aio code likes to invoke fuword and suword a lot down in the "bowels" of system calls, add a structure holding a set of operations for things like storing errors, copying in the aiocb structure, storing status, etc. The 32-bit system calls use a separate operations vector to handle fuword32 vs fuword, etc. Also, the oldsigevent handling is now done by having seperate operation vectors with different aiocb copyin routines. - Split out kern_foo() functions for the various AIO system calls so the 32-bit front ends can manage things like copying in and converting timespec structures, etc. - For both the native and 32-bit aio_suspend() and lio_listio() calls, just use copyin() to read the array of aiocb pointers instead of using a for loop that iterated over fuword/fuword32. The error handling in the old case was incomplete (lio_listio() just ignored any aiocb's that it got an EFAULT trying to read rather than reporting an error), and possibly slower. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-10T20:57:16.869222Z K 7 svn:log V 7 Regen. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T20:59:26.412627Z K 7 svn:log V 24 Import OPENBSD_4_3_BASE END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:00:02.449520Z K 7 svn:log V 15 Tag for pf 4.3 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:08:42.586829Z K 7 svn:log V 42 Import OPENBSD_4_4_BASE and libevent 1.3e END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:09:09.581294Z K 7 svn:log V 15 Tag for pf 4.4 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:21:09.915755Z K 7 svn:log V 24 Import OPENBSD_4_2_BASE END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:22:15.466479Z K 7 svn:log V 15 Tag for pf 4.2 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:22:57.562988Z K 7 svn:log V 24 Import OPENBSD_4_3_BASE END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:23:23.623465Z K 7 svn:log V 15 Tag for pf 4.3 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:24:31.106655Z K 7 svn:log V 24 Import OPENBSD_4_4_BASE END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:24:58.497739Z K 7 svn:log V 15 Tag for pf 4.4 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-10T21:32:58.673699Z K 7 svn:log V 75 Create a copy of head in my user directory to work towards a pf 4.4 import END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-10T21:48:05.229361Z K 7 svn:log V 540 Remove added newlines from logged messages written to /dev/console. The /dev/console device node logs all strings that are written to it. When the string does not contain a trailing newline, it appends one. I can imagine this was useful a long time ago, but with our current rc-scripts, it generates a whole bunch of messages that look like: | Configuring syscons: | blanktime | . By not appending the newlines, the output of `dmesg -a' is now (almost?) exactly the same as what the user will see on the console device (syscons, uart). END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-10T22:10:37.476254Z K 7 svn:log V 205 Style changes only. Put the return type on an extra line[1] and add an empty line at the beginning as we do not have any local variables. Submitted by: rwatson [1] Reviewed by: rwatson MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-10T22:17:09.963011Z K 7 svn:log V 254 Make sure nmbclusters are initialized before maxsockets by running the tunable_mbinit() SYSINIT at SI_ORDER_MIDDLE before the init_maxsockets() SYSINT at SI_ORDER_ANY. Reviewed by: rwatson, zec Sponsored by: The FreeBSD Foundation MFC after: 4 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-10T22:50:11.694546Z K 7 svn:log V 194 MFC: Check for duplicate attempts to add the same positive entry to the name cache. If a duplicate attempt is made, just do nothing. This fixes a race with shared locking in pathname lockups. END K 10 svn:author V 3 zec K 8 svn:date V 27 2008-12-10T23:12:39.853575Z K 7 svn:log V 2133 Conditionally compile out V_ globals while instantiating the appropriate container structures, depending on VIMAGE_GLOBALS compile time option. Make VIMAGE_GLOBALS a new compile-time option, which by default will not be defined, resulting in instatiations of global variables selected for V_irtualization (enclosed in #ifdef VIMAGE_GLOBALS blocks) to be effectively compiled out. Instantiate new global container structures to hold V_irtualized variables: vnet_net_0, vnet_inet_0, vnet_inet6_0, vnet_ipsec_0, vnet_netgraph_0, and vnet_gif_0. Update the VSYM() macro so that depending on VIMAGE_GLOBALS the V_ macros resolve either to the original globals, or to fields inside container structures, i.e. effectively #ifdef VIMAGE_GLOBALS #define V_rt_tables rt_tables #else #define V_rt_tables vnet_net_0._rt_tables #endif Update SYSCTL_V_*() macros to operate either on globals or on fields inside container structs. Extend the internal kldsym() lookups with the ability to resolve selected fields inside the virtualization container structs. This applies only to the fields which are explicitly registered for kldsym() visibility via VNET_MOD_DECLARE() and vnet_mod_register(), currently this is done only in sys/net/if.c. Fix a few broken instances of MODULE_GLOBAL() macro use in SCTP code, and modify the MODULE_GLOBAL() macro to resolve to V_ macros, which in turn result in proper code being generated depending on VIMAGE_GLOBALS. De-virtualize local static variables in sys/contrib/pf/net/pf_subr.c which were prematurely V_irtualized by automated V_ prepending scripts during earlier merging steps. PF virtualization will be done separately, most probably after next PF import. Convert a few variable initializations at instantiation to initialization in init functions, most notably in ipfw. Also convert TUNABLE_INT() initializers for V_ variables to TUNABLE_FETCH_INT() in initializer functions. Discussed at: devsummit Strassburg Reviewed by: bz, julian Approved by: julian (mentor) Obtained from: //depot/projects/vimage-commit2/... X-MFC after: never Sponsored by: NLnet Foundation, The FreeBSD Foundation END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-11T00:30:26.478389Z K 7 svn:log V 259 Partly revert r185756. RTL8169SC doesn't like reduced delays in GMII access while Tx/Rx is in progress. Reported by: Jaakko Heinonen saunalahti DOT fi>, Anton Yuzhaninov citrin DOT ru> Tested by: Jaakko Heinonen saunalahti DOT fi> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-11T00:46:07.582938Z K 7 svn:log V 191 Always put controller into known state before device intialization. While here remove re_reset calls invoked in system error case as controller reset is always done in device initialization. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T00:58:05.905166Z K 7 svn:log V 226 Add 32-bit compat support for AIO. jhb probably forgot to commit this file with r185878 and will want to review this. It unbreaks the build here. Obtained from: p4 //depot/user/jhb/lock/compat/freebsd32/freebsd32_signal.h#2 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T01:04:25.987661Z K 7 svn:log V 431 Correctly check the number of prison states to not access anything outside the prison_states array. When checking if there is a name configured for the prison, check the first character to not be '\0' instead of checking if the char array is present, which it always is. Note, that this is different for the *jailname in the syscall. Found with: Coverity Prevent(tm) CID: 4156, 4155 MFC after: 4 weeks (just that I get the mail) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-11T01:26:18.184179Z K 7 svn:log V 97 Newer RealTek controllers requires setting stop request bit to terminate active Tx/Rx operation. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-11T01:41:38.230471Z K 7 svn:log V 184 Don't access undocumented register 0x82 on controllers that have no such register. While here clear undocumented PHY register 0x0B for RTL8110S. Obtained from: RealTek FreeBSD driver END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-12-11T02:23:49.153668Z K 7 svn:log V 182 Avoid a double free in devopen by not freeing the device structure in zfs_dev_open. This stops a panic in the loader when trying to read from a zfs device and no zfs devices exist. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-11T02:24:11.771234Z K 7 svn:log V 168 Make WOL work on RTL8168B. This controller seems to require explicit command to enable Rx MAC prior to entering D3. Tested by: Cyrus Rahman gmail DOT com> END K 10 svn:author V 3 das K 8 svn:date V 27 2008-12-11T02:39:27.874961Z K 7 svn:log V 66 Consolidate some variable initializations. No substantive change. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T02:47:41.972486Z K 7 svn:log V 147 Remove all vestiges of cloning: - the flags: RTF_CLONING, RTF_LLINFO, RTF_WASCLONED - routines only used to cleanup children of a cloning route END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-11T04:03:13.490366Z K 7 svn:log V 37 add missing break Coverity ID: 4151 END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-11T04:03:50.963370Z K 7 svn:log V 37 add missing break Coverity ID: 4159 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-11T05:56:25.306958Z K 7 svn:log V 162 MFC r183009, r184807, r184808: Fix --strip-components, plus a handful of test suite improvements. PR: bin/128562 Submitted by: Jaakko Heinonen Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-11T05:56:47.693226Z K 7 svn:log V 162 MFC r183009, r184807, r184808: Fix --strip-components, plus a handful of test suite improvements. PR: bin/128562 Submitted by: Jaakko Heinonen Approved by: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-11T06:27:18.964821Z K 7 svn:log V 885 Update to the interrupt handling code: o Try to be smarter about reading the ExCA CSC register. Now, we only do it for 16-bit cards. Add some experimental code to treat it like a power interrupt, but I'm not 100% sure that I like it. It may be removed upon further testing. It seemed to help in one test case, but the evidence may be inconclusive. This may be beneficial for cleaning up exca_reset and exca_wait_ready. o Check for CSTS events on the socket event register. We ask for it when we're powering up a card, but I don't think we're otherwise using it. Just ACK the interrupt for now. In theory, we can use it instead of the busy wait we do in cbb_cardbus_reset. More research is necessary to see if we can optimize things there when we're waiting for the DEVVENDOR register to become valid. o Rework the comments a bit. Minor tidying up. Etc. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T06:53:53.453878Z K 7 svn:log V 46 merge arpv2 and garbage collection of cloning END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-11T06:54:36.594902Z K 7 svn:log V 108 Apply the same defaults to https as to http. Submitted by: Mike Tancsa MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T06:55:01.802989Z K 7 svn:log V 35 merge arpv2 changes to ndp and arp END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T06:57:27.218599Z K 7 svn:log V 117 remove references to RTF_{LLINFO,CLONING,WASCLONED} in all user tools except bsnmpd with questions where appropriate END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-11T07:00:23.738191Z K 7 svn:log V 29 Remove redundant assignment. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T07:01:48.828444Z K 7 svn:log V 28 update arpresolve interface END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T07:02:30.796135Z K 7 svn:log V 31 merge apparent vfprintf change END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T07:39:06.348173Z K 7 svn:log V 46 remove references to RTF_CLONING from modules END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T07:43:02.453562Z K 7 svn:log V 31 IFC 185841:185918 merge latest END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-11T07:51:09.393482Z K 7 svn:log V 127 Simply remove the references to RTF_LLINFO. This flag is no longer set in the kernel so don't bother checking in userland app. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T08:08:28.489755Z K 7 svn:log V 41 IFC 185817:185918 merge latest from HEAD END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-11T08:15:14.861839Z K 7 svn:log V 40 Push mips support for as into the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-11T08:18:45.208173Z K 7 svn:log V 40 Push mips support for ld into the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-11T08:20:34.158438Z K 7 svn:log V 33 Push mips support into the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-11T08:22:20.753799Z K 7 svn:log V 33 Push mips support into the tree. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-11T09:13:30.926151Z K 7 svn:log V 50 use the /base/projects/arpv2_merge_1 tree instead END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T09:52:45.331788Z K 7 svn:log V 32 remove stale cloning references END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-11T10:29:35.033389Z K 7 svn:log V 200 Add missing "goto set_head" for SO_IPX_CHECKSUM; otherwise we fall through to the SO_HEADERS_ON_OUTPUT case and set that instead. MFC after: 1 week Found with: Coverity Prevent(tm) Coverity ID: 3988 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-11T12:44:28.826360Z K 7 svn:log V 206 Merge r185813 from head to stable/7: Update comment on INP_TIMEWAIT to say what it's about, as we caution regarding the misplacement of flags in inp_vflag in an earlier comment. Approved by: re (gnn) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-11T13:30:29.938272Z K 7 svn:log V 267 Merge r185855 from head to stable/7: Move flag definitions for t_flags and t_oobflags below the definition of struct tcpcb so that the structure definition is a bit more vertically compact. Can't yet fit it on one printed page, though. Approved by: re (gnn) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T15:42:59.037802Z K 7 svn:log V 150 Whitespace changes only - tabs must have been converted to spaces somehow, when moving the code from p4 to svn. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T15:44:53.350857Z K 7 svn:log V 145 Error in case anyone tried to compile with both options VIMAGE and the (temporary) option VIMAGE_GLOBALS. Sponsored by: The FreeBSD Foundation: END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-11T15:56:30.657969Z K 7 svn:log V 91 Add constants for fields in the local APIC error status register and a routine to read it. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T16:05:07.761384Z K 7 svn:log V 135 Use the correct INIT_VNET_INET() as the virtualized variable here are in vinet.h not in vinet6.h Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T16:09:31.615340Z K 7 svn:log V 105 Order #includes - also to reduce diffs with vimage branches in p4. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T16:13:17.163068Z K 7 svn:log V 84 Put the VIMAGE options together in one place. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-11T16:26:38.002473Z K 7 svn:log V 393 Put a global variables, which were virtualized but formerly missed under VIMAGE_GLOBAL. Start putting the extern declarations of the virtualized globals under VIMAGE_GLOBAL as the globals themsevles are already. This will help by the time when we are going to remove the globals entirely. While there garbage collect a few dead externs from ip6_var.h. Sponsored by: The FreeBSD Foundation END