ı178277 179 536 377 892 373 166 253 122 311 668 376 1049 272 305 250 134 335 268 286 143 211 609 149 169 220 136 284 139 122 150 145 171 253 235 157 225 432 305 447 213 246 320 292 219 212 236 220 345 408 635 439 439 329 195 241 154 188 364 562 562 361 272 205 314 168 185 270 220 135 168 220 212 204 531 204 140 182 485 474 159 112 210 221 130 173 174 121 129 237 102 392 235 122 233 134 202 200 170 128 148 224 410 183 188 316 299 146 241 178 115 116 142 535 240 192 222 130 358 174 4521 180 160 246 342 342 364 217 307 204 860 293 338 164 185 185 205 205 115 143 250 144 601 655 266 378 235 139 194 203 173 133 309 168 1361 303 669 260 136 123 178 137 182 263 210 456 145 136 972 586 229 260 302 674 753 298 255 138 191 227 240 K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-17T09:56:01.000000Z K 7 svn:log V 442 - Add a metric to describe how busy a processor has been over the last two ticks by counting the number of switches and the load when sched_clock() is called. - If the busy metric exceeds a threshold allow the idle thread to spin waiting for new work for a brief period to avoid using IPIs. This reduces the cost on the sender and receiver as well as reducing wakeup latency considerably when it works. Sponsored by: Nokia END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-04-17T12:29:35.000000Z K 7 svn:log V 284 Go back to preallocating everything possible on init. This avoids calling busdma in the request processing path which caused a traumatic performance degradation. Allocation has be postponed to after we know how many devices we possible can have on portmulitpliers to save some space. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-17T12:38:00.000000Z K 7 svn:log V 796 On sparc64 machines with multiple host-PCI-bridges these bridges have separate configuration spaces so by definition they implement different PCI domains. Thus change psycho(4) to use PCI domains instead of reenumerating all PCI busses so they have globally unique bus numbers and drop support for reenumerating busses in the OFW PCI code. According to CVS history reenumeration was also required in order to get some E450 to boot but given that no other open source kernel changes the PCI bus numbers assigned by the firmware I believe the real problem was that the old code used the bus number as the device number for the PCI busses and unlike most of the other machines the firmwares of the problematic ones don't use disjoint PCI bus numbers across the host-PCI-bridges. MFC after: 1 month END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-04-17T12:50:42.000000Z K 7 svn:log V 280 Clean up the code that checks the types of address so that it is done by understandable macros. Fix the bug that prevented the system from responding on interfaces with link local addresses assigned. PR: 120958 Submitted by: James Snow MFC after: 2 weeks END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-04-17T18:11:47.000000Z K 7 svn:log V 74 Alloc two DMA slots pr default, silly me forgot that slaves still exists. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-17T19:06:00.000000Z K 7 svn:log V 160 Specifically mark the members of 'FILE' that are accessed via inline functions or macros since they are part of the public ABI as a result. MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-17T19:10:57.000000Z K 7 svn:log V 26 Document SA-08:05.openssh END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-17T19:19:40.000000Z K 7 svn:log V 218 Allow linker_search_symbol_name() to be called with KLD lock held. The linker_search_symbol_name() function is used by stack_print() and stack_print() can be called from kernel module unload method. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-17T21:38:18.000000Z K 7 svn:log V 571 Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to explicitly select write locking for all use of the inpcb mutex. Update some pcbinfo lock assertions to assert locked rather than write-locked, although in practice almost all uses of the pcbinfo rwlock main exclusive, and all instances of inpcb lock acquisition are exclusive. This change should introduce (ideally) little functional change. However, it lays the groundwork for significantly increased parallelism in the TCP/IP code. MFC after: 3 months Tested by: kris (superset of committered patch) END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-04-17T22:01:38.000000Z K 7 svn:log V 280 Change the timeout(9) usage in if_ndis to a callout(9) implementation, as the former is becoming deprecated and exhibits some extraneous Giant-locking. The new callout(9) is declared MPSAFE, so it may improve concurrency. Tested by: matteo Silence from: wpaul MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-17T22:17:54.000000Z K 7 svn:log V 956 Next stage of stdio cleanup: Retire __sFILEX and merge the fields back into __sFILE. This was supposed to be done in 6.0. Some notes: - Where possible I restored the various lines to their pre-__sFILEX state. - Retire INITEXTRA() and just initialize the wchar bits (orientation and mbstate) explicitly instead. The various places that used INITEXTRA didn't need the locking fields or _up initialized. (Some places needed _up to exist and not be off the end of a NULL or garbage pointer, but they didn't require it to be initialized to a specific value.) - For now, stdio.h "knows" that pthread_t is a 'struct pthread *' to avoid namespace pollution of including all the pthread types in stdio.h. Once we remove all the inlines and make __sFILE private it can go back to using pthread_t, etc. - This does not remove any of the inlines currently and does not change any of the public ABI of 'FILE'. MFC after: 1 month Reviewed by: peter END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-04-17T22:57:33.000000Z K 7 svn:log V 176 Change the 1 in callout_init to CALLOUT_MPSAFE. I made the change in my tree, but never committed it into git before making my patch! Submitted by: thompsa MFC after: 1 month END K 10 svn:author V 3 gad K 8 svn:date V 27 2008-04-17T23:17:09.000000Z K 7 svn:log V 212 Add the '-u name' option to the env command, which will completely unset the given variable name (removing it from the environment, instead of just setting it to a null value). PR: bin/65649 MFC after: 2 weeks END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-04-17T23:24:58.000000Z K 7 svn:log V 157 Add in check for loopback as well, which was missing from the original patch. PR: 120958 Submitted by: James Snow MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-17T23:36:35.000000Z K 7 svn:log V 39 Add support for the 32-bit EFI target. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-18T00:01:55.000000Z K 7 svn:log V 238 MFC: Handle bzip2/zlib changes without using patches, by doing the work in a programmatical way. This is an accumulative patch of the following changes: Makefile: 1.46-1.53 bzipfs.c: 1.7 as well as removal of the now unneeded files. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-04-18T00:52:32.000000Z K 7 svn:log V 174 MFC: Fix possible buffer overrun on 64-bit arch when generating MAC address for tap interface. Reported by: Marc Lorner < marc dot loerner at hob dot de > Reviewed by: bms END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-04-18T00:55:03.000000Z K 7 svn:log V 192 MFC: Fix possible buffer overrun on 64-bit arch when generating MAC address for tap interface. Reported by: Marc Lorner < marc dot loerner at hob dot de > Reviewed by: bms MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-04-18T02:02:33.000000Z K 7 svn:log V 47 Add missing function prototype for tcgetsid(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-18T02:21:11.000000Z K 7 svn:log V 115 Remove cruft we got from Alpha, which was probably inherited from NetBSD. I.e. make it more like a FreeBSD header. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-04-18T02:45:39.000000Z K 7 svn:log V 514 MFC of 1.133 import and fixes: - add support for T3C - add multicast support - update copyrights - add infrastructure for multiple transmit queues - add support for compiling firmware in to the kernel - add conditional define for enabling link at device attach - exit tick handler if shutdown is in progress - add sysctls for dumping transmit queues - use jumbo clusters for large packets - add pcpu caching - add inline mbuf header on receive - upgrade to version 5.0 of the firmware Supported by: Chelsio Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-18T04:23:05.000000Z K 7 svn:log V 53 MFC: Allow stand.h to be included for multiple times END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-18T05:47:56.000000Z K 7 svn:log V 76 - Add inlines for the monitor and mwait instructions. Sponsored by: Nokia END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-04-18T15:15:04.000000Z K 7 svn:log V 127 Fix the breakage that caused AHCI devices to vanish. Editor droppings :( Put the ATAPI device numbering back to the old ways. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-04-18T16:06:46.000000Z K 7 svn:log V 41 Move our ".mcount" bits around a little. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-04-19T03:22:43.000000Z K 7 svn:log V 189 move cxgb_lt2.[ch] from NIC to TOE move most offload functionality from NIC to TOE factor out all socket and inpcb direct access factor out access to locking in incpb, pcbinfo, and sockbuf END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-04-19T03:39:17.000000Z K 7 svn:log V 45 move tcbinfo lock acquisition in to syncache END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-04-19T03:43:06.000000Z K 7 svn:log V 28 remove kdb_backtrace() call END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-04-19T03:46:26.000000Z K 7 svn:log V 56 fix build breakage caused by undeclared kdb_backtrace() END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-19T04:45:51.000000Z K 7 svn:log V 52 MFC 1.48: Fix a sleepq race when checking signals. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-19T04:47:39.000000Z K 7 svn:log V 78 MFC parts of 1.359: Don't hold the proc slock while calling sigqueue_delete* END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-19T04:50:29.000000Z K 7 svn:log V 159 MFC 1.220, 1.221, parts of 1.222 - Improve performance with heavy interrupt loads - Fix compile with gcc3 - Fix timeslicing code for non TIMESHARE threads. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-19T04:56:16.000000Z K 7 svn:log V 139 Sanitize the malloc types: M_PMAP is not used in pmap.c, so don't define it there. Don't use M_PMAP in mp_machdep.c; define M_SMP instead. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-04-19T05:07:50.000000Z K 7 svn:log V 64 Remove my copyright. This file includes simply i386's one now. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-04-19T05:30:49.000000Z K 7 svn:log V 132 ng_address_hook() microoptimization. Use local variables as they should be. It helps compiller to avoid some extra memory accesses. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-19T07:18:22.000000Z K 7 svn:log V 340 Better strfmon(3) conversion specifiers sanity checking. There were no checks for left and right precisions at all, and a check for field width had integer overflow bug. Reported by: Maksymilian Arciemowicz Security: http://securityreason.com/achievement_securityalert/53 Submitted by: Maxim Dounin MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-19T07:22:58.000000Z K 7 svn:log V 213 Don't forget to free() currency_symbol and asciivalue when multiple conversion specifiers for them are present. Submitted by: Maxim Dounin Obtained from: NetBSD (partially) MFC after: 3 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-04-19T07:25:57.000000Z K 7 svn:log V 352 Put in a real isa_irq_pending() stub in order to remove two lines of dmesg noise from sio per unit. sio likes to probe if interrupts are configured correctly by looking at the pending bits of the atpic in order to put a non-fatal warning on the console. I think I'd rather read the pending bits from the apics, but I'm not sure its worth the hassle. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-04-19T08:18:47.000000Z K 7 svn:log V 119 MFi386: Merge yet another the RTC related work. Split the pcrtc driver into pcrtc.c which is repo-copied from clock.c END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T12:39:15.000000Z K 7 svn:log V 149 It is a bug that procstat(8) works only on live kernels and not crashdumps; document in case anyone wants to work on fixing this. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T13:40:42.000000Z K 7 svn:log V 223 Provide more detailed information about each procstat(1) display mode, including a key to fields in each mode and flag abbreviations. MFC after: 3 days X-MFC-note: POSIX shared memory memory objects aren't in 7-STABLE yet END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T14:34:38.000000Z K 7 svn:log V 195 When querying the local or foreign address from an IP socket, acquire only a read lock on the inpcb. When an external module requests a read lock, acquire only a read lock. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T14:35:17.000000Z K 7 svn:log V 122 In ip_output(), allow a read lock as well as a write lock when asserting a lock on the passed inpcb. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T14:36:19.000000Z K 7 svn:log V 115 When querying a local or remote address on an IPv6 socket, use only a read lock on the inpcb. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T18:35:27.000000Z K 7 svn:log V 139 When propagating a MAC label from an inpcb to an mbuf, allow read and write locks on the inpcb, not just write locks. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-19T18:37:08.000000Z K 7 svn:log V 123 When auditing state from an IPv4 or IPv6 socket, use read locks on the inpcb rather than write locks. MFC after: 3 months END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-04-19T22:04:51.000000Z K 7 svn:log V 249 Delay the global registration of the struct ifnet in if_alloc() until after we're certain the allocation will entierly succeed. This fixes a leak in a fairly unlikely case. Reported by: vijay singh MFC after: 1 week END K 10 svn:author V 5 ariff K 8 svn:date V 27 2008-04-19T22:32:23.000000Z K 7 svn:log V 313 Fix no sound issues for ASUS W6F (ALC861) laptops (buggy BIOS config that deserves its own internet memes). The trick is to force all available, unused pins (that being advertised as "speaker") to behave as microphone pins instead. Reported / Tested by: Dmitry Kutsenko MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-20T00:21:54.000000Z K 7 svn:log V 538 Teach pf and ipfw to use read locks in inpcbs write than write locks when reading credential data from sockets. Teach pf to unlock the pcbinfo more quickly once it has acquired an inpcb lock, as the inpcb lock is sufficient to protect the reference. Assert locks, rather than read locks or write locks, on inpcbs in subroutines--this is necessary as the inpcb may be passed down with a write lock from the protocol, or may be passed down with a read lock from the firewall lookup routine, and either is sufficient. MFC after: 3 months END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-04-20T11:28:16.000000Z K 7 svn:log V 346 MFC some small optimizations: rev. 1.151: Remove impossible (hk_peer == NULL) check. rev. 1.152: Remove ng_setisr() call from ng_dequeue(). rev. 1.153: There is no need to erase hook->hk_node before freeing hook. rev. 1.154: Use new atomic_fetchadd() primitive instead of looping atomic_cmpset(). rev. 1.158: ng_address_hook() microoptimization. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-04-20T11:34:56.000000Z K 7 svn:log V 346 MFC some small optimizations: rev. 1.151: Remove impossible (hk_peer == NULL) check. rev. 1.152: Remove ng_setisr() call from ng_dequeue(). rev. 1.153: There is no need to erase hook->hk_node before freeing hook. rev. 1.154: Use new atomic_fetchadd() primitive instead of looping atomic_cmpset(). rev. 1.158: ng_address_hook() microoptimization. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-20T15:42:11.000000Z K 7 svn:log V 232 Merge mac_framework.h:1.97, mac_internal.h:1.124, mac_policy.h:1.107 from HEAD to REENG_7: Make naming of include guards for MAC Framework include files more consistent with other kernel include guards (don't start with _SYS). END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T15:51:56.000000Z K 7 svn:log V 99 Document that you must include before . Approved by: rwatson (mentor) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T15:56:59.000000Z K 7 svn:log V 144 Record the dependency of the iscsi initiator on cam. PR: 116745 Submitted by: OISHI Masakuni Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T16:03:19.000000Z K 7 svn:log V 58 Add recent obsolete files. Approved by: rwatson (mentor) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T16:11:14.000000Z K 7 svn:log V 92 Unbreak firmware.ko build without kernel. Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T16:17:44.000000Z K 7 svn:log V 267 Move "1000baseT" from IFM_SUBTYPE_ETHERNET_DESCRIPTIONS to IFM_SUBTYPE_ETHERNET_ALIASES: there is already "1000baseTX" in IFM_SUBTYPE_ETHERNET_DESCRIPTIONS. This doesn't change ifconfig behaviour. PR: 45793 (maybe) Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T16:29:01.000000Z K 7 svn:log V 465 MFC to RELENG_7: Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13 Significant changes: - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print an int64_t. - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it should be "1.0G" or "1.0M". The bug reported by Greg Troxel. PR: 118461 PR: 102694 Approved by: rwatson (mentor) Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T16:32:20.000000Z K 7 svn:log V 465 MFC to RELENG_6: Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13 Significant changes: - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print an int64_t. - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it should be "1.0G" or "1.0M". The bug reported by Greg Troxel. PR: 118461 PR: 102694 Approved by: rwatson (mentor) Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-20T16:34:50.000000Z K 7 svn:log V 264 Merge audit.c:1.41, audit_arg.c:1.19, audit_bsm.c:1.26, audit_bsm_klib.c:1.15, audit_bsm_token.c:1.15, audit_pipe.c:1.15, audit_syscalls.c:1.26, audit_trigger.c:1.8, audit_worker.c:1.23 from HEAD to RELENG_7: Use __FBSDID() for $FreeBSD$ IDs in the audit code. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T16:44:50.000000Z K 7 svn:log V 175 MFC to RELENG_7: Add some obsolete usr/lib32 libraries. PR: 117189 Submitted by: Scot Hetzel Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-04-20T17:12:11.000000Z K 7 svn:log V 112 Add one more HTC PocketPC device id. Tested on HTC TyTN. Submitted by: Alexander Logvinov END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-04-20T17:45:32.000000Z K 7 svn:log V 222 devclass_get_maxunit() returns n+1 with n starting at 0. So if we have channel 0..3 devclass_get_maxunit is 4. It's never been a problem as devclass_get_device() has catched a possibly bad input. Discussed with: scottl END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-20T17:55:31.000000Z K 7 svn:log V 72 MFC 1.36: Leave working directory variables unchanged if chdir() fails. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-04-20T17:55:48.000000Z K 7 svn:log V 92 Update pthread errata note with errata notice. Mention multicast refcounting kernel panic. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-04-20T17:58:05.000000Z K 7 svn:log V 177 Use role="merged" and arch="amd64,i386,..." attributes to mark a paragraph as MFC'd or one for specific platforms. This should make no content change with the rendered output. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-20T18:02:41.000000Z K 7 svn:log V 123 MFC 1.26: Reset the internal state used for the 'getopts' built-in when 'shift' or 'set' are used to modify the arguments. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-04-20T18:03:21.000000Z K 7 svn:log V 43 New release notes: env(1) -u name option. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-20T18:08:12.000000Z K 7 svn:log V 72 MFC 1.36: Leave working directory variables unchanged if chdir() fails. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-20T18:08:46.000000Z K 7 svn:log V 123 MFC 1.26: Reset the internal state used for the 'getopts' built-in when 'shift' or 'set' are used to modify the arguments. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-04-20T18:17:33.000000Z K 7 svn:log V 119 New release notes: ULE scheduler enabled by default in GENERIC for ia64, fdopendir(3) added, and tcgetsid(3) added. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-04-20T18:28:31.000000Z K 7 svn:log V 111 Move (define ($paragraph$)) to the marked section for HTML output. It should not be applied to printed output. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-04-20T18:36:59.000000Z K 7 svn:log V 439 Revert to rev. 1.161 - switch back to optimized TCP options ordering. A lot of testing has shown that the problem people were seeing was due to invalid padding after the end of option list option, which was corrected in tcp_output.c rev. 1.146. Thanks to: anders@, s3raphi, Matt Reimer Thanks to: Doug Hardie and Randy Rose, John Mayer, Susan Guzzardi Special thanks to: dwhite@ and BitGravity Discussed with: silby MFC after: 1 day END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-04-20T18:41:16.000000Z K 7 svn:log V 111 - Add ($paragraph$) for printed version. - Fix a bug that role="" does not work when arch="" is not specified. END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-04-20T18:55:03.000000Z K 7 svn:log V 47 MFC rev. 1.27: Raise a bit ipfw kld priority. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T19:20:39.000000Z K 7 svn:log V 90 move awi to the Attic; it will not make the jump to the new world order Reviewed by: imp END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-20T19:32:46.000000Z K 7 svn:log V 388 MFC to RELENG_7: Introduce a new F_DUP2FD command to fcntl(2), for compatibility with Solaris and AIX. fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent. Document it. Add some regression tests (identical to the dup2(2) regression tests). PR: 120233 Submitted by: Jukka Ukkonen Approved by: rwaston (mentor) MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:35:46.000000Z K 7 svn:log V 381 Multi-bss (aka vap) support for 802.11 devices. Note this includes changes to all drivers and moves some device firmware loading to use firmware(9) and a separate module (e.g. ral). Also there no longer are separate wlan_scan* modules; this functionality is now bundled into the wlan module. Supported by: Hobnob and Marvell Reviewed by: many Obtained from: Atheros (some bits) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:37:02.000000Z K 7 svn:log V 67 802.11 regulatory definitions used by ifconfig Support by: Hobnob END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:37:21.000000Z K 7 svn:log V 20 rc support for vaps END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:39:08.000000Z K 7 svn:log V 117 o update for vaps o add+enable radius acl support Supported by: Hobnob Submitted by: Chris Zimmermann (acl support) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:40:45.000000Z K 7 svn:log V 128 o update for vaps o add private wired driver that fixes various bugs in the vendor version Submitted by: thompsa (ndis fixups) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:41:47.000000Z K 7 svn:log V 38 update for vaps Supported by: Hobnob END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:43:13.000000Z K 7 svn:log V 81 add dwds test app Supported by: Hobnob Obtained from: Atheros (earlier version) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T20:43:42.000000Z K 7 svn:log V 82 test scripts for vaps and other 802.11 features Supported by: Hobnob and Marvell END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T21:25:37.000000Z K 7 svn:log V 29 802.11 support moves to vaps END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T21:39:06.000000Z K 7 svn:log V 37 remove this; we now use private code END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T21:39:06.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178363, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-20T23:10:44.000000Z K 7 svn:log V 10 fix build END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-04-20T23:29:06.000000Z K 7 svn:log V 296 On the AT91, we need to write on the EOI register after we handle an interrupt. So, add a new function pointer, arm_post_filter, which defaults to NULL, and which will be used as the post_filter arg for intr_event_create(). Set it properly for the AT91, so that it boots again. Reported by: hps END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-21T04:41:37.000000Z K 7 svn:log V 139 Switch to using genclock. Have nexus double as clock device for now. While here, add a proper attach() method to nexus. Requested by: phk END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-04-21T05:43:08.000000Z K 7 svn:log V 25 awi(4) has been removed. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-04-21T06:22:27.000000Z K 7 svn:log V 140 Add a small script that will examine all files which exist on /cfg and if they are different in /etc, copy them to /cfg. Submitted by: mat END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-04-21T07:25:26.000000Z K 7 svn:log V 40 Remove duplicate headers END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-04-21T09:23:31.000000Z K 7 svn:log V 109 MFC: nlm_prot_impl.c 1.6 - Fix error handling in nlm_get_rpc and correct some spelling mistakes in comments. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-04-21T10:09:55.000000Z K 7 svn:log V 107 Make genclock standard on all platforms. Thanks to: grehan & marcel for platform support on ia64 and ppc. END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-04-21T10:34:31.000000Z K 7 svn:log V 78 Do not enable FIS based PM switching, even if not used some controllers barf. END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-04-21T10:35:19.000000Z K 7 svn:log V 36 Unload DMA slot on device timeouts. END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-04-21T10:51:38.000000Z K 7 svn:log V 56 Add HW level support for the Adaptec 1420SA controller. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-21T12:03:59.000000Z K 7 svn:log V 127 Read lock, rather than write lock, the inpcb when transmitting with or delivering to an IP divert socket. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-21T12:06:41.000000Z K 7 svn:log V 313 With IPv4 raw sockets, read lock rather than write lock the inpcb when receiving or transmitting. With IPv6 raw sockets, read lock rather than write lock the inpcb when receiving. Unfortunately, IPv6 source address selection appears to require a write lock on the inpcb for the time being. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-21T12:08:40.000000Z K 7 svn:log V 87 In ICMPv6, read lock rather than write lock the inpcb on receive. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-21T17:09:53.000000Z K 7 svn:log V 92 Use ddb(4), not DDB(4) for man page cross-references. MFC after: 3 days Reported by: novel END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-21T17:22:35.000000Z K 7 svn:log V 223 Back-out previous revision. For now I can use _ddb() variants of stack(9) KPI, as I use it for debugging only. Once someone will need it for more production features, the change should be reconsider. Requested by: rwatson END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-04-21T18:17:48.000000Z K 7 svn:log V 203 Change the default of ddb_enable to YES so we default to generating textdumps on panic. This means you get a potentially useful dump even if your system is running X when you panic. X-MFC after: never END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-21T18:30:26.000000Z K 7 svn:log V 50 Import netcat as of today's OPENBSD_4_3 snapshot. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-21T18:30:26.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178382, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-04-21T18:30:27.000000Z K 7 svn:log V 82 This commit was manufactured by cvs2svn to create tag 'netcat-vendor-OPENBSD_4_3'. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-21T18:31:50.000000Z K 7 svn:log V 19 Resolve conflicts. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-21T18:36:52.000000Z K 7 svn:log V 20 Add vendor metadata END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-21T18:37:08.000000Z K 7 svn:log V 46 Update instructions to match recent practices END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-21T20:40:42.000000Z K 7 svn:log V 439 * gthr-posix.h (__gthread_active_p): Use the Solaris implementation for FreeBSD as well. This is the fix for __gthread_active_p() returning false positives which was committed as rev. 1.1.1.8.2.1 to RELENG_7 but now looped back to the vendor branch via the GCC repository and relicensed to be GPLv2 by me. Thanks go to gerald@ for getting the fix approved upstream and for committing to the GCC repository. PR: 119289 Approved by: core END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-21T20:40:42.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178388, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-04-21T20:40:43.000000Z K 7 svn:log V 96 This commit was manufactured by cvs2svn to create tag 'gcc-vendor-gcc_trunk_20080418_SVN134423'. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-04-21T21:24:08.000000Z K 7 svn:log V 124 The vmspace->vm_daddr is constant until freed, there is no need to hold lock while accessing it. Approved by: kib (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-04-21T22:00:01.000000Z K 7 svn:log V 35 Kill $P4$ id. Noticed by: rwatson END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-21T23:57:23.000000Z K 7 svn:log V 266 MFC. The final stage of the big CDDL file move. These files were repo copied in head to their new location under the 'cddl' directories of src and src/sys and then added for this branch. The build has been using the files in their new locations for a few days now. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-04-22T01:28:15.000000Z K 7 svn:log V 78 MFC revision 1.8: fix return value for function pthread_mutexattr_settype(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T05:41:29.000000Z K 7 svn:log V 4423 MFC if_re.c 1.101, if_re.c 1.102, if_rlreg.h 1.70 to RELENG_7. Overhaul re(4). o Increased number of Rx/Tx descriptors to 256 for 8169 GigEs because it's hard to push the hardware to the limit with default 64 descriptors. TSO requires large number of Tx descriptors to pass a full sized TCP segment(65535 bytes IP packet) to hardware. Previously it consumed 32 Tx descriptors, assuming MCLBYTES DMA segment size, to send the TCP segment which means re(4) couldn't queue more than two full sized IP packets. For 8139C+ it still uses 64 Rx/Tx descriptors due to its hardware limitations. With this changes there are (very) small waste of memory for 8139C+ users but I don't think it would affect 8139C+ users for most cases. o Various bus_dma(9) fixes. - The hardware supports DAC so allow 64bit DMA operations. - Removed BUS_DMA_ALLOC_NOW flag. - Increased DMA segment size to 4096 from MCLBYTES because TSO consumes too many descriptors with MCLBYTES DMA segment size. - Tx/Rx side bus_dmamap_load_mbuf_sg(9) support. With these changes the code is more readable than previous one and got a (slightly) better performance as it doesn't need to pass/ decode arguments to/from callback function. - Removed unnecessary callback function re_dmamap_desc() and nuked rl_dmaload_arg structure which was used in the callback. - Additional protection for DMA map load failure. In case of failure reuse current map instead of returning a bogus DMA map. - Deferred DMA map unloading/sync operation for maximum performance until we really need to load new DMA map. If we happen to reuse current map(e.g. input error) there is no need to sync/unload/load again. - The number of allowable Tx DMA segments for a mbuf chains are now 32 instead of magic nseg value. If the number of available Tx descriptors are short enough to send highly fragmented mbuf chains an optimized re_defrag() is called to collapse mbuf chains which is supposed to be much faster than m_defrag(9). re_defrag() was borrowed from ath(4). - Separated Rx/Tx DMA tag from a common DMA tag such that Rx DMA tag correctly uses DMA maps that were created with DMA alignment restriction(8bytes alignments). Tx DMA tag does not have such alignment limitation. - Added additional sanity checks for DMA ring map load failure. - Added additional spare Rx DMA map for graceful handling of Rx DMA map load failure. - Fixed misused bus_dmamap_sync(9) and added missing bus_dmamap_sync(9) in re_encap()/re_txeof()/re_rxeof(). o Enabled TSO again as re(4) have reasonable number of Tx descriptors. o Don't touch DMA address of a Tx descriptor in re_txeof(). It's not needed. o Fix incorrect update of if_ierrors counter. For Rx buffer shortage it should update if_qdrops as the buffer is reused. o Added checks for unsupported H/W revisions and return ENXIO for these hardwares. This is required to remove resource allocation code in re_probe as other drivers do in device probe routine. o Modified descriptor index manipulation macros as it's now possible to have different number of descriptors for Rx/Tx. o In re_start, to save a lock operation, use IFQ_DRV_IS_EMPTY before trying to invoke IFQ_DRV_DEQUEUE. Also don't blindly call re_encap since we already know the number of available Tx descriptors in advance. o Removed RL_TX_DESC_THLD which was used to reserve RL_TX_DESC_THLD descriptors in Tx path. There is no such a limitation mentioned in 8139C+/8169/8110/8168/8101/8111 datasheet and it seems to work ok without reserving RL_TX_DESC_THLD descriptors. o Fix a comment for RL_GTXSTART. The register is 8bits register. o Added comments for 8169/8139C+ hardware restrictions on descriptors. o Removed forward declaration for "struct rl_softc", it's not needed. o Added a new structure rl_txdesc for Tx descriptor managements and a structure rl_rxdesc for Rx descriptor managements. o Removed unused member variable rl_intlock in driver softc. There are still several unused member variables which are supposed to be used to access hardware statistics counters. But it seems that accessing hardware counters were not implemented yet. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T05:44:51.000000Z K 7 svn:log V 84 MFC if_re.c 1.103 to RELENG_7. - Retire re_defrag() and use m_collapse() instead. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T05:49:12.000000Z K 7 svn:log V 64 MFC if_re.c 1.104, if_rlreg.h 1.71 to RELENG_7. Implement WOL. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T05:51:40.000000Z K 7 svn:log V 149 MFC if_re.c 1.105, if_rlreg.h 1.72 to RELENG_7. Don't allow jumbo frame on 8139C+ controller. While I'm here add a check for minimal MTU length. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T05:56:16.000000Z K 7 svn:log V 245 MFC if_re.c 1.106, if_rl.c 1.173 to RELENG_7. Don't map memory/IO resource in device probe and just use PCI vendor/revision/sub device id of the hardware to probe it. This is the same way as NetBSD does and it enhances readabilty a lot. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T05:58:44.000000Z K 7 svn:log V 245 MFC if_re.c 1.107 to RELENG_7. Always honor configured VLAN/checksum offload capabilities. Previously re(4) used to blindly enable VLAN hardware tag stripping and Rx checksum offload regardless of enabled optional features of interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:00:34.000000Z K 7 svn:log V 267 MFC if_re.c 1.108 to RELENG_7. VLAN hardware tag information should be set for all desciptors of a multi-descriptor transmission attempt. Datasheet said nothing about this requirements. This should fix a long-standing VLAN hardware tagging issues with re(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:02:20.000000Z K 7 svn:log V 120 MFC if_re.c 1.109 to RELENG_7. Some RealTek chips are known to be buggy on DAC handling, so disable DAC by default. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:05:46.000000Z K 7 svn:log V 210 MFC if_re.c 1.110, if_rlreg.h 1.73 to RELENG_7. For MSI capable hardwares, enable MSI enable bit in RL_CFG2 register. If MSI was disabled by hw.re.msi_disable tunable expliclty clear the MSI enable bit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:07:59.000000Z K 7 svn:log V 107 MFC if_re.c 1.111 to RELENG_7. MSI handling on some RealTek chips are broken so disable it by default. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:09:57.000000Z K 7 svn:log V 763 MFC if_re.c 1.112 to RELENG_7. In revision 1.70, 1.71 and 1.84 re(4) tried to workaround checksum offload bugs by manual padding for short IP/UDP frames. Unfortunately it seems that these workaround does not work reliably on newer PCIe variants of RealTek chips. To workaround the hardware bug, always pad short frames if Tx IP checksum offload is requested. It seems that the hardware has a bug in IP checksum offload handling. NetBSD manually pads short frames only when the length of IP frame is less than 28 bytes but I chose 60 bytes to safety. Also unconditionally set IP checksum offload bit in Tx descriptor if any TCP or UDP checksum offload is requested. This is the same way as Linux does but it's not mentioned in data sheet. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:13:05.000000Z K 7 svn:log V 196 MFC if_re.c 1.113, if_rlreg.h 1.74 to RELENG_7. Padding more bytes than necessary one broke another variants of PCIe RealTek chips. Only pad IP packets if the payload is less than 28 bytes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:14:56.000000Z K 7 svn:log V 241 MFC if_re.c 1.114 to RELENG_7. Don't touch MSI enable bit in RL_CFG2 register. For unknown reason clearing MSI enable bit for MSI capable hardwares resulted in Tx problems. MSI enable bit is set only when MSI is requested from user. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:19:29.000000Z K 7 svn:log V 68 MFC nfe.4 rev 1.10 to RELENG_7. Mention support for nForce MCP73. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:25:11.000000Z K 7 svn:log V 89 MFC rgephy.c rev 1.19 to RELENG_7. Add detection of isolation state. PR: kern/76710 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:26:01.000000Z K 7 svn:log V 89 MFC rgephy.c rev 1.19 to RELENG_6. Add detection of isolation state. PR: kern/76710 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:35:37.000000Z K 7 svn:log V 108 MFC ip1000phy.c 1.3, ip1000phyreg.h 1.2 and miidevs 1.52 to RELENG_7. Add support for IC Plus IP1001 PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-04-22T06:39:07.000000Z K 7 svn:log V 108 MFC ip1000phy.c 1.3, ip1000phyreg.h 1.2 and miidevs 1.52 to RELENG_6. Add support for IC Plus IP1001 PHY. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-04-22T06:44:11.000000Z K 7 svn:log V 19 Use native rwlock. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-22T07:43:00.000000Z K 7 svn:log V 52 Add FreeBSD IDs to files that originate in FreeBSD. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-22T08:05:38.000000Z K 7 svn:log V 158 MFC: 1.16: Use calloc() instead of zeroing memory ourselves. 1.17: Better strfmon(3) conversion specifiers sanity checking. 1.18: Fix memory leaks. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-22T09:21:29.000000Z K 7 svn:log V 53 Add FreeBSD IDs to files which originate in FreeBSD. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-04-22T11:57:04.000000Z K 7 svn:log V 509 MFC: rev. 1.162 Back out rev. 1.161 (1.157.2.2) and switch back to optimized TCP options ordering. A lot of testing has shown that the problem people were seeing was due to invalid padding after the end of option list option, which was corrected in tcp_output.c rev. 1.146 (1.141.2.4). Thanks to: anders@, s3raphi, Matt Reimer Thanks to: Doug Hardie and Randy Rose, John Mayer, Susan Guzzardi Special thanks to: dwhite@ and BitGravity Discussed with: silby END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-04-22T12:02:55.000000Z K 7 svn:log V 563 MFC: rev. 1.335 ip_input.c, rev. 1.10 ip_ipsec.c, rev. 1.3 ip_ipsec.h Take the route mtu into account, if available, when sending an ICMP unreach, frag needed. Up to now we only looked at the interface MTU. Make sure to only use the minimum of the two. In case IPSEC is compiled in, loop the mtu through ip_ipsec_mtu() to avoid any further conditional maths. Without this, PMTU was broken in those cases when there was a route with a lower MTU than the MTU of the outgoing interface. PR: kern/122338 Tested by: Mark Cammidge mark peralex.com END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-22T12:20:33.000000Z K 7 svn:log V 169 Acquire a read lock, rather than a write lock, on a UDPv6 inpcb when delivering to the socket or extracting socket details for monitoring purposes. MFC after: 3 months END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-22T12:34:16.000000Z K 7 svn:log V 284 - Use a local variable for i_ino in ufs_lookup. It is only used to communicate between two parts of this one function. This was causing problems with shared lookups as each would trash the ino value in the inode. - Remove the unused i_ino field from the inode structure. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-04-22T12:44:39.000000Z K 7 svn:log V 139 MFC r1.32, r1.33: Add support for Asus EeePC backlight control. style(9) fix. Submitted by: Akira Funahashi END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-22T13:23:34.000000Z K 7 svn:log V 48 MFC: 1.15-1.18: Fix overflows and memory leaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-22T15:18:47.000000Z K 7 svn:log V 102 Make it possible to disable sources of entropy harvesting. Noticed by: Igor Sysoev MFC after: 3 days END K 10 svn:author V 3 pgj K 8 svn:date V 27 2008-04-22T15:42:20.000000Z K 7 svn:log V 110 Add: - myself to the doc committers' graph - my birthday to the FreeBSD calendar Approved by: gabor (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-04-22T15:45:53.000000Z K 7 svn:log V 80 MFC: 1.192, 1.193 Remove M_SKIP_FIREWALL abuse and add more appropriate check. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-04-22T15:53:07.000000Z K 7 svn:log V 40 Fix a mis-merge in the previous commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-22T17:03:32.000000Z K 7 svn:log V 216 Fix a leak in the recent fixes for file descriptors > SHRT_MAX. In the case of a file descriptor we can't handle, clear the FILE structure's flags so it can be reused. MFC after: 1 week Reported by: otto @ OpenBSD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-04-22T18:20:05.000000Z K 7 svn:log V 72 libbsdxml is now required by ifconfig(8). Submitted by: Florian Smeets END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-04-22T19:38:30.000000Z K 7 svn:log V 1267 Now that all platforms use genclock, shuffle things around slightly for better structure. Much of this is related to , which should really have been called , but unless and until we need the name, the repocopy can wait. In general the kernel does not know about minutes, hours, days, timezones, daylight savings time, leap-years and such. All that is theoretically a matter for userland only. Parts of kernel code does however care: badly designed filesystems store timestamps in local time and RTC chips almost universally track time in a YY-MM-DD HH:MM:SS format, and sometimes in local timezone instead of UTC. For this we have on the other hand, deals with time_t, timeval, timespec and so on. These know only seconds and fractions thereof. Move inittodr() and resettodr() prototypes to . Retain the names as it is one of the few surviving PDP/VAX references. Move startrtclock() to on relevant platforms, it is a MD call between machdep.c/clock.c. Remove references to it elsewhere. Remove a lot of unnecessary includes. Move the machdep.disable_rtc_set sysctl to subr_rtc.c where it belongs. XXX: should be kern.disable_rtc_set really, it's not MD. END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-04-23T00:45:48.000000Z K 7 svn:log V 210 Differentiate in the tests against getenv() between an empty string and a NULL by having the test program return *NULL* for NULL's (no existing variable) instead of an empty string (variable with empty value). END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-04-23T00:49:13.000000Z K 7 svn:log V 576 Add four utility functions related to struct grp processing modeled in-part after similar calls related to struct pwd in libutil/pw_util.c: - gr_equal() Perform a deep comparison of two struct grp's. It does a thorough, yet unoptimized comparison of all the members regardless of order. - gr_make() Create a string (see group(5)) from a struct grp. - gr_dup() Duplicate a struct grp. Returns a value that is a single contiguous block of memory. - gr_scan() Create a struct grp from a string (as produced by gr_make()). MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-23T03:00:26.000000Z K 7 svn:log V 164 Correct an off-by-1 for GPART. The literal partition type (i.e. the actual UUID) is prefixed by '!' to distinguish them from well-known aliases. MFC after: 3 days END K 10 svn:author V 7 linimon K 8 svn:date V 27 2008-04-23T03:05:31.000000Z K 7 svn:log V 40 Add 'arm' category. Approved by: peter END K 10 svn:author V 7 linimon K 8 svn:date V 27 2008-04-23T04:01:53.000000Z K 7 svn:log V 27 MFC of new 'arm' category. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2008-04-23T04:07:13.000000Z K 7 svn:log V 82 MFC revision 1.20: Update the FILES section which has been wrong for some time. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2008-04-23T04:09:17.000000Z K 7 svn:log V 41 MFC revision 1.21: Add 'arm' category. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2008-04-23T08:51:05.000000Z K 7 svn:log V 86 Fix the year of my doc/www commit bit that I've got :) Approved by: keramida(mentor) END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-04-23T10:42:00.000000Z K 7 svn:log V 170 MFC: Fix pkg_info when specifying a remote package. src/usr.sbin/pkg_install/info/perform.c: rev 1.54 -> 1.55 src/usr.sbin/pkg_install/info/main.c: rev 1.51 -> 1.52 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-04-23T15:56:33.000000Z K 7 svn:log V 112 Implement linux_truncate64() syscall. Tested by: Aline de Freitas Approved by: kib (mentor) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-04-23T16:09:18.000000Z K 7 svn:log V 360 Implement red-black trees without using parent pointers, and store the color bit in the least significant bit of the right child pointer, in order to reduce red-black tree linkage overhead by ~2X as compared to sys/tree.h. Use the new red-black tree implementation in malloc, which drops memory usage by ~0.5 or ~1%, for 32- and 64-bit systems, respectively. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-23T18:48:36.000000Z K 7 svn:log V 53 MFC: Add 'zfs' as an alias for the FreeBSD ZFS UUID. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-23T18:54:51.000000Z K 7 svn:log V 44 MFC: Add PCI ID's for ICH8 USB controllers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-23T20:04:38.000000Z K 7 svn:log V 876 o Rename ic_eoi to ic_clear to emphasize the functions it points don't send and EOI which works like on amd64/i386 and blocks all interrupts on the relevant interrupt controller. o Replace the post_filter and post_inthread hooks registered when creating the interrupt events with just ic_clear as on sparc64 we don't need to do any disable->EOI->enable dance to unblock all but the relevant interrupt while running the filter or handler; just not clearing the interrupt already has the same effect. o Merge from amd64/i386: - Split the intr_table_lock into an sx lock used for most things, and a spin lock to protect intrcnt_index. - Add support for binding interrupts to CPUs, including for the bus_bind_intr(9) interface, a assign_cpu hook and initially shuffling interrupts arround in a round-robin fashion. Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-23T20:13:05.000000Z K 7 svn:log V 490 Implement the G_PART_DUMPCONF method for all 6 schemes. Also call the method for the (indent == NULL) case (i.e. the kern.geom.conftxt sysctl). The purpose is to extend the conftxt output with scheme- specific fields which can be used by libdisk. In particular, have the schemes dump the xs and xt fields, which contain the backward compatible values for class type and partition type. This allows libdisk to work with the legacy slicers as well as with gpart and helps/promotes migration. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-23T20:38:37.000000Z K 7 svn:log V 133 - Include so this header doesn't have an MD dependency. - Make prototypes style(9) compliant. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-23T21:06:51.000000Z K 7 svn:log V 163 Avoid various shadowed variables. libthr is now almost WARNS=4 clean except for some const dequalifiers that needs more careful investigation. Ok'ed by: davidxu END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-23T21:25:16.000000Z K 7 svn:log V 206 MFC: bus.h 1.42; bus_machdep.c 1.47 - Const'ify the bus_stream_asi and bus_type_asi arrays. - Replace hard-coded functions names missed in bus_machdep.c rev. 1.44 with __func__. - Break some long lines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-23T21:28:29.000000Z K 7 svn:log V 578 - Spelling fix for interupt -> interrupt - Take advantage of bus_dmamap_load_mbuf_sg(9). - Take advantage of m_collapse(9). - Sync with other NIC drivers and prepend a TX mbuf if the first attempt to load it fails with an error other than EFBIG and stop trying instead of freeing it and keeping on trying to enqueue more mbufs. Also ensure the driver queue isn't empty before trying to enqueue mbufs in order to reduce locking operations. - In xl_ifmedia_upd() add a missing XL_UNLOCK(). [1] - Const'ify the xl_devs array. - Remove an outdated comment. PR: 113406 [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-23T21:38:29.000000Z K 7 svn:log V 657 MFC: if_xl.c 1.211, 1.212, 1.213 (partial); if_xlreg.h 1.60 - Spelling fix for interupt -> interrupt - Fix function prototype for device_shutdown method. - Take advantage of bus_dmamap_load_mbuf_sg(9). - Sync with other NIC drivers and prepend a TX mbuf if the first attempt to load it fails with an error other than EFBIG and stop trying instead of freeing it and keeping on trying to enqueue more mbufs. Also ensure the driver queue isn't empty before trying to enqueue mbufs in order to reduce locking operations. - In xl_ifmedia_upd() add a missing XL_UNLOCK(). [1] - Const'ify the xl_devs array. - Remove an outdated comment. PR: 113406 [1] END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-04-23T22:40:59.000000Z K 7 svn:log V 202 Revert rev 1.332 and keep ddb scripts off by default for now. Minidumps are more flexable and much text-dump like output can be produced from them so there's a good argument they are a better default. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-24T00:11:15.000000Z K 7 svn:log V 159 Add support for gpart: o Correct for gpart's 1-based index, versus 0-based index used by legacy slicers. o Parse and understand the xs and xt parameters. END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-04-24T01:30:52.000000Z K 7 svn:log V 46 Fix spelling mistake made in MFC of rev 1.61. END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-04-24T01:37:12.000000Z K 7 svn:log V 99 Capitalize "Eve". This is the correct form and now matches calendar.usholiday. MFC after: 3 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-04-24T05:04:52.000000Z K 7 svn:log V 131 In function rtalloc_mpath(), do not try to release the lock if the ro_rt pointer is NULL. Reported by: (pluknet at gmail dot com) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-24T06:32:16.000000Z K 7 svn:log V 143 Merged textdump.4:1.4, procstat.1:1.4 from HEAD to RELENG_7: Use ddb(4), not DDB(4) for man page cross-references. Reported by: novel END