ƒ´Y180375 176 582 163 411 194 123 179 197 314 325 366 1332 230 586 801 245 309 354 227 458 339 243 110 152 133 174 172 114 170 1510 1348 1364 139 377 182 191 161 170 146 165 139 173 152 131 366 144 152 182 324 223 208 231 132 190 278 370 205 143 206 391 100 189 143 219 183 139 188 359 361 157 157 483 623 236 193 131 131 174 376 150 2039 115 125 200 229 293 125 119 293 292 145 182 182 201 360 182 122 116 123 125 119 150 181 1533 449 1444 135 135 335 252 707 262 133 498 353 325 325 239 248 515 1630 165 172 289 265 266 374 172 172 209 462 580 634 173 181 153 279 191 124 239 159 177 149 447 207 233 498 433 433 189 306 168 291 847 159 192 178 381 247 215 160 136 1561 309 149 142 750 204 140 136 192 162 171 147 166 140 174 K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-07-09T00:10:55.069797Z K 7 svn:log V 486 Fix a mutex LOR introduced by the conversion of if_ndis from spinlocks to mutexes and replacing the obsolete if_watchdog interface. The ndis_ticktask function calls into ieee80211_new_state under one condition with NDIS_LOCK held. The ieee80211_new_state would call into ndis_start in some cases too, resulting in the occasional case where ndis_start acquires NDIS_LOCK from inside the NDIS_LOCK held by ndis_ticktask. Obtained from: Paul B. Mahol MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-09T01:44:06.367499Z K 7 svn:log V 67 Disable jumbo frame support for RTL810x fast ethernet controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-09T01:58:18.052156Z K 7 svn:log V 314 Add driver support for RTL8102E and RTL8102EL which is the second generation of RTL810x PCIe fast ethernet controller. Note, Tx/Rx descriptor format is different from that of first generation of RTL8101E series. Jumbo frame is not supported for RTL810x family. Tested by: NAGATA Shinya ( maya AT negeta DOT com ) END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-09T06:04:10.392393Z K 7 svn:log V 101 Fix lines that are too long in pmap_growkernel() by substituting shorter but equivalent expressions. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-07-09T06:59:14.846479Z K 7 svn:log V 31 Leapsecond at end of december. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-07-09T07:37:54.801119Z K 7 svn:log V 83 Allow comment to be placed at the end of a configuration line. MFC after: 2 weeks END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-09T14:04:28.818584Z K 7 svn:log V 101 - nested functions are a GCC extensions and should not be used Submitted by: gahr MFC after: 3 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-09T15:06:41.651342Z K 7 svn:log V 219 Add support for the ICH9 in non AHCI mode (RAID mode). Submitted by: Andrey V. Elsukov Tested by: Vitalij L. Fadeev Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-09T15:07:53.069851Z K 7 svn:log V 230 Add new device id for ICH8M, which supports greater than UDMA33 mode when it worked as generic IDE. PR: 125422 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-09T15:10:53.705480Z K 7 svn:log V 271 Driver failed to allocate MMIO resources. Attached patch adds a fallback path. It uses generic IDE facilities if sii-specific allocations failed PR: 125421 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-09T15:48:16.511395Z K 7 svn:log V 1234 Remove unused support for local and foreign addresses in generic raw socket support. These utility routines are used only for routing and pfkey sockets, neither of which have a notion of address, so were required to mock up fake socket addresses to avoid connection requirements for applications that did not specify their own fake addresses (most of them). Quite a bit of the removed code is #ifdef notdef, since raw sockets don't support bind() or connect() in practice. Removing this simplifies the raw socket implementation, and removes two (commented out) uses of dtom(9). Fake addresses passed to sendto(2) by applications are ignored for compatibility reasons, but this is now done in a more consistent way (and with a comment). Possibly, EINVAL could be returned here in the future if it is determined that no applications depend on the semantic inconsistency of specifying a destination address for a protocol without address support, but this will require some amount of careful surveying. NB: This does not affect netinet, netinet6, or other wire protocol raw sockets, which provide their own independent infrastructure with control block address support specific to the protocol. MFC after: 3 weeks Reviewed by: bz END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-09T16:33:21.302825Z K 7 svn:log V 138 Document required locking in in6_sleectsrc() in case an inp is passed in by adding an assert. Requested by: rwatson Reviewed by: rwatson END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-07-09T16:45:30.253640Z K 7 svn:log V 493 1) Adds the rest of the VIMAGE change macros 2) Adds some __UserSpace__ on some of the common defines that the user space code needs 3) Fixes a bug when we send up data to a user that failed. We need to a) trim off the data chunk headers, if present, and b) make sure the frag bit is communicated properly for the msgs coming off the stream queues... i.e. we see if some of the msg has been taken. Obtained from: jeli contributed the VIMAGE changes on this pass Thanks Julain! END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-09T16:47:55.219831Z K 7 svn:log V 708 Improve the EEPROM parsing, based on finding a datasheet that describes it in detail. When setting media, don't error out when a specific media is selected. # Note: There may be some issues still here since the EtherJet PC Card doesn't # conform to the datasheet. Many different kinds of dongles can be plugged in # and it is unknown how to ask which one it is. Also, add a /* bad! */ comment to a 1/2 second delay after we set the DC/DC parameters. This should be a *sleep of some sort for !cold. Fortunately it is the only one and is only used when setting media, so the benefit from removing it is small. Unfortunately, it likely serves as an exemplar of good programming techniques, which it isn't. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-09T17:00:14.348283Z K 7 svn:log V 150 Add quirk for the Samsung YP-U3 PR: 125398 Submitted by: Tino Engel Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-09T18:39:55.968658Z K 7 svn:log V 212 Add sysctl subtree net.raw for generic raw socket infrastructure; expose default send and receive socket buffer sizes using sysctls so that they can be administered centrally. Reviewed by: bz MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-09T18:41:31.177480Z K 7 svn:log V 257 Rather than checking for a NULL so_pcb in raw_attach(), assert that it's non-NULL, as all callers can and should already do the required checking. Update comments a bit more to talk about rawcb allocation for consumers. Reviewed by: bz MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-09T19:03:06.788215Z K 7 svn:log V 135 For consistency with the rest of the function use the locally cached pointer pcbinfo rather than inp->inp_pcbinfo. MFC after: 3 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-09T19:44:37.296577Z K 7 svn:log V 363 Band-aid a problem with 32 bit selector setup. Initialize %ds, %es, and %fs during CPU startup. Otherwise a garbage value could leak to a 32-bit process if a process migrated to a different CPU after exec and the new CPU had never exec'd a 32-bit process. A more complete fix is needed, but this mitigates the most frequent manifestations. Obtained from: ups END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-07-09T22:33:46.427996Z K 7 svn:log V 246 Add a new program to the multicast test suite. The mcgrab program is used to grab and hold some number of multicast addresses in order to test what happens when an interface goes over the number of multicast addresses it can filter in hardware. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-09T22:57:35.783764Z K 7 svn:log V 148 Slightly less hacky interception for svnadmin/conf/* exporting. I really need to do this right, because it doesn't handle add/remove of files etc. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-09T23:06:41.392283Z K 7 svn:log V 16 Add vendor/cpio END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-09T23:07:03.768649Z K 7 svn:log V 58 cvs2svn managed to overlay two different path trees. fix. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-09T23:21:55.158320Z K 7 svn:log V 39 Flatten cvs2svn generated import tree. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-07-10T00:15:29.011825Z K 7 svn:log V 81 Get in some basic infrastructure for Bluetooth SCO support. MFC after: 3 months END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-10T00:52:03.698649Z K 7 svn:log V 78 Import heavily trimmed gnu cpio-2.8. (2.9 switched to gpl3 a few weeks later) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-10T00:53:05.632575Z K 7 svn:log V 20 Tag cpio-2.8 import END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-10T00:56:48.574859Z K 7 svn:log V 76 Initialize mergeinfo. Record all previous vendor branch activity as merged. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T01:23:45.405017Z K 7 svn:log V 1412 MFC r179100 Add age(4), a driver for Attansic/Atheros L1 gigabit ethernet controller. L1 has several threshold/timer registers and they seem to require careful tuned parameters to get best performance. Datasheet for L1 is not available to open source driver writers so age(4) focus on stability and correctness of basic Tx/Rx operation. ATM the performance of age(4) is far from optimal which in turn means there are mis-programmed registers or incorrectly configured registers. Currently age(4) supports all known hardware assistance including - MSI support. - TCP Segmentation Offload. - Hardware VLAN tag insertion/stripping. - TCP/UDP checksum offload. - Interrupt moderation. - Hardware statistics counter support. - Jumbo frame support. - WOL support. L1 gigabit ethernet controller is mainly found on ASUS motherboards. Note, it seems that there are other variants of hardware as known as L2(Fast ethernet) and newer gigabit ethernet (AR81xx) from Atheros. These are not supported by age(4) and requires a seperate driver. Big thanks to all people who reported feedback or tested patches. Tested by: kevlo, bsam, Francois Ranchin < fyr AT fyrou DOT net > Thomas Nystroem < thn AT saeab DOT se > Roman Pogosyan < asternetadmin AT gmail DOT com > Derek Tattersal < dlt AT mebtel DOT net > Oliver Seitz < karlkiste AT yahoo DOT com > END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-10T01:32:08.887159Z K 7 svn:log V 1252 MFC of changes 180234-180236: On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: [/] root@ed-exigent>ldd `which httpd` ldd: /usr/local/sbin/httpd: can't read program header ldd: /usr/local/sbin/httpd: not a dynamic executable But... [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` libm.so.4 => /lib32//libm.so.4 (0x280c8000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) libpthread.so.2 => not found (0x0) libc.so.6 => /lib32//libc.so.6 (0x28235000) libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) Added support in ldd(1) for the LD_32_xxx environment variables if the architecture of the machine is >32 bits. If we ever go to 128 bit architectures this excercise will have to be repeated but thanks to earlier commits today it will be relative simple. PR: bin/124906 Submitted by: edwin Approved by: bde (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-10T01:33:48.802996Z K 7 svn:log V 1268 MFC of changes 180234-180236: On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: [/] root@ed-exigent>ldd `which httpd` ldd: /usr/local/sbin/httpd: can't read program header ldd: /usr/local/sbin/httpd: not a dynamic executable But... [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` libm.so.4 => /lib32//libm.so.4 (0x280c8000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) libpthread.so.2 => not found (0x0) libc.so.6 => /lib32//libc.so.6 (0x28235000) libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) Added support in ldd(1) for the LD_32_xxx environment variables if the architecture of the machine is >32 bits. If we ever go to 128 bit architectures this excercise will have to be repeated but thanks to earlier commits today it will be relative simple. PR: bin/124906 Submitted by: edwin Approved by: bde (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T01:43:38.835949Z K 7 svn:log V 43 MFC r179101 Hook up age(4) to the build. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-10T02:08:00.597946Z K 7 svn:log V 282 Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massive conflicts due to radically different approaches to security and bug fixes. In some cases I re-started from the vendor version and reimplemented our patches. Fortunately, this is not enabled by default in -current. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:23:36.947014Z K 7 svn:log V 86 MFC r179102 Add man page for age(4). brueffer fixed various nits in the document. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:26:55.892143Z K 7 svn:log V 95 MFC r179103 Add age(4) to the list of devices supporting full VLAN processing in hardware. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:29:15.247058Z K 7 svn:log V 65 MFC r179104 Add age(4) to the list of drivers supporting ALTQ. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:30:23.268680Z K 7 svn:log V 74 MFC r179105 Add age(4) to the list of drivers use the miibus interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:36:01.629977Z K 7 svn:log V 50 MFC r179106 Add an entry for the age(4) module. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:39:32.311929Z K 7 svn:log V 69 MFC r179107 Add age(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T02:43:58.099714Z K 7 svn:log V 43 MFC r179108 Hook up age(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T03:20:34.385588Z K 7 svn:log V 77 MFC r179109 Add age(4) to the list of drivers supported by GENERIC kernel. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T03:29:10.658259Z K 7 svn:log V 56 MFC r179348 ASUS G2S notebook is supported by age(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-10T03:34:10.056642Z K 7 svn:log V 35 MFC r179653 Fix typo in comment. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-07-10T06:26:15.162022Z K 7 svn:log V 274 MFC: - sched_4bsd is no longer a default system scheduler on some architectures, so call it "traditional" instead. - sched_ule is no longer buggy or experimental (according to rev. 1.7 of sched_ule(4)), so don't call it experimental (reported by a user on stable@). END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-07-10T08:44:02.994540Z K 7 svn:log V 48 the driver don't support AD-HOC mode currently. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-10T09:24:37.945061Z K 7 svn:log V 60 MFC r180347: Add #include for the strtoimax(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-10T09:37:35.584956Z K 7 svn:log V 90 MFC r180336: Move the setting of KQ_FLUXWAIT after KQ_FLUX_WAKEUP() in the kqueue_scan(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-10T09:45:28.248452Z K 7 svn:log V 227 Apply the MAC label to an outgoing UDP packet when other inpcb properties are processed, meaning that we avoid the cost of MAC label assignment if we're going to drop the packet due to mbuf exhaustion, etc. MFC after: 3 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-07-10T09:50:55.738814Z K 7 svn:log V 125 Garbage collect a variable which is assigned a value once but otherwise is never used. Found by: LLVM/Clang Static Analyzer END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-10T11:24:41.778326Z K 7 svn:log V 112 Back-out my previous change. See the thread at http://lists.freebsd.org/pipermail/cvs-all/2008-July/263779.html END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-10T13:23:22.169646Z K 7 svn:log V 139 For consistency take lport as u_short in in{,6}_pcblookup_local. All callers either pass in an u_short or u_int16_t. Reviewed by: rwatson END K 10 svn:author V 8 charnier K 8 svn:date V 27 2008-07-10T13:26:46.645768Z K 7 svn:log V 35 add __unused to succeed at WARNS=6 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-10T13:31:11.841545Z K 7 svn:log V 99 Pass the ucred along into in{,6}_pcblookup_local for upcoming prison checks. Reviewed by: rwatson END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-10T16:03:24.052169Z K 7 svn:log V 182 Use 'CSCOPE_ARCHDIR' to change the default architecture directories to cscope. After the addition of sys/modules/dtrace/dtrace, setting 'ARCHDIR' in /etc/src.conf breaks the build. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-10T16:20:18.500671Z K 7 svn:log V 273 Slightly rearrange validation of UDP arguments and jail processing in udp_output() so that argument validation occurs before jail processing. Add additional comments explaining what's going on when we process addresses and binding during udp_output(). MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-10T16:22:24.198276Z K 7 svn:log V 112 Extend pmap_demote_pde() to include the ability to instantiate a new page table page where none existed before. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-10T16:35:57.148419Z K 7 svn:log V 48 Allow 'elf_file_t' to be used in a wider scope. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-10T17:06:54.387379Z K 7 svn:log V 113 MFC: After probing the available frequency settings, restore the CPU to run at whatever frequency it started at. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-07-10T17:45:57.337584Z K 7 svn:log V 295 id_t is a 64-bit integer and thus is passed as two arguments like off_t is. As a result, those arguments must be recombined before calling the real syscal implementation. This change fixes 32-bit compatibility for cpuset_getid(), cpuset_setid(), cpuset_getaffinity(), and cpuset_setaffinity(). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-07-10T17:46:58.211041Z K 7 svn:log V 6 Regen END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-07-10T17:53:10.209873Z K 7 svn:log V 96 Fix -o mntudp after the conversion to default TCP mounts Submitted by: danfe MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-07-10T19:54:34.252660Z K 7 svn:log V 48 style(9): put parentheses around return values. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-10T21:36:53.370322Z K 7 svn:log V 124 Detect ATA controllers in the Macbook3. PR: 118135 Submitted by: ed Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-11T01:10:40.121871Z K 7 svn:log V 88 Revert r180431. r180431 broke the AMD64 build (the only arch using kern/link_elf_obj.c) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-11T02:09:08.378625Z K 7 svn:log V 45 Pass intended base dir through to makedirs() END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-11T08:11:49.204151Z K 7 svn:log V 96 The pfctl(8) program is already pretty verbose, so don't print extra information in quiet mode. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-11T09:35:20.116085Z K 7 svn:log V 263 MFC r180325 and r180329: - This code was intially obtained from NetBSD, but it's missing licence statement. Add the one from the current NetBSD version. - Add description about a missing return value [1] PR: docs/75995 Submitted by: Tarc END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-11T09:37:24.159514Z K 7 svn:log V 265 MFC r180325 and r180329: - This code was intially obtained from NetBSD, but it's missing licence statement. Add the one from the current NetBSD version. - Add description about a missing return value [1] PR: docs/75995 Submitted by: Tarc END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-11T09:39:33.419206Z K 7 svn:log V 62 MFC r180323: - remove superfluous word - remove contractions END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-11T09:40:14.536714Z K 7 svn:log V 62 MFC r180323: - remove superfluous word - remove contractions END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-11T11:22:19.939705Z K 7 svn:log V 390 Make it atomic for the devfs_populate_loop() to see the setting of SI_ALIAS flag and initialization of the si_parent when alias is created. Assert that supplied parent device is not NULL. Both situations could cause NULL dereference in the devfs_populate_loop() when creating a symlink for SI_ALIAS'ed device. Namely, cdp->cdp_c.si_parent may be NULL. Reported by: mav MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-11T11:27:42.695869Z K 7 svn:log V 530 Use the VM_ALLOC_INTERRUPT for the page requests when allocating memory for the bio for swapout write. It allows the page allocator to drain free page list deeper. As result, a deadlock where pageout deamon sleeps waiting for bio to be allocated for swapout is no more reproducable in practice. Alan said that M_USE_RESERVE shall be ressurrected and used there, but until this is implemented, M_NOWAIT does exactly what is needed. Tested by: pho, kris Reviewed by: alc No objections from: phk MFC after: 2 weeks (RELENG_7 only) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-11T14:48:28.978340Z K 7 svn:log V 140 Improve readability and cscope searches a little bit by not using the same variable name in closely related (but not conflicting) contexts. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-07-11T15:17:06.823547Z K 7 svn:log V 98 Put the _cpuset* symbols in FBSDprivate_1.0 instead of trying to put nonexistant __cpuset* there. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-11T15:43:07.820129Z K 7 svn:log V 38 MFC: r180145 Fix off-by-one error. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-11T15:50:09.168256Z K 7 svn:log V 38 MFC: r180145 Fix off-by-one error. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-07-11T16:46:29.699743Z K 7 svn:log V 81 - Fix a logic error when updating plex configuration. Approved by: pjd (mentor) END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-07-11T17:13:43.302445Z K 7 svn:log V 282 Dust off old code for support of USB isochronous transfers. USB isochronous transfer support is required for Bluetooth SCO. While i'm here change u_int to uint and update TODO. This should produce no visible changes unless the device is broken (or really old). MFC after: 3 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-11T18:26:12.394827Z K 7 svn:log V 54 Don't leak DMA map if not freed. Submitted by: kevlo END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-07-11T21:20:51.123759Z K 7 svn:log V 1942 A number of significant enhancements to the ciss driver: 1. The FreeBSD driver was setting an interrupt coalesce delay of 1000us for reasons that I can only speculate on. This was hurting everything from lame sequential I/O "benchmarks" to legitimate filesystem metadata operations that relied on serialized barrier writes. One of my filesystem tests went from 35s to complete down to 6s. 2. Implemented the Performant transport method. Without the fix in (1), I saw almost no difference. With it, my filesystem tests showed another 5-10% improvement in speed. It was hard to measure CPU utilization in any meaningful way, so it's not clear if there was a benefit there, though there should have been since the interrupt handler was reduced from 2 or more PCI reads down to 1. 3. Implemented MSI-X. Without any docs on this, I was just taking a guess, and it appears to only work with the Performant method. This could be a programming or understanding mistake on my part. While this by itself made almost no difference to performance since the Performant method already eliminated most of the synchronous reads over the PCI bus, it did allow the CISS hardware to stop sharing its interrupt with the USB hardware, which in turn allowed the driver to become decoupled from the Giant-locked USB driver stack. This increased performance by almost 20%. The MSI-X setup was done with 4 vectors allocated, but only 1 vector used since the performant method was told to only use 1 of 4 queues. Fiddling with this might make it work with the simpleq method, not sure. I did not implement MSI since I have no MSI-specific hardware in my test lab. 4. Improved the locking in the driver, trimmed some data structures. This didn't improve test times in any measurable way, but it does look like it gave a minor improvement to CPU usage when many processes/threads were doing I/O in parallel. Again, this was hard to accurately test. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-12T05:00:07.278835Z K 7 svn:log V 21 Turn on vendor/bind9 END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-12T05:00:28.042720Z K 7 svn:log V 31 Flatten bind9 vendor work area END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-12T05:36:04.829372Z K 7 svn:log V 105 Record baseline merge state. svn merge --record-only svn+ssh://svn.freebsd.org/base/vendor/bind9/dist . END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-12T05:47:40.403614Z K 7 svn:log V 134 Split off the dist/ tree right before the 9.4 imports started. We can use this as a work area for 9.3.* imports for stable branches. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-12T06:19:25.152439Z K 7 svn:log V 198 MFC of svn revision 174891 and 174750 Add the ability to clean up all shared memory segments which are unused in one go. PR: bin/118292 Submitted by: Callum Gibson END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T06:31:08.796953Z K 7 svn:log V 31 Vendor import of BIND 9.4.2-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T06:34:31.524348Z K 7 svn:log V 25 Tag the 9.4.2-P1 release END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-12T06:48:59.669207Z K 7 svn:log V 198 MFC of svn revision 174891 and 174750 Add the ability to clean up all shared memory segments which are unused in one go. PR: bin/118292 Submitted by: Callum Gibson END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T06:55:03.732980Z K 7 svn:log V 197 Add a patch from ISC to fix named-checkconf. The error condition was not being properly tested for, so it would not report the error in some cases. This fix (or similar) will be in version 9.4.3. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T06:56:10.555450Z K 7 svn:log V 51 Re-tag 9.4.2-P1 after the fix to lib/bind9/check.c END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T07:29:21.198380Z K 7 svn:log V 88 These files are unused, and due to a more thorough FREEBSD-Xlist are no longer updated. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T07:32:48.158328Z K 7 svn:log V 88 These files are unused, and due to a more thorough FREEBSD-Xlist are no longer updated. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T07:47:28.072820Z K 7 svn:log V 106 The cp that created this directory should not have happened. These are not the droids you're looking for. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-12T08:01:05.085590Z K 7 svn:log V 263 MFC of SVN r175563: The config-recursive target is not run during the normal install process, move it down to where it belongs. Document 'all-depends-list' target and bump doc date. PR: 119519 Submitted by: Yuri Pankov Reviewed by: flz END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:06:55.575222Z K 7 svn:log V 88 These files are unused, and due to a more thorough FREEBSD-Xlist are no longer updated. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:12:46.987466Z K 7 svn:log V 28 Vendor import of BIND 9.3.5 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:16:31.597370Z K 7 svn:log V 22 Tag the 9.3.5 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:21:18.009716Z K 7 svn:log V 29 Record baseline merge state. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:28:36.719347Z K 7 svn:log V 31 Vendor import of BIND 9.3.5-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:29:17.330815Z K 7 svn:log V 25 Tag the 9.3.5-P1 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:46:21.748208Z K 7 svn:log V 56 The vendor area is the proper home for these files now. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T08:52:11.109021Z K 7 svn:log V 87 Update this file to reflect how things are done in subversion-land Reviewed by: peter END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T09:38:35.510704Z K 7 svn:log V 1437 Merge from vendor/bind9/dist as of the 9.4.2-P1 import, including the patch from ISC for lib/bind9/check.c and deletion of unused files in lib/bind. This version will by default randomize the UDP query source port (and sequence number of course) for every query. In order to take advantage of this randomization users MUST have an appropriate firewall configuration to allow UDP queries to be sent and answers to be received on random ports; and users MUST NOT specify a port number using the query-source[-v6] options. The avoid-v[46]-udp-ports options exist for users who wish to eliminate certain port numbers from being chosen by named for this purpose. See the ARM Chatper 6 for more information. Also please note, this issue applies only to UDP query ports. A random ephemeral port is always chosen for TCP queries. This issue applies primarily to name servers whose main purpose is to resolve random queries (sometimes referred to as "caching" servers, or more properly as "resolving" servers), although even an "authoritative" name server will make some queries, primarily at startup time. All users of BIND are strongly encouraged to upgrade to the latest version, and to utilize the source port randomization feature. This update addresses issues raised in: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447 http://www.kb.cert.org/vuls/id/800113 http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T10:00:36.313666Z K 7 svn:log V 354 Strongly discourage the use of the query-source option, and explain why. Give a better example if a user absolutely must use this option, and suggest they pick something from the ephemeral port range rather than port 53. This means that the example will not work if it is merely uncommented, but this will hopefully encourage users to read the comment. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-12T10:07:33.413062Z K 7 svn:log V 1348 Merge from vendor/bind9/dist-9.3 as of the 9.3.5-P1 import. This version will by default randomize the UDP query source port (and sequence number of course) for every query. In order to take advantage of this randomization users MUST have an appropriate firewall configuration to allow UDP queries to be sent and answers to be received on random ports; and users MUST NOT specify a port number using the query-source[-v6] options. The avoid-v[46]-udp-ports options exist for users who wish to eliminate certain port numbers from being chosen by named for this purpose. See the ARM Chatper 6 for more information. Also please note, this issue applies only to UDP query ports. A random ephemeral port is always chosen for TCP queries. This issue applies primarily to name servers whose main purpose is to resolve random queries (sometimes referred to as "caching" servers, or more properly as "resolving" servers), although even an "authoritative" name server will make some queries, primarily at startup time. All users of BIND are strongly encouraged to upgrade to the latest version, and to utilize the source port randomization feature. This update addresses issues raised in: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447 http://www.kb.cert.org/vuls/id/800113 http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-12T11:35:27.536849Z K 7 svn:log V 42 MFC: r180253 Remove Japanese document. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-12T11:43:38.736323Z K 7 svn:log V 42 MFC: r180253 Remove Japanese document. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-12T12:41:21.543268Z K 7 svn:log V 243 MFC: rev. 1.337, svn 180215 Remove a bogusly introduced rtalloc_ign() in rev. 1.335/SVN 178029, generating an RTM_MISS for every IP packet forwarded making user space routing daemons unhappy. PR: kern/123621, kern/124540, kern/122338 END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-12T18:43:57.545943Z K 7 svn:log V 159 In order to apply pmap_demote_pde() to a page directory entry (PDE) from the direct map, the PDE must have PG_M and PG_A preset. Noticed by: Magesh Dhasayyan END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-07-12T20:12:40.688916Z K 7 svn:log V 610 In nmount(), if we see "update" in the mount options, set MNT_UPDATE in fsflags, and delete the "update" option from the global mount options. MNT_UPDATE is a command, and not a property of a mount that should persist after the command is executed. We need to do similar things for MNT_FORCE and MNT_RELOAD. All mount flags are prefixed by MNT_..... it would be nice if flags which were commands were named differently from flags which are persistent properties of a mount. This was not such a big deal in the pre-nmount() days, but with nmount() it is more important. Requested by: yar MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-12T21:24:42.093798Z K 7 svn:log V 169 Refine the changes made in SVN rev 180430. Specifically, instantiate a new page table page only if the 2MB page mapping has been used. Also, refactor some assertions. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2008-07-12T23:40:07.451067Z K 7 svn:log V 39 fix multicast hash register definition END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-07-13T07:20:14.259217Z K 7 svn:log V 406 Make uart(4) the default serial port driver on i386 and amd64. The uart(4) driver has the advantage of supporting a wider variety of hardware on a greater amount of platforms. This driver has already been the standard on platforms such as ia64, powerpc and sparc64. I've decided not to change anything on pc98. I'd rather let people from the pc98 team look at this. Approved by: philip (mentor), marcel END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-13T11:48:44.540789Z K 7 svn:log V 258 MFC r180345 Add missing information for geom_mirror metadata. PR: 124434 Submitted by: Philip M. Golluci MFC after: 3 days Prodded through: bugbusters@ Approved by: imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-13T11:56:55.695945Z K 7 svn:log V 230 MFC r179831 Add another 8139D variant. PR: 124622 Submitted by: Evgeny Zhirnov Approved by: imp (mentor, implicit) MFC after: 3 days Approved by: imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-13T11:57:59.523299Z K 7 svn:log V 230 MFC r179831 Add another 8139D variant. PR: 124622 Submitted by: Evgeny Zhirnov Approved by: imp (mentor, implicit) MFC after: 3 days Approved by: imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-13T13:42:52.695583Z K 7 svn:log V 144 Update the ktr_header structure, which changed over time. PR: 125546 Submitted by: Mateusz Guzik MFC after: 3 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-13T13:56:21.934292Z K 7 svn:log V 153 More explicitly mention that we support the 2920C with the ahc driver. PR: 125535 Submitted by: Bob Bishop MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-13T16:37:51.975127Z K 7 svn:log V 418 The libc acl_valid(3) function validates the contents of a POSIX.1e ACL. This change removes the requirement that an ACL contain no ACL_USER entries with a uid the same as those of a file, or ACL_GROUP entries with a gid the same as those of a file. This requirement is not in the specification, and not enforced by the kernel's ACL implementation. Reported by: Iustin Pop MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-13T17:09:22.491940Z K 7 svn:log V 1533 MFC: r179925 o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quite some time now so collapse calls accordingly. o Given that gem_load_txmbuf() is allowed to fail resulting in a packet drop also for quite some time now implement the functionality of gem_txcksum() by means of m_pullup(9), which de-obfuscates the code and allows to always retrieve the correct length of the IP header. o Add missing BUS_DMASYNC_PREREAD when syncing the control DMA maps in gem_rint() and gem_start_locked(). o Correct some bus_barrier(9) calls to do a read/write barrier as we do a read after a write. Add some missing ones in gem_mii_readreg() and gem_mii_writereg(). o According to the Apple GMAC driver, the GEM ASIC specification and the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order do avoid TX underruns. o In gem_init_locked(): - be conservative and enable the RX and TX MACs, - don't clear GEM_LINK otherwise we don't ever mark the link as up again if gem_init_locked() is called from gem_watchdog(), - remove superfluous setting of sc_ifflags. o Don't bother to check whether the interface is running or whether its queue is empty before calling gem_start_locked() in gem_tint(), the former will check these anyway. o Call gem_start_locked() in gem_watchdog() in order to try to get some more packets going. o In gem_mii_writereg() after reseting the PCS restore its configuration. GMAC testing: grehan, marcel END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-07-13T17:15:05.713716Z K 7 svn:log V 69 Staticize M_STACK. Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-07-13T17:17:35.809616Z K 7 svn:log V 76 Add an obsolete header after pecoff removal. Approved by: rwatson (mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-13T18:11:50.220941Z K 7 svn:log V 194 Merge r180349 as well. SVN rev 180349 on 2008-07-07 13:08:30Z by remko Fix some spelling errors (improper review from my side). Submitted by: ed, danger Submitted by: Florian Smeets END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-13T18:19:53.844269Z K 7 svn:log V 172 Handle a race between pmap_kextract() and pmap_promote_pde(). This race caused ZFS to crash when restoring a snapshot with superpage promotion enabled. Reported by: kris END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-07-13T18:42:38.908971Z K 7 svn:log V 168 Improve randomization in BIND to prevent response spoofing. Security: FreeBSD-SA-08:06.bind Approved by: so (cperciva) Thanks to: remko, csjp No thanks to: bronchitis END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-13T18:43:27.604823Z K 7 svn:log V 277 MFC of SVN r175563: The config-recursive target is not run during the normal install process, move it down to where it belongs. Document 'all-depends-list' target and bump doc date. PR: 119519 Submitted by: Yuri Pankov Reviewed by: flz END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-13T19:09:35.056858Z K 7 svn:log V 76 MFC: r175565: Xref flopen.3 which references this manual page. PR: 112650 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-13T19:34:21.227623Z K 7 svn:log V 76 MFC: r175565: Xref flopen.3 which references this manual page. PR: 112650 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-13T20:08:38.873492Z K 7 svn:log V 114 Change the character prefixed to the svn version to "r" since that seems to be how they are commonly referred to. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-13T21:36:42.991379Z K 7 svn:log V 366 MFC: r170285; r170273; r172334; r172607; r174987; r176996; r177560; r179925 Sync gem(4) with head as of r179925 except for r169269 (skipped for performance reasons) and r175418 (doesn't apply). Amongst others this brings: - lots of bug fixes and improvements, - support for some additional Apple GMAC variants, - actual support for Sun GEM, - machine-independency. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-14T10:49:01.932189Z K 7 svn:log V 485 MFC of revision 173401, 173414 and 173396: gaames/fortune: add FORTUNE_PATH env var, so ports of fortunes can work sanely This patch adds an environment variable FORTUNE_PATH, which works like PATH for fortune files. PR: bin/36867 Submitted by: Alan Eldridge [patch] fortune -e implementation bug Fix the behaviour of "-e file1 file2" to equally pick them instead of only picking the first one. PR: bin/70182 Submitted by: Martin Kulas END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-14T10:49:32.234745Z K 7 svn:log V 539 MFC of revision 173401, 173414 and 173396: gaames/fortune: add FORTUNE_PATH env var, so ports of fortunes can work sanely This patch adds an environment variable FORTUNE_PATH, which works like PATH for fortune files. PR: bin/36867 Submitted by: Alan Eldridge [patch] fortune -e implementation bug Fix the behaviour of "-e file1 file2" to equally pick them instead of only picking the first one. PR: bin/70182 Submitted by: Martin Kulas END K 10 svn:author V 4 gahr K 8 svn:date V 27 2008-07-14T13:22:09.145005Z K 7 svn:log V 80 - Enhance volume handling PR: 125054 Submitted by: gahr Approved by: cperciva END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-14T13:45:05.166049Z K 7 svn:log V 85 Fill in the string portion of the bluetooth stack version sysctl. Approved by: emax END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-07-14T18:15:43.870705Z K 7 svn:log V 56 Manpage for the et(4) driver. Obtained from: DragonFly END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-07-14T18:38:52.168865Z K 7 svn:log V 186 Add an event handler to the vlan driver so the NIC driver becomes aware of it, and gets the VLAN ID. This will allow the easy use of VLAN hardware filtering by adapters that support it. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-07-14T18:40:21.899556Z K 7 svn:log V 99 Add event notification at attach/detach so the NIC is able to detect it and do hardware filtering. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-07-14T18:45:06.630293Z K 7 svn:log V 32 Unmangle an E.W.Dijkstra quote. END K 10 svn:author V 3 eri K 8 svn:date V 27 2008-07-14T20:11:51.063817Z K 7 svn:log V 146 Fix carp(4) panics that can occur during carp interface configuration. Approved by: mlaier (mentor) Reported by: Scott Ullrich MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-14T21:36:02.486621Z K 7 svn:log V 64 Match the implementation of the inline function from libkern.h. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-07-14T22:41:48.309733Z K 7 svn:log V 84 Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte). MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:07:08.068924Z K 7 svn:log V 53 MFC r180166. Remove duplicated H/W revision check. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:11:08.401115Z K 7 svn:log V 350 MFC r180167. After the change of r176757 re(4) no longer relys on reading RL_TXCFG register to identify a device in device probe. Reflect the fact by modifing device description with general ethernet controller family. Note, rl_basetype in struct rl_type is not used and the more detailed information is provided with rl_hwrev structure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:14:36.150065Z K 7 svn:log V 110 MFC r180168. While accessing EEPROM command register use pre-defined constant instead of hardcoded value. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:18:15.676033Z K 7 svn:log V 136 MFC r180169. Switch to memory space register mapping over IO space. If that mapping fails fall back to traditional IO space access. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:23:02.027902Z K 7 svn:log V 401 MFC r180171. Instead of allocating variables for each events/hardware flags, use a dedicated flag that represents controller capabilities/events. This will simplify many part of code that requires different workaround for each controller revisions and will enhance readability. While I'm here move PHY wakeup code up before mii_phy_probe() which seems to help to wake PHY in some cases. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-15T01:26:20.427263Z K 7 svn:log V 338 MFC of r180374 Improve the output of kldload(8) to show which module can't be loaded. Was: kldload: Unsupported file type Is now: kldload: /boot/modules/test.ko: Unsupported file type PR: kern/121276 Submitted by: Edwin Groothuis Approved by: bde (mentor) MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-15T01:28:14.032084Z K 7 svn:log V 338 MFC of r180374 Improve the output of kldload(8) to show which module can't be loaded. Was: kldload: Unsupported file type Is now: kldload: /boot/modules/test.ko: Unsupported file type PR: kern/121276 Submitted by: Edwin Groothuis Approved by: bde (mentor) MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:38:41.058249Z K 7 svn:log V 93 MFC r180172. Toggling IFF_ALLMULTI flag does not require full interface reintialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:48:19.555316Z K 7 svn:log V 209 MFC r180173. In device detach don't access ifnet structure unless device is attached. This fixes NULL pointer dereference when polling(9) is active and unsupported hardware is detected in device attach. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:51:30.388951Z K 7 svn:log V 72 MFC r180174. If MSI is not active make sure to disable MSI in EEPROM. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:54:53.915881Z K 7 svn:log V 194 MFC r180175. Display detected chip revision in device attach. This will help to diagnose revision specific issues in future. Also add 0x to notify that the revision number is in hex form. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T01:58:17.562174Z K 7 svn:log V 750 MFC r180176. Add basic support for RTL8168C, RTL8168CP, RTL8111C and RTL8111CP. ATM Tx/Rx checksum offload is supported but TSO and jumbo frame is not yet supported. Because these newer controllers use different descriptor formats, a flag RL_FLAG_DESCV2 flag was introduced to handle that case in Tx/Rx handler. Also newer controllers seems to require to not touch 'enable Tx/Rx bit' in RL_CPLUS_CMD register so don't blindly try to set that bits. Note, it seems that there is still power-saving related issue where driver fails to attach PHY. Rebooting seems to fix that issue but number of required reboots varys. Many thanks to users that helped during developement. I really appreciate their patient and test/feedbacks. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T02:01:03.352979Z K 7 svn:log V 63 MFC r180177. Add a new RTL8169 variant, 8169SB(L)/8110SB(L). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T02:04:31.555930Z K 7 svn:log V 96 MFC r180178. Add RTL8211C(L) support. Disable advanced link-down power saving in phy reset. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T02:07:17.996207Z K 7 svn:log V 82 MFC r180376. Disable jumbo frame support for RTL810x fast ethernet controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-15T02:10:23.623092Z K 7 svn:log V 284 MFC r180377. Add driver support for RTL8102E and RTL8102EL which is the second generation of RTL810x PCIe fast ethernet controller. Note, Tx/Rx descriptor format is different from that of first generation of RTL8101E series. Jumbo frame is not supported for RTL810x family. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-15T02:34:44.981348Z K 7 svn:log V 150 Add quirk for Dell D630 laptops. Tested by: Quake Lee , Robert Noland MFC after: 1 week Approved by: ariff END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-15T03:34:49.417034Z K 7 svn:log V 122 Update bus_dmamem_alloc()'s first call to malloc() such that M_WAITOK is specified when appropriate. Reviewed by: scottl END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-15T10:06:37.551238Z K 7 svn:log V 65 Update the definition of modspecific structure PR: docs/125630 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-15T10:32:35.188986Z K 7 svn:log V 41 Fix commment in typo. M tcp_output.c END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-15T15:38:47.852368Z K 7 svn:log V 1463 Merge last of a series of rwlock conversion changes to UDP, which completes the move to a fully parallel UDP transmit path by using global read, rather than write, locking of inpcbinfo in further semi-connected cases: - Add macros to allow try-locking of inpcb and inpcbinfo. - Always acquire an incpcb read lock in udp_output(), which stablizes the local inpcb address and port bindings in order to determine what further locking is required: - If the inpcb is currently not bound (at all) and are implicitly connecting, we require inpcbinfo and inpcb write locks, so drop the read lock and re-acquire. - If the inpcb is bound for at least one of the port or address, but an explicit source or destination is requested, trylock the inpcbinfo lock, and if that fails, drop the inpcb lock, lock the global lock, and relock the inpcb lock. - Otherwise, no further locking is required (common case). - Update comments. In practice, this means that the vast majority of consumers of UDP sockets will not acquire any exclusive locks at the socket or UDP levels of the network stack. This leads to a marked performance improvement in several important workloads, including BIND, nsd, and memcached over UDP, as well as significant improvements in pps microbenchmarks. The plan is to MFC all of the rwlock changes to RELENG_7 once they have settled for a weeks in the tree. Tested by: ps, kris (older revision), bde MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-15T16:07:34.833867Z K 7 svn:log V 212 Invoke err() with a format string rather than directly with a passed command line argument. Submitted by: Alfredo Ortega Thanks to: Core Security Technologies MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T00:44:49.431645Z K 7 svn:log V 53 MFC r179335. Add JMicron JMP202/JMP211 PHY driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T00:49:22.793148Z K 7 svn:log V 46 MFC r179336. Connect jmphy(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T00:52:33.177400Z K 7 svn:log V 653 MFC r179337. Add driver support for PCIe adapters based on JMicron JMC250 gigabit ethernet and JMC260 fast ethernet controllers. ATM jme(4) supports all hardware features except RSS and multiple Tx/Rx queue. In these days most ethernet controller vendors take a ply of concealing hardware detailes from open source developers. As contrasted with these vendors JMicron provided all necessary information needed to write a stable driver during driver writing and answered many questions I had. They even helped fixing driver bugs with protocol analyzer. Many thanks to JMicron for their support of FreeBSD. H/W donated by: JMicron END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:02:44.251222Z K 7 svn:log V 107 taskqueue_block(9)/taskqueue_unblock(9) is not available in RELENG_7. Add '#ifdef notyet' to exclude them. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:12:02.322395Z K 7 svn:log V 44 MFC r179338. Hook up jme(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:24:27.647730Z K 7 svn:log V 40 MFC r179339. Add man page for jme(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:25:50.910167Z K 7 svn:log V 96 MFC r179340. Add jme(4) to the list of devices supporting full VLAN processing in hardware. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:27:04.283831Z K 7 svn:log V 66 MFC r179341. Add jme(4) to the list of drivers supporting ALTQ. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:28:01.943924Z K 7 svn:log V 75 MFC r179342. Add jme(4) to the list of drivers use the miibus interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:56:00.347837Z K 7 svn:log V 51 MFC r179343. Add an entry for the jme(4) module. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T01:59:08.090009Z K 7 svn:log V 70 MFC r179344. Add jme(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T02:01:49.982701Z K 7 svn:log V 44 MFC r179346. Hook up jme(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T02:05:40.548754Z K 7 svn:log V 78 MFC r179347. Add jme(4) to the list of drivers supported by GENERIC kernel. END