ƒ²;190000 190 872 186 853 114 442 141 166 252 979 297 516 151 1692 315 315 236 211 185 145 232 187 286 355 310 112 330 176 158 343 154 295 523 137 2473 134 139 125 201 558 165 108 583 283 238 157 191 120 213 204 201 180 1073 203 204 147 520 405 181 838 194 170 400 162 401 142 416 300 669 159 149 184 150 249 184 206 150 711 472 394 484 632 484 293 293 136 136 518 160 518 255 141 156 141 116 188 141 201 142 318 154 344 129 115 129 116 171 301 299 406 1181 109 121 472 192 142 116 196 484 192 142 166 196 150 163 147 193 151 173 218 156 156 148 129 187 212 194 183 174 146 179 153 175 291 258 189 295 202 124 165 115 148 389 115 148 184 116 116 634 195 333 333 294 299 222 211 174 184 157 191 293 220 179 222 214 390 265 533 220 665 956 214 266 231 364 365 197 202 224 254 194 K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-18T23:25:12.013206Z K 7 svn:log V 776 MFC: r181398 - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's no particular reason for them to be implemented in assembler and having them in C allows easier extension as well as using more C macros and {d,i}tlb_slot_max rather than hard-coding magic (and actually spitfire-only) values. - Fix the compilation of pmap_print_tte(). - Change pmap_print_tlb() to use ldxa() rather than re-rolling it inline as well as TLB_DAR_SLOT and {d,i}tlb_slot_max rather than hardcoding magic (and actually spitfire-only) values. - While at it, suffix the above mentioned functions with "_sun4u" to underline they're architecture-specific. - Use __FBSDID and macros instead of magic values in locore.S. - Remove unused includes and smp_stack in locore.S. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-18T23:35:40.030046Z K 7 svn:log V 91 MFC: r181642 Assume OpenSolaris knows better and use their value for VM_MAX_PROM_ADDRESS. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-18T23:50:25.011672Z K 7 svn:log V 757 MFC: r182478, r182766 - Read ASI_{D,I}TLB_DATA_ACCESS_REG twice in order to work around errata of USIII and beyond (USIII erratum #19, USIII+ erratum #1, USIIIi erratum #1). - Use the cheetah PA mask in {d,i}tlb_va_to_pa_sun4u() for USIII and beyond. This is done so that these functions will still mask the debug bits of spitfire-class CPUs once we increase TD_PA_BITS to match the number of bits used for the PA by cheetah-class CPUs. - Change {d,i}tlb_enter_sun4u() to also set TLB_CTX_KERNEL as the context of the mappings entered. This is more or less cosmetic as TLB_CTX_KERNEL is 0. - Now that we have to distinguish between different sun4u CPUs in the loader anyway, no longer do trial and error when reading the portid property. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-18T23:52:20.624478Z K 7 svn:log V 19 Add missing const. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T00:02:07.485098Z K 7 svn:log V 346 MFC: r182689 - USIII-based machines can consist of CPUs having different cache sizes (and running at different frequencies) so move the cacheinfo to the PCPU data. While at it, remove some redundant and/or unused members from struct cacheinfo. - In sparc64_init don't assume the first CPU node we find in the OFW device tree is the BSP. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T00:04:30.728452Z K 7 svn:log V 46 MFC: r182691 Resurrect clock.c from r164371. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-19T00:28:54.503980Z K 7 svn:log V 74 MFC makefs: a tool for creating a file system image from a directory tree END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-19T00:44:22.633463Z K 7 svn:log V 159 Add usr.bin/ar to the list of cross tools. Before, when we had gnu ar, it was built in the gnu/usr.bin/binutils tree. Now it isn't. Submitted by: John Hein END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-19T00:52:30.446328Z K 7 svn:log V 882 MFC r185784: Fix a long standing VLAN tagged frame handling bug. When VLAN tagged frame is received the hardware sets 'LONG' bit of Rx status word. It is always set when the size of received frame exceeded 1518 bytes, including CRC. This VLAN tagged frame clears 'OK' bit of Rx status word such that driver should not rely on 'OK' bit of Rx status word to pass the VLAN tagged frame to upper stack. To fix the bug, don't use SIS_CMDSTS_PKT_OK for Rx error check and introduce SIS_RXSTAT_ERROR macro that checks Rx errors. If we are configured to accept VLAN tagged frames and the received frame size is less than or equal to maximum allowed length of VLAN tagged frame, clear 'LONG' bit of Rx status word before checking Rx errors. Reported by: Vladimir Ermako < samflanker <> gmail DOT com > Tested by: Vladimir Ermako < samflanker <> gmail DOT com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-19T00:55:27.080344Z K 7 svn:log V 200 MFC r188550: Receving VLAN oversized frames raise SIS_ISR_RX_ERR interrupt, so make sis_rxeof() handle that too. Previously it used to receive the frame and reset controller. PR: kern/131414 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-19T01:07:21.489981Z K 7 svn:log V 419 MFC r189022: Update to latest 3Com firmware image. The latest fimware is required to make 3CR990 familiy controllers run on NV flash firmware version 03.001.008. The latest firmware added HMAC digest information so teach txp(4) to pass them to sleep image before downloading is started. While I'm here restore previous IMR/IER register if firmware downloading have failed. PR: kern/89876, kern/132047 END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-19T01:15:26.943121Z K 7 svn:log V 59 Comment IGMP_PIM as being very historic, as in, don't use. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-19T01:43:03.419933Z K 7 svn:log V 1598 Introduce a number of changes to the MROUTING code. This is purely a forwarding plane cleanup; no control plane code is involved. Summary: * Split IPv4 and IPv6 MROUTING support. The static compile-time kernel option remains the same, however, the modules may now be built for IPv4 and IPv6 separately as ip_mroute_mod and ip6_mroute_mod. * Clean up the IPv4 multicast forwarding code to use BSD queue and hash table constructs. Don't build our own timer abstractions when ratecheck() and timevalclear() etc will do. * Expose the multicast forwarding cache (MFC) and virtual interface table (VIF) as sysctls, to reduce netstat's dependence on libkvm for this information for running kernels. * bandwidth meters however still require libkvm. * Make the MFC hash table size a boot/load-time tunable ULONG, net.inet.ip.mfchashsize (defaults to 256). * Remove unused members from struct vif and struct mfc. * Kill RSVP support, as no current RSVP implementation uses it. These stubs could be moved to raw_ip.c. * Don't share locks or initialization between IPv4 and IPv6. * Don't use a static struct route_in6 in ip6_mroute.c. The v6 code is still using a cached struct route_in6, this is moved to mif6 for the time being. * More cleanup remains to be merged from ip_mroute.c to ip6_mroute.c. v4 path tested using ports/net/mcast-tools. v6 changes are mostly mechanical locking and *have not* been tested. As these changes partially break some kernel ABIs, they will not be MFCed. There is a lot more work to be done here. Reviewed by: Pavlin Radoslavov END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-19T02:13:14.877715Z K 7 svn:log V 218 MFC r187325: Add hardware MAC statistics support. Also added some reserved statistics register definition. Users can get current MAC statistics from dev.msk.%d.stats sysctl node(%d is unit number of a device). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-19T06:44:00.503955Z K 7 svn:log V 219 MFC r184070,185454,185495-185496,188330 -- gpart(8): o Add support for multiple attributes. o Parse the error string returned by the kernel. o Prefer the start and end attributes over the offset and size attributes. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T07:37:00.516296Z K 7 svn:log V 139 Merge 189868 Fix R600 writeback across suspend/resume. This is likely a NOOP for us, since I haven't ported the suspend/resume code yet. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T07:39:07.107161Z K 7 svn:log V 114 Merge 189869 Get rid of any remaining PZERO flags in mtx_sleep() Also, clean up some ifdef mess while I'm here. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T07:40:41.274074Z K 7 svn:log V 89 Merge 189870 Teach psm about O_ASYNC This makes Xorg happy if you aren't using moused. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T07:41:58.238380Z K 7 svn:log V 49 Merge 189899 Use the right MSI_REARM for RS600. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T08:18:13.764895Z K 7 svn:log V 135 Record only commit to document that 173573,175381,176624,177480,183397 have all been merged. Not sure where these got lost exactly... END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T08:22:56.556318Z K 7 svn:log V 91 Pull in some suspend / resume changes from Intel's code Tested by: mav@ MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T08:28:36.323577Z K 7 svn:log V 189 Sync up the rest of the code that we use with what Intel is shipping -Some irq/vblank related changes that hopefully will help. -A little more cleanup while I'm here. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T08:34:04.093810Z K 7 svn:log V 258 Rework vblank handling to try to resolve some reports of "slow" windows after vt switch or suspend. I can't really test this on Intel right now but I think I've heard reports of it on radeon as well. I can't break it on the radeon here. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-19T08:36:08.529023Z K 7 svn:log V 213 Add some debugging so I can see when syscalls are being restarted consistantly. After a lengthy irc discussion it seems like we shouldn't need to worry about them, but it's nice to know about. MFC after: 3 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-19T10:23:26.406586Z K 7 svn:log V 20 Fix size_t merge-o. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-19T10:32:25.448555Z K 7 svn:log V 237 Forcibly unlock the malloc() locks in the child process after fork(), by temporary pretending that the process is still multithreaded. Current malloc lock primitives do nothing for singlethreaded process. Reviewed by: davidxu, deischen END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-19T10:42:07.041065Z K 7 svn:log V 79 Mdoc style, spelling, grammar and wording fixes. This manpage needs more work. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-19T12:31:59.539451Z K 7 svn:log V 65 Use the common PC98_SID_ACTIVE define instead of a local define. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T12:32:13.050753Z K 7 svn:log V 247 MFC: r182729 Switch sun4v to back to using its own clock.c, which was ressurected in r190005, as the sparc64 version is going to be rototilled and sun4v currently can't be verified to still work with the new sparc64 one due to its overall state. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-19T12:33:37.622880Z K 7 svn:log V 61 Use the common PC98_MID_* defines instead of a magic number. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-03-19T12:39:13.293027Z K 7 svn:log V 202 Rename two functions to make their purpose clearer. Add tons of comments. Generated code is identical after stripping .comment section. Suggested by: Andriy Gapon MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2009-03-19T12:48:00.170208Z K 7 svn:log V 430 Revert r188010. When dhclient is backgrounded, services such as ntpdate, sendmail / postfix etc. may fail to start because DNS is unavailable and / or the server is unreachable. In the worst case, the machine may become unusable. Debugging this issue was far more difficult than it should have been, due to earlier changes to the rc framework to hide almost all useful information about the boot process. Approved by: silence END K 10 svn:author V 3 des K 8 svn:date V 27 2009-03-19T12:52:19.925480Z K 7 svn:log V 45 Add hostid to the ranks. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T12:55:11.341626Z K 7 svn:log V 2376 MFC: r182730, r182743, r183201 - USIII-based machines can consist of CPUs running at different frequencies (and having different cache sizes) so use the STICK (System TICK) timer, which was introduced due to this and is driven by the same frequency across all CPUs, instead of the TICK timer, whose frequency varies with the CPU clock, to drive hardclock. We use the STICK timers only when absolutely necessary though as the STICK timers are driven at frequencies as low as 5MHz, resulting in bad granularity compared to the TICK timers. However, don't employ the workaround for the BlackBird erratum #1 when using the TICK timer on machines with cheetah-class CPUs for performance reasons. Note that using the STICK counter also causes a hang with USIIIi MP machines for reasons unknown, but these can only consist of identical CPUs anyway. - Given that we only (try to) synchronize the (S)TICK timers of APs with the BSP during startup, we could end up spinning forever in DELAY(9) if that function is migrated to another CPU while we're spinning due to clock drift afterwards, so pin to the CPU in order to avoid migration. Unfortunately, pinning doesn't work at the point DELAY(9) is required by the low-level console drivers, yet, so switch to a function pointer, which is updated accordingly, for implementing DELAY(9). For USIII and beyond, this would also allow to easily use the STICK counter instead of the TICK one here, there's no benefit in doing so however. While at it, use cpu_spinwait(9) for spinning in the delay- functions. This currently is a NOP though. - Don't set the TICK timer of the BSP to 0 during startup as there's no need to do so. - Implement cpu_est_clockrate(). - Unfortunately, USIIIi-based machines don't provide a timecounter device besides the STICK and TICK counters (well, in theory the Tomatillo bridges have a performance counter that can be (ab)used as timecounter by configuring it to count bus cycles, though unlike the performance counter of Schizo bridges, the Tomatillo one is broken and counts Sun knows what in this mode). This means that we've to use a (S)TICK counter for timecounting, which has the old problem of not being in sync across CPUs, so provide an additional timecounter function which binds itself to the BSP but has an adequate low priority. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-19T13:00:21.350431Z K 7 svn:log V 41 MFC: r182441 Remove unneeded include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-19T13:02:37.821642Z K 7 svn:log V 46 MFC: r186073 Disconnect the efi from pc98. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-19T13:02:52.622226Z K 7 svn:log V 29 Add brueffer as a mentee ... END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-19T13:03:17.309098Z K 7 svn:log V 104 ... so that I can remove him again. brueffer is now free to roam the plains of FreeBSD as he sees fit. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T13:08:24.583635Z K 7 svn:log V 462 MFC: r182767 The physical address space of cheetah-class CPUs has been extended to 43 bits so update TD_PA_BITS accordingly. For the most part this increase is transparent to the existing code except for when reading the physical address from ASI_{D,I}TLB_DATA_ACCESS_REG, which we only do in the loader and which was already adjusted in r190002, or from the OFW translations node. While at it, ensure we are only taking valid OFW mapping entries into account. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T13:09:53.682608Z K 7 svn:log V 70 MFC: r182768 Flesh out MMU and cache handling of cheetah-class CPUs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T13:11:02.429350Z K 7 svn:log V 13 MFC: r182769 END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T13:17:19.180864Z K 7 svn:log V 487 MFC: r182773 Use the PROM provided SUNW,set-trap-table to take over the trap table. This is required in order to set obp-control-relinquished within the PROM, allowing to safely read the OFW translations node. Without this, f.e. a `ofwdump -ap` triggers a fatal reset error or worse things on machines based on USIII and beyond. In theory this should allow to remove touching %tba in cpu_setregs(), in practice we seem to currently face a chicken and egg problem when doing so however. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-19T13:18:28.238965Z K 7 svn:log V 185 MFC: r186965 Recognize et(4), igb(4), ixgbe(4) and nxge(4) devices. Correct some minor whitespace in the ae(4) entry. The iwn(4) entry was left out as the driver has not been merged. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T13:24:48.490609Z K 7 svn:log V 142 MFC: r182774 When determining whether we trapped while in the PROM don't only check for addresses below the PROM range but also those above. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-19T13:38:20.643759Z K 7 svn:log V 64 MFi386: r189017 Fix some more issues with the real mode BTX. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T13:48:43.193882Z K 7 svn:log V 99 MFC 188815, 188815: fix incorrect error return when reading a large dir Approved by: jhb (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-19T13:53:42.301902Z K 7 svn:log V 27 Reduce diffs against i386. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:00:23.803179Z K 7 svn:log V 120 MFC 189067,189363: udf_strategy: tiny optimization of logic, calculations; extra diagnostics Approved by: jhb (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:04:59.950477Z K 7 svn:log V 111 MFC 189068: udf_read: correctly read data from files with data embedded into fentry Approved by: jhb (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:07:27.167482Z K 7 svn:log V 108 MFC 189069: udf_map: return proper error code instead of leaking an internal one Approved by: jhb (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:09:20.787510Z K 7 svn:log V 88 MFC 189070: udf: add read-ahead support modeled after cd9660 Approved by: jhb (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T14:11:03.545439Z K 7 svn:log V 977 MFC: r182877, r188455, r188477 USIII and beyond CPUs have stricter requirements when it comes to synchronization needed after stores to internal ASIs in order to make side-effects visible. This mainly requires the MEMBAR #Sync after such stores to be replaced with a FLUSH. We use KERNBASE in the kernel and the newly introduced PROMBASE for the loader as the addresses to FLUSH as these are guaranteed to not trap. Actually, the USII synchronization rules also already require a FLUSH in pretty much all of the cases changed. We're also hitting an additional USIII synchronization rule which requires stores to AA_IMMU_SFSR to be immediately followed by a DONE, FLUSH or RETRY. Doing so triggers a RED state exception though so leave the MEMBAR #Sync. Linux apparently also has gotten away with doing the same for quite some time now, apart from the fact that it's not clear to me why we need to clear the valid bit from the SFSR in the first place. Reviewed by: nwhitehorn END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:12:07.606836Z K 7 svn:log V 110 MFC 189082: udf_readatoffset: read through directory vnode, do not read > MAXBSIZE Approved by: jhb (mentor) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-03-19T14:13:18.779869Z K 7 svn:log V 111 Fix an mbuf leak in the error path. Submitted by: Rick Macklem END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-19T14:14:21.124710Z K 7 svn:log V 55 Cleanup: Nuke debug.mrtdebug, and replace it with KTR. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T14:15:11.371375Z K 7 svn:log V 424 MFC: r182878 For cheetah-class CPUs ensure that the dt512_0 is set to hold 8k pages for all three contexts and configure the dt512_1 to hold 4MB pages for them (e.g. for direct mappings). This might allow for additional optimization by using the faulting page sizes provided by AA_DMMU_TAG_ACCESS_EXT for bypassing the page size walker for the dt512 in the superpage support code. Submitted by: nwhitehorn (initial patch) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T14:17:34.547845Z K 7 svn:log V 309 MFC: r182916, r188455 (partial) Work around Cheetah+ erratum 34 (USIII+ erratum #10) by relocating the locked entry in it16 slot 0, which typically is occupied by the PROM, and manually entering locked entries in slots != 0. Thanks to Hubert Feyrer for donating the Blade 2000 this change was developed on. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:20:00.965925Z K 7 svn:log V 89 MFC 189111: udf_readatoffset: correctly hanlde data in fentry Approved by: jhb (mentor) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-03-19T14:23:17.631797Z K 7 svn:log V 742 Make GEOM provider names starting with "/dev/" acceptable as well as their "raw" names. While there, change the formatting of extended MSDOS partitions so that the dot (".") is not used to separate two numbers (which kind of looks like the whole is a decimal number). Use "+" instead, which also hints that the second part of the name is the offset from the start of the partition in the first part of the name. Also change the offset from decimal to hexadecimal notation, simply for aesthetic reasons and future compatibility. GEOM_PART is the default in 8-CURRENT but not yet in 7-STABLE so this changeset can be MFC-ed without causing major problems from the second part. Reviewed by: marcel Approved by: gnn (mentor) MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:26:15.722729Z K 7 svn:log V 101 MFC 189302: udf_readdir: do not advance offset if entry can not be uio-ed Approved by: jhb (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T14:32:11.606406Z K 7 svn:log V 78 MFC 189364: udf: use truly unique directory cookie Approved by: jhb (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T14:51:56.358470Z K 7 svn:log V 304 MFC: r183152 Clear any possibly pending PCI error bits left by the firmware. These could trigger an error interrupt that we can't actually to do anything against as soon as enabling the error handlers. While at it don't bother about writing only to the write-one-to-clear bits when clearing error bits. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:01:24.655898Z K 7 svn:log V 67 MFC: r183144 - Add a missing prototype. - Remove a banal comment. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:08:35.916229Z K 7 svn:log V 305 MFC: r183202, r183203, r183204 Some of the assembly files depend on v9a/v9b-only instructions so compile these with -mcpu=ultrasparc (which is the hard-coded default of our system compiler), which allows the remainder of the kernel to be compiled with "only" -mcpu=v9 for reference and testing purposes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:16:05.557263Z K 7 svn:log V 47 MFC: r183505 cosmetic changes and style fixes END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:21:04.350332Z K 7 svn:log V 320 MFC: 183762 Enable mpt(4) as some later models have on-board Fusion-MPT controllers and it's sufficient endian-clean since r189999. While at it, remove the commented out ncr(4) as it doesn't even use bus_dma(9), which isn't worth fixing though as sym(4) already supports a superset of the controllers driven by ncr(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:30:45.298765Z K 7 svn:log V 204 MFC: r185006 Micro-optimize spitfire_block_{copy,zero}(): - Predict the loop as taken as it's more likely that there's still data to copy and memory to zero respectively. - Don't waste the delay slot. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:32:16.535395Z K 7 svn:log V 573 MFC: r185007 Use the spitfire VIS block copy/zero functions also with cheetah- class CPUs. In theory one could also use versions additionally taking advantage of the prefetch cache with cheetah-class CPUs, in my worldstone runs these either didn't provide extra speedup (USIII+) in comparison to the existing spitfire versions or were even slightly slower (USIIIi) though, so they aren't committed for now. The basic problem leading to the VIS-based copy/zero functions being initially disabled for cheetah-class CPUs was solved by letting cheetah_init() clear DCR_IFPOE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T15:35:33.839316Z K 7 svn:log V 67 MFC: Add support for the single-port NetMos NM9835 serial adapter. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-03-19T15:40:39.834333Z K 7 svn:log V 57 Re-add my lost mentees after the switch to svn from cvs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T15:40:44.467318Z K 7 svn:log V 92 MFC: Teach the BIOS CD driver to use bounce buffers when the destination address is > 1 MB. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-19T15:44:13.184393Z K 7 svn:log V 56 Fixed style for some comments Approved by: gnn(mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:45:43.938719Z K 7 svn:log V 153 MFC: r179694 Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA". Fix spelling mistage found by rodrigc@. Reviewed by: rodrigc, danger END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T15:46:33.520548Z K 7 svn:log V 92 MFC: Teach the BIOS CD driver to use bounce buffers when the destination address is > 1 MB. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-19T15:49:30.817577Z K 7 svn:log V 113 MFC 179060: udf: fix and speedup timestamp calculations markus and emax are notified Approved by: jhb (mentor) END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-19T15:50:45.711513Z K 7 svn:log V 56 Fixed style for some comments Approved by: gnn(mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T15:59:29.817128Z K 7 svn:log V 615 r167274, r179694, r182816, r182962, r185004 - Some minor tweaks and updates to bus_dma(9) including some additional notes on the address filter and locking callback. - Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA". - Fix spelling mistage found by rodrigc@. - Document BUS_DMA_NOCACHE. - Remove unneeded comma. - For maximum flexibility, sparc64 supports BUS_DMA_COHERENT also with bus_dmamap_create() and not only bus_dmamem_alloc() so move the description of this flag up accordingly in order to document this fact. While at, it refine this description with an application example. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:03:21.063189Z K 7 svn:log V 376 MFC: r185008, r188456 - Allow the front-end to specify that iommu(4) should disable rerun of the streaming cache for silicon bug workarounds. - Announce the presence of a streaming cache on attach for informational purposes. - For performance reasons don't do unnecessary flushes of the streaming cache when coherent mappings are synced. - Fix some minor style issues. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:11:14.284698Z K 7 svn:log V 298 MFC: r185109 Use the interrupt level right below PIL_FAST for executing interrupt filters instead of PIL_FAST and allow special filters and handlers for interrupts which need to be able to interrupt even filters, f.e. bus error interrupts, to be registered with the revived INTR_FAST at PIL_FAST. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:14:00.145750Z K 7 svn:log V 388 MFC: r186140 Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI controllers. Reading this register, for which there are indications that it doesn't really exist, returns 0 on at least some 12160 and doing so on Sun Fire V880 causes a data access error exception. Reported and tested by: Beat Gaetzi Approved by: mjacob Obtained from: OpenBSD (modulo setting isp_lvdmode) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:37:30.817727Z K 7 svn:log V 536 MFC: r186682 - Currently the PMAP code is laid out to let the kernel TSB cover the whole KVA space using one locked 4MB dTLB entry per GB of physical memory. On Cheetah-class machines only the dt16 can hold locked entries though, which would be completely consumed for the kernel TSB on machines with >= 16GB. Therefore limit the KVA space to use no more than half of the lockable dTLB slots, given that we need them also for other things. - Add sanity checks which ensure that we don't exhaust the (lockable) TLB slots. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:39:59.535607Z K 7 svn:log V 388 MFC: r186140 Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI controllers. Reading this register, for which there are indications that it doesn't really exist, returns 0 on at least some 12160 and doing so on Sun Fire V880 causes a data access error exception. Reported and tested by: Beat Gaetzi Approved by: mjacob Obtained from: OpenBSD (modulo setting isp_lvdmode) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:44:37.167119Z K 7 svn:log V 197 MFC: r188164, r188457 - device_shutdown returns an int. - Don't reset the PHY probe retry counter within the loop so it will eventually terminate as intended. [1] Submitted by: Helen Zhang [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T16:44:37.212036Z K 7 svn:log V 197 MFC: r188164, r188457 - device_shutdown returns an int. - Don't reset the PHY probe retry counter within the loop so it will eventually terminate as intended. [1] Submitted by: Helen Zhang [1] END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T16:55:26.950057Z K 7 svn:log V 44 MFC: Fix uninitialized pointer dereference. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T16:55:42.396515Z K 7 svn:log V 44 MFC: Fix uninitialized pointer dereference. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T17:02:10.901650Z K 7 svn:log V 425 MFC: - Make it possible to disable GPT support by setting LOADER_NO_GPT_SUPPORT in make.conf or src.conf. - When GPT is enabled (which it is by default), use memory above 1 MB and leave the memory from the end of the bss to the end of the 640k window purely for the stack. The loader has grown and now it is much more common for the heap and stack to grow into each other when both are located in the 640k window. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-03-19T17:06:04.966133Z K 7 svn:log V 63 Merge r189004. Requested by: yongari Approved by: ed (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T17:14:00.978033Z K 7 svn:log V 425 MFC: - Make it possible to disable GPT support by setting LOADER_NO_GPT_SUPPORT in make.conf or src.conf. - When GPT is enabled (which it is by default), use memory above 1 MB and leave the memory from the end of the bss to the end of the 640k window purely for the stack. The loader has grown and now it is much more common for the heap and stack to grow into each other when both are located in the 640k window. END K 10 svn:author V 5 garga K 8 svn:date V 27 2009-03-19T17:16:33.741348Z K 7 svn:log V 160 - Add Sun Type 7 keyboard - Rename Type 6 entry (following NetBSD) - Add Sun Type 7 Keyboard USB Hub PR: usb/132811 Reviewed by: thompsa Approved by: thompsa END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T17:42:11.367231Z K 7 svn:log V 49 MFC: Ignore I/O APICs with a starting IRQ > 255. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T17:46:51.797643Z K 7 svn:log V 64 MFC: Allow syscons to work on amd64 and i386 without any hints. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T18:04:37.111808Z K 7 svn:log V 49 MFC: Honor the prefetchable flag in memory BARs. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-19T18:34:58.567406Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-19T18:45:37.756748Z K 7 svn:log V 93 Remove leftover comment because we now use a flag to check for associd. Discussed with: sam END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T19:22:11.977251Z K 7 svn:log V 49 MFC: Honor the prefetchable flag in memory BARs. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-19T19:29:10.809185Z K 7 svn:log V 108 purge hal abi support; now that the hal is merged w/ the driver we cannot be out of sync MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:24:30.996635Z K 7 svn:log V 47 - Sprinkle const. - Remove incorrect __unused. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:29:23.174038Z K 7 svn:log V 222 - Failing to register as interrupt controller during attach shouldn't be fatal so just inform about this instead of panicing. - Sort device methods. - Take advantage of KOBJMETHOD_END. - Remove some redundant variables. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:31:55.217688Z K 7 svn:log V 59 - Sort device methods. - Take advantage of KOBJMETHOD_END. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-19T20:33:26.017073Z K 7 svn:log V 247 Remove the uscanner(4) driver, this follows the removal of the kernel scanner driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and contained no logic, the default interface is now libusb (supported by sane). Reviewed by: HPS END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:36:46.016110Z K 7 svn:log V 34 Take advantage of KOBJMETHOD_END. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-19T20:38:01.827108Z K 7 svn:log V 19 Remove empty dirs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:38:45.096803Z K 7 svn:log V 34 Take advantage of KOBJMETHOD_END. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-19T20:40:11.645381Z K 7 svn:log V 24 MFC: r181740 Move pcn. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:40:49.860459Z K 7 svn:log V 76 There's no need to wrap kdb_enter() in #ifdef KDB as it's always available. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:43:01.177674Z K 7 svn:log V 205 - Remove the delay in cpu_mp_shutdown() which is no longer necessary since we have stopped using SUNW,stop-self with r186395. - There's no need to wrap kdb_active in #ifdef KDB as it's always available. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:46:51.426756Z K 7 svn:log V 203 - There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as they're always available. - Remove unused variable. [1] - Add a missing const. - Sort includes. Submitted by: Christoph Mallon [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:48:47.599655Z K 7 svn:log V 310 - Take advantage of KOBJMETHOD_END. - Hook up the streaming buffer (not used by iommu(4) by default, yet) if available and usable. [1] - Move the message regarding belated registration as interrupt control under bootverbose as this isn't something the user should worry about. Tested by: Michael Moll [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:52:46.474090Z K 7 svn:log V 1084 - Ensure we find no unexpected partner. - Failing to register as interrupt controller during attach shouldn't be fatal so just inform about this instead of panicing. - Disable rerun of the streaming cache as workaround for a silicon bug of certain Psycho versions. - Remove the comment regarding lack of newbus'ified bus_dma(9) as being able to associate a DMA tag with a device would allow to implement CDMA flushing/syncing in bus_dmamap_sync(9) but that would totally kill performance. Given that for devices not behind a PCI-PCI bridge the host-to-PCI bridges also only do CDMA flushing/syncing based on interrupts there's no additional disadvantage for polling(4) callbacks in the case schizo(4) has to do the CDMA flushing/syncing but rather a general problem. - Don't panic if the power failure, power management or over-temperature interrupts doesn't exist as these aren't mandatory and not available with all controllers (not even Psychos). [1] - Take advantage of KOBJMETHOD_END. - Remove some redundant variables. - Add missing const. PR: 131371 [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:54:15.536147Z K 7 svn:log V 14 Sort include. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T20:57:59.646039Z K 7 svn:log V 26 Add device found in B100. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T21:02:36.961039Z K 7 svn:log V 376 - As suggested by OpenSolaris use up-burst-sizes for determining the supported burst sizes. - Add support for 64-bit burst sizes (required for SBus GEM). - Failing to register as interrupt controller during attach shouldn't be fatal so just inform about this instead of panicing. - Take advantage of KOBJMETHOD_END. - Remove some redundant variables. - Add missing const. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T21:12:44.133002Z K 7 svn:log V 97 Bring the implementation of the pnpinfo string function more in line with the rest of this file. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T21:14:45.104528Z K 7 svn:log V 47 Hook up the generic OFW pnpinfo string method. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-19T21:40:12.172856Z K 7 svn:log V 24 Remove empty mergeinfo. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-19T22:01:19.619221Z K 7 svn:log V 99 MFC: r186715 Call pcn_start_locked() instead of pcn_start() where the softc lock is already held. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-19T22:34:55.955751Z K 7 svn:log V 388 - Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't supported with these pseudo-PHYs. The MIIF_NOLOOP flag currently triggers nothing but hopefully will be respected by mii_phy_setmedia() later on. - Don't add IFM_NONE as isolation isn't supported by these pseudo-PHYs. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-20T00:34:50.846485Z K 7 svn:log V 99 MFC r181060 - Add vn_fullpath_global() - Fix issues in auditing pathnames within chroot/jail envs END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-20T00:38:14.577750Z K 7 svn:log V 49 MFC r182090 - use sbuf_putc instead of sbuf_cat END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-20T00:55:38.462884Z K 7 svn:log V 73 MFC r184660 - Dont hold Giant around vn_fullpath and vn_fullpath_global END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-20T01:15:50.306183Z K 7 svn:log V 102 MFC r182120 - Avoid printing warning message for vnodes that have dead fileops when MAC is enabled END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-20T03:10:12.355264Z K 7 svn:log V 57 MFC: r189445 Allow syscons to work without any hints. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T04:48:27.909618Z K 7 svn:log V 67 Adjust the flags to bus_dmamem around here too. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T04:49:48.960342Z K 7 svn:log V 51 Add a couple of radeon pci ids. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T04:53:12.613993Z K 7 svn:log V 97 Only issue the wakeup and store the counter if vblank is enabled on the pipe. MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-20T05:21:29.622962Z K 7 svn:log V 58 MFi386: the part of r179825 to reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-20T05:33:58.653188Z K 7 svn:log V 80 Merge the missing changes from i386. Teach the loader about the FAT partitions. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:42:27.423215Z K 7 svn:log V 121 Merge 189908 Use flsl() here rather than ffsl() I discovered that we were computing page_order differently than linux. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:43:24.840185Z K 7 svn:log V 60 Merge 189909 Change the logic around to match ati_pcigart. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:44:31.106097Z K 7 svn:log V 60 Merge 189910 Cast register maps and offsets to vm_offset_t END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:45:26.693531Z K 7 svn:log V 52 Merge 189911 We can have more than 3 pci resources END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:46:25.878057Z K 7 svn:log V 33 Merge 189912 Minor code cleanup END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:47:49.057928Z K 7 svn:log V 91 Merge 189913 Add list_for_each_prev to our linux compatibility. We need this for nouveau END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:50:42.345726Z K 7 svn:log V 115 Merge 189914,189916 Improve the debugging output of drm_mmap Cast to (unsigned long) to make printf happy on i386 END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T05:51:54.768431Z K 7 svn:log V 98 Merge 189915 Add support for matching solely on vendor id. We will use this method with nouveau END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-20T09:01:34.529321Z K 7 svn:log V 90 - Fix a bug where gvinum would assume that a plex had subdisks during size calculation. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-20T09:02:40.405749Z K 7 svn:log V 81 - Fix errors from previous mis-merges. The parity rebuild would end prematurely. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-20T09:12:01.487861Z K 7 svn:log V 52 Spelling fix in a comment Approved by: gnn(mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-20T09:25:21.889813Z K 7 svn:log V 82 uscanner(4) has been removed, delete it from the hardware notes to fix the build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T10:04:00.437167Z K 7 svn:log V 61 Remove unneeded braces to reduce used vertical screen space. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T10:47:16.638870Z K 7 svn:log V 83 When ktracing namei operations, log a result of the __getcwd(). MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T10:59:06.686986Z K 7 svn:log V 198 The nc_nlen member of the struct namecache contains the length of the cached name, not the length + 1. PR: 132620, 132542 Reported by: bf2006a yahoo com Tested by: bf2006a, pho Reviewed by: marcus END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T11:00:39.298800Z K 7 svn:log V 165 Do not forget to adjust buflen for the first resolution of the path from namecache. While there, compare pointers for equiality. Reviewed by: marcus Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T11:03:55.507401Z K 7 svn:log V 97 Remove unneeded braces to reduce used vertical screen space. The location was missed in r190140. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T11:08:57.483113Z K 7 svn:log V 202 Do not underflow the buffer and then report the problem. Check for the condition before the buffer write. Also, since buflen is unsigned, previous check was ignored. Reviewed by: marcus Tested by: pho END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-20T12:26:42.750268Z K 7 svn:log V 108 MFi386: r189749 Teach the BIOS CD driver to use bounce buffers when the destination address is > 1 MB. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-20T13:03:33.607689Z K 7 svn:log V 31 Oops, fix the previous change. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-20T13:13:50.994389Z K 7 svn:log V 73 Fix brainos introduced during mechanical KTR change. Pointy hat to: bms END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-20T13:26:33.472394Z K 7 svn:log V 20 Add vendor/tcpdump. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-20T13:27:51.420104Z K 7 svn:log V 53 Flatten vendor/tcpdump and remove keyword expansion. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-03-20T13:41:23.115219Z K 7 svn:log V 294 Call the interface's if_ioctl from ifioctl(), if the protocol didn't handle the ioctl. There are other paths that already call it, but this allows for a non-interface socket (like AF_LOCAL which ifconfig now uses) to use a broader class of interface ioctls. Approved by: bz (mentor), rwatson END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-20T13:43:49.371853Z K 7 svn:log V 20 Add vendor/libpcap. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-20T13:44:43.010059Z K 7 svn:log V 53 Flatten vendor/libpcap and remove keyword expansion. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-03-20T13:46:30.475651Z K 7 svn:log V 90 Revert r189970 until its implications get sorted out in CURRENT. Approved by: bz(mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-20T14:01:42.095508Z K 7 svn:log V 21 Bootstrap mergeinfo. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-20T14:02:53.213221Z K 7 svn:log V 21 Bootstrap mergeinfo. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-20T14:31:08.995723Z K 7 svn:log V 542 Just use default behaviour on tabstops when using too many columns. It seems I didn't fix this issue before committing teken to the tree. My initial idea was to somehow add an error mechanism to instruct the video driver author to increase T_NUMCOL when using very big terminals. It turns out we have platforms where we have gigantic consoles on systems like the Apple PowerMac G5, which means we crash there right now. Just ignore tabstops placed beyond column 160. Just force tabs to be placed on each 8 columns. Reported by: nwhitehorn END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-20T14:32:51.192683Z K 7 svn:log V 103 Small cleanup to previous commit. Just use % 8, instead of & 0x7. This makes it easier to understand. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-20T15:52:11.973451Z K 7 svn:log V 240 MFC: Add a new vfs.nfs.prime_access_cache sysctl to determine whether or not nfs_getattr() will use an ACCESS RPC to prime the access cache instead of a simple GETATTR RPC. The sysctl defaults to enabled to maintain the previous behavior. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-20T16:02:37.501639Z K 7 svn:log V 240 MFC: Add a new vfs.nfs.prime_access_cache sysctl to determine whether or not nfs_getattr() will use an ACCESS RPC to prime the access cache instead of a simple GETATTR RPC. The sysctl defaults to enabled to maintain the previous behavior. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-20T17:10:50.214301Z K 7 svn:log V 198 Revert r190105 so that removing options KDB but DDB or GDB being available will cause the kernel to not respect -d and boot_kdb=1 for consistency with the other platforms as pointed out by marcel@. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-20T17:11:45.411237Z K 7 svn:log V 201 Act like ranlib if our name ends in ranlib. In particular, this works with some recent cross-building changes by Warner that install ranlib as, e.g., "arm-freebsd7.1-ranlib". Submitted by: John Hein END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T17:48:36.305409Z K 7 svn:log V 125 Don't deref dev->dev_private before checking that it exists. Found with: Coverity Prevent(tm) CID: 2940 MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T17:51:26.541645Z K 7 svn:log V 114 Fix what appears to be a typo, and restore the registers correctly. Found with: Coverity Prevent(tm) CID: 2454 END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-20T18:00:19.371581Z K 7 svn:log V 81 MFC r189490 - Mark bpf(4) stats sysctl as mpsafe. We do not require Giant here. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T18:01:32.378068Z K 7 svn:log V 88 Remove the DRM_ERROR to fix build. It didn't make any sense anyway. MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-20T18:04:20.130832Z K 7 svn:log V 64 MFC r189590 - Mark the mac_bsdextended rules sysctl as mpsafe. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-20T18:29:52.748790Z K 7 svn:log V 95 Add two missing include files and prototype for sockfamilyname() which is generated by mksubr. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T18:30:20.474414Z K 7 svn:log V 196 vm_offset_t is unsigned and therefore can not be negative. Avoid unnessecary compares. Found with: Coverity Prevent(tm) CID: 2362,4215,4214,4209,4208,2363,4211,4210,4213,4212 MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T18:35:16.174287Z K 7 svn:log V 123 vm_offset_t is unsigned, so compare of >= 0 is not needed. Found with: Coverity Prevent(tm) CID: 2259 MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-20T18:51:13.885044Z K 7 svn:log V 83 Replace anholt with myself as drm maintainer. Noticed by: miwi MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T18:56:27.887718Z K 7 svn:log V 125 MFp4 //depot/projects/usb @159375,159376,159377 Further remove dependancy towards Giant. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T18:59:53.277408Z K 7 svn:log V 117 MFp4 //depot/projects/usb @159379,159380 Fixes for 8-bit and 16-bit compilation. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T19:04:31.383241Z K 7 svn:log V 293 MFp4 //depot/projects/usb @159430 - Move tunable defines into usb_core.h and dependancy towards usb_defs.h - Leave hardcoded defines in "usb_defs.h". - Allow overriding all tunable defines. - Add more customisable typedefs. - Correct maximum device number. Submitted by: Hans Petter Selasky END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-20T20:55:57.100011Z K 7 svn:log V 172 MFC rev. 186093 To avoid one doubtless netgraph SMP scalability limitation point, switch node queues processing from single swi:net thread to several specialized threads. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-20T21:12:38.776766Z K 7 svn:log V 440 Expand the per-node access cache to cache permissions for multiple users. The number of entries in the cache defaults to 8 but is easily changed in nfsclient/nfs.h. When the cache is filled, the oldest cache entry is evicted when space is needed. I mirrored the changes to the NFSv[23] client in the NFSv4 client to fix compile breakage. However, the NFSv4 client doesn't actually use the access cache currently. Submitted by: rmacklem END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-20T21:22:14.124581Z K 7 svn:log V 128 MFC r185344: Remove in6_pcbdetach() as it is exactly the same function as in_pcbdetach() and we don't need the code twice. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-20T21:46:28.106590Z K 7 svn:log V 572 MFC rev. 188510, 189876, 189879 s/succeded/succeeded/ in comments. Fix spelling in message. Remove CD input hack for ALC268 based Acer systems. Latest systems does not implement CD input in hardware, while unconditional showing it confuse users. Also it was made in the way that sometimes improper with present driver. Add patch for ALC268 based Acer TM5320 to make headphones jack sensing work. Default configuration defines two separate playback associations, which current driver unable to trace properly due to order they are defined and limited codec uniformity. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-20T21:47:26.583401Z K 7 svn:log V 863 MFC r185983: The userland_sysctl() function retries sysctl_root() until returned error is not EAGAIN. Several sysctls that inspect another process use p_candebug() for checking access right for the curproc. p_candebug() returns EAGAIN for some reasons, in particular, for the process doing exec() now. If execing process tries to lock Giant, we get a livelock, because sysctl handlers are covered by Giant, and often do not sleep. Break the livelock by dropping Giant and allowing other threads to execute in the EAGAIN loop. This commit does not merge the following change, as was discussed with jhb: [Also, do not return EAGAIN from p_candebug() when process is executing, use more appropriate EBUSY error.] MFC r185987: Uio_yield() already does DROP_GIANT/PICKUP_GIANT, no need to repeat this around the call. Tested by: Eugene Grosbein END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T21:48:11.091439Z K 7 svn:log V 117 MFp4 //depot/projects/usb@159392 Add ifdefs for making parts of usb conditional. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T21:50:54.597385Z K 7 svn:log V 169 MFp4 //depot/projects/usb @159431,159437,159438 - start using the new USB typedefs in the USB core - Remove usage of USB_ADD_BYTES() Submitted by: Hans Petter Selasky END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-03-20T21:51:27.805113Z K 7 svn:log V 135 Note that GEOM_PART is on by default in 8-CURRENT and how it's different from older slices. OKed by: marcel Approved by: gnn (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T21:57:54.345961Z K 7 svn:log V 267 MFp4 //depot/projects/usb @159479,159502,159516,159522,159529 Workaround for buggy USB hardware not handling new SETUP packet before STATUS stage is complete, this allows xfers to endpoint0 to return a short frame. Submitted by: Hans Petter Selasky Reported by: me END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T22:01:45.020485Z K 7 svn:log V 268 MFp4 //depot/projects/usb @159479,159502,159516,159522,159529 Workaround for buggy USB hardware not handling new SETUP packet before STATUS stage is complete, this allows xfers to endpoint0 to return a short frame. Submitted by: Hans Petter Selasky Reported by: me END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T22:04:33.116443Z K 7 svn:log V 100 MFp4 //depot/projects/usb Sync usb_core.h after header changes. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T22:10:36.821136Z K 7 svn:log V 105 MFp4 //depot/projects/usb@159517 Fix warnings with the IAR compiler. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T22:12:15.730826Z K 7 svn:log V 127 MFp4 //depot/projects/usb@159446 Remove unused and depreciated function: usb2_get_devid(). Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T22:15:22.605549Z K 7 svn:log V 157 MFp4 //depot/projects/usb @159423, 159497 - Return a Zero Length packet on read errors. - Allow for smaller buffer size. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T22:17:27.265243Z K 7 svn:log V 98 Add umass quirk. PR: usb/132799 Reported by: Yoshihiro Ota Submitted by: Hans Petter Selasky END