Ħ212000 160 276 126 680 292 270 234 234 833 379 231 103 356 356 184 184 153 153 941 941 187 187 810 810 162 162 156 201 155 222 238 713 164 189 217 214 209 278 240 653 1281 1281 284 284 1041 157 182 250 403 143 271 217 189 204 156 943 127 173 114 311 162 327 1483 283 209 260 271 192 259 665 354 517 263 197 195 143 128 1382 483 181 188 117 221 151 200 198 268 397 303 242 187 135 330 176 893 237 187 203 218 323 264 169 515 408 161 129 144 562 135 361 2035 223 462 562 119 466 608 1120 181 642 364 217 193 257 860 208 498 454 261 179 197 163 128 127 334 323 221 256 172 210 167 260 143 289 199 179 415 353 188 123 253 228 482 217 126 260 970 488 607 152 209 K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-30T14:44:22.699653Z K 7 svn:log V 184 MFC r211342: - Check that strtoul(3) succeeds to convert the entire string in a few places. - In getasciilabel(), set the disk type only when a valid type is given. PR: bin/86765 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-30T15:06:55.999974Z K 7 svn:log V 30 Don't bump dumping too early. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-30T16:30:18.182984Z K 7 svn:log V 588 execve(2) has a special check for file permissions: a file must have at least one execute bit set, otherwise execve(2) will return EACCES even for an user with PRIV_VFS_EXEC privilege. Add the check also to vaccess(9), vaccess_acl_nfs4(9) and vaccess_acl_posix1e(9). This makes access(2) to better agree with execve(2). Because ZFS doesn't use vaccess(9) for VEXEC, add the check to zfs_freebsd_access() too. There may be other file systems which are not using vaccess*() functions and need to be handled separately. PR: kern/125009 Reviewed by: bde, trasz Approved by: pjd (ZFS part) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-30T17:34:59.548270Z K 7 svn:log V 198 MFC: r211823 Check opcode for short jump as well. Some option ROMs do short jumps (e.g., some NVIDIA video cards) and we were not able to do POST while resuming because we only honored long jump. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-30T18:12:21.046154Z K 7 svn:log V 174 When DTrace is enabled, make sure we don't overwrite the IDT_DTRACE_RET entry with an IRQ for some hardware component. Reviewed by: jhb Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-30T18:23:48.497991Z K 7 svn:log V 137 MFC r210665: In rdmsr_safe, use zero extend (by doing a 32-bit movl over eax to itself) instead of a sign extend. Discussed with: stas END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-30T18:50:18.707246Z K 7 svn:log V 137 MFC r210665: In rdmsr_safe, use zero extend (by doing a 32-bit movl over eax to itself) instead of a sign extend. Discussed with: stas END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-30T18:53:12.005595Z K 7 svn:log V 736 MFC r210624 and r210833: Improve cputemp(4) driver wrt newer Intel processors, especially Xeon 5500/5600 series: - Utilize IA32_TEMPERATURE_TARGET, a.k.a. Tj(target) in place of Tj(max) when a sane value is available, as documented in Intel whitepaper "CPU Monitoring With DTS/PECI"; (By sane value we mean 70C - 100C for now); - Print the probe results when booting verbose; - Replace cpu_mask with cpu_stepping; - Use CPUID_* macros instead of rolling our own. Catch known CPUs before using IA32_TEMPERATURE_TARGET. This way we would have an opportunity to hide the Tj(target) value doesn't seem right stuff if we know it's not working there. Add temperature value for Core2 Duo Extreme Mobile that I have access to. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-30T19:15:04.017746Z K 7 svn:log V 282 Vendor update to version 3.80.06.003 to fix a panic with ZFS when under heavy I/O load. Many thanks to LSI for continuing to support FreeBSD. PR: kern/149968 Submitted by: LSI (Tom Couch) Reported by: Kai Kockro Tested by: Kai Kockro, jpaetzel MFC after: 7 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-30T20:30:48.337015Z K 7 svn:log V 135 Please welcome Dimitry Andric (dim@) as a src committer. Dimitry will be work on Clang for now. ed@ is a co-mentor. Approved by: core END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-30T20:39:06.560052Z K 7 svn:log V 9 Add dim. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T20:49:51.915272Z K 7 svn:log V 259 MFC r210904: Reduce Tx interrupt moderation timer from 50ms to 1ms. The default value resulted in poor performance for UDP packets. With this change, UDP bulk transfer performance is more than 940Mbps. While I'm here fix a wrong register definition. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T20:52:28.962295Z K 7 svn:log V 259 MFC r210904: Reduce Tx interrupt moderation timer from 50ms to 1ms. The default value resulted in poor performance for UDP packets. With this change, UDP bulk transfer performance is more than 940Mbps. While I'm here fix a wrong register definition. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T20:56:12.163833Z K 7 svn:log V 88 MFC r210905: Reflect default Tx interrupt moderation timer value change(50ms -> 1ms). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T20:56:59.236066Z K 7 svn:log V 88 MFC r210905: Reflect default Tx interrupt moderation timer value change(50ms -> 1ms). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T20:59:13.905970Z K 7 svn:log V 57 MFC r211046: Marvell model number 0x06 is 88E1101 PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:00:37.610022Z K 7 svn:log V 57 MFC r211046: Marvell model number 0x06 is 88E1101 PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:07:26.403280Z K 7 svn:log V 844 MFC r211047-211048,211051-211053,211285: r211047: Controller does not seem to support more than 1024 bytes DMA burst. Limit DMA burst size to be less than or equal to 1024 bytes. r211048: Do not touch CMB TX threshold register when CMB is not used. Note, alc(4) does not use CMB at all due to silicon bug. r211051: Always disable ASPM L0s and enable L1 before entering into WOL suspend state. Also disable master clock after PHY power down, this is supposed to save more power. The master clock should be enabled if WOL is active. r211052: Remove unnecessary assignment. r211053: Cache PCIY_PMG and PCIY_EXPRESS capability pointer to softc and use it instead of calling pci_find_extcap(). r211285: Make sure to disable RX MAC in alc_stop_mac(). Previously there was a logic error which it always enabled RX MAC. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:09:37.259198Z K 7 svn:log V 844 MFC r211047-211048,211051-211053,211285: r211047: Controller does not seem to support more than 1024 bytes DMA burst. Limit DMA burst size to be less than or equal to 1024 bytes. r211048: Do not touch CMB TX threshold register when CMB is not used. Note, alc(4) does not use CMB at all due to silicon bug. r211051: Always disable ASPM L0s and enable L1 before entering into WOL suspend state. Also disable master clock after PHY power down, this is supposed to save more power. The master clock should be enabled if WOL is active. r211052: Remove unnecessary assignment. r211053: Cache PCIY_PMG and PCIY_EXPRESS capability pointer to softc and use it instead of calling pci_find_extcap(). r211285: Make sure to disable RX MAC in alc_stop_mac(). Previously there was a logic error which it always enabled RX MAC. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:11:45.387724Z K 7 svn:log V 91 MFC r211103: Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet controller. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:13:08.857719Z K 7 svn:log V 91 MFC r211103: Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet controller. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:15:40.036356Z K 7 svn:log V 713 MFC r211105: Add support for Atheros AR8151/AR8152 PCIe gigabit/fast ethernet controller. These controllers are known as L1D(AR8151) and L2CB/B2(AR8152). This change adds supports for the following controllers. o AR8151 v1.0(L1D) gigabit ethernet controller o AR8151 v2.0(L1D) gigabit ethernet controller o AR8152 v1.1(L2CB) fast ethernet controller o AR8152 v2.0(L2CB2) fast ethernet controller These controllers have the same feature of AR8131/AR8132 and support improved power saving control. The user visible change at this moment is reduced jumbo frame size from 9KB to 6KB. Many thanks to Atheros for continuing to support FreeBSD. HW donated by: Atheros Communications, Inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:17:11.935443Z K 7 svn:log V 713 MFC r211105: Add support for Atheros AR8151/AR8152 PCIe gigabit/fast ethernet controller. These controllers are known as L1D(AR8151) and L2CB/B2(AR8152). This change adds supports for the following controllers. o AR8151 v1.0(L1D) gigabit ethernet controller o AR8151 v2.0(L1D) gigabit ethernet controller o AR8152 v1.1(L2CB) fast ethernet controller o AR8152 v2.0(L2CB2) fast ethernet controller These controllers have the same feature of AR8131/AR8132 and support improved power saving control. The user visible change at this moment is reduced jumbo frame size from 9KB to 6KB. Many thanks to Atheros for continuing to support FreeBSD. HW donated by: Atheros Communications, Inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:18:27.829175Z K 7 svn:log V 66 MFC r211106: Document newly added controller AR8151 and AR8152. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T21:18:57.074393Z K 7 svn:log V 66 MFC r211106: Document newly added controller AR8151 and AR8152. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-08-30T21:18:59.039975Z K 7 svn:log V 64 Add myself to committers-src.dot. Approved by: rpaulo (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-30T21:19:42.596440Z K 7 svn:log V 107 Save MSR_FSBASE, MSR_GSBASE and MSR_KGSBASE directly to PCB as we do not use these values in the function. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-08-30T21:20:24.957689Z K 7 svn:log V 63 Add myself to calendars.freebsd. Approved by: rpaulo (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-30T21:33:33.454866Z K 7 svn:log V 125 Drain watchdog callouts before detaching. This prevents a panic while unloading the kernel module. Submitted by: Tom Cough END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-30T21:58:52.970683Z K 7 svn:log V 137 Use MACHINE_ARCH instead of MACHINE as the directory to fetch packages from. Packages are architecture dependent, not machine dependent. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T22:17:06.270248Z K 7 svn:log V 616 MFC r184515,184524,184559: r184515: Add RL_TWISTER_ENABLE option. This enables the magic bits to do long cable tuning. This has helped in some installations for hardware deployed by a former employer. Made optional because the lists aren't full of complaints about these cards... even when they were wildly popular. r184524: Fix a few typos/spelling errors in my comments from the last commit, plus a few others that had lingered in this driver... Submitted by: "b." bf2006a att yahoo KIBO com r184559: Make RL_TWISTER_ENABLE a tunable/sysctl. Eliminate it as an option. Fix module build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-30T22:19:41.322110Z K 7 svn:log V 68 MFC r184560: Document dev.rl.%unit.twister_enable sysctl/tunable. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-08-30T22:24:26.133485Z K 7 svn:log V 95 Use basename(3) to determine the name of the program. Submitted by: Alexander Best END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T22:26:42.369835Z K 7 svn:log V 124 Constify arguments we can constify. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T22:28:04.714796Z K 7 svn:log V 121 Use pjdlog_exit() before fork(). MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-08-30T22:45:32.275312Z K 7 svn:log V 114 For calendars which don't match the solar-based Gregorian calendar, be able to specify a year string in an entry. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T23:16:45.445862Z K 7 svn:log V 185 When someone gives NULL as data, assume this is because he want to declare connection side only. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T23:19:21.468136Z K 7 svn:log V 147 We only want to know if descriptors are ready for reading. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T23:26:10.773499Z K 7 svn:log V 560 Because it is very hard to make fork(2) from threaded process safe (we are limited to async-signal safe functions in the child process), move all hooks execution to the main (non-threaded) process. Do it by maintaining connection (socketpair) between child and parent and sending events from the child to parent, so it can execute the hook. This is step in right direction for others reasons too. For example there is one less problem to drop privs in worker processes. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T00:15:20.356157Z K 7 svn:log V 1183 MFC r211648: It seems some newer RTL8139 controllers provides only memory space register mapping. I'm not sure whether it comes from the fact that controllers live behind certain PCI brdge(PLX PCI 6152 33BC) and the bridge has some issues in handling I/O space register mapping. Unfortunately it's not possible to narrow down to an exact controller that shows this issue because RealTek used the same PCI device/revision id again. In theory, it's possible to check parent PCI bridge device and change rl(4) to use memory space register mapping if the parent PCI bridge is PLX PCI 6152. But I didn't try to do that and we wouldn't get much benefit with added complexity. Blindly switching to use memory space register mapping for rl(4) may make most old controllers not to work. At least, I don't want to take potential risk from such change. So use I/O space register mapping by default but give users chance to override it via a tunable. The tunable to use memory space register mapping would be given by adding the following line to /boot/loader.conf file. dev.rl.%d.prefer_iomap="0" This change makes P811B quad-port work with this tunable. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T00:16:30.997583Z K 7 svn:log V 1183 MFC r211648: It seems some newer RTL8139 controllers provides only memory space register mapping. I'm not sure whether it comes from the fact that controllers live behind certain PCI brdge(PLX PCI 6152 33BC) and the bridge has some issues in handling I/O space register mapping. Unfortunately it's not possible to narrow down to an exact controller that shows this issue because RealTek used the same PCI device/revision id again. In theory, it's possible to check parent PCI bridge device and change rl(4) to use memory space register mapping if the parent PCI bridge is PLX PCI 6152. But I didn't try to do that and we wouldn't get much benefit with added complexity. Blindly switching to use memory space register mapping for rl(4) may make most old controllers not to work. At least, I don't want to take potential risk from such change. So use I/O space register mapping by default but give users chance to override it via a tunable. The tunable to use memory space register mapping would be given by adding the following line to /boot/loader.conf file. dev.rl.%d.prefer_iomap="0" This change makes P811B quad-port work with this tunable. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T00:19:03.684576Z K 7 svn:log V 187 MFC r211650,211667: r211650: Document tunable dev.rl.%unit.prefer_iomap r211667: Better wording and fix wrong explanation. Submitted by: Ben Kaduk ( minimarmot <> gmail dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T00:20:10.293549Z K 7 svn:log V 187 MFC r211650,211667: r211650: Document tunable dev.rl.%unit.prefer_iomap r211667: Better wording and fix wrong explanation. Submitted by: Ben Kaduk ( minimarmot <> gmail dot com ) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-08-31T01:16:45.929674Z K 7 svn:log V 943 Add a null_remove() function to nullfs, so that the v_usecount of the lower level vnode is incremented to greater than 1 when the upper level vnode's v_usecount is greater than one. This is necessary for the NFS clients, so that they will do a silly rename of the file instead of actually removing it when the file is still in use. It is "racy", since the v_usecount is incremented in many places in the kernel with minimal synchronization, but an extraneous silly rename is preferred to not doing a silly rename when it is required. The only other file systems that currently check the value of v_usecount in their VOP_REMOVE() functions are nwfs and smbfs. These file systems choose to fail a remove when the v_usecount is greater than 1 and I believe will function more correctly with this patch, as well. Tested by: to.my.trociny at gmail.com Submitted by: to.my.trociny at gmail.com (earlier version) Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-31T02:07:13.264985Z K 7 svn:log V 57 Missed one place the SLB lock should be held in r211967. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-31T04:18:47.553294Z K 7 svn:log V 85 Add the workaround for 4xx lite boards after it was lost in the last board.c update. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-31T06:22:03.512307Z K 7 svn:log V 157 Mask only those signals that we want to handle. Suggested by: jilles MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-31T07:15:50.559412Z K 7 svn:log V 306 If a process is being debugged, skips job control caused by SIGSTOP/SIGCONT signals, because it is managed by debugger, however a normal signal sent to a interruptibly sleeping thread wakes up the thread so it will handle the signal when the process leaves the stopped state. PR: 150138 MFC after: 1 week END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-08-31T07:19:10.217100Z K 7 svn:log V 49 For consistency, cast result of getpid() to long END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-31T09:38:43.672177Z K 7 svn:log V 178 Forgot to add event.c and event.h in r212038. Pointed out by: pluknet MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-31T10:41:53.281109Z K 7 svn:log V 124 When upgrading a pool which contain root file system, give user a hint that he should update boot code. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-31T12:03:29.086287Z K 7 svn:log V 97 Correct error message. Submitted by: Mikolaj Golub MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-31T12:05:13.386985Z K 7 svn:log V 111 Include process PID in log messages. Submitted by: Mikolaj Golub MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-31T15:22:09.811542Z K 7 svn:log V 56 Remove some code made obsolete by the powerpc64 import. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-31T15:27:46.854811Z K 7 svn:log V 842 Restructure how reset and poweroff are handled on PowerPC systems, since the existing code was very platform specific, and broken for SMP systems trying to reboot from KDB. - Add a new PLATFORM_RESET() method to the platform KOBJ interface, and migrate existing reset functions into platform modules. - Modify the OF_reboot() routine to submit the request by hand to avoid the IPIs involved in the regular openfirmware() routine. This fixes reboot from KDB on SMP machines. - Move non-KDB reset and poweroff functions on the Powermac platform into the relevant power control drivers (cuda, pmu, smu), instead of using them through the Open Firmware backdoor. - Rename platform_chrp to platform_powermac since it has become increasingly Powermac specific. When we gain support for IBM systems, we will grow a new platform_chrp. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-31T15:49:41.802425Z K 7 svn:log V 27 Add some non-HV Cell bits. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-31T15:52:12.503121Z K 7 svn:log V 81 MFC r211435, r211530: Make `ping6 -I' work with net.inet6.ip6.use_defaultzone=1. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-31T15:58:15.447726Z K 7 svn:log V 14 IFC @ r212055 END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-08-31T16:57:58.871270Z K 7 svn:log V 218 The realloc case for memguard(9) will copy too many bytes when reallocating to a smaller-sized allocation. Fix this issue. Noticed by: alc Reviewed by: alc Approved by: zml (mentor) MFC after: 3 weeks END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-08-31T17:22:57.255536Z K 7 svn:log V 70 Release mdf@ from mentorship. He's already way more active than I am! END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-08-31T17:33:29.607468Z K 7 svn:log V 234 Use a more robust way to substitute gcc for clang, when compiling gnu/lib/libobjc and sys/boot/i386/boot2, so it also works when using absolute paths and/or options, as in CC="/absolute/path/clang -foo". Approved by: rpaulo (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T17:33:48.718887Z K 7 svn:log V 1385 Split common parent DMA tag into ring DMA tag and TX/RX mbuf DMA tag. All controllers that are not BCM5755 or higher have 4GB boundary DMA bug. Previously bge(4) used 32bit DMA address to workaround the bug(r199670). However this caused the use of bounce buffers such that it resulted in poor performance for systems which have more than 4GB memory. Because bus_dma(9) honors boundary restriction requirement of DMA tag for dynamic buffers, having a separate TX/RX mbuf DMA tag will greatly reduce the possibility of using bounce buffers. For DMA buffers allocated with bus_dmamem_alloc(9), now bge(4) explicitly checks whether the requested memory region crossed the boundary or not. With this change, only the DMA buffer that crossed the boundary will use 32bit DMA address. Other DMA buffers are not affected as separate DMA tag is created for each DMA buffer. Even if 32bit DMA address space is used for a buffer, the chance to use bounce buffer is still very low as the size of buffer is small. This change should eliminate most usage of bounce buffers on systems that have more than 4GB memory. More correct fix would be teaching bus_dma(9) to honor boundary restriction for buffers created with bus_dmamem_alloc(9) but it seems that is not easy. While I'm here cleanup bge_dma_map_addr() and remove unnecessary member variables in bge_dmamap_arg structure. Tested by: marcel END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-08-31T17:38:20.606798Z K 7 svn:log V 190 Always compile pc98 boot2 with gcc instead of clang, just as with i386 boot2. Unfortunately both still are too big when compiled with clang. Reviewed by: nyan Approved by: rpaulo (mentor) END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-08-31T17:43:47.340875Z K 7 svn:log V 116 Have memguard(9) crash with an easier-to-debug message on double-free. Reviewed by: zml MFC after: 3 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-08-31T18:11:50.180242Z K 7 svn:log V 167 Avoid directly manipulating a NULL pointer (which could result in undefined behaviour) in sys/boot/pc98/boot2/boot2.c. Reviewed by: nyan Approved by: rpaulo (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T18:48:09.054505Z K 7 svn:log V 174 Handle PAE case correctly. You cannot effectively specify a 4GB boundary in PAE case so use a 2GB boundary for PAE as suggested by jhb. Pointed out by: jhb Reviewed by: jhb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-31T19:01:12.105760Z K 7 svn:log V 96 For consistency, change all 'i386' and MACHINE_ARCH to x86. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-31T19:01:46.038918Z K 7 svn:log V 166 Eliminate confusing while () loop. In the first version of the code it was there to avoid gotos, but in the current version it serves no purpose. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-31T19:26:29.294683Z K 7 svn:log V 572 MFC 206429: Sync em(4) and igb(4) drivers with 8 except for VF support: - Remove unneeded rxtx handler, make que handler generic in igb. - Do not allocate header mbufs in rx ring if not doing hdr split in igb. - Release the lock in rxeof call to stack. - Change rxeof api for poll friendliness, and eliminate unnecessary link tasklet use. - Move statistics for em into sysctl tree. - Reenable hardware checksum offload for VLAN frames in igb. - Fix for a panic when TX checksum offload is done and a packet has only a header in the first mbuf in em. Approved by: jfv END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T19:59:18.646295Z K 7 svn:log V 257 bge_txeof() already checks whether it has to free transmitted mbufs or not by comparing reported TX consumer index with saved index. So remove unnecessary check done after freeing transmitted mbufs. While I'm here nuke unnecessary variable initializations. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-31T20:21:52.543178Z K 7 svn:log V 423 Make sure the interrupt entry point is within the video ROM range. We must not change interrupt vector if it is not pointing the ROM itself. Actually, we just fail shadowing altogether if that is the case because the shadowed copy will be useless for sure and POST may not be relocatable or useful. While I'm here, fix a debugging message under bootverbose, really. r211829 fixed one case but broke another. Mea Culpa. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-31T20:56:18.874205Z K 7 svn:log V 166 Remove unnecessary atomic operation in bge_poll. bge(4) always holds a driver lock in the function entry and memory synchronization is handled by bus_dmamap_sync(9). END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-31T21:48:45.069283Z K 7 svn:log V 102 Make it clear in the example that jailparam_export's return value should be freed. MFC after: 3 days END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-31T21:50:09.139734Z K 7 svn:log V 100 Don't over-allocate array values in jailparam_export. Fix a little comment typo. MFC after: 3 days END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-31T23:14:03.259440Z K 7 svn:log V 49 Whitespace and comment fixes. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-01T01:26:07.047516Z K 7 svn:log V 32 rescure comments from RELENG_4. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-01T02:18:33.042433Z K 7 svn:log V 1284 Add signal handler wrapper, the reason to add it becauses there are some cases we want to improve: 1) if a thread signal got a signal while in cancellation point, it is possible the TDP_WAKEUP may be eaten by signal handler if the handler called some interruptibly system calls. 2) In signal handler, we want to disable cancellation. 3) When thread holding some low level locks, it is better to disable signal, those code need not to worry reentrancy, sigprocmask system call is avoided because it is a bit expensive. The signal handler wrapper works in this way: 1) libthr installs its signal handler if user code invokes sigaction to install its handler, the user handler is recorded in internal array. 2) when a signal is delivered, libthr's signal handler is invoke, libthr checks if thread holds some low level lock or is in critical region, if it is true, the signal is buffered, and all signals are masked, once the thread leaves critical region, correct signal mask is restored and buffered signal is processed. 3) before user signal handler is invoked, cancellation is temporarily disabled, after user signal handler is returned, cancellation state is restored, and pending cancellation is rescheduled. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-01T03:11:21.399138Z K 7 svn:log V 386 Change atfork lock from mutex to rwlock, also make mutexes used by malloc() module private type, when private type mutex is locked/unlocked, thread critical region is entered or leaved. These changes makes fork() async-signal safe which required by POSIX. Note that user's atfork handler still needs to be async-signal safe, but it is not problem of libthr, it is user's responsiblity. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-01T03:55:10.647320Z K 7 svn:log V 85 pthread_atfork should acquire writer lock and protect the code with critical region. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2010-09-01T05:34:17.531207Z K 7 svn:log V 95 - Remove duplicate comment. PR: kern/148820 Submitted by: pluknet END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-09-01T05:39:56.325157Z K 7 svn:log V 23 MFC r211801: fix typo. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-01T06:43:41.329140Z K 7 svn:log V 128 Increase device reset timeout from 10 to 15 seconds, same as in ahci(4). Some devices found need about 10-12 seconds to spinup. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-01T06:51:42.745988Z K 7 svn:log V 59 MFC r211966: Use NULL instead of 0 for pointer in example. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-01T07:09:46.733765Z K 7 svn:log V 103 In function __pthread_cxa_finalize(), also make code for removing atfork handler be async-signal safe. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-09-01T08:32:40.336829Z K 7 svn:log V 103 o List MOUNTVER and SCHED classes. X-ref gsched(8). Bump Dd. PR: docs/149925 Submitted by: arundel END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T09:47:56.134188Z K 7 svn:log V 171 We don't need to stop the CPUs: - If we entered the debugger via a panic breakpoint() already did that - If we are running a reboot(2) instance with RB_DUMP it is not due END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T09:51:47.981827Z K 7 svn:log V 300 It is not necessary to disable interrupts here neither useful: 1) The code path is quite heavy and disabling indiscriminately interrupts for that long is not a good approach 2) The context (callers) may provide such type of protection, if anything, because they know more about the surrounding END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-09-01T09:53:24.987972Z K 7 svn:log V 211 Remove reference to device minor numbers in psm(4) man page. The number returned by stat(2) is generated automatically, so it is not possible to deduce whether the device is blocking or not. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T09:59:45.954475Z K 7 svn:log V 145 - Rename the too generic label 'abort' into 'trig_abort' - Reorganize some paths in order to cleanup a bit and get rid of the successful label END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T10:07:40.488603Z K 7 svn:log V 91 - Tweak some comments - Move down the 'dumping' bump in order to match what doadump() does END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T10:50:58.450798Z K 7 svn:log V 39 Fix a lock-leak due to wrong movement. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-09-01T11:11:20.234568Z K 7 svn:log V 232 MFC r211800: - Change the threshold from 'running next scrub the th day after the last one' to 'running next scrub the th day after the last one'. - Improve wording. Requested by: jhell END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-01T11:27:09.513254Z K 7 svn:log V 81 Include on a generated header. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-01T12:08:32.442629Z K 7 svn:log V 797 Make the /dev/dtrace/helper node have the mode 0660. This allows programs that refuse to run as root (pgsql) to install probes when their user is part of the wheel group. Sponsored by: The FreeBSD Foundation > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M dev/dtrace/dtrace_load.c END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-09-01T12:08:54.623106Z K 7 svn:log V 142 o Sync the man page with the reality: nfs/ includes are under include/ and include/fs/. PR: docs/139153 Submitted by: gjb MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-01T13:22:55.377510Z K 7 svn:log V 91 Remove incorrect comments, also make sure signal is disabled when unregistering sigaction. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-01T13:47:11.814343Z K 7 svn:log V 107 As long as we are going to panic anyway, there's no need to hide additional information behind DIAGNOSTIC. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-01T14:31:05.030630Z K 7 svn:log V 125 Fix the build with DEVICE_POLLING enabled. Poll handlers return void instead of int on 7.x and earlier. Pointy hat to: jhb END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-09-01T15:24:47.092808Z K 7 svn:log V 230 Use a cleaner expression to retrieve the memory size in pc98's boot2.c, which also avoids NULL pointer arithmetic, as suggested by jhb. The available space goes from 11 bytes to 7. Reviewed by: nyan Approved by: rpaulo (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-09-01T16:11:26.737436Z K 7 svn:log V 168 Fix a bug which results in peer IPv4 addresses a.b.c.d with 224<=d<=239 incorrectly being detected as multicast addresses on little endian systems. MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-01T16:53:38.079922Z K 7 svn:log V 74 Add a sysctl knob to accept input packets on any link in a failover lagg. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-01T17:02:31.160530Z K 7 svn:log V 414 Enable use of the high 128 MB of memory on the PS3. On PowerPC hypervisors, only a limited subset of physical memory is typically available in real mode. In addition, the information on what that subset is is typically hypervisor privileged. This commit extends the platform interface to provide a hook for querying that information, and modifies the small amounts of the kernel that care to use it appropriately. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-01T17:35:31.785631Z K 7 svn:log V 310 Updates for the RMI MIPS platform code - set cache_coherent_dma flag in cpuinfo for XLR, this will make sure that BUS_DMA_COHERENT flag is handled correctly in busdma_machdep.c - iodi.c, call device_get_name() just once - clear RMI specific EIRR while intializing CPUs - remove debug print in intr_machdep.c END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T18:28:08.316454Z K 7 svn:log V 65 Remove leading and trailing white spaces. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T18:39:35.275603Z K 7 svn:log V 33 style(9) - space after keywords. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T18:41:59.170680Z K 7 svn:log V 48 Nuke unnecessary return at the end of function. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T19:22:19.814392Z K 7 svn:log V 465 The break lock happens while the system panicked but it is not an useful operation as, at that point, the other CPUs might be already stopped. It is more correct to just skip locking entirely for the interfaces, as long as the asserts won't whine in panicstr != NULL conditions (to be added asap). The 'acquire_lock' and 'release_lock' semantic is just left for the normal RB_DUMP reboot(2) invokation case (reboot -d, for example). Discussed with: emaste, rstone END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T19:23:49.133582Z K 7 svn:log V 39 acquire_lock() is void-return. Fix it. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-01T19:27:41.997310Z K 7 svn:log V 264 As announced earlier, just lock in non-panicking conditions. The code could be different and require any implementation of acquire_lock and release_lock virtual functions to skip in panicstr != NULL case, but that would be too error prone, so just handle locally. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T19:33:40.861980Z K 7 svn:log V 1937 bus_dma(9) cleanup. o Enforce TX/RX descriptor ring alignment. NS data sheet says the controller needs 4 bytes alignment but use 16 to cover both SiS and NS controllers. I don't have SiS data sheet so I'm not sure what is alignment restriction of SiS controller but 16 would be enough because it's larger than the size of a TX/RX descriptor. Previously sis(4) ignored the alignment restriction. o Enforce RX buffer alignment, 4. Previously sis(4) ignored RX buffer alignment restriction. o Limit number of TX DMA segment to be used to 16. It seems controller has no restriction on number of DMA segments but using more than 16 looks resource waste. o Collapse long mbuf chains with m_collapse(9) instead of calling expensive m_defrag(9). o TX/RX side bus_dmamap_load_mbuf_sg(9) support and remove unnecessary callbacks. o Initial endianness support. o Prefer local alignment fixup code to m_devget(9). o Pre-allocate TX/RX mbuf DMA maps instead of creating/destroying these maps in fast TX/RX path. On non-x86 architectures, this is very expensive operation and there is no need to do that. o Add missing bus_dmamap_sync(9) in TX/RX path. o watchdog is now unarmed only when there are no pending frames on controller. Previously sis(4) blindly unarmed watchdog without checking the number of queued frames. o For efficiency, loaded DMA map is reused for error frames. o DMA map loading failure is now gracefully handled. Previously sis(4) ignored any DMA map loading errors. o Nuke unused macros which are not appropriate for endianness operation. o Stop embedding driver maintained structures into descriptor rings. Because TX/RX descriptor structures are shared between host and controller, frequent bus_dmamap_sync(9) operations are required in fast path. Embedding driver structures will increase the size of DMA map which in turn will slow down performance. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-01T19:36:06.100616Z K 7 svn:log V 127 MFC r202988, r203022 Remove vestigial NetBSD compatibility shim. Convert to 2-clause license, from NetBSD rc.subr r1.70. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-01T19:49:24.094084Z K 7 svn:log V 366 MFC r210736: sh: Do not enter consecutive duplicates into the history. This simply sets a flag in libedit. It has a shortcoming in that it does not apply to multi-line commands. Note that a configuration option for this is not going to happen, but always having this seems better than not having it. NetBSD has done the same. PR: bin/54683 Obtained from: NetBSD END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2010-09-01T19:50:03.859837Z K 7 svn:log V 466 rmlock(9) two additions and one change/fix: - add rm_try_rlock(). - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while holding the write lock. - change rm_noreadtoken to a cpu bitmask to indicate which CPUs need to go through the lock/unlock in order to synchronize. As a side effect, this also avoids IPI to CPUs without any readers during rm_wlock. Discussed with: ups@, rwatson@ on arch@ Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T19:53:15.761109Z K 7 svn:log V 23 s/u_intXX_t/uintXX_t/g END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-01T20:25:36.570304Z K 7 svn:log V 370 MFC r202289: Reject invalid CIDR widths rather than silently stopping at the first non-digit character. Due to an issue with rc(8) in a test configuration, ifconfig was being invoked with the address used again as the width - for example, ifconfig vlan0 10.0.0.1/10.0.0.1 Prior to this change, that address/width would be interpreted as 10.0.0.1/10. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-01T20:32:47.934986Z K 7 svn:log V 515 Fix a bug with sched_affinity() where it checks td_pinned of another thread in a racy manner, which can lead to attempting to migrate a thread that is pinned to a CPU. Instead, have sched_switch() determine which CPU a thread should run on if the current one is not allowed. KASSERT in sched_bind() that the thread is not yet pinned to a CPU. KASSERT in sched_switch() that only migratable threads or those moving due to a sched_bind() are changing CPUs. sched_affinity code came from jhb@. MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T21:42:19.869459Z K 7 svn:log V 1022 Overhaul link state change handling. Previously sis(4) blindly configured TX/RX MACs before getting a valid link. After that, when link state change callback is called, it called device initialization again to reconfigure TX/RX MACs depending on resolved link state. This hack created several bad side effects and it required more hacks to not collide with sis_tick callback as well as disabling switching to currently selected media in device initialization. Also it seems sis(4) was used to be a template driver for long time so other drivers which was modeled after sis(4) also should be changed. TX/RX MACs are now reconfigured after getting a valid link. Fix for short cable error is also applied after getting a link because it's only valid when the resolved speed is 100Mbps. While I'm here slightly reorganize interrupt handler such that sis(4) always read SIS_ISR register to see whether the interrupt is ours or not. This change removes another hack and make it possible to nuke sis_stopped variable in softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T21:44:36.362356Z K 7 svn:log V 85 Report result of link state change to caller. Previously it always returned success. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-01T21:51:29.338432Z K 7 svn:log V 546 MFC r211155: sh: Fix heap-based buffer overflow in pathname generation. The buffer for generated pathnames could be too small in some cases. It happened to be always at least PATH_MAX long, so there was never an overflow if the resulting pathnames would be usable. This bug may be abused if a script subjects input from an untrusted source to pathname generation, which a bad idea anyhow. Most shell scripts do not work on untrusted data. secteam@ says no advisory is necessary. PR: bin/148733 Reported by: Changming Sun snnn119 at gmail com END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T22:08:23.721864Z K 7 svn:log V 267 Do not reinitialize controller whenever promiscuous mode or allmulti is toggled. Controller does not require reinitialization. This removes unnecessary controller reinitialization whenever tcpdump is used. While I'm here remove unnecessary variable reinitialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T22:16:25.673142Z K 7 svn:log V 120 Avoid controller reinitialization which could be triggered by dhclient(8) or alias addresses are added. PR: kern/87506 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-01T22:50:11.333793Z K 7 svn:log V 97 Move sis_reset() to sis_initl(). This ensures driver starts with known good state of controller. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-01T23:47:53.432229Z K 7 svn:log V 160 Add missing MODULE_VERSION() definitions, this resolves problems around duplicate module loads. PR: usb/125736 Submitted by: danger, mm Reviewed by: hselasky END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-01T23:51:07.132786Z K 7 svn:log V 762 Modify nfs_diskless.c to recognize the environment variable boot.nfsroot.nfshandlelen and set the diskless root fs to use NFSv3 and this file handle length when it is set. If this environment variable is not set, the diskless root fs will use NFSv2 and the same defaults as before. This fixes the problem where the diskless nfs root fs had to be on a FreeBSD server for NFSv3 to work, because it did not know the correct file handle length and assumed the size used by FreeBSD. Until pxeboot and loader are replaced by ones built from commits coming soon, boot.nfsroot.nfshandlelen will not be set by them and the diskless root fs will use NFSv2 unless the /etc/fstab entry has the "nfsv3" option specified. Tested by: danny at cs.huji.ac.il MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T00:44:05.016751Z K 7 svn:log V 111 Fix stupid error in r212109 which didn't swap DMA maps. This caused IOMMU panic on sparc64 under high TX load. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-02T01:00:13.733407Z K 7 svn:log V 400 Modify lib/libstand/nfs.c to use NFSv3 instead of NFSv2. This allows the nfs_getrootfh() function to return the correct file handle size to pxe.c for pxeboot. It also results in NFSv2 no longer being used by default anywhere in FreeBSD. If built with OLD_NFSV2 defined, the old code that predated this patch will be built and NFSv2 will be used. Tested by: danny at cs.huji.ac.il MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-02T01:05:10.590693Z K 7 svn:log V 356 Modify pxe.c to use the version of nfs_getrootfh() that returns the file handle's size and was recently committed to lib/libstand/nfs.c. This allows pxeboot to use NFSv3 and work correcty for non-FreeBSD as well as FreeBSD NFS servers. If built with OLD_NFSV2 defined, the old code that predated this patch will be used. Tested by: danny at cs.huji.ac.il END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:28:03.434936Z K 7 svn:log V 164 We need to grab a node reference count to vap->iv_bss before using it as it is possible for the node to be replaced and freed at any time by ieee80211_sta_join1(). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:42:26.644411Z K 7 svn:log V 83 Silence debug error by default. PR: usb/141212 Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:44:56.511213Z K 7 svn:log V 100 Add support for extra buttons on the Kensington Slimblade Trackball. Submitted by: Lee, Chung-Yeol END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:47:07.780593Z K 7 svn:log V 67 Add GPIO programming for more PHY hardware. Submitted by: yongari END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:50:11.867028Z K 7 svn:log V 32 Fix build breakage from r212127 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:52:04.103571Z K 7 svn:log V 31 Fix UMS_BUTTON_MAX define name END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T03:55:08.709008Z K 7 svn:log V 237 Fix setting of the rx_max and tx_max variables. If the expected buffer size is greater than 65535 bytes then the CDC driver might not work as expected, which is not likely with the existing USB speeds. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T04:01:18.580946Z K 7 svn:log V 226 Change argument for usbd_get_dma_delay() from USB bus to USB device, some embedded hardware needs to know exactly which device is in question before it exactly can decide the required delay. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T04:05:00.205234Z K 7 svn:log V 124 Add support for power mode filtering as some USB hardware does not support power saving. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-09-02T04:39:45.536170Z K 7 svn:log V 159 Reduce the need to accesss struct usb_device by providing functions to access the product, manufacturer and serial strings. Submitted by: Hans Petter Selasky END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-09-02T04:56:01.323201Z K 7 svn:log V 78 MFC r211684 & r211818; return ENOENT if we fall off the end of the directory. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-09-02T05:07:34.855311Z K 7 svn:log V 115 o csup(1) does not have -g flag. Remove it from the example. PR: conf/150214 Submitted by: Li MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-09-02T06:07:03.089670Z K 7 svn:log V 73 MFC r209970,209971,211990: add -q flag to usage() and man page synopsys. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-09-02T06:49:27.676549Z K 7 svn:log V 167 We don't have etc/rc.d/ip6fw anymore. Since HEAD doesn't have etc/rc.d/network_ipv6, this commit is directly into RELENG_8. Spotted by: takachan__at__running-dog.net END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-09-02T07:49:45.895852Z K 7 svn:log V 52 MFC r211633: Add missing mlink for insmntque1(). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-02T09:33:48.380256Z K 7 svn:log V 192 Introduce a flag field for the dumpers and use it immediately for the DIF_NET flag. This flag is responsible for toggling a netdump and having a correct set of dumplo in the dumping routines. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-02T09:41:43.386588Z K 7 svn:log V 102 Make dumppcb and dumptid nomore static and remove an unuseful comment on the dumping externalization. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-02T09:45:06.902487Z K 7 svn:log V 83 - Fix a bug where dumptid was not set - Remove a now unuseful externalization stub END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-02T11:18:43.898915Z K 7 svn:log V 322 SATA1.x SiliconImage controllers on power-on reset TFD Status register into value 0xff. On hot-plug this value confuses ata_generic_reset() device presence detection logic. As soon as we already know drive presence from SATA hard reset, hint ata_generic_reset() to wait for device signature until success or full timeout. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-02T12:32:29.041177Z K 7 svn:log V 260 Add fix for SiI3114 and SiI3512 chips bug, which caused sending R_ERR in response to DMA activate FIS under certain circumstances. This is recommended fix from chip datasheet. If triggered, this bug most likely cause write command timeout. MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-02T13:34:54.218596Z K 7 svn:log V 93 MFC r199972: Use switch out (SWO) instead of switch in (SWI) debug log mask in csw_out. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-02T14:05:32.440207Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-09-02T14:13:43.733980Z K 7 svn:log V 160 Remove the freelist, which simply duplicates some of the zone allocator's functionality. Submitted by: Daniel Braniss MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-02T16:09:09.414226Z K 7 svn:log V 136 MFC r211904: MFp4 CH=182972: Add explicit linkstate UP/DOWN for the epair. This is needed by carp(4) and other things to work. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-02T16:09:46.782108Z K 7 svn:log V 381 Bring up both threads on Cell in a useful way. This consists of several changes: - Provide a new method (based on the one on i386) to provide MD idle routines. These can be overridden by the hypervisor module if required. - Introduce a new mechanism to the platform KOBJ to report CPU topology. - Extend the PS3 hypervisor module to use the above. - Add IPI support to ps3pic. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-02T16:11:12.123700Z K 7 svn:log V 125 MFp4 CH=183259: No reason to use if_free_type() as we don't change our type. Just if_free() is fine. MFC after: 3 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-02T16:23:05.938088Z K 7 svn:log V 34 Fix UP build. MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-09-02T17:22:12.229763Z K 7 svn:log V 166 Disable video ROM shadowing by default as I originally intended. I found a case where video ROM for an IGP is too tightly coupled with system BIOS to get relocated. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-02T17:43:44.042149Z K 7 svn:log V 878 MFp4 CH=183052 183053 183258: In protosw we define pr_protocol as short, while on the wire it is an uint8_t. That way we can have "internal" protocols like DIVERT, SEND or gaps for modules (PROTO_SPACER). Switch ipproto_{un,}register to accept a short protocol number(*) and do an upfront check for valid boundries. With this we also consistently report EPROTONOSUPPORT for out of bounds protocols, as we did for proto == 0. This allows a caller to not error for this case, which is especially important if we want to automatically call these from domain handling. (*) the functions have been without any in-tree consumer since the initial introducation, so this is considered save. Implement ip6proto_{un,}register() similarly to their legacy IP counter parts to allow modules to hook up dynamically. Reviewed by: philip, will MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T17:51:41.922864Z K 7 svn:log V 391 Fix the last endianness issue on handling station address which prevented driver from working on big-endian machines. Also rewrite station address programming to make it work on strict-alignment architectures. With this change, sis(4) now works on sparc64 and performance number looks good even though sis(4) have to apply fixup code to align received frames on 2 bytes boundary on sparc64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T18:10:11.700339Z K 7 svn:log V 510 Unlike most other controllers, NS DP83815/DP83816 controllers seem to pad with 0xFF when it encounter short frames. According to RFC 1042 the pad bytes should be 0x00. Because manual padding consumes extra CPU cycles, introduce a new tunable which controls the padding behavior. Turning this tunable on will have driver pad manually but it's disabled by default. Users can enable software padding by setting the following tunable to non-zero value. dev.sis.%d.manual_pad="1" PR: kern/35422 (patch not used) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T18:12:54.707859Z K 7 svn:log V 56 Enable sis(4). sis(4) should work on all architectures. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T18:22:06.937765Z K 7 svn:log V 112 Document tunable dev.sis.%unit.manual_pad While I'm here Xref vlan(4) as sis(4) supports VLAN oversized frames. END