ƒ°^200720 174 165 675 510 146 233 244 264 285 97 189 158 318 1305 271 165 180 266 596 239 203 191 144 378 308 607 607 607 437 351 256 236 312 305 235 181 188 141 278 498 586 421 108 117 163 510 160 160 126 176 112 527 124 164 227 173 272 160 196 232 200 365 195 1491 302 302 252 252 176 176 668 668 1085 1085 218 215 265 153 257 127 139 226 164 227 119 126 314 325 166 104 222 121 137 186 526 360 154 138 112 329 205 368 239 154 154 159 247 157 138 338 110 307 113 276 203 113 173 165 165 436 499 186 178 178 118 195 217 119 354 104 134 1250 160 113 2152 171 2396 340 153 230 156 263 145 148 148 335 1065 136 404 136 171 192 446 185 957 571 249 152 239 326 334 205 222 258 132 1103 153 190 174 160 576 266 260 165 455 K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-19T11:11:57.047181Z K 7 svn:log V 69 Fix inappropriate merge. Pointed out by: kib Pointy hat to: delphij END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-19T11:13:59.908295Z K 7 svn:log V 582 MFC r198506: In kern_sigsuspend(), manipulate thread signal mask using kern_sigprocmask(). Also, do cursig/postsig loop immediately after waiting for signal, repeating the wait if wakeup was spurious due to race with other thread fetching signal from the process queue before us. MFC r199136: Use cpu_set_syscall_retval(9) to set syscall result, and return EJUSTRETURN from kern_sigsuspend() to prevent syscall return code from modifying wrong frame. Take care of possibility that pending SIGCONT might be cancelled by SIGSTOP, causing postsig() not to deliver any catched signal. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-19T11:31:28.376838Z K 7 svn:log V 417 MFC r198507: Use kern_sigprocmask() instead of direct manipulation of td_sigmask to reschedule newly blocked signals. MFC r198590: Trapsignal() calls kern_sigprocmask() when delivering catched signal with proc lock held. MFC r198670: For trapsignal() and postsig(), kern_sigprocmask() is called with both process lock and curproc->p_sigacts->ps_mtx locked. Prevent lock recursion on ps_mtx in reschedule_signals(). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-19T11:41:52.978229Z K 7 svn:log V 52 Interpret VAPPEND correctly in vaccess_acl_nfs4(9). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-19T11:43:39.496495Z K 7 svn:log V 136 Apply fix Solaris bug 6462803 zfs snapshot -r failed because filesystem was busy. Submitted by: mm Approved by: pjd MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-19T11:47:00.620832Z K 7 svn:log V 151 MFC r198508, r198509: Reimplement pselect() in kernel, making change of sigmask and sleep atomic. MFC r198538: Move pselect(3) man page to section 2. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-19T11:47:22.078557Z K 7 svn:log V 167 Apply fix for Solaris bug 6801979: zfs recv can fail with E2BIG (onnv revision 8986) Requested by: mm Submitted by: pjd Obtained from: OpenSolaris MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-19T11:49:20.759046Z K 7 svn:log V 188 Apply fix for Solaris bug 6462803: zfs snapshot -r failed because filesystem was busy (onnv revision 8989) Submitted by: mm Approved by: pjd Obtained from: OpenSolaris MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-19T11:50:04.452524Z K 7 svn:log V 6 Regen END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-19T12:06:12.833274Z K 7 svn:log V 97 MFC r199355: Add SI_KERNEL. MFC r199418: Fix pgsignal() call after signature change in r199355. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-19T13:39:07.847971Z K 7 svn:log V 65 Don't use 15M-16M area on pc98. It's reserved for some devices. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2009-12-19T16:36:57.314272Z K 7 svn:log V 225 Reference the correct man page for firmware(9). PR: docs/140986 Submitted by: Glen Barber (glen dot j dot barber at gmail dot com) MFC after: 4 days Reviewed by: sam Approved by: sam, jkois (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-19T18:42:12.835296Z K 7 svn:log V 1212 Let access overriding to TTYs depend on the cdev_priv, not the vnode. Basically this commit changes two things, which improves access to TTYs in exceptional conditions. Basically the problem was that when you ran jexec(8) to attach to a jail, you couldn't use /dev/tty (well, also the node of the actual TTY, e.g. /dev/pts/X). This is very inconvenient if you want to attach to screens quickly, use ssh(1), etc. The fixes: - Cache the cdev_priv of the controlling TTY in struct session. Change devfs_access() to compare against the cdev_priv instead of the vnode. This allows you to bypass UNIX permissions, even across different mounts of devfs. - Extend devfs_prison_check() to unconditionally expose the device node of the controlling TTY, even if normal prison nesting rules normally don't allow this. This actually allows you to interact with this device node. To be honest, I'm not really happy with this solution. We now have to store three pointers to a controlling TTY (s_ttyp, s_ttyvp, s_ttydp). In an ideal world, we should just get rid of the latter two and only use s_ttyp, but this makes certian pieces of code very impractical (e.g. devfs, kern_exit.c). Reported by: Many people END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-19T19:01:24.719809Z K 7 svn:log V 176 pkg_add on FreeBSD 6.3 does not have long options,[1] so use the short ones instead and add a comment about what they do. Submitted by: Miroslav Lachman <000.fbsd@quip.cz>[1] END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-12-19T19:22:09.762518Z K 7 svn:log V 69 MFC r199801: Fix a socket leak. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-12-19T19:23:25.381577Z K 7 svn:log V 84 MFC r199802: Fix handling of empty attributes. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-12-19T19:25:35.339594Z K 7 svn:log V 169 MFC r199803: Add the possibility to show informations about dropped packets on the input path when showing interfaces informations. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-12-19T19:30:27.829244Z K 7 svn:log V 499 MFC r199805: Change gcore in order to get rid of the procfs support and use FreeBSD's specific interfaces. Main changes: - now gcore recognizes threads within the the process and handle dumps on a thread scope - the process to be analyzed should be stopped while gcore runs - gcore may not work with processes that are being debugged with gdb or truss - ptrace may let interruptible calls to return EINTR, thus dirtying signals handling within the process Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-12-19T19:35:53.120073Z K 7 svn:log V 142 MFC r199804: Avoid sshd, crond, inetd and syslogd to be killed in an high-pressure swapping environment. Sponsored by: Sandvine Incorporated END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-19T20:42:56.273282Z K 7 svn:log V 107 Remove a warning in DELAY about large delays. In kern_shutdown.c we use excessive delays quite habitually. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-19T20:45:23.907318Z K 7 svn:log V 95 Swap VGE_TXQTIMER and VGE_RXQTIMER register definition. Pending timer for Tx queue is at 0x3E. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-19T20:50:48.775116Z K 7 svn:log V 52 MFC r198538: Move pselect(3) man page to section 2. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-20T01:00:41.411620Z K 7 svn:log V 285 MFC r197070: Consolidate CPUID to CPU family/model macros for amd64 and i386 This is to fix breakage caused by r200064. I do this MFC instead of just fixing r200064 to reduce difference from head and make things easier for future MFCs. Original change is by jkim. Pointy hat to: avg END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-20T01:34:12.018716Z K 7 svn:log V 213 The service command is an easy interface to the rc.d system. Its primary purpose is to start and stop services provided by the rc.d scripts, however it can also be used to list the scripts using various criteria. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-20T01:38:01.302941Z K 7 svn:log V 511 MFC: r200481 Specify the capability and media bits of the capabilities page in native, i.e. big-endian, format and convert as appropriate like we also do with the multibyte fields of the other pages. This fixes the output of acd_describe() to match reality on big-endian machines without breaking it on little-endian ones. While at it, also convert the remaining multibyte fields of the pages read although they are currently unused for consistency and in order to prevent possible similar bugs in the future. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-20T01:38:21.570376Z K 7 svn:log V 511 MFC: r200481 Specify the capability and media bits of the capabilities page in native, i.e. big-endian, format and convert as appropriate like we also do with the multibyte fields of the other pages. This fixes the output of acd_describe() to match reality on big-endian machines without breaking it on little-endian ones. While at it, also convert the remaining multibyte fields of the pages read although they are currently unused for consistency and in order to prevent possible similar bugs in the future. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-20T01:44:47.494920Z K 7 svn:log V 511 MFC: r200482, r200485 o Properly support M5229 revision 0xc7 and 0xc8: - These revisions no longer have cable detection capability. - The UDMA support bit of register 0x4b has been dropped without an replacement. - According to Linux it's crucial for working ATAPI DMA support to also set the reserved bit 1 of regsiter 0x53 with these revisions. o Only set ATA_CHECKS_CABLE for chip versions that actually support cable detection, i.e. neither for ALI_OLD nor for ALI_NEW revisions >= 0xc7. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-20T01:46:23.745444Z K 7 svn:log V 341 MFC: r200482 Properly support M5229 revision 0xc7 and 0xc8: - These revisions no longer have cable detection capability. - The UDMA support bit of register 0x4b has been dropped without an replacement. - According to Linux it's crucial for working ATAPI DMA support to also set the reserved bit 1 of regsiter 0x53 with these revisions. END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-12-20T02:35:10.884521Z K 7 svn:log V 258 MFC r198471. Log: Compile libgcov without stack protection. It can be linked into both static and dynamic binaries compiled with or without stack protection and should not depend on libssp_nonshared.a symbols. Discussed with: kib PR: bin/139052 END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-12-20T04:45:32.564928Z K 7 svn:log V 161 MFC r200449: Don't free jail parameter values after printing them - jail_param_get expects them to be there for the next jail in the list. PR: bin/141359 END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-12-20T04:49:29.052501Z K 7 svn:log V 141 MFC r200623: Add a null pointer check so "name" can be used as a key parameter in jailparam_get. PR: bin/141692 Submitted by: delphij END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-20T10:58:34.738807Z K 7 svn:log V 220 Add fork(2), getegid(2), geteuid(2), getgid(2), getpid(2), getpgid(2), getpgrp(2), getppid(2), getsid(2) and getuid(2) to syscall table to decode their arguments correctly. OK'ed by: delphij Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-20T11:00:53.435303Z K 7 svn:log V 213 Avoid sharing the file descriptor of the output file with traced processes by setting the FD_CLOEXEC flag for the output file. PR: bin/140493 Submitted by: Erik Lax OK'ed by: delphij Approved by: trasz (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-20T15:03:57.736006Z K 7 svn:log V 142 Fairly set master/slave shared PIO/WDMA timings on ITE 821x controllers. Previous implementation could only limit mode, but not rise it back. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-20T16:23:11.633649Z K 7 svn:log V 89 Add VIA CX700/VX800 chipsets SATA/PATA support. PR: kern/121521 Tested by: Alex Deiter END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-12-20T17:53:35.225641Z K 7 svn:log V 96 Adds JC's fix to get rid of stray intr's. Obtained from: JC - jayachandraanc@netlogicmicro.com END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-20T18:53:34.468242Z K 7 svn:log V 45 Correct fragment bit definition in comments. END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-12-20T18:57:43.226492Z K 7 svn:log V 185 Merge from head to stable/8: r200424: Fix libusb_open_device_with_vid_pid() to return a NULL if no device is found instead of the last device in its search list. Reviewed by: thompsa END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-20T19:11:32.315072Z K 7 svn:log V 401 VT6130 datasheet was wrong. If VT6130 receive a jumbo frame the controller will split the jumbo frame into multiple RX buffers. However it seems the hardware always dma the frame to 8 bytes boundary for the split frames. Only the first part of the fragment can have 4 byte alignment and subsequent buffers should be 8 bytes aligned. Change RX buffer the alignment requirement to 8 bytes from 4 bytes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-20T19:45:46.365564Z K 7 svn:log V 489 Disable jumbo frame support for PCIe VT6130/VT6132 controllers. Quite contrary to VT6130 datasheet which says it supports up to 8K jumbo frame, VT6130 does not seem to send jumbo frame that is larger than 4K in length. Trying to send a frame that is larger than 4K cause TX MAC hang. Even though it's possible to allow 4K jumbo frame for VT6130, I think it's meaningless to allow 4K jumbo frame. I'm not sure VT6132 also has the same limitation but I guess it uses the same MAC of VT6130. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-20T20:51:20.014823Z K 7 svn:log V 325 MFC r198173: sh: show more info about syntax errors in command substitution: the line number where the command substitution started. This applies to both the $() and `` forms but is most useful for `` because the other line number is relative to the enclosed text there. (For older versions, -v can be used as a workaround.) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-20T22:55:27.184494Z K 7 svn:log V 17 Fix indentation. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-21T03:10:26.988494Z K 7 svn:log V 23 align hash table locks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-21T03:11:21.812446Z K 7 svn:log V 69 add function to determine if a buffer can be recycled within the ARC END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-12-21T03:28:05.102549Z K 7 svn:log V 413 Fix a handful of issues with via agp support. * Read the pci capability register to identify AGP 3 support * Add missing smaller aperture sizes for AGP3 chips. * Fix the aperture size calculation on AGP2 chips. All sizes between 32M and 256M reported as 256M. * Add \n to error string. This all seems to get the CLE266 EPIA-M board agp working properly, now back to work on drm. MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-21T05:58:55.294095Z K 7 svn:log V 68 MFC r199969: amdsbwd: new driver for AMD SB600/SB7xx watchdog timer END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-21T06:24:44.532804Z K 7 svn:log V 68 MFC r199969: amdsbwd: new driver for AMD SB600/SB7xx watchdog timer END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-21T10:01:03.048046Z K 7 svn:log V 32 Merging r200605 through r200766 END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-21T11:06:41.765395Z K 7 svn:log V 84 MFC r200667: Return earlier from linux_do_tkill() when supplied signal number is 0. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-12-21T11:29:30.059801Z K 7 svn:log V 20 Fixes so kdb works. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-21T12:29:38.513739Z K 7 svn:log V 434 VI_OBJDIRTY vnode flag mirrors the state of OBJ_MIGHTBEDIRTY vm object flag. Besides providing the redundand information, need to update both vnode and object flags causes more acquisition of vnode interlock. OBJ_MIGHTBEDIRTY is only checked for vnode-backed vm objects. Remove VI_OBJDIRTY and make sure that OBJ_MIGHTBEDIRTY is set only for vnode-backed vm objects. Suggested and reviewed by: alc Tested by: pho MFC after: 3 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-21T12:32:13.421229Z K 7 svn:log V 33 Removed one more Alpha leftover. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-21T13:53:33.768900Z K 7 svn:log V 73 MFC r200666: Fixed incorrect watchdog timeout setting. PR: kern/130512 END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-21T14:03:40.511434Z K 7 svn:log V 134 MFC r190501,190521,192029: Add support for Phenom (Family 10h) to cpufreq. This also has changes from r197070 (earlier partial MFC). END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-21T14:39:46.032517Z K 7 svn:log V 82 - Eliminated hard sentence breaks. - Fixed spelling of EINVAL. - Sorted sections. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-12-21T14:42:35.307679Z K 7 svn:log V 174 Add "FreeBSD-" to the beginning of the filenames for the ISO images. People who collect ISOs from more than just us have been requesting this for a while. MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-21T14:59:23.280924Z K 7 svn:log V 67 Move cursor position after putting a character. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-21T15:12:56.445403Z K 7 svn:log V 104 If none of the watchdogs supports the requested timeout value, the code returns EOPNOTSUPP, not EINVAL. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-21T15:50:37.146690Z K 7 svn:log V 140 Don't hide an error if the initial attempt to program a watchdog from within watchdogd(8) fails. This is also consistent with watchdog(8). END K 10 svn:author V 3 des K 8 svn:date V 27 2009-12-21T17:23:04.711531Z K 7 svn:log V 107 Note that sockstat(1) does not display kernel-owned sockets. Submitted by: infofarmer@ MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-21T17:38:13.028006Z K 7 svn:log V 273 Remove non-working special case for pipe(2) from amd64-fbsd32.c and i386-fbsd.c. Add pipe(2) to syscall table to decode it's pointer argument properly and re-add special handling for pipe(2) return value to print_syscall_ret(). PR: bin/120870 Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-21T17:41:57.421473Z K 7 svn:log V 103 Cast time_t values to intmax_t and use %jd with printf. OK'ed by: delphij Approved by: trasz (mentor) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-21T17:55:10.450818Z K 7 svn:log V 1395 partial code to reduce contention on the ipfw lock and especially remove some O(N) sections of code with the write lock held from userland. 1. introduce a IPFW_UH_LOCK to arbitrate requests from the upper half of the kernel. Some things, such as 'ipfw show' can be done holding this lock in read mode, whereas insert and delete require IPFW_UH_WLOCK. 2. introduce a mapping structure to keep rules together. This replaces the 'next' chain currently used in ipfw rules. At the moment the map is a simple array (sorted by rule number and then rule_id), so we can find a rule quickly instead of having to scan the list. 3. when an expensive operation (such as insert or delete) is done by userland, we grab IPFW_UH_WLOCK, create a new copy of the map without blocking the bottom half of the kernel, then acquire IPFW_WLOCK and quickly update pointers to the map and related info. After dropping IPFW_LOCK we can then continue the cleanup protected by IPFW_UH_LOCK. 4. do not pass pointers to rules through dummynet, netgraph, divert etc, but rather pass a pair that lets us do a lookup quickly. All the above does not change the ABI. 5. a similar type of protection should be applied to references from dynamic rules to their parent (not done yet, will require changes to the structure of dynamic rules which are known to userland too). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:07:15.743089Z K 7 svn:log V 205 MFC r199548: Remove complex macros that were used to compute bits values. Although these macros may have its own strength, its complex definition make hard to read the code. Approved by: delphij END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:09:41.610485Z K 7 svn:log V 205 MFC r199548: Remove complex macros that were used to compute bits values. Although these macros may have its own strength, its complex definition make hard to read the code. Approved by: delphij END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:16:07.865484Z K 7 svn:log V 155 MFC r199550-199552: r199550: Remove support code for FreeBSD 6.x versions. r199551: Destroy driver mutex in device detach. r199552: Add MSI support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:18:10.148441Z K 7 svn:log V 155 MFC r199550-199552: r199550: Remove support code for FreeBSD 6.x versions. r199551: Destroy driver mutex in device detach. r199552: Add MSI support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:28:37.542589Z K 7 svn:log V 80 MFC r199553,199556 r199553: Remove extra spce at the EOL. r199556: style(9) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:30:24.996801Z K 7 svn:log V 80 MFC r199553,199556 r199553: Remove extra spce at the EOL. r199556: style(9) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:34:18.885436Z K 7 svn:log V 571 MFC r199558,199561 r199558: Use bus_{read,write}_4 rather than bus_space_{read,write}_4. r199561: Use capability pointer to access PCIe registers rather than directly access them at fixed address. Frequently the register offset could be changed if additional PCI capabilities are added to controller. One odd thing is ET_PCIR_L0S_L1_LATENCY register. I think it's PCIe link capabilities register but the location of the register does not match with PCIe capability pointer + offset. I'm not sure it's shadow register of PCIe link capabilities register. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:36:15.392692Z K 7 svn:log V 571 MFC r199558,199561 r199558: Use bus_{read,write}_4 rather than bus_space_{read,write}_4. r199561: Use capability pointer to access PCIe registers rather than directly access them at fixed address. Frequently the register offset could be changed if additional PCI capabilities are added to controller. One odd thing is ET_PCIR_L0S_L1_LATENCY register. I think it's PCIe link capabilities register but the location of the register does not match with PCIe capability pointer + offset. I'm not sure it's shadow register of PCIe link capabilities register. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:52:38.974277Z K 7 svn:log V 988 MFC r199563,199608-199613 r199563: Fix copy & paste error and remove extra space before colon. r199608: Remove unnecessary structure packing. r199609: Add initial endianness support. It seems the controller supports both big-endian and little-endian format in descriptors for Rx path but I couldn't find equivalent feature in Tx path. So just stick to little-endian for now. r199610: Because we know received bytes including CRC there is no reason to call m_adj(9). The controller also seems to have a capability to strip CRC bytes but I failed to activate this feature except for loopback traffic. r199611: Add IPv4/TCP/UDP Tx checksum offloading support. It seems the controller also has support for IP/TCP checksum offloading for Rx path. But I failed to find to way to enable Rx MAC to compute the checksum of received frames. r199612: Add __FBSDID. r199613: Only Tx checksum offloading is supported now. Remove experimental code sneaked in r199611. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T18:56:55.584983Z K 7 svn:log V 988 MFC r199563,199608-199613 r199563: Fix copy & paste error and remove extra space before colon. r199608: Remove unnecessary structure packing. r199609: Add initial endianness support. It seems the controller supports both big-endian and little-endian format in descriptors for Rx path but I couldn't find equivalent feature in Tx path. So just stick to little-endian for now. r199610: Because we know received bytes including CRC there is no reason to call m_adj(9). The controller also seems to have a capability to strip CRC bytes but I failed to activate this feature except for loopback traffic. r199611: Add IPv4/TCP/UDP Tx checksum offloading support. It seems the controller also has support for IP/TCP checksum offloading for Rx path. But I failed to find to way to enable Rx MAC to compute the checksum of received frames. r199612: Add __FBSDID. r199613: Only Tx checksum offloading is supported now. Remove experimental code sneaked in r199611. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T19:15:30.102246Z K 7 svn:log V 121 Plug a memory leak. PR: bin/141836 Submitted by: Henning Petersen MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T19:18:27.308896Z K 7 svn:log V 118 Plug a memory leak. PR: bin/141835 Submitted by: Henning Petersen MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T19:27:52.629763Z K 7 svn:log V 168 Add support of using environment variable BURNCD_SPEED to specify recodring speed. PR: bin/140530 Submitted by: Alexander Best MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-21T19:39:10.045357Z K 7 svn:log V 59 Implement NFSv4 ACL support for UFS. Reviewed by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-21T19:43:23.551916Z K 7 svn:log V 164 Use _once() to initialize the pthread key for thread-local storage to hold the results of localtime() instead of using a pthread mutex directly. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T19:50:29.023932Z K 7 svn:log V 31 Use ANSI function definations. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T19:55:05.400566Z K 7 svn:log V 43 K&R -> ANSI prototype. MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T19:56:03.254012Z K 7 svn:log V 129 Use vsscanf instead of rolling our own. PR: bin/140530 Submitted by: Jeremy Huddleston MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T19:56:11.310579Z K 7 svn:log V 68 o Remove unnecessary return statement. o Remove register keyword. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T19:59:38.938094Z K 7 svn:log V 130 Use vsprintf instead of rolling our own. PR: bin/140496 Submitted by: Jeremy Huddleston MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T20:00:27.329360Z K 7 svn:log V 23 s/u_intXX_t/uintXX_t/g END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T20:02:12.889128Z K 7 svn:log V 30 Remove trailing white spaces. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-21T20:09:19.106995Z K 7 svn:log V 221 Remove commented out prototype for ifinit(). This prototype has been commented out since 1.1 and has not been present in since at least 1.1 of that file. It is also not needed in FreeBSD due to SYSINIT(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-21T20:12:01.907366Z K 7 svn:log V 228 Don't consider non-existence of a PID file an error, we should be able to proceed anyway as this most likely mean that the process has been terminated. PR: bin/140397 Submitted by: Dan Lukes MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-21T20:17:34.864595Z K 7 svn:log V 71 MFC: r200544 Set ATA_CHECKS_CABLE when appropriate. Reviewed by: mav END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T20:18:01.133283Z K 7 svn:log V 9 style(9) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-21T20:32:04.623557Z K 7 svn:log V 127 By popular request, execute rc.d scripts in the same environment as they are at boot time. Original concept submitted by: ume END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-21T20:42:23.840979Z K 7 svn:log V 25 Sort function prototyes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-21T20:47:41.726295Z K 7 svn:log V 43 Add regression test for NFSv4 ACLs on UFS. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-21T21:04:41.023469Z K 7 svn:log V 92 Move to my own part for experimenting on proper multiyear handling and non-solar calendars. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-21T21:17:59.673433Z K 7 svn:log V 431 Currently calendar(1) is not able to handle longer periods, mostly due to the way Easter and other special days are calculated. This will be an attempt to overcome this issue and add proper support for non-solar-based events (Easter, Chinese New Year, Jewish calendar, moon phases (for the vampires :-)) So far: - Rewriten the parser to return more detailed reoccuring events (ran against calendar.full to catch the fall-out). END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-21T21:27:56.996584Z K 7 svn:log V 267 Clear all ports interrupt status bits in single write. Clearing one by one causes additional MSIs messages sent if several ports asked for attention same time. Time window before clearing is not important, as these interrupts are level triggered by interrupt source. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-21T21:29:16.268031Z K 7 svn:log V 59 Provide and consume missing module dependency information. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-21T21:41:33.316900Z K 7 svn:log V 43 Add missing module dependency information. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-21T21:47:33.043881Z K 7 svn:log V 20 Spell AMD properly. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-21T22:16:07.222647Z K 7 svn:log V 233 rc.subr: Use pwait in wait_for_pids. This waits for the requested process(es) to terminate, rather than polling with an interval of 2 seconds. If pwait is not available, the old method is used. PR: conf/132766 Reviewed by: dougb END K 10 svn:author V 5 gavin K 8 svn:date V 27 2009-12-21T22:56:06.578682Z K 7 svn:log V 110 Grammar and minor tweaks to powerd(8) man page. PR: docs/133186 Approved by: ed (mentor) MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2009-12-21T22:57:40.016861Z K 7 svn:log V 273 Support the tablet in (at least) the Toshiba Portege M200 Tablet PC. This device only appears on the ACPI bus, so isn't caught by the current entry for it in the uart(4) ISA attachment. PR: kern/140172 Reviewed by: jhb, marcel Approved by: ed (mentor) MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-21T23:31:03.234106Z K 7 svn:log V 146 Make graid3 fallback to malloc() when component request size is bigger then maximal prepared UMA zone size. This fixes crash with MAXPHYS > 128K. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-22T01:57:34.792954Z K 7 svn:log V 58 Add more EHCI pci ids. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-22T01:59:17.274663Z K 7 svn:log V 58 Add more OHCI pci ids. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-22T02:04:16.844135Z K 7 svn:log V 63 Set correct USB device description Submitted by: Paul B Mahol END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-22T02:11:37.990187Z K 7 svn:log V 150 - add support for more than 2 audio channels. [1] - add support for more sample rates Submitted by: [1] ariff (earlier version), Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-22T02:13:23.632020Z K 7 svn:log V 61 add new ID to UFTDI driver. Submitted by: YAMAMOTO, Shigeru END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-22T02:15:36.416730Z K 7 svn:log V 42 Add missed usb product define in r200826. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-22T06:09:00.045106Z K 7 svn:log V 243 - re-write comments to reflect API changes - implement hash table for mapping VA to struct buf * - remove va splay tree code - re-implement zio_sync_cache so that all page cache synchronization logic occurs there - implement zio_cache_valid END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-22T09:03:59.023239Z K 7 svn:log V 16 Cosmetic fixes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T11:08:07.950044Z K 7 svn:log V 212 Vendor import of tzcode2009t: Unused: - Updates to tz-link.html and tz-art.htm - Typo in tzfile.5.txt zic: - Fix URL / reference to Calendrical Calculations: Third Edition libc/stdtime: - Fix typo in tzfile.5 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T11:09:00.482302Z K 7 svn:log V 19 Tag of tzcode2009t END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T11:17:10.409105Z K 7 svn:log V 181 MFV of tzdata2009t, r200831 zic: - Fix URL / reference to Calendrical Calculations: Third Edition libc/stdtime: - Fix typo in tzfile.5 (no changes in our part) MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T11:18:31.190384Z K 7 svn:log V 108 Vendor import of tzcode2009t: Comments only, no data changes. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T11:19:00.394073Z K 7 svn:log V 19 Tag of tzdata2009t END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T11:21:03.696654Z K 7 svn:log V 79 MFV of tzcode2009t, r200833 Comment only, no data changes. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-22T13:45:29.532605Z K 7 svn:log V 70 MFC r200589: cpuset(2): fix a typo and a markup error in the man page END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-22T13:49:37.513880Z K 7 svn:log V 70 MFC r200589: cpuset(2): fix a typo and a markup error in the man page END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T13:53:34.917907Z K 7 svn:log V 341 some mostly cosmetic changes in preparation for upcoming work: + in many places, replace &V_layer3_chain with a local variable chain; + bring the counter of rules and static_len within ip_fw_chain replacing static variables; + remove some spurious comments and extern declaration; + document which lock protects certain data structures END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-22T14:13:13.000601Z K 7 svn:log V 406 MFC r190883: Update comment, fix spacing. MFC r190885: Change the way the mapping of the ELF objects is constructed, by first mapping PROT_NONE anonymous memory over the whole range, and then mapping the segments of the object over it. MFC r195743: Only perform .bss mapping and cleaning operations when segment file size is not equal to its memory size. Tested by: Mykola Dzham END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-22T14:21:08.740632Z K 7 svn:log V 95 apm(8) is no longer linked to zzz(8), catch up. (Fixes "zzz" clash in the whatis(1) database.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-22T14:58:23.934798Z K 7 svn:log V 86 MFC 200514: Remove comment claiming that building acpi into the kernel is deprecated. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-22T14:58:44.182424Z K 7 svn:log V 86 MFC 200514: Remove comment claiming that building acpi into the kernel is deprecated. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T15:08:06.955787Z K 7 svn:log V 24 remove extra whitespace END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-22T15:13:16.652714Z K 7 svn:log V 103 Don't print the archive name with -p and -q options. PR: bin/141280 Approved by: des, trasz (mentor) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-12-22T15:41:58.591723Z K 7 svn:log V 119 Don't take the driver mutex in mxge_tick(), as it is run with the mutex held. Submitted by: rwatson MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T15:45:38.750408Z K 7 svn:log V 25 add a comment on locking END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-22T15:47:40.224599Z K 7 svn:log V 261 - Rename the __tcpi_(snd|rcv)_mss fields of the tcp_info structure to remove the leading underscores since they are now implemented. - Implement the tcpi_rto and tcpi_last_data_recv fields in the tcp_info structure. Reviewed by: rwatson MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-22T16:02:08.739481Z K 7 svn:log V 13 Sort mlinks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-22T16:05:28.553178Z K 7 svn:log V 43 Removed duplicate usbd_xfer_state(9) link. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T16:06:38.725944Z K 7 svn:log V 1154 complete the code for improved rule lookup in ipfw. Now we should have the following (Old is the code in HEAD; "Now" means the code in this commit; "Planned" is what i expect to achieve with small changes): Function Old Now Planned ------------------------------------------------------------------- + skipto X, non cached O(N) O(log N) XXX skipto X, cached O(1) O(log N) O(1) NOTE 1 XXX dynamic rule lookup O(1) O(log N) O(1) NOTE 1 + skipto tablearg O(N) O(log N) O(1) NOTE 2 + reinject from dummynet, non cached O(N) O(log N) + reinject from dummynet, cached O(1) O(1) + kernel blocked during setsockopt() O(N) O(1) NOTE 1: validating the cached entries requires an extra field in the rule structure, which in turn requires a bit of work to preserve the kernel-userland ABI. NOTE 2: currently there is no cache for skipto tablearg. It can be implemented rather trivially to achieve O(1) time on repeated jumps to the same target. As you can see there are a couple of places where we have a bit of regression, but in most cases there is a huge improvement, especially in the interference between userland and kernel. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T17:02:57.321536Z K 7 svn:log V 66 restore the skipto cache, so we have O(1) cost for direct skipto. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T17:44:56.779736Z K 7 svn:log V 19 simplify set_match END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T18:57:07.949631Z K 7 svn:log V 2054 Add bus_dma(9) and endianness support to ste(4). o Sorted includes and added missing header files. o Added basic endianness support. In theory ste(4) should work on any architectures. o Remove the use of contigmalloc(9), contigfree(9) and vtophys(9). o Added 8 byte alignment limitation of TX/RX descriptor. o Added 1 byte alignment requirement for TX/RX buffers. o ste(4) controllers does not support DAC. Limit DMA address space to be within 32bit address. o Added spare DMA map to gracefully recover from DMA map failure. o Removed dead code for checking STE_RXSTAT_DMADONE bit. The bit was already checked in each iteration of loop so it can't be true. o Added second argument count to ste_rxeof(). It is used to limit number of iterations done in RX handler. ATM polling is the only consumer. o Removed ste_rxeoc() which was added to address RX stuck issue (cvs rev 1.66). Unlike TX descriptors, ST201 supports chaining descriptors to form a ring for RX descriptors. If RX descriptor chaining is not supported it's possible for controller to stop receiving incoming frames once controller pass the end of RX descriptor which in turn requires driver post new RX descriptors to receive more frames. For TX descriptors which does not support chaning, we exactly do manual chaining in driver by concatenating new descriptors to the end of previous TX chain. Maybe the workaround was borrowed from other drivers that does not support RX descriptor chaining, which is not valid for ST201 controllers. I still have no idea how this address RX stuck issue and I can't reproduce the RX stuck issue on DFE-550TX controller. o Removed hw.ste_rxsyncs sysctl as the workaround was removed. o TX/RX side bus_dmamap_load_mbuf_sg(9) support. o Reimplemented optimized ste_encap(). o Simplified TX logic of ste_start_locked(). o Added comments for TFD/RFD requirements. o Increased number of RX descriptors to 128 from 64. 128 gave much better performance than 64 under high network loads. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T19:00:18.861920Z K 7 svn:log V 75 Add minimal dealy while ste(4) is waiting for the end of active DMA cycle. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-22T19:01:47.969122Z K 7 svn:log V 2300 merge code from ipfw3-head to reduce contention on the ipfw lock and remove all O(N) sequences from kernel critical sections in ipfw. In detail: 1. introduce a IPFW_UH_LOCK to arbitrate requests from the upper half of the kernel. Some things, such as 'ipfw show', can be done holding this lock in read mode, whereas insert and delete require IPFW_UH_WLOCK. 2. introduce a mapping structure to keep rules together. This replaces the 'next' chain currently used in ipfw rules. At the moment the map is a simple array (sorted by rule number and then rule_id), so we can find a rule quickly instead of having to scan the list. This reduces many expensive lookups from O(N) to O(log N). 3. when an expensive operation (such as insert or delete) is done by userland, we grab IPFW_UH_WLOCK, create a new copy of the map without blocking the bottom half of the kernel, then acquire IPFW_WLOCK and quickly update pointers to the map and related info. After dropping IPFW_LOCK we can then continue the cleanup protected by IPFW_UH_LOCK. So userland still costs O(N) but the kernel side is only blocked for O(1). 4. do not pass pointers to rules through dummynet, netgraph, divert etc, but rather pass a tuple. We validate the slot index (in the array of #2) with chain_id, and if successful do a O(1) dereference; otherwise, we can find the rule in O(log N) through All the above does not change the userland/kernel ABI, though there are some disgusting casts between pointers and uint32_t Operation costs now are as follows: Function Old Now Planned ------------------------------------------------------------------- + skipto X, non cached O(N) O(log N) + skipto X, cached O(1) O(1) XXX dynamic rule lookup O(1) O(log N) O(1) + skipto tablearg O(N) O(1) + reinject, non cached O(N) O(log N) + reinject, cached O(1) O(1) + kernel blocked during setsockopt() O(N) O(1) ------------------------------------------------------------------- The only (very small) regression is on dynamic rule lookup and this will be fixed in a day or two, without changing the userland/kernel ABI Supported by: Valeria Paoli MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T19:32:16.136174Z K 7 svn:log V 243 Introduce sc_flags member variable and use it to keep track of link state and PHY related information. Remove ste_link and ste_one_phy variable of softc as it's not used anymore. While I'm here add IFF_DRV_RUNNING check in ste_start_locked(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-22T19:48:06.476567Z K 7 svn:log V 61 Add support for Intel SCH PATA controller. PR: kern/140251 END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-22T19:51:49.962650Z K 7 svn:log V 137 MFC r186212 (by imp): AT_DEBUG and AT_BRK were OBE like 10 years ago, so retire them. MFC r186225: Remove two remnant uses of AT_DEBUG. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-22T19:54:11.565462Z K 7 svn:log V 64 MFC r189925: Add some definitions for the DT_FLAGS_1 tag flags. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-22T19:56:35.547639Z K 7 svn:log V 170 MFC r200218: - Cleanup kernel messages, mostly PMP. - Took references on devices, while PMP reinitializes them, to not let them go and distort freeze reference counting. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-22T19:59:01.558835Z K 7 svn:log V 53 MFC r189926: Add AT_EXECPATH ELF auxinfo entry type. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-22T20:00:20.456578Z K 7 svn:log V 56 MFC r200414: CFA support doesn't exclude FLUSH support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-22T20:02:06.680442Z K 7 svn:log V 56 MFC r200414: CFA support doesn't exclude FLUSH support. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-22T20:05:09.432639Z K 7 svn:log V 242 MFC r189927: Supply AT_EXECPATH auxinfo entry to the interpreter, both for native and compat32 binaries. Note that the merge was edited due to fexecve(2) support not present in stable/7. Tested by: bms, Mykola Dzham END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T20:11:56.228046Z K 7 svn:log V 968 Reimplement miibus_statchg method. Don't rely on link state change interrupt. If we want to use link state change interrupt ste(4) should also implement auto-negotiation complete handler as well as various PHY access handling. Now link state change is handled by mii(4) polling so it will automatically update link state UP/DOWN events which in turn make ste(4) usable with lagg(4). r199559 added a private timer to drive watchdog and the timer also used to drive MAC statistics update. Because the MAC statistics update is called whenever statistics counter reaches near-full, it drove watchdog timer too fast such that it caused false watchdog timeouts under heavy TX traffic conditions. Fix the regression by separating ste_stats_update() from driving watchdog timer and introduce a new function ste_tick() that handles periodic job such as driving watchdog, MAC statistics update and link state check etc. While I'm here clear armed watchdog timer in ste_stop(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-22T20:17:03.818848Z K 7 svn:log V 44 MFC r200375: Add one more set of codec IDs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-22T20:20:51.598485Z K 7 svn:log V 311 MFC r189959: Implement the dynamic string token substitution in the rpath and soneeded pathes. MFC r190505: Do not dereference NULL pointer. MFC r199828: Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN. Merge requested by: bms Tested by: bms, Mykola Dzham END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-22T20:24:06.351023Z K 7 svn:log V 44 MFC r200375: Add one more set of codec IDs. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-12-22T20:33:27.846836Z K 7 svn:log V 79 MFC r200572: Add missing #include . Submitted by: Hideki Yamamoto END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-22T20:37:40.058882Z K 7 svn:log V 98 Split the current (and partly new) code into modules with functions with similar functionalities. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-12-22T20:40:22.155145Z K 7 svn:log V 353 Use ALLOW_NEW_SOURCES and BLOCK_OLD_SOURCES to signal a join or leave with SSM MLDv2 by default. This is current practice and complies with RFC 4604, as well as being required by production IPv6 networks in Japan. The behaviour may be disabled by setting the net.inet6.mld.use_allow sysctl/tunable to 0. Requested by: Hideki Yamamoto MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-22T20:56:33.738574Z K 7 svn:log V 93 Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T20:57:30.130284Z K 7 svn:log V 860 Instead of relying on hard resetting of controller to stop receiving incoming traffics, try harder to gracefully stop active DMA cycles and then stop MACs. This is the way what datasheet recommends and seems to work reliably. Resetting controller while active DMAs are in progress is bad thing as we can't predict how DMAs touche allocated TX/RX buffers. This change ensures controller stop state before attempting to release allocated TX/RX buffers. Also update MAC statistics which could have been updated during the wait time of MAC stop. While I'm here remove unnecessary controller resets in various location. ste(4) no longer relies on hard controller reset to stop controller and resetting controller also clears all configured settings which makes it hard to implement WOL in near future. Now resetting a controller is performed in ste_init_locked(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-22T21:02:46.118393Z K 7 svn:log V 475 Enroll these drivers in multipass probing. The motivation behind this is that the JBus to EBus bridges share the interrupt controller of a sibling JBus to PCIe bridge (at least as far as the OFW device tree is concerned, in reality they are part of the same chip) so we have to probe and attach the latter first. That happens to be also the case due to the fact that the JBus to PCIe bridges appear first in the OFW device tree but it doesn't hurt to ensure the right order. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T21:39:34.260489Z K 7 svn:log V 152 Prefer memory space register mapping over io space. If memory space mapping fails fall back to old io space mapping. While I'm here use PCIR_BAR macro. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-22T21:42:54.228015Z K 7 svn:log V 57 Make these constants unsigned which is more appropriate. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T21:44:25.484196Z K 7 svn:log V 142 Prefer bus_write_{1,2,4}/bus_read_{1,2,4} to bus_space_write_{1,2,4}/bus_space_read_{1,2,4}. Remove unused ste_bhandle and ste_btag in softc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-22T21:48:18.346332Z K 7 svn:log V 230 - Add macros for the states of the interrupt clear registers. - Change INTMAP_VEC() to take an INO as its second argument rather than an INR. The former is what I actually intended with this macro and how it's currently used. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-22T21:49:53.383742Z K 7 svn:log V 238 - Add support for the JBus to EBus bridges which hang off of nexus(4) and are found in sun4u and sun4v machines based on the Fire ASIC. - Initialize the configuration space of the PCI to EBus variant the same way as OpenSolaris does. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-22T21:53:19.384962Z K 7 svn:log V 109 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-12-22T22:15:52.485286Z K 7 svn:log V 126 Don't name parameters, for consistency with the rest of the file, and because it breaks third-party apps. Submitted by: gahr END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-22T22:38:54.022640Z K 7 svn:log V 163 - remove _locked and !_locked function names where only the _locked variant is ever used - implement vm_pages_valid(_locked) - implement vm_object_reference_pages END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-22T22:45:03.579994Z K 7 svn:log V 38 call zfs_bio initialization functions END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-22T23:57:10.646409Z K 7 svn:log V 1005 Reimplement Tx status error handler as recommended by datasheet. If ste(4) encounter TX underrun or excessive collisions the TX MAC of controller is stalled so driver should wake it up again. TX underrun requires increasing TX threshold value to minimize further TX underruns. Previously ste(4) used to reset controller to recover from TX underrun, excessive collision and reclaiming error. However datasheet says only TX underrun requires resetting entire controller. So implement ste_restart_tx() that restarts TX MAC and do not perform full reset except TX underrun case. Now ste(4) uses CSR_READ_2 instead of CSR_READ_1 to read STE_TX_STATUS register. This way ste(4) will also read frame id value and we can write the same value back to STE_TX_FRAMEID register instead of overwriting it to 0. The datasheet was wrong in write back of STE_TX_STATUS so add some comments why we do so. Also always invoke ste_txeoc() after ste_txeof() in ste_poll as without reading TX status register can stall TX MAC. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-23T01:12:54.882009Z K 7 svn:log V 57 Sync usb vendor/product defines to p4 Submitted by: HPS END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-23T01:16:24.643988Z K 7 svn:log V 94 Move all Mass Storage Quirks over to the USB quirk module. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-23T01:41:52.945777Z K 7 svn:log V 78 Shorten the USB_QUIRK_ENTRY macro and undef it at the end, its only internal. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-23T04:39:05.632328Z K 7 svn:log V 65 Add a bit definition for invalid timestamp in the record header. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-23T04:48:42.439288Z K 7 svn:log V 480 Export the bus, cpu and itc frequencies under the hw.freq sysctl node. The frequencies are in MHz (i.e. a value of 1000 represents 1GHz). The frequencies are rounded to the nearest whole MHz. While here, rename and re-type bus_frequency, processor_frequency and itc_frequency to bus_freq, cpu_freq and itc_freq and make them static. As unsigned integers, the hw.freq.cpu sysctl can more easily be made generic (across all architectures) making porting easier. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-23T05:15:40.676499Z K 7 svn:log V 171 - malloc the hash table locks - malloc a TAILQ_HEAD array and not an array of pointers to TAILQ_HEADs - switch to using the freelist entry - don't inline on debug kernels END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-23T06:52:12.638983Z K 7 svn:log V 164 Calculate the average CPU clock frequency and export that through the hw.freq.cpu sysctl variable. This can be used by ports that need to know "the" CPU frequency. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-12-23T08:13:44.464374Z K 7 svn:log V 73 Load gp for N32 and N64 operations. Obtained from: Cavium's Octeon port END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-12-23T08:16:53.388549Z K 7 svn:log V 362 Start to add support for N32 and N64 ABIs. In addition, add a work around for (or maybe you would call it increase compatibility with) Cavium toolchain: the .cprestore macro references fp rather than sp, so we need to copy sp to fp in a couple of places. Also add a couple of comments to explain what's going on. Obtained from: Cavium FreeBSD/octeon port. END