ıT185000 196 411 307 251 128 487 239 286 655 449 194 234 540 296 245 266 461 168 321 112 126 144 207 202 170 360 226 202 135 167 1700 200 111 179 116 835 276 150 150 277 278 144 173 144 184 132 139 576 305 288 228 1673 473 130 145 302 142 140 142 187 1020 151 171 107 110 124 123 114 162 209 244 371 266 148 167 129 148 141 157 163 167 218 125 237 252 128 129 197 3015 1155 171 130 131 151 153 274 246 360 337 140 362 364 259 102 179 113 124 280 247 558 380 141 156 156 128 146 131 904 267 136 153 120 452 116 922 246 257 151 148 149 175 239 232 1338 1692 249 154 276 129 129 133 289 156 122 123 128 147 158 113 128 132 178 163 128 169 133 139 170 591 283 217 131 260 716 134 138 490 205 129 109 394 706 162 268 155 317 134 180 270 132 235 133 203 205 175 215 194 361 287 156 120 296 155 267 222 203 139 K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-16T14:43:33.091569Z K 7 svn:log V 319 Add a comment to utmp.h about the sizes of UT_HOSTSIZE and UT_LINESIZE. UT_HOSTSIZE and UT_LINESIZE are too small right now. If we ever bump UT_HOSTSIZE, we must not forget to increase UT_LINESIZE as well. If we add a comment, we're pretty sure we increase both values at the same time. PR: bin/108743 (maybe others) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-16T14:55:58.994431Z K 7 svn:log V 211 MFC: r182876 Adapt the locking of esp(4) to MPSAFE cam(4) (so that ncr53c9x_intr() actually is INTR_MPSAFE now) and fix a couple of bugs which lead to panics, amongst other improvements. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-16T15:45:41.533380Z K 7 svn:log V 158 In the robust futexes list head, futex_offset shall be signed, and glibc actually supplies negative offsets. Change l_ulong to l_long. Submitted by: dchagin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-16T17:42:02.613627Z K 7 svn:log V 36 Various whitespace and style fixes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-16T18:30:16.537026Z K 7 svn:log V 391 - 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. - Reword the description of BUS_DMA_NOCACHE as this flag is also implemented on sparc64. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-16T19:20:29.462205Z K 7 svn:log V 143 Define LDBL_EPSILON, LDBL_MAX and LDBL_MIN as long double constants. Submitted by: Andreas Tobler Reviewed by: das@ END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-16T19:28:55.820001Z K 7 svn:log V 190 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 2008-11-16T19:30:17.223488Z K 7 svn:log V 559 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 6 marius K 8 svn:date V 27 2008-11-16T19:53:49.980765Z K 7 svn:log V 353 - 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 3 kib K 8 svn:date V 27 2008-11-16T21:21:09.664269Z K 7 svn:log V 101 Welcome back Peter Holm. The initial plan is to bring stress2 into the projects/. Approved by: core END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-16T21:26:56.238563Z K 7 svn:log V 142 Fix argument layout of devfs_get_cdevpriv(). Right now it shows `void' and `**datap' as two different arguments, while they belong together. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-16T21:56:29.374513Z K 7 svn:log V 447 Revert r184118. There is actually a code in the kernel, for instance in kern_unlinkat(), that expects that vn_start_write() actually fills the mp even when the call failed. As Tor noted, that pattern relies on the the type stability of the mount points, as well as that suspended mount points are never freed and V_XSLEEP is always passed to vn_start_write() when called on a freed mount point. Reported by: stass Reviewed by: tegge PR: 123768 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-16T21:57:54.825143Z K 7 svn:log V 203 Instead of forcing vn_start_write() to reset mp back to NULL for the failed calls with non-NULL vp, explicitely clear mp after failure. Tested by: stass Reviewed by: tegge PR: 123768 MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-11-16T22:39:04.678049Z K 7 svn:log V 151 More locking for syscons(4). This should prevent races with sckbdevent(). PR: kern/127446 Submitted by: Eygene Ryabinkin rea-fbsd at codelabs dot ru END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-11-17T00:50:59.311420Z K 7 svn:log V 169 Fix typo. It restuled in activating unwanted Rx filtering as well as resetting Rx threshold configuration. Submitted by: Joost Mulders < Joost.Mulders <> Sun DOT COM > END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-17T01:32:29.164789Z K 7 svn:log V 368 Overhaul of CIS parsing, next step: keep a cached copy of the CIS, read before we configure the card, so we can implement /dev/cardbus*.cis. Also, do this on a per-child basis, so we now have a different name than before. I think i'll have to fix that for some legacy tools to keep working. I can now do a dumpcis on my running atheros card and have it still work! END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-17T03:04:45.860258Z K 7 svn:log V 71 Somewhere to maintain the backport of my dummynet changes to 7-STABLE. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-17T04:13:45.962371Z K 7 svn:log V 223 Syncing my project branch with head pulled in a number of large diffs which in turn caused the pre-commit hook to barf claiming I had exceeded the commit size limit. Temporarily raise my commit size limit as a work around. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-17T04:16:12.870783Z K 7 svn:log V 15 Sync with head END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-17T05:19:18.865294Z K 7 svn:log V 32 enable tx coalescing by default END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-17T07:03:05.274896Z K 7 svn:log V 50 Make ipv4 pcpu and global flowtable size tunables END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-11-17T07:09:40.522857Z K 7 svn:log V 111 Fix two possible (but unlikely) NULL-pointer dereferences in glxsb(4). Spotted by: Coverity MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-17T07:39:39.354863Z K 7 svn:log V 107 If ip_output_fast is being called from ip_output and there is no cached ARP, fall back to ip_output_legacy END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-17T16:32:57.820757Z K 7 svn:log V 78 Initial gdbserver support for ARM. Obtained from: Juniper Networks, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-17T16:37:04.014086Z K 7 svn:log V 267 gdb: Remove arm_pc_is_thumb_dummy() and related code. This is basically an import of the following gdb change: http://sourceware.org/ml/gdb-cvs/2005-03/msg00143.html (which in effect fixes problems with gracefully closing down the non-Thumb program being debugged). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-17T18:45:07.766537Z K 7 svn:log V 133 MFC r184587: Add the ffsll and flsll functions. These are ffs and fls operating on long long arguments. Approved by: re (kensmith) END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-11-17T19:00:36.581061Z K 7 svn:log V 106 Fix a potential NULL-pointer dereference in padlock(4). Spotted by: Coverity (via pjd) MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-17T20:11:53.680039Z K 7 svn:log V 43 Increase the limit for the Big ZFS Update. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-11-17T20:33:13.824551Z K 7 svn:log V 74 Undo revision 185013 until better solution is found. Pointed out by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-17T20:49:29.675976Z K 7 svn:log V 1606 Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. This bring huge amount of changes, I'll enumerate only user-visible changes: - Delegated Administration Allows regular users to perform ZFS operations, like file system creation, snapshot creation, etc. - L2ARC Level 2 cache for ZFS - allows to use additional disks for cache. Huge performance improvements mostly for random read of mostly static content. - slog Allow to use additional disks for ZFS Intent Log to speed up operations like fsync(2). - vfs.zfs.super_owner Allows regular users to perform privileged operations on files stored on ZFS file systems owned by him. Very careful with this one. - chflags(2) Not all the flags are supported. This still needs work. - ZFSBoot Support to boot off of ZFS pool. Not finished, AFAIK. Submitted by: dfr - Snapshot properties - New failure modes Before if write requested failed, system paniced. Now one can select from one of three failure modes: - panic - panic on write error - wait - wait for disk to reappear - continue - serve read requests if possible, block write requests - Refquota, refreservation properties Just quota and reservation properties, but don't count space consumed by children file systems, clones and snapshots. - Sparse volumes ZVOLs that don't reserve space in the pool. - External attributes Compatible with extattr(2). - NFSv4-ACLs Not sure about the status, might not be complete yet. Submitted by: trasz - Creation-time properties - Regression tests for zpool(8) command. Obtained from: OpenSolaris END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-17T21:06:17.595965Z K 7 svn:log V 102 When running on a filesystem that lacks ACL support, just SKIP the test, don't report a test failure. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-17T22:05:53.843630Z K 7 svn:log V 19 Minor ANSI tweaks. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-17T22:19:19.718584Z K 7 svn:log V 87 Move dumpcis to its own directory, start to decouple from the pccardc/pccardd history. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-17T22:46:29.827508Z K 7 svn:log V 24 make this warns=5 clean END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2008-11-17T23:07:18.912255Z K 7 svn:log V 737 MFC 182085, 184897, 184933, 184974, 184975 This addresses: 1) New HW support from LSI (they want to get the HW support into a FreeBSD release before the HW comes out!). 2) Bug fix in the ioctl path with zero length command. 3) Adds functional support so that SCSI sense will work when requested from user-land. This is a little strange, since they store a user-land pointer in the "data" space of the ioctl packet. So copy the data out into another structure that is a union of the data and pointer (mfi_sense_ptr union). This way we can cleanly use the pointer, as pointer on both 64bit and 32bit machines (i386/amd64). Submitted by: LSI Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-17T23:30:19.162370Z K 7 svn:log V 183 Fix the maximum transfer size for mfi(4) disk devices to not exceed the maximum number of scatter/gather elements supported in the bus dma tag. Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-17T23:57:40.177337Z K 7 svn:log V 54 Obey signedness flag in %z case. MFC after: 2 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-18T00:01:16.780572Z K 7 svn:log V 54 Obey signedness flag in %z case. MFC after: 2 months END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-18T00:03:30.576809Z K 7 svn:log V 181 Pad the bootcode we write to the partition to a multiple of the sector size. Submitted by: Alexey Shuvaev Prompted by: delphij MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-18T00:03:38.395169Z K 7 svn:log V 185 Fix a warning on amd64 caused by using int for request argument instead of unsigned long: WARNING pid 12888 (zfs/zpool): ioctl sign-extension ioctl ffffffffcc285aXX Reported by: kris END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-18T00:12:15.565498Z K 7 svn:log V 49 Use WARNS?= instead of WARNS= MFC after: 3 days END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-18T00:39:50.724113Z K 7 svn:log V 78 Be more precise and use sizeof(tn) Pointed out by: glewis@ MFC after: 3 days END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-18T00:59:26.916042Z K 7 svn:log V 49 use WARNS?= instead of WARNS= MFC after: 3 days END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-18T01:19:25.033502Z K 7 svn:log V 89 remove a pointless prototype and static-fy the corresponding function MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-18T03:43:02.316690Z K 7 svn:log V 37 Sort includes Submitted by: delphij END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-11-18T03:55:55.292763Z K 7 svn:log V 46 Fix building without ZFS (can't find library) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-18T04:04:01.041081Z K 7 svn:log V 480 Use humanize_number(), rather than a home-grown algorithm for formatting a number in a human-friendly way. Note that with this commit a megabyte changed from 1000000 to 1048576 and a 80G disk is now printed as being 75G in size. This is deliberate. It's consistent with the core of geom(8). However, the original choice for a megabyte being 1000000 was on purpose and matches what disk vendors put on the box. The consistency is considered more important. Submitted by: delphij END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-18T05:41:34.125630Z K 7 svn:log V 212 When checking to see if another CPU is running its idle thread, examine the thread running on the other CPU instead of the thread being placed on the run queue. Reported by: Ravi Murty @ Intel Reviewed by: jeff END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-18T05:55:58.689657Z K 7 svn:log V 192 Partition type FS_UNUSED does not mean the partition entry is unused. Unused partition entries have a partition size of zero. Therefore, partitions can have type FS_UNUSED. MFC after: 3 days END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-11-18T12:42:59.985081Z K 7 svn:log V 134 - Fix two minor errors in at91 code. PR: arm/128959 Submitted by: Bjorn Konig Approved by: kib (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-18T13:24:38.181142Z K 7 svn:log V 1579 Set of powerd enchancements: 1. Make it more SMP polite. Previous version uses average CPU load that often leads to load underestimation. It make powerd with default configuration unusable on systems with more then 2 CPUs. I propose to use summary load instead of average one. IMO this is the best we can do without specially tuned scheduler. Also as soon as measuring total load on SMP systems is more useful then total idle, I have switched to it. 2. Make powerd's operation independent from number and size of frequency levels. I have added internal frequency counter which translated into real frequencies only on a last stage and only as good as gone. Some systems may have only several power levels, while others - many of them, so adaptation time with previous approach was completely different. 3. As part of previous I have changed adaptive mode to rise frequency on demand up to 2 times and fall on 1/8 per time internal. 4. For desktop (AC-powered) systems I have added one more mode - "hiadaptive". It rises frequency twice faster, drops it 4 times slower, prefers twice lower CPU load and has additional delay before leaving the highest frequency after the period of maximum load. This mode was specially made to improve interactivity of the systems where operation capabilities are more significant then power consumption, but keeping maximum frequency all the time is not needed. 5. I have reduced default polling interval from 1/2 to 1/4 of second. It is not so important for algorithm math now, but gives better system interactivity. Discussed on: mobile@ END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-18T13:36:01.612427Z K 7 svn:log V 375 - Merge in my alq varlen patch for use by my dummynet logging mods - Fix up the ipfw man page change from my previous DPD commit (pointed out by brueffer@) - Add first pass attempt at detailed logging to dummynet based on a patch I use in house at work. Needs more polishing, but should be functional as is (haven't really tested this version of the patch at all yet). END K 10 svn:author V 3 pho K 8 svn:date V 27 2008-11-18T14:05:11.468803Z K 7 svn:log V 38 Add myself Approved by: kib (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-18T15:48:23.266657Z K 7 svn:log V 53 Restore original frequency on exit. PR: bin/113813 END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2008-11-18T18:21:36.238733Z K 7 svn:log V 204 MFC 184934: For now on every 10 cyclinder groups flush the buffer cache to free up space. If the buffer cache fills up then the disk systems can grind to a halt. PR: 128832 Approved by: re (kensmith) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-11-18T18:40:32.471719Z K 7 svn:log V 50 Trim errata document. Approved by: re (implicit) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-11-18T18:43:44.974692Z K 7 svn:log V 48 Update &release.*;. Approved by: re (implicit) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-18T20:38:07.611566Z K 7 svn:log V 46 Grammar improvements. Submitted by: kensmith END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-18T20:41:14.716200Z K 7 svn:log V 91 MFC r183718 and r185057: Add some examples to demostrate gpart(8). Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-18T21:01:54.363128Z K 7 svn:log V 927 Allow device hints to wire the unit numbers of devices. - An "at" hint now reserves a device name. - A new BUS_HINT_DEVICE_UNIT method is added to the bus interface. When determining the unit number of a device, this method is invoked to let the bus driver specify the unit of a device given a specific devclass. This is the only way a device can be given a name reserved via an "at" hint. - Implement BUS_HINT_DEVICE_UNIT() for the acpi(4) and isa(4) bus drivers. Both of these busses implement this by comparing the resources for a given hint device with the resources enumerated by ACPI/PnPBIOS and wire a unit if the hint resources are a subset of the "real" resources. - Use bus_hinted_children() for adding hinted devices on isa(4) busses now instead of doing it by hand. - Remove the unit kludging from sio(4) as it is no longer necessary. Prodding from: peter, imp OK'd by: marcel MFC after: 1 month END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-11-18T21:06:49.302159Z K 7 svn:log V 54 ANSIfy the wwend function. Approved by: kib (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-18T21:41:09.780751Z K 7 svn:log V 75 Mention that listsnapshots is disabled by default after latest ZFS import. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-11-18T21:55:50.396484Z K 7 svn:log V 12 My playpen. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-11-18T21:56:29.479114Z K 7 svn:log V 15 add a project. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-11-18T21:58:31.583726Z K 7 svn:log V 29 Copy the kernel source over. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-11-18T22:01:37.722004Z K 7 svn:log V 28 Bring over sbin/ to modify. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-11-18T22:11:33.267292Z K 7 svn:log V 19 bring over 'share' END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-11-18T22:17:17.669532Z K 7 svn:log V 67 Bring over Julian's non-local bind stuff into a subversion branch. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-18T23:13:40.152234Z K 7 svn:log V 116 Remove unused i_flags field and IN_ACCESS flag from cd9660 in-memory i-nodes. cd9660 doesn't support access times. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-18T23:15:17.881524Z K 7 svn:log V 151 Remove copy/paste code from UFS to handle sparse blocks. While Rock Ridge does support sparse files, the cd9660 code does not currently support them. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-18T23:18:37.344449Z K 7 svn:log V 278 When looking up the vnode for the device to mount the filesystem on, ask NDINIT to return a locked vnode instead of letting it drop the lock and return a referenced vnode and then relock the vnode a few lines down. This matches the behavior of other filesystem mount routines. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-18T23:19:43.835317Z K 7 svn:log V 173 - Fix a typo in a comment. - Whitespace fix. - Remove #if 0'd BSD 4.x code for flushing busy buffers from a mountpoint during an unmount. FreeBSD uses vflush() for this. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-11-18T23:38:47.476795Z K 7 svn:log V 53 - fix typo PR: docs/128973 Submitted by: tabthorpe END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T00:09:01.116937Z K 7 svn:log V 71 Constify return value of stripath and avoid unnecessary deconst casts. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T00:14:15.039867Z K 7 svn:log V 33 Use strlcpy() where appropriate. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T00:25:15.933141Z K 7 svn:log V 52 Grammar. Submitted by: "bf" END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T01:35:04.373429Z K 7 svn:log V 44 Merge r184953 (DPD patch) from dummynet_8.x END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T01:47:47.027636Z K 7 svn:log V 60 Remove a testing change that snuck into the previous commit END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T01:52:28.377384Z K 7 svn:log V 66 Somewhere to maintain the backport of my alq changes to 7-STABLE. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-11-19T02:22:34.335468Z K 7 svn:log V 72 As a matter of good programming style, stop PMCs before releasing them. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T02:55:25.770416Z K 7 svn:log V 120 Merge r184066 from alq_varlen_8.x and pull in changes from head r180196 whilst we're at it. Compile tested only so far. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T03:14:41.490957Z K 7 svn:log V 28 Pull in the 7.x alq module. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T03:24:35.605536Z K 7 svn:log V 140 Correct a logic error when testing BCE_PHY_SERDES_FLAG. PR: kern/128801 Pointed out by: Adam Morrison Ok'ed by: davidch MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T03:57:11.165313Z K 7 svn:log V 154 Merge the dummynet and ipfw man page bits of dummynet_8.x r185051. Couple of minor tweaks required to make it compile (namely kthread_* kpi differences). END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T04:02:07.647066Z K 7 svn:log V 31 Correct a typo I just spotted. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-19T04:05:44.945176Z K 7 svn:log V 32 Merge r185084 from dummynet_8.x END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T06:58:52.198306Z K 7 svn:log V 100 MFC revisions 183653 183654 183714 (simon), all recent em(4) and add igb(4). Approved by: re (hrs) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-11-19T08:56:35.982319Z K 7 svn:log V 2918 src/sys/dev/usb2/controller/uss820dci_pccard.c src/sys/dev/usb2/core/usbdevs src/sys/dev/usb2/include/urio2_ioctl.h src/sys/dev/usb2/storage/ustorage2_fs.h These files are not used any more. src/usr.sbin/Makefile src/etc/mtree/BSD.include.dist src/include/Makefile src/lib/Makefile src/share/man/man7/hier.7 src/share/mk/bsd.libnames.mk src/etc/mtree/BSD.include.dist Make "usbconfig" and "libusb20" a part of the default build. src/sys/dev/usb/rio500_usb.h src/sys/dev/usb2/storage/urio2.c Use common include file. src/sys/dev/usb2/bluetooth/ng_ubt2.c Make USB bluetooth depend on "ng_hci" module. src/sys/dev/usb2/controller/ehci2.c src/sys/dev/usb2/controller/ehci2.h Patches for Marvell EHCI. src/sys/dev/usb2/core/usb2_busdma.c Bugfix for 64-bit platforms. Need to unload the previously loaded DMA map and some cleanup regarding some corner cases. src/sys/dev/usb2/core/usb2_core.h src/sys/dev/usb2/core/usb2_dev.c src/sys/dev/usb2/core/usb2_dev.h Bugfix for libusb filesystem interface. New feature: Add support for filtering device data at the expense of the userland process. Add some more comments. Some minor code styling. Remove unused function, usb2_fifo_get_data_next(). Fix an issue about "fifo_index" being used instead of "ep_index". src/sys/dev/usb2/core/usb2_device.c src/sys/dev/usb2/core/usb2_generic.c Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when doing an alternate setting. Cleanup USB IOCTL and USB reference handling. Fix a corner case where USB-FS was left initialised after setting a new configuration or alternate setting. src/sys/dev/usb2/core/usb2_hub.c Improvement: Check all USB HUB ports by default at least one time. src/sys/dev/usb2/core/usb2_request.c Bugfix: Make sure destination ASCII string is properly zero terminated in all cases. Improvement: Skip invalid characters instead of replacing with a dot. src/sys/dev/usb2/core/usb2_util.c src/sys/dev/usb2/image/uscanner2.c Spelling. src/sys/dev/usb2/include/Makefile Share "usbdevs" with the old USB stack. src/sys/dev/usb2/include/usb2_devid.h src/sys/dev/usb2/include/usb2_devtable.h Regenerate files. Alfred: Please fix the RCS tag at the top. src/sys/dev/usb2/include/usb2_ioctl.h Fix compilation of "kdump". src/sys/dev/usb2/serial/ubsa2.c src/sys/dev/usb2/serial/ugensa2.c Remove device ID's which will end up in a new 3G driver. src/sys/dev/usb2/sound/uaudio2.c Correct a debug printout. src/sys/dev/usb2/storage/umass2.c Sync with old USB stack. src/lib/libusb20/libusb20.3 Add more documentation. src/lib/libusb20/libusb20.c Various bugfixes and improvements. src/usr.sbin/usbconfig/dump.c src/usr.sbin/usbconfig/usbconfig.c New commands for dumping strings and doing custom USB requests from the command line. Remove keyword requirements from generated files: "head/sys/dev/usb2/include/usb2_devid.h" "head/sys/dev/usb2/include/usb2_devtable.h" END K 10 svn:author V 3 zec K 8 svn:date V 27 2008-11-19T09:39:34.441139Z K 7 svn:log V 1061 Change the initialization methodology for global variables scheduled for virtualization. Instead of initializing the affected global variables at instatiation, assign initial values to them in initializer functions. As a rule, initialization at instatiation for such variables should never be introduced again from now on. Furthermore, enclose all instantiations of such global variables in #ifdef VIMAGE_GLOBALS blocks. Essentialy, this change should have zero functional impact. In the next phase of merging network stack virtualization infrastructure from p4/vimage branch, the new initialization methology will allow us to switch between using global variables and their counterparts residing in virtualization containers with minimum code churn, and in the long run allow us to intialize multiple instances of such container structures. Discussed at: devsummit Strassburg Reviewed by: bz, julian Approved by: julian (mentor) Obtained from: //depot/projects/vimage-commit2/... X-MFC after: never Sponsored by: NLnet Foundation, The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-19T11:30:44.565408Z K 7 svn:log V 79 PCI/PCI-Express support for Marvell systems. Obtained from: Marvell, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-19T11:47:23.380423Z K 7 svn:log V 38 Enable PCI in Marvell kernel configs. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-19T11:49:35.447620Z K 7 svn:log V 39 Fix off-by-one error in mbus_attach(). END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-19T11:57:16.422923Z K 7 svn:log V 59 Improve style(9) and other cosmetics in Marvell SOCs code. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-11-19T14:53:20.980326Z K 7 svn:log V 60 - Fixup the rcs revision comparing to be correct this time. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-11-19T14:57:00.879052Z K 7 svn:log V 180 A few general bugfixes: - Use internal xmalloc instead of malloc. - Include missing header after warnings. - Fix unneeded printouts. - Fix a bug when checking the CO_NORSYNC flag. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-19T16:04:07.752087Z K 7 svn:log V 153 If we free the GPT partition list in bd_open_gpt() because of an error, don't try to free it again in bd_closedisk(). While I'm here, fix a DEBUG print. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-19T16:39:01.366712Z K 7 svn:log V 267 Add a GPT-aware variant of zfsboot which should be used in a similar manner to gptboot, i.e. installed in a freebsd-boot partition using /sbin/gpart or /sbin/gpt. Tweak the /boot/loader ZFS support so that it can find ZFS pools that are contained in GPT partitions. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-19T16:59:19.741848Z K 7 svn:log V 244 Some zfsboot fixes from Norikatsu Shigemura: 1. zfsboot2 (boot2) doesn't %d (printf), so change %d to %u. 2. chase new zpool versioning as SPA_VERSION. Obtained from: sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h Submitted by: nork END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-19T17:07:01.462298Z K 7 svn:log V 48 Improve error handling in pcib_mbus_identify(). END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-19T17:34:28.000598Z K 7 svn:log V 269 Initial storage functionality for U-Boot support library. - Only non-sliced bsdlabel style partitioning is currently supported (but provisions are made towards GPT support, which should follow soon) - Enable storage support in loader on ARM Obtained from: Semihalf END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-11-19T18:06:29.378455Z K 7 svn:log V 271 MFC: Add workaround for a back reference when no corresponding parenthesized subexpression is defined. For example, the following command line caused unexpected behavior like segmentation fault: % echo test | sed -e 's/test/\1/' Approved by: re (kib) PR: bin/126682 END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-11-19T19:19:30.228464Z K 7 svn:log V 163 Fix a scope problem in the multiple routing table code that stopped the SO_SETFIB socket option from working correctly. Obtained from: Ironport MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-19T20:06:59.988211Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-11-19T20:31:38.366748Z K 7 svn:log V 86 Make sure legacy replacement route is turned off when enbling HPET. Reviewed by: jhb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T20:35:37.393682Z K 7 svn:log V 17 Use igb(4) entry END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-19T20:38:10.730653Z K 7 svn:log V 28 Use "KSE" instead of "kse". END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-19T21:07:33.467940Z K 7 svn:log V 188 Make nmdm(4) use MPSAFE callouts. For some reason the nmdm(4) driver doesn't use CALLOUT_MPSAFE, even though we live in the MPSAFE TTY era. Add the CALLOUT_MPSAFE flags. System survives. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-19T21:12:26.162561Z K 7 svn:log V 155 Also make dcons(4) use MPSAFE callouts. The callout locks the TTY layer the way it should, so there is no reason why its callout shouldn't set this flag. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-19T22:09:03.640765Z K 7 svn:log V 462 Given that the buffer dcons_crom(4) exposes is used for both input and output, set BUS_DMA_COHERENT when creating the DMA map used for loading the buffer. As a side-effect this solves locking issues on sparc64 when dcons(4) calls bus_dmamap_sync(9) while in an interrupt filter, which are executed in a critical section, and iommu(4) has to use a sleep lock when taking advantage of the streaming buffer. Reported and tested by: kensmith Approved by: simokawa END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-19T22:12:32.650892Z K 7 svn:log V 284 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 7 delphij K 8 svn:date V 27 2008-11-20T00:43:41.437710Z K 7 svn:log V 45 MFC: Document igb(4). Approved by: re (hrs) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-20T01:09:00.550873Z K 7 svn:log V 59 Somewhere for small, random, 7.x related patch development END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-20T01:11:34.791034Z K 7 svn:log V 59 Somewhere for small, random, 8.x related patch development END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-20T02:06:05.177427Z K 7 svn:log V 34 Don't use knlist_mtx_lock routine END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T03:30:27.656073Z K 7 svn:log V 54 Simplify: move dumpcis.c and dumpcisfile.c into main. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T03:34:36.026781Z K 7 svn:log V 39 dump() really is unused, so retire it. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-20T04:04:22.457032Z K 7 svn:log V 806 Fix a bug in kthread_exit() which led to potential deadlock in code that was relying on the documented behaviour in the kthread(9) man page. This brings the wakeup() related behaviour of kthread_exit in 7.x inline with 8.x. I've tested the fix with a simple scenario that was previously deadlocking. A waiting thread waits on a terminating thread by calling mtx_sleep() with the "chan" argument set to the *thread obtained by calling FIRST_THREAD_IN_PROC(*proc_that_will_exit). Without this patch, the waiting thread never gets woken because kthread_exit() calls wakeup() on the *proc. With this patch, the wait thread gets woken and all is good in the world again. For more details, refer to: http://lists.freebsd.org/pipermail/freebsd-arch/2008-November/008688.html Discussed with: attilio@, julian@ END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-20T04:11:21.475121Z K 7 svn:log V 169 In light of recent discussions regarding the kthread(9)/kproc(9) KPI, clairfy the behaviour of kthread_exit(). Whilst we're here, remove some bogus man page references. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-20T04:23:18.382092Z K 7 svn:log V 42 be more aggressive about disabling events END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-20T04:27:43.666230Z K 7 svn:log V 56 Merge r185117 kthread(9) man page changes from misc_8.x END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-20T04:46:09.112318Z K 7 svn:log V 26 only scan with invariants END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T08:12:26.577689Z K 7 svn:log V 359 The original programs that this code was lifted from (pccardd and pccardc) parsed data to make decisions about stuff related to card configuration. The purely CIS dumping aspect of this program obviates the need for such parsing. Save some space and don't parse the data anymore for configuration purposes. Just parse it to print an interpreatation of it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T08:14:14.669558Z K 7 svn:log V 24 More dead code removal. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T08:20:53.480940Z K 7 svn:log V 829 Restore now-useless ioctl as a roadmap. The original dumpcis code assumed it had to toggle between attribute and common memory in the cards. The kernel is supposed to cope with that automatically and give us a tuple list. However, there's a number of details of how that happens that's currently, ummm, magical and/or not implemented for 16-bit PC Cards that have CIS_LONGLINK_C tuples in them (eg, mix both attribute memory and common memory). Also, CIS_LOGNLINK_A entries might not be handled completely correctly either, since there can be gaps in the attribute vs common stuff. All this will need to be corrected in the kernel. Once it is corrected, dumpcis can be made even simpler in some ways, a little more complicated in others once an API for presentation of CIS to userland in these weird cases is settled upon. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T08:30:15.162580Z K 7 svn:log V 153 Fix check for link target so we don't print cardbus CIS information twice. Also, eliminate some magic constants and replace them with values from cis.h. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-20T08:32:19.401853Z K 7 svn:log V 164 damn. Always do make depend. Forgot to recompile main because of it, so the changes for the struct cis -> struct tuple_list didn't get made. They have been now. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-20T10:47:21.143065Z K 7 svn:log V 57 Add lock-less ring buffer as primitive for replacing ifq END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-20T10:48:01.513838Z K 7 svn:log V 54 Fix cxgb to compile against new lock-less ring buffer END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-11-20T12:23:44.507480Z K 7 svn:log V 56 - Fix issues that prevented rsync support from working. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-20T12:40:52.838158Z K 7 svn:log V 78 Clean up some comments/code and fix some bugs I noticed doing a read through. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-11-20T12:52:07.795083Z K 7 svn:log V 145 - Fix build with GNU make. - Fix compiler warnings and symbol overlaps. - Don't build code that is not used yet. - Fix types and format strings. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-11-20T13:39:14.960755Z K 7 svn:log V 138 - Add support for 'X' and 'x' commands in CVSup protocol. These commands are not often used, but were quite simple to implement anyway. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-11-20T14:57:09.721856Z K 7 svn:log V 1242 As reported in kern/118222, pxeboot in RELENG7 (and presumably above) exhibits some misbehaviours on machines with AMD64 CPUs, which at least in some cases I have tracked down to a heap overflow. It is unclear whether it depends on the CPU or on the pxe bios itself which may use more memory on AMD machines. Noticeably a pxeboot compiled from 6.x sources works fine on all machines I have tried so far, while a pxeboot compiled from 7.x sources does not. This patch is a first step in reducing the amount of memory used while processing the configuration files read by the loader at boot (some of them are quite large, 1700+ lines), and it does so by: + moving a buffer to static memory instead of allocating in the heap; + skipping empty lines; + reducing the amount of memory used for line descriptors; Unfortunately there are several changes between 6.x and above, affecting the compiler, the loader code itself, and libstand, and it is not so straightforward to These changes fix the behaviour on one motherboard with a single-core AMD cpu, but are still not enough e.g on an Asus M2N-VM (with a dual-core CPU). I need to investigate the problem a bit more before figuring out what should be committed to RELENG_7 PR: kern/118222 END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-20T18:44:09.975802Z K 7 svn:log V 1595 - According to OpenSolaris, CDMA flushing/syncing for Tomatillos and XMITS has to be basically done in the same manner as for the Sabres, i.e. only for devices behind PCI-PCI-bridges and after a PIO read on the far side of the farest PCI-PCI-bridge. Given that the Tomatillo documentation mentions no difference to the Schizo bridges in this regard and this is also still part of the procedure described Schizo documentation this seems about right so adjust accordingly (the unconditional CDMA flushing/syncing previously done was based on how Linux behaves). - Implement CDMA flushing/syncing for Schizo version >= 5, which requires the workaround described in Schizo Errata I-23. According to Schizo Errata I-13 it's just unusable with version < 5 though. [1] - Don't register the Schizo streaming buffer for now until it's usage is sorted out according to the erratas. - Register our interrupt filters with the revived INTR_FAST so they these interrupts can even interrupt filters of device drivers as necessary. - 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. Reported by: Michael Moll [1] END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-11-20T19:51:06.842091Z K 7 svn:log V 155 - Refactor some parts of the code and increase code reuse. - Fix a lot of style issues remaining and old debugging output. - Update comments where needed. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-21T00:48:57.982381Z K 7 svn:log V 58 MFen r185110: document igb(4) Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T00:57:50.155093Z K 7 svn:log V 181 - Add single consumer variant of dequeue for cases where the consumer is already protected by a lock - move enqueue/dequeue to critical sections to avoid starvation by preemption END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T01:04:22.444436Z K 7 svn:log V 35 Update to buf_ring_dequeue changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T01:11:22.044965Z K 7 svn:log V 35 adb buf ring alloc / free to build END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-11-21T02:23:14.377864Z K 7 svn:log V 36 Increased limit no longer required. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-21T03:03:57.299588Z K 7 svn:log V 196 Create a /dev/cardbus%d.cis, to be compatible with older versions of the software. This is a trivial amount of code to keep wireless monitoring software working... I plan on removing it in 9.0. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:37:38.587113Z K 7 svn:log V 62 add sanity checking of buf ring functions under DEBUG_BUFRING END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:38:20.108866Z K 7 svn:log V 28 update buf_ring_alloc calls END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:41:53.261576Z K 7 svn:log V 29 centralize free of mbuf tags END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:44:49.888752Z K 7 svn:log V 34 check that dequeue and peek match END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:45:53.807415Z K 7 svn:log V 53 safety check buf_ring_peek - assumes single-consumer END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:47:11.057520Z K 7 svn:log V 64 generalize sanity check in buf_ring_peek to multi-consumer case END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:48:08.292690Z K 7 svn:log V 19 initialize br_lock END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T04:49:15.081194Z K 7 svn:log V 34 check that ifp is set for rtentry END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T06:01:05.405037Z K 7 svn:log V 38 enable ALTQ support using ifp's sendq END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T08:00:41.109340Z K 7 svn:log V 84 abstract out ifq initialization and teardown to allow drivers to maintain their own END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-21T08:10:07.730584Z K 7 svn:log V 71 Disconnect gptzfsboot from the build until dfr@ gets his act together. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T08:19:20.920513Z K 7 svn:log V 34 compile fixes for previous commit END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T08:20:28.480644Z K 7 svn:log V 75 add per-hardware queue ifaltq to enable altq with multiple transmit queues END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-21T09:10:35.928022Z K 7 svn:log V 41 Add definitions for ZFS pool version 13. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-11-21T09:14:29.680901Z K 7 svn:log V 45 use the correct variable in a debug message. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-21T18:15:39.656464Z K 7 svn:log V 78 'Strict EAP conformance' makes more sense here than 'String EAP conformance.' END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-11-21T19:22:25.801363Z K 7 svn:log V 498 Several small additions to the Chelsio 10G driver. 1) Fix a bug in dealing with the Alerus 1006 PHY which prevented the device from ever coming back up once it had been set to down. 2) Add a kernel tunable (hw.cxgb.snd_queue_len) which makes it possible to give the device more than IFQ_MAXLEN entries in its send queue. The default remains 50. 3) Add code to place the card'd identification and serial number into its description (%desc) so that users can tell which card they have installed. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-21T23:59:54.037639Z K 7 svn:log V 188 - Dramatically reduce the number of context switches by not calling wakeup In practice the worst case extra millisecond we wait for the service thread to push out stragglers rarely hurts. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T00:24:23.360929Z K 7 svn:log V 122 although it ends up sucking up substantially more cpu waking up the transmit thread gives slightly better peak throughput END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T01:35:59.440016Z K 7 svn:log V 37 rename subr_bufr.c to subr_bufring.c END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-22T01:48:20.491194Z K 7 svn:log V 163 MFC r185082: Correct a logic error when testing BCE_PHY_SERDES_FLAG. PR: kern/128801 Pointed out by: Adam Morrison Ok'ed by: davidch Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T05:55:56.000945Z K 7 svn:log V 621 - bump __FreeBSD version to reflect added buf_ring, memory barriers, and ifnet functions - add memory barriers to - update drivers to only conditionally define their own - add lockless producer / consumer ring buffer - remove ring buffer implementation from cxgb and update its callers - add if_transmit(struct ifnet *ifp, struct mbuf *m) to ifnet to allow drivers to efficiently manage multiple hardware queues (i.e. not serialize all packets through one ifq) - expose if_qflush to allow drivers to flush any driver managed queues This work was supported by Bitgravity Inc. and Chelsio Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-22T06:56:49.310949Z K 7 svn:log V 39 Define mb(), rmb() and wmb() for real. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T07:35:45.336072Z K 7 svn:log V 44 convert calls to IFQ_HANDOFF to if_transmit END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T08:05:05.187845Z K 7 svn:log V 395 - enable multiple transmit queues - invert sense of hw.cxgb.singleq tunable to hw.cxgb.multiq - don't wake up transmitting thread by default - add per tx queue ifaltq to handle ALTQ - remove several unused functions in cxgb_multiq.c - add several sysctls: multiq_tx_enable, coalesce_tx_enable, and wakeup_tx_thread - this obsoletes the hw.cxgb.snd_queue_len as ifq is replaced by a buf_ring END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T08:46:16.928708Z K 7 svn:log V 110 Add flowid to mbuf to allow drivers to uniquely identify connection flows to guarantee ordering across queues END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-22T08:48:01.552808Z K 7 svn:log V 35 add buf ring counter for debugging END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-11-22T12:34:49.076548Z K 7 svn:log V 14 Unbreak LINT. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-22T12:36:15.376628Z K 7 svn:log V 301 Add sv_flags field to struct sysentvec with intention to provide description of the ABI of the currently executing image. Change some places to test the flags instead of explicit comparing with address of known sysentvec structures to determine ABI features. Discussed with: dchagin, imp, jhb, peter END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-22T13:11:11.475386Z K 7 svn:log V 613 Busy ufs filesystem around block of code that does ".." lookup. Since mnt_lock is before lock of any vnode on the mp, it uses LK_NOWAIT. Since MNTK_UNMOUNT may be transient, pdp lock is dropped when vfs_busy() failed, and operation is retried after some time. This way, ffs_vget() is not called on the mp that may be in the process of being destroyed by unmount. Check for the VI_DOOMED flag on pdp after its lock is reacquired, to better detect some situations where directory containing ".." entry is removed during the lookup. Reviewed by: tegge, attilio (previous version) Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-22T13:22:24.699394Z K 7 svn:log V 70 IFp4: Don't free pathname too soon, debugging code is still using it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-22T13:24:44.069158Z K 7 svn:log V 175 IFp4: Finish implemnetation of chflags(2) for ZFS. While doing this I found that zfs_access() can only handle VREAD, VWRITE and VEXEC, for the rest we need to use vaccess(9). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-22T13:27:15.902456Z K 7 svn:log V 63 IFp4: Regression tests for FreeBSD/ZFS chflags(2)/lchflags(2). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-22T13:33:06.104985Z K 7 svn:log V 224 IFp4: Don't rely on disk IDs and always use vdev guids, which means always look up for components by reading metadata. This might be slower when there are big number of disks in the system, but is definiately more reliable. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-22T14:24:55.557784Z K 7 svn:log V 42 Fix amd64 build and re-enable gptzfsboot. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T14:48:40.384296Z K 7 svn:log V 88 Change check order to avoid array overrun. Found with: Coverity Prevent(tm) CID: 2497 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T15:35:21.761049Z K 7 svn:log V 177 Handle device_get_children() errors in more correct way. We shouldn't detach until all children are surely destroyed. Found with: Coverity Prevent(tm) CID: 2137 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T15:38:24.561773Z K 7 svn:log V 40 Whitespace cleanup for previous commit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T16:03:18.796343Z K 7 svn:log V 142 Remove unneeded NULL check. At first msg can't be null here and and at second NG_FREE_MSG() also checks it. Found with: Coverity Prevent(tm) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-22T16:12:57.279434Z K 7 svn:log V 41 A place to work on Xen HVM mode support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-22T16:14:52.250994Z K 7 svn:log V 110 Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 performance in Xen's HVM mode. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T16:40:12.167762Z K 7 svn:log V 112 Fix typo. Clear session stats instead of config and part of stats. Found with: Coverity Prevent(tm) CID: 2472 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-22T16:55:55.685385Z K 7 svn:log V 83 Remove unused variable. Found with: Coverity Prevent(tm) CID: 3682 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-22T17:54:30.642719Z K 7 svn:log V 119 MFC 184734: Fix a panic caused by a corrupted table when the header is still valid. PR: 119868 Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-22T21:08:25.061051Z K 7 svn:log V 101 MFC r184860 (by obrien): Add the kerberos5 libs to the install32 target. Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-11-22T21:12:47.875343Z K 7 svn:log V 264 Allow multiple makeoption lines to be used with the += operator, this permits the following syntax in the kernel config. makeoptions MODULES_OVERRIDE=foo makeoptions MODULES_OVERRIDE+=bar makeoptions MODULES_OVERRIDE+=baz Bump config minor version to 600007. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-22T21:22:53.531459Z K 7 svn:log V 191 Cast to uintptr_t before casting to void*. This allows the QUICC backend to be built on LP64 platforms. This makes it possible to include the QUICC backend in the kernel module. PR: 127120 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-22T21:24:07.062521Z K 7 svn:log V 61 Include the QUICC backend in the kernel module. PR: 127120 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-22T22:15:34.485257Z K 7 svn:log V 25 Unbreak previous commit. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-22T23:48:33.458413Z K 7 svn:log V 203 change private mbuf flags to use M_PROTO* so they don't conflict with public definitions; note this constitutes an ABI change so drivers that use M_TXCB or M_FF must be recompiled Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-23T00:13:25.452048Z K 7 svn:log V 61 intr_machdep.h breaks build on some arches and is not needed END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-23T00:16:10.184737Z K 7 svn:log V 170 MFC r185038,185044,185046: Automatically pad gptboot, style for include files, use humanize_number() for consistency and reduce code duplication. Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-23T00:20:51.402739Z K 7 svn:log V 127 buf_ring_peek should return NULL if the ring is empty rather than whatever happened to be at cons_tail last time it was in use END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-23T00:22:52.799085Z K 7 svn:log V 108 work around periodic leak on queue overrun by enabling coalescing of packets in to work requests by default END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-23T00:23:58.118444Z K 7 svn:log V 45 - fix buf_ring_peek - don't enable debugging END