Го+186000 208 285 164 156 148 109 109 109 125 154 153 151 687 146 181 139 137 138 138 125 132 213 105 126 151 159 218 669 109 119 287 388 390 127 137 113 316 186 597 628 163 110 110 238 135 405 261 221 378 429 155 190 297 125 157 120 360 316 297 371 248 477 129 112 114 148 193 112 168 308 763 257 175 136 141 134 133 167 148 118 237 113 104 134 132 118 543 845 104 113 105 439 281 165 298 418 287 200 137 164 383 543 374 329 213 137 211 197 339 119 185 292 310 156 187 132 136 263 263 221 1369 162 120 127 165 517 171 190 192 767 129 120 250 264 240 768 768 746 489 489 453 470 577 434 114 460 119 117 177 140 139 161 132 288 207 553 156 240 154 145 174 145 125 144 158 162 316 163 117 268 402 122 127 157 144 148 178 190 352 183 396 243 153 392 175 431 615 268 967 427 168 226 392 157 325 545 224 220 1138 282 149 243 122 226 139 397 263 263 167 K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T21:45:10.730839Z K 7 svn:log V 190 We no longer automatically create a host route to the gateway for storing its L2 information. This changes remove rt_gwroute from rtentry and the corresponding validation function rt_check. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-12T21:57:16.626866Z K 7 svn:log V 68 It seems usb2 needs the devtable regenerated after editing usbdevs. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-12T22:51:01.666942Z K 7 svn:log V 59 Turn releng/6.4 over to so@. Approved by: core (implicit) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T23:04:08.080008Z K 7 svn:log V 56 create tree to bring in Gateworks Cambria board support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T23:06:48.729411Z K 7 svn:log V 17 branch from HEAD END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T23:10:34.889998Z K 7 svn:log V 17 oops, ditch this END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T23:12:11.471557Z K 7 svn:log V 17 branch from HEAD END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T23:13:10.706343Z K 7 svn:log V 33 try again, delete the whole tree END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T23:13:40.713084Z K 7 svn:log V 62 branch HEAD to integrate support for Gateworks Cambria boards END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-12-12T23:17:00.206639Z K 7 svn:log V 60 Add more CPUID bits from AMD CPUID Specification Rev. 2.28. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T00:01:16.469125Z K 7 svn:log V 57 return non-NULL (-1) if the entry to be deleted is found END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T01:21:37.191754Z K 7 svn:log V 594 Merge WIP from p4: o recognize ixp435 cpu o change memory layout for for ixp4xx to not assume memory is aliases to 0x10000000 (Cambria/ixp435 memory starts at zero) o handle 64 irqs for ixp435 o dual EHCI USB 2.0 controller integral to ixp435 o overhaul NPE code for ixp435 and better MAC+MII naming o updated NPE firmware (including NPE-A image for ixp435/ixp465) o Gateworks Cambria board support: - IDE compact flash - MCU - front panel LED on i2c bus - Octal LED latch Sanity-tested with NFS-root on Avila and Cambria boards. Requires pending boot2 mods for CF-boot on Cambria. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T02:53:12.987252Z K 7 svn:log V 54 nanobsd glue for building Avila and Cambria CF images END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T02:56:08.708498Z K 7 svn:log V 89 merge WIP multi-board support; tested on Avila and Cambria, still needs Proghorn testing END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:44:44.608604Z K 7 svn:log V 47 remove conflicting decl Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:45:00.494983Z K 7 svn:log V 45 remove duplicate case Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:45:54.448170Z K 7 svn:log V 46 fix static const order Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:47:42.346720Z K 7 svn:log V 46 fix static const order Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:48:33.691845Z K 7 svn:log V 33 add const Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:49:01.889941Z K 7 svn:log V 40 remove dead code Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T03:50:31.552372Z K 7 svn:log V 120 o remove dead code o fix AH_RF macro expansion to be as intended (worked before unintentionally) Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T04:51:58.213774Z K 7 svn:log V 13 fix comments END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-13T04:52:57.652833Z K 7 svn:log V 34 move common bits to a shared file END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T05:28:19.898434Z K 7 svn:log V 57 check lle against both NULL AND -1 to determine validity END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T05:35:21.282625Z K 7 svn:log V 65 only return EINVAL if the LLE requested for delete was not found END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-13T06:01:54.813944Z K 7 svn:log V 122 Removing code block that no longer applies and add a comment block for a reminder the kernel needs to address ECMP group. END K 10 svn:author V 5 silby K 8 svn:date V 27 2008-12-13T06:04:34.741384Z K 7 svn:log V 574 Add the sysctl debug.acpi.batt.batt_sleep_ms. On some laptops with smart batteries, enabling battery monitoring software causes keystrokes from atkbd to be lost. This has also been reported on Linux, and is apparently due to the keyboard and I2C line for the battery being routed through the same chip. Whether that's accurate or not, adding extra sleeps to the status checking code causes the problem to go away. I've been running this for nearly six months now on my laptop, it works like a charm. Reviewed by: Nate Lawson (in a previous revision) MFC after: 2 weeks END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-13T06:41:25.317934Z K 7 svn:log V 14 remove marker END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T06:50:52.137523Z K 7 svn:log V 25 clarify unlock condition END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T07:03:16.901511Z K 7 svn:log V 192 Traversing the routing table is no longer necessary for "discovering" new ARP entries. We can now obtain all arp entries by way of the sysctl. Simplify the RTM_{GET,ADD} code to reflect this. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-13T07:23:55.255862Z K 7 svn:log V 296 Add FIONREAD to pseudo-terminal master devices. All ioctl()'s that aren't implemented by pts(4) are forwarded to the TTY itself. Unfortunately this is not correct for FIONREAD, because it will give the wrong amount of bytes that are available to read. Tested by: keramida Reminded by: keramida END K 10 svn:author V 5 silby K 8 svn:date V 27 2008-12-13T07:45:48.774338Z K 7 svn:log V 295 Quick change to r186026. One of the conditionals was: if (batt_sleep_ms) AcpiOsSleep(1); where the rest are all: if (batt_sleep_ms) AcpiOsSleep(batt_sleep_ms); I can't recall why that one was different, so change it to match the rest. Pointed out by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T08:31:32.648234Z K 7 svn:log V 33 hold lle lock across flags check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T08:32:13.002679Z K 7 svn:log V 43 updating locking interface to llentry_free END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2008-12-13T09:33:03.345828Z K 7 svn:log V 16 Typo/rewording. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T10:19:28.845887Z K 7 svn:log V 221 - add AFDATA and LLE lock asserts - fix LLE_REMREF - add nd6_llinfo_settimer_locked and nd6_output_lle for case where lle lock is already held - remove inappropriate AFDATA lock in ip6_forward - change "Qing" to "XXX QL" END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-13T12:03:21.545421Z K 7 svn:log V 90 Line wrap very long line in struct packet_filter_hook definition. MFC after: pretty soon END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-13T13:07:12.003816Z K 7 svn:log V 501 - Bug fix: prevent a thread from migrating between CPUs between the time it is marked for user space callchain capture in the NMI handler and the time the callchain capture callback runs. - Improve code and control flow clarity by invoking hwpmc(4)'s user space callchain capture callback directly from low-level code. Reviewed by: jhb (kern/subr_trap.c) Testing (various patch revisions): gnn, Fabien Thomas , Artem Belevich END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-13T14:14:56.391014Z K 7 svn:log V 534 - When writing metadata to a geom provider, open the it as read-write since it might do subsequent reads from other providers. This stopped geli (and probably other classes using g_metadata_store as well) from being put on top of gvinum raid5 volumes. Note: The reason it fails in the gvinum raid5 case is that gvinum will read back the old parity stripe before calculating the new parity stripe to be written out again. The write will then fail because the underlying disk to be read is opened write only. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-13T15:44:29.607133Z K 7 svn:log V 72 Sync manpage's synopsis with program's usage(). Trim whitespace at EOL. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-13T15:47:46.897862Z K 7 svn:log V 19 Added FreeBSD 7.1. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-13T16:13:37.195729Z K 7 svn:log V 19 Added FreeBSD 6.4. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-13T16:53:35.387305Z K 7 svn:log V 146 MFC: Fix fread() to return a correct value on platforms where sizeof(int) != sizeof(size_t), i.e. on all 64-bit platforms. Approved by: re (kib) END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-13T17:48:06.292991Z K 7 svn:log V 44 Improve usage and sync SYNOPSIS with usage. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-13T18:29:48.918367Z K 7 svn:log V 307 Due to a mis-understanding on my part with Ruslan I haven't been updating this like I should have been. Mis-understanding is cleared up I think. Change default operating system for upcoming release. Add release names not in contrib/groff/tmac/doc-common yet. Submitted by: ru Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-13T18:33:22.339813Z K 7 svn:log V 163 Change default operating system for upcoming release. Add FreeBSD releases not in contrib/groff/tmac/doc-common yet. Submitted by: ru Approved by: re (implicit) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-13T18:49:01.466072Z K 7 svn:log V 120 Use a static free packet queue instead of using malloc() to allocate new ADB packets. This fixes some locking problems. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-13T19:11:46.470141Z K 7 svn:log V 280 Due to a mis-understanding on my part with Ruslan I haven't been updating this like I should have been. Mis-understanding is cleared up I think. Change default operating system for upcoming release. Add release names not in contrib/groff/tmac/doc-common yet. Submitted by: ru END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-13T19:13:03.073503Z K 7 svn:log V 337 Second round of putting global variables, which were virtualized but formerly missed under VIMAGE_GLOBAL. Put 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. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-12-13T19:14:26.004814Z K 7 svn:log V 58 Fix spelling and mdoc, bump .Dd for the previous changes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-13T20:13:22.919002Z K 7 svn:log V 90 Add support for a console mouse pointer on Open Firmware syscons. MFC after: 7.1-RELEASE END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T20:15:42.944953Z K 7 svn:log V 202 in6_addroute is called through rnh_addadr which is always called with the radix node head lock held exclusively. Pass RTF_RNH_LOCKED to rtalloc so that rtalloc1_fib will not try to re-acquire the lock. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T20:16:03.127469Z K 7 svn:log V 31 don't acquire lock recursively END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T20:18:05.450170Z K 7 svn:log V 63 radix node head lock needs to be held when calling rnh_addaddr END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-13T20:34:41.568626Z K 7 svn:log V 26 version that will compile END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-13T20:53:57.946252Z K 7 svn:log V 259 Allow OFW syscons to restore itself when the X server exits or there is a VT switch by redoing the Open Firmware card initialization calls in ofwfb_set_mode(). This uses the same trick (setting V_ADP_MODECHANGE) to arrange this as machfb(4) and creatorfb(4). END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-13T21:17:46.980192Z K 7 svn:log V 223 Change ttyhook_register() second argument from thread to process pointer. Thread was not really needed there, while previous ng_tty implementation that used thread pointer had locking issues (using sx while holding mutex). END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-13T21:59:18.323936Z K 7 svn:log V 205 De-virtualize the MD5 context for TCP initial seq number generation and make it a function local variable like we do almost everywhere inside the kernel. Discussed with: rwatson, silby MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-13T22:04:52.439260Z K 7 svn:log V 279 Like for tcp_subr.c in r186057 make the MD5 context a function local variable in this copy of the code[1]. While here prefix the variables with 'pf_' to avoid file static global variables with colliding names that are or will be virtualized. Discussed with: rwatson, silby [1] END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-13T22:05:46.672116Z K 7 svn:log V 155 Remove node shutdown on tty close. This could be easily done by user-level while it's present implementation with ng_rmnode_flags() is at least incorrect. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-13T22:26:24.500233Z K 7 svn:log V 384 Revert rev. 183277: Remove ng_rmnode_flags() function. ng_rmnode_self() was made to be called only while having node locked. When node is properly locked, any function call sent to it will always be queued. So turning ng_rmnode_self() into the ng_rmnode_flags() is not just meaningless, but incorrent, as it violates node locking when called outside. No objections: julian, thompsa END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-13T22:41:36.425652Z K 7 svn:log V 33 Dont leak the rnh lock on error. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-13T22:43:00.178346Z K 7 svn:log V 20 Open vendor/openpam END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-13T22:45:22.072860Z K 7 svn:log V 22 Flatten and clean up. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-13T23:10:36.728803Z K 7 svn:log V 56 Merge upstream r418: remove static build autodetection. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-13T23:24:04.584013Z K 7 svn:log V 98 The meaning of the return code from nd6_is_addr_neighbor() was reversed, causing all sorts of ... END K 10 svn:author V 3 des K 8 svn:date V 27 2008-12-13T23:28:11.328595Z K 7 svn:log V 20 Bootstrap mergeinfo END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-13T23:36:34.486582Z K 7 svn:log V 72 Create a branch to hold Gleb Kurtsou's layer2 filter changes (soc2008). END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-13T23:49:09.470437Z K 7 svn:log V 214 - More assertions where appropriate. - Minor fixes to error handling. - Fix a bug where calling start on a volume with subdisk in the down state would make it panic. - Allow RAID5 volumes to skip initialization. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-14T00:40:14.360994Z K 7 svn:log V 666 Add Layer2 Filtering by Gleb Kurtsou as part of the Google Summer of Code 08. Project aims to improve layer2 filtering in ipfw and pf. So far following project goals are achieved: pfil framework is extended to handle ethernet packets, ipfw layer2 filtering is greatly simplified, added l2filter and l2tag per interface flags. Both ipfw and pf firewalls support filtering by ethernet addresses, support stateful filtering with ethernet addresses and firewall's lookup tables are extended to contain ethernet addresses. This will need to catch up with arpv2 and route locking changes before being merged to head. Submitted by: Gleb Kurtsou (gleb.kurtsou%gmail.com) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-14T01:12:55.283514Z K 7 svn:log V 162 Avoid a lock recursion in the call to if_output from nd6_output_lle by creating a chain of packets to be sent after the nd6_output_lle caller drops the lle lock. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-14T02:44:58.475218Z K 7 svn:log V 80 We will delete the interface address ARP entry only when we remove the address. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-14T02:51:17.350862Z K 7 svn:log V 42 IFC 185966:186071 merge latest from HEAD END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-12-14T02:57:41.043294Z K 7 svn:log V 48 Disconnect the efi from pc98. It's not needed. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-14T02:59:07.578838Z K 7 svn:log V 40 remove references to LLINFO and CLONING END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-14T06:40:04.605414Z K 7 svn:log V 36 Clean out the remaining alpha-isms. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-14T09:06:28.579228Z K 7 svn:log V 72 Bug fix: %ebx needs to be preserved in the user callchain capture path. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-14T11:47:39.218880Z K 7 svn:log V 56 Clarify that configuration files must be named '*.conf' END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-14T11:48:51.693608Z K 7 svn:log V 26 Send all debug to stderr. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-14T12:56:56.656192Z K 7 svn:log V 145 Fix the fallouts from r146267: - Add the forgotten "mode" argument to the "mode" command. - Move the description of "info" to where it belongs. END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T15:41:14.994822Z K 7 svn:log V 21 Open vendor/resolver END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T15:43:00.420627Z K 7 svn:log V 12 Cleaning up END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T16:09:53.074997Z K 7 svn:log V 42 Bootstrapping merge history for resolver. END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T16:47:21.118820Z K 7 svn:log V 40 Import the resolver part of BIND 9.4.3. END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T16:49:40.558529Z K 7 svn:log V 26 Tagging for 9.4.3 import. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-14T16:56:47.826384Z K 7 svn:log V 451 Make sure that the direct jls invocations prints something reasonable close to and in the same format as it had always. r185435 said it would try that but I had been living with jail patches for too long to actually remember the single-line format when adding backwards compatibility back in p4. Reported by: Philipp Wuensche Tested by: Philipp Wuensche MFC after: 4 weeks (just for me to get the mail) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-14T17:47:33.068613Z K 7 svn:log V 753 Add a check, that is currently under discussion for 8 but that we need to keep for 7-STABLE when MFCing in_pcbladdr() to not change the behaviour there. With this a destination route via a loopback interface is treated as a valid and reachable thing for IPv4 source address selection, even though nothing of that network is ever directly reachable, but it is more like a blackhole route. With this the source address will be selected and IPsec can grab the packets before we would discard them at a later point, encapsulate them and send them out from a different tunnel endpoint IP. Discussed on: net Reported by: Frank Behrens Tested by: Frank Behrens MFC after: 4 weeks (just so that I get the mail) END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T18:53:37.013143Z K 7 svn:log V 12 prop change END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T19:23:19.472944Z K 7 svn:log V 21 delete svn:keywords. END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T19:35:42.687776Z K 7 svn:log V 13 prop change. END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-12-14T19:39:53.360146Z K 7 svn:log V 346 Merge the resolver part of BIND 9.4.3 into HEAD. It includes the following fix: 2426. [bug] libbind: inet_net_pton() can sometimes return the wrong value if excessively large netmasks are supplied. [RT #18512] Reported by: Maksymilian Arciemowicz END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-14T20:03:46.845349Z K 7 svn:log V 188 Move the code that injects received characters into the tty system into a separate public function ucomrxchars(), to avoid requirement of simple metadata prefixing on the USB data stream. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-14T20:05:03.929524Z K 7 svn:log V 73 Bump the FTDI receive buffer size to 256 in order to improve throughput. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-14T20:15:30.992165Z K 7 svn:log V 205 To avoid one doubtless netgraph SMP scalability limitation point, switch node queues processing from single swi:net thread to several specialized threads. Reviewed by: julian Tested with: Netperf Cluster END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-14T22:26:57.301435Z K 7 svn:log V 325 Combine ath rate control modules with ath after bringing ath_hal src into the tree. The old split was balanced on module dependencies and symbol exposure that no longer exists. Users that want a module setup with rate control algorithm other than sample must override ATH_RATE in the ath module Makefile. Reviewed by: imp END K 10 svn:author V 6 murray K 8 svn:date V 27 2008-12-14T22:48:48.172967Z K 7 svn:log V 191 Add an ENVIRONMENT section to note that the RSH variable can be set to override the use of the rsh(1) program in rcmd(3). PR: docs/51133 Obtained from: NetBSD, partially MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-12-14T23:12:36.645843Z K 7 svn:log V 104 Add __packed to the part sub-structure to compensate for the 32-bit default structure alignment on ARM. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-14T23:24:00.417288Z K 7 svn:log V 45 Make the tp pointer available for debugging. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T00:29:26.190905Z K 7 svn:log V 72 fix ini setup Submitted by: Jiri Fojtasek END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T00:47:24.037073Z K 7 svn:log V 290 Replace adhoc checks in ieee80211_start with a per-node flag that indicates if an association id is required before outbound traffic is permitted. This cleans up the previous change that broke mcast traffic "to the stack" in ap mode as a side effect. Reviewed by: sephe, thompsa, weongyo END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:00:18.626974Z K 7 svn:log V 450 Improve regdomain.xml parser: o store XML_Parser in the state block so we can report line numbers for errors o complain about netband w/o mode o complain about unknown modes o complain about band w/o enclosing netband o complain about duplicate freqband o complain about unknown channel flags o complain about band w/o freqband's o complain about band w/o maxpower o complain about country w/o ISO cc o complain about country w/o regdomain reference END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:06:49.186183Z K 7 svn:log V 281 o distinguish between adhoc and ahdemo modes o do not require 1/2 and 1/4 rate channels be present in the calibration list when doing a gsm regulatory change; the existing 900MHz cards are not self-identifying so there is no way (using the calibration channel list) to check END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:09:01.589011Z K 7 svn:log V 236 0 is a potential ISO CC; use new NO_COUNTRY #define to identify when the CC is not set. Note NO_COUNTRY is set to 0xffff for now (must be 16 bits as ieee80211_regdomain struct defines sku's and cc's as uint16_t which may need fixing). END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:10:08.600257Z K 7 svn:log V 120 fix handling of unknown country codes; atoi doesn't return -1 for an invalid string as I thought; so use strtol instead END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:10:52.862620Z K 7 svn:log V 45 fix handling of sku codes like country codes END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:15:15.447957Z K 7 svn:log V 118 move channel parsing to a getchannel routine so it can be reused to check the channel argument supplied to chanswitch END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:18:11.341303Z K 7 svn:log V 104 o fix DEBUG sku definition o add definitions for 900MHz radios: Ubiquiti SR9 and XR9, and ZComax GZ-901 END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:26:33.054187Z K 7 svn:log V 246 Fix definition of IEEE80211_CHAN_MAX; it was defined as 255 but really was meant to be 256. Adjust usage accordingly and replace bogus usage of this value in checking IEEE channel #'s. NB: this causes an ABI change; ifconfig must be recompiled END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T01:44:23.324225Z K 7 svn:log V 27 back out unintended change END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T02:06:02.412733Z K 7 svn:log V 91 move LLE_VALID check earlier in the loop to avoid passing invalid entries back to userland END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-12-15T03:56:54.142384Z K 7 svn:log V 196 MFC r185284, r185283 PR: 118346 Submitted by: Masanori OZAWA , trasz Discussed at: devsummit Strassburg, EuroBSDCon2008 Discussed with: rwatson, gnn, hrs Approved by: re (gnn) END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-12-15T03:58:55.976569Z K 7 svn:log V 214 MFC r185284, r185283 PR: 118346 Submitted by: Masanori OZAWA , trasz Discussed at: devsummit Strassburg, EuroBSDCon2008 Discussed with: rwatson, gnn, hrs Approved by: re (gnn) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T04:13:00.166699Z K 7 svn:log V 62 check that lle has not been set to NULL before trying to free END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T04:14:49.104132Z K 7 svn:log V 93 "fix" ndp ond 64-bit architectures, ndp.c assumes that the sockaddr_dl field is word aligned END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T04:18:44.793243Z K 7 svn:log V 38 check ln against NULL instead of zero END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T04:20:42.802200Z K 7 svn:log V 42 IFC 186072:186109 merge latest from HEAD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-15T05:54:27.992656Z K 7 svn:log V 166 MFC r185962: It seems there are still issues on multicast perfect filtering. Disable it until I find spare time to analyze the issue. Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-15T05:59:52.207261Z K 7 svn:log V 166 MFC r185962: It seems there are still issues on multicast perfect filtering. Disable it until I find spare time to analyze the issue. Approved by: re (kensmith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-15T06:00:25.238659Z K 7 svn:log V 123 Spell "substitution" correctly. PR: bin/128616 Submitted by: Jaakko Heinonen Pointy hat: Tim Kientzle MFC after: 30 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-15T06:10:57.643519Z K 7 svn:log V 1272 This main goals of this project are: 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T06:33:54.698650Z K 7 svn:log V 68 Create new branch for testing flowtable and network locking changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T06:53:09.096254Z K 7 svn:log V 26 Add arpv2 management code END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-15T07:51:59.451812Z K 7 svn:log V 33 re-add accidentally deleted line END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-15T08:11:45.483025Z K 7 svn:log V 68 Work on adding appropriate byte counting (RFC 3465) support to TCP. END K 10 svn:author V 6 murray K 8 svn:date V 27 2008-12-15T08:27:44.945821Z K 7 svn:log V 421 Add support for HTTP 1.1 If-Modified-Since behavior. fetch(1) accepts a new argument -i that if specified will cause the file to be downloaded only if it is more recent than the mtime of . libfetch(3) accepts the mtime in the url structure and a flag to indicate when this behavior is desired. PR: bin/87841 Submitted by: Jukka A. Ukkonen (partially) Reviewed by: des, ru MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-15T13:19:11.683724Z K 7 svn:log V 80 Add a symlink from enc.4 to if_enc.4. Reviewed by: brueffer MFC after: 4 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-12-15T14:07:07.115549Z K 7 svn:log V 93 Elaborate on the hardware features fxp(4) supports. Submitted by: yongari MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-15T14:41:55.356851Z K 7 svn:log V 97 - Disambiguate a few panic messages. - Style fixes: wrap long lines, parenthesize return values. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-15T15:31:10.787522Z K 7 svn:log V 666 Adapt parts of the sparc64 Open Firmware bus enumeration code (in particular, the code for parsing interrupt maps) to PowerPC and reflect their new MI status by moving them to the shared dev/ofw directory. This commit also modifies the OFW PCI enumeration procedure on PowerPC to allow the bus to find non-firmware-enumerated devices that Apple likes to add, and adds some useful Open Firmware properties (compat and name) to the pnpinfo string of children on OFW SBus, EBus, PCI, and MacIO links. Because of the change to PCI enumeration on PowerPC, X has started working again on PPC machines with Grackle hostbridges. Reviewed by: marius Obtained from: sparc64 END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-15T15:41:28.686676Z K 7 svn:log V 37 Make console input work when in DDB. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-15T15:42:24.301891Z K 7 svn:log V 28 Fix PV mode suspend/resume. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-15T15:46:56.377217Z K 7 svn:log V 152 Don't tell the user to remove the media until its actually possible for them to remove the media. CDs need to be unmounted before they can be removed. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2008-12-15T17:11:40.104271Z K 7 svn:log V 166 Change Dell's gen2 catch-all from Dell PERC H700/H800 to Dell PERC Gen2 and bump the driver version from 2 to 3 and fix the related style problem. Suggested by: LSI END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-12-15T18:20:59.138541Z K 7 svn:log V 139 Unbreak ofwdump build by moving the pcell_t definition to after the kernel types headers, and inside the _KERNEL ifdef. Pointy hat to: me END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-15T20:32:16.448074Z K 7 svn:log V 672 - 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 Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-15T20:36:32.025088Z K 7 svn:log V 672 - 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 Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-15T20:40:06.593413Z K 7 svn:log V 650 - 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 END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-15T21:36:14.581625Z K 7 svn:log V 393 MFC: 185750 - 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. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-15T21:37:40.812087Z K 7 svn:log V 393 MFC: 185750 - 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. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-15T21:39:31.210709Z 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 6 marius K 8 svn:date V 27 2008-12-15T21:42:38.947388Z K 7 svn:log V 374 Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI controllers. Reading this register, for which there are indications that it doesn't really exist, returns 0 on at least some 12160 and doing so on Sun Fire V880 causes a data access error exception. Reported and tested by: Beat Gaetzi Approved by: mjacob Obtained from: OpenBSD (modulo setting isp_lvdmode) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-15T21:50:54.476467Z K 7 svn:log V 485 Another step assimilating IPv[46] PCB code - directly use the inpcb names rather than the following IPv6 compat macros: in6pcb,in6p_sp, in6p_ip6_nxt,in6p_flowinfo,in6p_vflag, in6p_flags,in6p_socket,in6p_lport,in6p_fport,in6p_ppcb and sotoin6pcb(). Apart from removing duplicate code in netipsec, this is a pure whitespace, not a functional change. Discussed with: rwatson Reviewed by: rwatson (version before review requested changes) MFC after: 4 weeks (set the timer and see then) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2008-12-15T21:54:23.398711Z K 7 svn:log V 339 By default assume a 8139 chip if the EEPROM contents prove inconclusive. The same LOM hardware with goofed-up EEPROM programming also needed reading the Ethernet address from the chips registers as the EEPROM did not have a sensible address programmed. Patch developed by: pyun@ Funky hardware on loan: www.id-it.nl MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T22:31:54.171999Z K 7 svn:log V 22 remove extraneous ';' END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-15T22:50:50.449735Z K 7 svn:log V 367 Fix ucastkey teardown for drivers that plumb clear keys or similar (e.g. ath): we must check the key index and not whether the key points at a cipher other than "undef". This looks like it's been broken for a while. Might be worth adding an explicit clear cipher at some point though this would require changes to the usage of IEEE80211_KEY_UNDEFINED. PR: 125906 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-15T23:49:09.568075Z K 7 svn:log V 27 Add VIA VT1708B codec IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-16T00:08:51.489540Z K 7 svn:log V 25 Add some HDMI codec IDs. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T00:16:51.398228Z K 7 svn:log V 83 fix two use after frees in nd6_cache_lladdr caused by last minute unlock shuffling END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T00:18:04.352516Z K 7 svn:log V 46 unlock looked up llentrys in defrouter_select END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T00:20:15.869428Z K 7 svn:log V 45 add macro for destroying an llentry's rwlock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T00:20:49.137572Z K 7 svn:log V 67 unlock and destroy an llentry's lock before freeing Found by: sam END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-16T01:17:36.181089Z K 7 svn:log V 40 fix comment Submitted by: Daan Vreeken END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-16T01:18:10.467586Z K 7 svn:log V 190 Stop treating Xorg as a distribution in the mainline portion of sysinstall and leave it to be handled in the packages section (or post-install completely) along with all the other packages. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-16T01:21:19.953989Z K 7 svn:log V 111 Initialize the variable "router", and apply "static_route" flag across the entire nd6_cache_lladdr() function. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-16T01:24:05.745869Z K 7 svn:log V 460 If possible, try to obtain max_mhz on cpufreq attach instead of first request. On HyperThreading CPUs logical cores have same frequency, so setting it on any core will change the other's one. In most cases first request to the second core will be the "set" request, done after setting frequency of the first core. In such case second CPU will obtain throttled frequency of the first core as it's max_mhz making cpufreq broken due to different frequency sets. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T01:58:30.909455Z K 7 svn:log V 62 unlock the llentry after use in find_pfxlist_reachable_router END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T02:05:11.874639Z K 7 svn:log V 145 need to check that lle is not null before unlock if the break condition is not met also fix the break condition to explicitly check against NULL END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T02:06:26.932601Z K 7 svn:log V 60 make sure redirect doesn't return without dropping the lock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T02:30:42.814200Z K 7 svn:log V 51 check return from lla_lookup against NULL not zero END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T02:33:53.052320Z K 7 svn:log V 80 advance tail pointer in nd6_output_lle and check lla_output return against NULL END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T02:47:22.383871Z K 7 svn:log V 51 explicitly check return of lla_lookup against NULL END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T02:48:12.764262Z K 7 svn:log V 31 don't unlock lle if it is NULL END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T03:05:18.194820Z K 7 svn:log V 50 simplify locking in find_pfxlist_reachable_router END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T03:12:44.773568Z K 7 svn:log V 64 convert more pointer validation checks to checking against NULL END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T03:18:59.110631Z K 7 svn:log V 68 check pointer against NULL add new line after declaration for style END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-16T04:34:09.532836Z K 7 svn:log V 218 Handle VFS_VGET() failing with an error other than EOPNOTSUPP in addition to failing with that error. PR: 125149 Submitted by: Jaakko Heinonen (jh saunalahti fi) Reviewed by: mohans, kan MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T04:40:43.699034Z K 7 svn:log V 69 assert that the radix node head is locked when manipulating the tree END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T04:41:39.606602Z K 7 svn:log V 23 style and spelling fix END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-16T04:59:04.691140Z K 7 svn:log V 171 Test whether sc->tx_mbuf_map[i], not whether sc->tx_mbuf_map is NULL before doing bus_dmamap_sync() since it operates on the former, not the latter. Reviewed by: davidch END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-16T05:03:22.355049Z K 7 svn:log V 305 Don't count InFramesL2FilterDiscards into Ierr. This value does not represent a real packet error but simply indicate that an unexpected unicast or multicast error was received by the NIC, which was not counted in the past as well. Reported by: many (on -stable@) Reviewed by: davidch MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T06:01:08.219738Z K 7 svn:log V 28 check pointers against NULL END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-16T07:08:35.043104Z K 7 svn:log V 30 More work on TCP ABC support. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-16T09:06:47.716776Z K 7 svn:log V 62 Initialize mergeinfo in order to pull in recent head changes. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-12-16T09:15:47.570162Z K 7 svn:log V 49 merge recent head changes: arp-v2, vimage switch END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-16T09:17:05.357203Z K 7 svn:log V 57 Fix printing of shared memory limits. MFC after: 3 days END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2008-12-16T09:51:13.588111Z K 7 svn:log V 81 Rephrase and/or fix some comments in Synaptics touchpad initialization function. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T11:01:36.738164Z K 7 svn:log V 96 remove assertion checks for now - ipfw uses its own lock for protecting its radix tree instance END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-16T11:04:02.739841Z K 7 svn:log V 256 Bug fixes: - Initialize variables before use. - Remove a KASSERT() that could falsely trigger if there are other sources of NMIs in the system. Efficiency tweak: - When checking PMCs that overflowed, ignore PMCs that were not configured for sampling. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T11:06:30.973502Z K 7 svn:log V 89 ipfw doesn't use the radix node head lock to protect the radix tree - remove acquisition END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-16T13:58:37.154034Z K 7 svn:log V 303 Avoid 256 integer divisions per rc4_init() call. Replace it with using separate index variable. It gives more then double rc4_init() performance increase on tested i386 P4. It also gives about 15% speedup to PPTP VPN with stateless MPPE encryption (by ng_mppc) which calls rc4_init() for every packet. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-16T15:05:35.696808Z K 7 svn:log V 146 IPFW's pfil hook/unhook code ignores the return values of pfil_add_hook() and pfil_remove_hook(), so cast them to (void). MFC after: pretty soon END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-12-16T15:05:52.358556Z K 7 svn:log V 61 Make it possible to cherry-pick packages out of a directory. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-16T16:04:40.903856Z K 7 svn:log V 299 Call ata_legacy() only once on attach and save it's result. Scanning PCI configuration registers (which are not going to change) on every interrupt looks expensive, especially when interrupt is shared. Profiling shows me 3% of time spent by atapci0 on pure network load due to IRQ sharing with em0. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-16T16:15:19.264786Z K 7 svn:log V 78 Add confirmation of the password that got entered. PR: 29893 (among others) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-16T16:54:51.142574Z K 7 svn:log V 336 Get rid of dead_sim. There is no way to make it work - any attempt to actually use it would panic on mtx operation, as dead_sim doesn't have a proper mutex. Even if it had a properly initialized mutex, it wouldn't have properly locked and owned one. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-16T16:57:33.672626Z K 7 svn:log V 520 Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-16T17:01:52.800686Z K 7 svn:log V 173 Fix locking in periph drivers - don't try to unlock periph that was already deallocated. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-16T17:03:22.552747Z K 7 svn:log V 870 A few locking fixes and cleanups to pfil hook registration, unregistration, and execution: - Add some brackets for clarity and trim a bit of vertical whitespace. - Remove comments that may not contribute to clarity, such as "Lock" before acquiring a lock and "Get memory" before allocating memory. - During hook registration, don't drop pfil_list_lock between checking for a duplicate and registering the hook, as this leaves a race condition by failing to enforce the "no duplicate hooks" invariant. - Don't lock the hook during registration, since it's not yet in use. - Document assumption that hooks will be quiesced before being unregistered. - Don't write-lock hooks during removal because they are assumed quiesced. - Rename "done" label to "locked_error" to be clear that it's an error path on the way out of hook execution. MFC after: pretty soon END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-16T17:04:52.198522Z K 7 svn:log V 332 Implement g_vfs_orphan(). Without it, the filesystem never closes the device, which means refcount on periph drivers never drops, which means cam_sim_free() never returns, which results in umass sleeping there ad infinitum. Submitted by: pjd Reviewed by: scottl, pjd Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-16T19:15:31.344950Z K 7 svn:log V 76 Unroll two loops of SHA1Update(). 60 bytes of static memory is not a price. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-16T20:04:02.745501Z K 7 svn:log V 133 Mips never had /usr/libexec/ld-elf.so.1, so remove it. We don't have any binaries that need it. This was moved before FreeBSD 5.x. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-16T20:07:47.211962Z K 7 svn:log V 299 Start to clean up the MIPS elf machine dependent file. o Add support for compiling elf64 for this file (the rest of the changes are coming later) o Fill in some misssing relocation types. We need to support these in elf_machdep.c's relocation routines eventually, but that's future work too. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-16T20:48:38.183421Z K 7 svn:log V 66 MFC: Fix printing of shared memory limits. Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-16T20:59:27.261601Z K 7 svn:log V 230 Fix forced mdconfig -du. E.g. the following would previously result in panic: mdconfig -af blah.img -o force mount /dev/md0 /mnt mdconfig -du 0 Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-12-16T21:13:11.855491Z K 7 svn:log V 450 According to phk@, VOP_STRATEGY should never, _ever_, return anything other than 0. Make it so. This fixes "panic: VOP_STRATEGY failed bp=0xc320dd90 vp=0xc3b9f648", encountered when writing to an orphaned filesystem. Reason for the panic was the following assert: KASSERT(i == 0, ("VOP_STRATEGY failed bp=%p vp=%p", bp, bp->b_vp)); at vfs_bio:bufstrategy(). Reviewed by: scottl, phk Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-16T22:16:34.216003Z K 7 svn:log V 127 Also propagate the if_hwassist value to the parent so that cksum offload works. Submitted by: Tom Hicks (thicks_averesys.com) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T23:06:36.456893Z K 7 svn:log V 125 - Simplify handling of the deferring of mbuf transmit until after lle lock drop - add a couple of comments to clarify intent END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-12-16T23:16:10.654782Z K 7 svn:log V 1040 1) Fix a deadlock in the VFS: - threadA runs vfs_rel(mp1) - threadB does unmount the mp1 fs, sets MNTK_UNMOUNT and drop MNT_ILOCK() - threadA runs vfs_busy(mp1) and, as long as, MNTK_UNMOUNT is set, sleeps waiting for threadB to complete the unmount - threadB, in vfs_mount_destroy(), finds mnt_lock > 0 and sleeps waiting for the refcount to expire. Fix the deadlock by adding a flag called MNTK_REFEXPIRE which signals the unmounter is waiting for mnt_ref to expire. The vfs_busy contenders got awake, fails, and if they retry the MNTK_REFEXPIRE won't allow them to sleep again. 2) Simplify significantly the code of vfs_mount_destroy() trimming unnecessary codes: - as long as any reference exited, it is no-more possible to have write-op (primarty and secondary) in progress. - it is no needed to drop and reacquire the mount lock. - filling the structures with dummy values is unuseful as long as it is going to be freed. Tested by: pho, Andrea Barberio Discussed with: kib END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-16T23:56:24.652268Z K 7 svn:log V 187 * Compare pointer with NULL * Remove trailing whitespace (added in r186162) * Reduce indentation by rephrasing test Submitted by: Christopher Mallon (christoph dot mallon at gmx dot de) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-17T00:11:56.456637Z K 7 svn:log V 55 convert ifnet and afdata locks from mutexes to rwlocks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-17T00:14:28.133093Z K 7 svn:log V 148 default to doing lla_lookup with shared afdata lock and returning a shared lock on the lle - thus restoring parallel performance to pre-arpv2 level END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-17T00:53:59.615051Z K 7 svn:log V 30 seems I never committed these END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-17T02:52:45.325073Z K 7 svn:log V 128 As threatened a while ago, remove support for tape media. Reports vary but most people believe it stopped working a while ago. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-17T02:54:18.067372Z K 7 svn:log V 42 Remove file no longer part of sysinstall. END K 10 svn:author V 6 murray K 8 svn:date V 27 2008-12-17T03:24:55.903250Z K 7 svn:log V 301 1. Update the list of Intel chips which have EM64T and can run the amd64 port. 2. Increase the known working maximum memory configuration from 8gb to 32gb. PR: docs/102148 (1) Submitted by: Mike Meyer (1 - partially) Reviewed by: hrs Approved by: re (hrs) MFC after: 1 minute END K 10 svn:author V 6 murray K 8 svn:date V 27 2008-12-17T03:48:35.117201Z K 7 svn:log V 167 MFC: r186204 Update the list of Intel chips with EM64T for FreeBSD/amd64 and increase the known maximum memory configuration from 8gb to 32gb. Approved by: re (hrs) END K 10 svn:author V 6 murray K 8 svn:date V 27 2008-12-17T03:57:28.358879Z K 7 svn:log V 167 MFC: r186204 Update the list of Intel chips with EM64T for FreeBSD/amd64 and increase the known maximum memory configuration from 8gb to 32gb. Approved by: re (hrs) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-17T04:00:43.059039Z K 7 svn:log V 73 merge in 2 buf_ring helper routines for enqueueing and freeing buf_rings END