ƒ³A180000 184 165 185 147 144 211 307 163 129 152 116 213 633 1129 97 107 133 155 135 135 197 526 283 648 398 208 567 137 225 228 276 168 145 462 202 233 375 125 811 551 305 506 218 1273 124 206 206 202 202 189 189 170 267 170 183 173 183 251 137 137 3821 276 312 437 265 128 174 393 171 393 118 252 306 428 206 128 159 292 185 118 114 740 221 483 409 280 185 143 168 147 337 295 202 185 185 424 245 444 239 249 207 320 366 670 370 316 233 225 162 238 229 209 316 227 137 199 199 199 212 212 207 139 751 114 121 169 116 251 732 298 534 367 259 160 1389 434 160 156 142 218 192 377 260 148 227 323 134 355 170 190 161 277 520 190 776 134 290 200 438 391 238 272 224 226 311 133 112 134 422 189 216 140 471 172 287 153 272 810 179 211 296 296 201 343 201 K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T10:00:28.204448Z K 7 svn:log V 71 Move mergeinfo from file up to directory; fix broken mergeinfo record. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T10:06:00.649260Z K 7 svn:log V 91 Move mergeinfo to containing directory. Fix some very strange records that make no sense. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T10:10:30.113321Z K 7 svn:log V 53 Move mergeinfo up from file to containing directory. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T10:13:03.718514Z K 7 svn:log V 50 Move mergeinfo from file to containing directory. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T18:00:09.301893Z K 7 svn:log V 116 Oops. I forgot to set umask to 002. Otherwise directories get the wrong permissions. The previous wrapper had it. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-06-25T18:11:22.385232Z K 7 svn:log V 215 Document spindown constraints as given in the original commit message[1] and later clarification provided by phk. [1] http://docs.freebsd.org/cgi/mid.cgi?200803171033.m2HAXOeN055116 Reviewed by: brueffer, phk, ed END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-25T18:24:41.966342Z K 7 svn:log V 71 Remerge recent cherrypick merges up to sys/ to consolidate merge info. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-25T18:29:57.777775Z K 7 svn:log V 37 Consolidate merge history here, too. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-25T20:29:22.411851Z K 7 svn:log V 61 src/compat/ is gone back in March. Reported by: Mars G Miro END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-25T20:37:04.662147Z K 7 svn:log V 25 MFC: src/compat is gone. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-06-25T21:03:26.446194Z K 7 svn:log V 117 Given that sun4u uses sparc64/sparc64/in_cksum.c, use the sparc64 here also. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-06-25T21:04:59.375060Z K 7 svn:log V 537 Use "__asm __volatile" rather than "__asm" for instruction sequences that modify condition codes (the carry bit, in this case). Without "__volatile", the compiler might add the inline assembler instructions between unrelated code which also uses condition codes, modifying the latter. This prevents the TCP pseudo header checksum calculation done in tcp_output() from having effects on other conditions when compiled with GCC 4.2.1 at "-O2" and "options INET6" left out. [1] Reported & tested by: Boris Kochergin [1] MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-25T21:33:28.283216Z K 7 svn:log V 1036 Enable GCC stack protection (aka Propolice) for userland: - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64. Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work. Submitted by: Jeremie Le Hen END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-25T21:36:25.189240Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-25T21:42:23.006277Z K 7 svn:log V 16 Regen properly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-25T22:13:24.537135Z K 7 svn:log V 42 MFC: Removed the no-op -p; documented -P. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-06-26T04:48:42.313015Z K 7 svn:log V 58 Split out the reference zip file for ease of maintenance. END K 10 svn:author V 3 ale K 8 svn:date V 27 2008-06-26T05:41:25.234234Z K 7 svn:log V 43 MFC r179989: Fix links to online gcc docs. END K 10 svn:author V 3 ale K 8 svn:date V 27 2008-06-26T05:46:11.915597Z K 7 svn:log V 43 MFC r179989: Fix links to online gcc docs. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-06-26T07:02:47.295917Z K 7 svn:log V 100 Fix 6-year old cut&paste error. The # could be escaped with '\', not with '\\'. MFC after: 2 weeks END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-26T07:05:35.745886Z K 7 svn:log V 433 The signature for a pthread function requires that it return a pointer to a void. The send_thread() and disk_thread() funtions; however, do not have a return value because they run for the duration of the daemon's lifetime. This causes gcc to barf when running with -O3. Make these functions return a null pointer to quiet it. PR: bin/124342 Submitted by: Garrett Cooper (minus his comments) MFC after: 1 week END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-26T07:12:35.435996Z K 7 svn:log V 190 Gcc barfs in glob.c when run with -O3. To fix this make g_strchr() work on and return (const Char *) pointers instead of just (Char *) and get rid of all the type casting. PR: kern/124334 END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-26T07:52:45.186730Z K 7 svn:log V 556 Fix a chicken-and-egg problem: this files implements SSP support, so we cannot compile it with -fstack-protector[-all] flags (or it will self-recurse); this is ensured in sys/conf/files. This OTOH means that checking for defines __SSP__ and __SSP_ALL__ to determine if we should be compiling the support is impossible (which it was trying, resulting in an empty object file). Fix this by always compiling the symbols in this files. It's good because it allows us to always have SSP support, and then compile with SSP selectively. Repoted by: tinderbox END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-06-26T07:56:16.165868Z K 7 svn:log V 306 Fix a fallout from SSP commit, and make this compile again. Bonus: including kern.mk just to pick kernel warning flags was an extremely bad idea anyway, because it also picked up CFLAGS (it probably wasn't the case at the time of CVS rev. 1.1, I haven't checked). Remove duplicate CWARNFLAGS from CFLAGS. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-26T08:24:59.725878Z K 7 svn:log V 112 Mark the section describing return values with an appropriate section flag. PR: docs/122818 MFC after: 3 days END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-26T10:21:54.029954Z K 7 svn:log V 474 Re-implement the client side of rpc.lockd in the kernel. This implementation provides the correct semantics for flock(2) style locks which are used by the lockf(1) command line tool and the pidfile(3) library. It also implements recovery from server restarts and ensures that dirty cache blocks are written to the server before obtaining locks (allowing multiple clients to use file locking to safely share data). Sponsored by: Isilon Systems PR: 94256 MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-26T10:53:05.793485Z K 7 svn:log V 45 Allow the tests to build without libdmalloc. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-26T11:48:19.242177Z K 7 svn:log V 132 Implement CRC32 verification. Note that you have to read until EOF to trigger the check. Requested by: ache Approved by: kientzle END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-26T11:50:11.475357Z K 7 svn:log V 135 Add regression test for CRC32 check. The test file has been modified to include an invalid checksum for file2. Approved by: kientzle END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-26T11:58:26.688948Z K 7 svn:log V 183 Some tests won't build at WARNS level 6 due to aliasing violations. Add missing -I. so the tests will build when ${.OBJDIR} != ${.CURDIR}. ${.OBJDIR} does not need to be spelled out. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-26T12:15:38.039659Z K 7 svn:log V 73 - add description of the MLINK error PR: docs/123019 MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-26T13:49:32.368815Z K 7 svn:log V 53 Add missing counter increments for posix shm checks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-26T13:51:25.805198Z K 7 svn:log V 369 Change SEM_VALUE_MAX (maximum value of a POSIX semaphore) from UINT_MAX to INT_MAX. Otherwise, a process could create a semaphore (or increase its value via ksem_post()) beyond INT_MAX and sem_getvalue() would return a negative value. sem_getvalue() is only supposed to return a negative value if that is the number of waiters for that semaphore. MFC after: 2 weeks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-06-26T15:46:01.400505Z K 7 svn:log V 104 As reported by Alexey Shuvaev, -dumpl overwrote files after linking them, with predictably bad results. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-06-26T18:58:01.976818Z K 7 svn:log V 136 Remove the non-existent rt2860 subdir. Note, the ralfw module is not used in the build yet. PR: kern/125015 Submitted by: Dan Cojocar END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-26T20:21:20.211484Z K 7 svn:log V 282 MFC rev. 1.155-1.156 Rewrite node's r/w/q-lock semantics using only atomics instead of mutex and atomics combination. Mutex is now used only for queue protection. Also avoid unneded extra swi scheduling calls. Add memory barriers to the node locking operations. Add some comments. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-26T21:26:34.015623Z K 7 svn:log V 33 Fix compile on 64-bit platforms. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-26T22:33:24.268928Z K 7 svn:log V 718 Adjust the handling of pending log events during boot: - Fetch events from the controller in batches of 15 rather than a single event at a time. - When fetching events from the controller, honor the event class and locale settings (via hw.mfi tunables). This also allows the firmware to skip over unwanted log entries resulting in fewer requests to the controller if there many unwanted log entries since the last clean shutdown. - Don't drop the driver mutex while decoding an event. - If we get an error other than MFI_STAT_NOT_FOUND (basically EOF for hitting the end of the event log) then emit a warning and bail on processing further log entries. Reviewed by: ambrisko, scottl MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-26T22:36:38.000498Z K 7 svn:log V 458 Tweak the output of event log messages from the controller: - Each log entry contains a text description in the "description" field of the entry. The existing decode logic always ended up duplicating information that was already in the description string. This made the logs overly verbose. Now we just print out the description string. - Add some simple parsing of the timestamp and event classes. Reviewed by: ambrisko, scottl MFC after: 2 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-06-26T22:45:04.087726Z K 7 svn:log V 209 Someone cut and pasted a bunch of stuff here so lots of indents were spaces when they should have been tabs, screwing up diffs and patches.. Whitespace commit as my first SVN commit. (yay) MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-06-26T22:58:20.696343Z K 7 svn:log V 409 ffs_vfsops.c: MFC 179269-179270 - delete "snapshot" from options list after we convert mount option to MNT_SNAPSHOT flag - do not perform string to flag conversions for mount option which are converted further up in vfs_donmount() in vfs_mount.c vfs_mount.c: MFC 179268 - Do not convert the "snapshot" string to the MNT_SNAPSHOT flag here, since we do it further down in ffs_vfsops.c PR: 122833 END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-06-26T22:59:49.176009Z K 7 svn:log V 122 change a variable name ot stop it from colliding with other names in some situations. (i.e. in vimage) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-26T23:05:28.740978Z K 7 svn:log V 1175 Introduce locking around use of ifindex_table, whose use was previously unsynchronized. While races were extremely rare, we've now had a couple of reports of panics in environments involving large numbers of IPSEC tunnels being added very quickly on an active system. - Add accessor functions ifnet_byindex(), ifaddr_byindex(), ifdev_byindex() to replace existing accessor macros. These functions now acquire the ifnet lock before derefencing the table. - Add IFNET_WLOCK_ASSERT(). - Add static accessor functions ifnet_setbyindex(), ifdev_setbyindex(), which set values in the table either asserting of acquiring the ifnet lock. - Use accessor functions throughout if.c to modify and read ifindex_table. - Rework ifnet attach/detach to lock around ifindex_table modification. Note that these changes simply close races around use of ifindex_table, and make no attempt to solve the probem of disappearing ifnets. Further refinement of this work, including with respect to ifindex_table resizing, is still required. In a future change, the ifnet lock should be converted from a mutex to an rwlock in order to reduce contention. Reviewed and tested by: brooks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T00:37:08.111868Z K 7 svn:log V 32 Consolidate merge info in sys/. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T00:48:23.795844Z K 7 svn:log V 113 MFC: After probing the available frequency settings, restore the CPU to run at whatever frequency it started at. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T00:56:36.428625Z K 7 svn:log V 113 MFC: After probing the available frequency settings, restore the CPU to run at whatever frequency it started at. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T00:58:39.469574Z K 7 svn:log V 109 MFC: Workaround a bug in the BIOS of Dell R900 machines by padding the structure used to fetch SMAP entries. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T01:00:08.991498Z K 7 svn:log V 109 MFC: Workaround a bug in the BIOS of Dell R900 machines by padding the structure used to fetch SMAP entries. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T02:18:01.982383Z K 7 svn:log V 97 MFC: Use sysctl to fetch stats from the kernel instead of reading variables directly via libkvm. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T02:20:37.737720Z K 7 svn:log V 97 MFC: Use sysctl to fetch stats from the kernel instead of reading variables directly via libkvm. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:02:50.732286Z K 7 svn:log V 78 MFC: Add a flag for Ethernet@WireSpeed capability and correct chip revisions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:11:34.446521Z K 7 svn:log V 174 MFC: - Add support/quirks for the on-board BGEs found in various Sun machines. - In bge_attach() factor out calling bge_release_resources() before going to the fail label. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:19:03.575691Z K 7 svn:log V 78 MFC: Add a flag for Ethernet@WireSpeed capability and correct chip revisions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:24:54.943804Z K 7 svn:log V 91 MFC: Add support for the BCM5906[M] adapters including subsequent improvements by marius@. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:31:05.974923Z K 7 svn:log V 81 MFC: Fix time out check in EEPROM read and move delays to give some settle time. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:35:48.643876Z K 7 svn:log V 91 MFC: Add support for the BCM5906[M] adapters including subsequent improvements by marius@. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T03:49:22.385817Z K 7 svn:log V 158 MFC: Probe CPUs after the PCI hierarchy on i386, amd64, and ia64. This allows the cpufreq drivers to reliably use properties of PCI devices for quirks, etc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T04:42:19.331075Z K 7 svn:log V 45 MFC: Add the mpt_user personality to mpt(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T04:46:06.370054Z K 7 svn:log V 45 MFC: Add the mpt_user personality to mpt(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-27T05:39:04.521353Z K 7 svn:log V 3727 Rework the lifetime management of the kernel implementation of POSIX semaphores. Specifically, semaphores are now represented as new file descriptor type that is set to close on exec. This removes the need for all of the manual process reference counting (and fork, exec, and exit event handlers) as the normal file descriptor operations handle all of that for us nicely. It is also suggested as one possible implementation in the spec and at least one other OS (OS X) uses this approach. Some bugs that were fixed as a result include: - References to a named semaphore whose name is removed still work after the sem_unlink() operation. Prior to this patch, if a semaphore's name was removed, valid handles from sem_open() would get EINVAL errors from sem_getvalue(), sem_post(), etc. This fixes that. - Unnamed semaphores created with sem_init() were not cleaned up when a process exited or exec'd. They were only cleaned up if the process did an explicit sem_destroy(). This could result in a leak of semaphore objects that could never be cleaned up. - On the other hand, if another process guessed the id (kernel pointer to 'struct ksem' of an unnamed semaphore (created via sem_init)) and had write access to the semaphore based on UID/GID checks, then that other process could manipulate the semaphore via sem_destroy(), sem_post(), sem_wait(), etc. - As part of the permission check (UID/GID), the umask of the proces creating the semaphore was not honored. Thus if your umask denied group read/write access but the explicit mode in the sem_init() call allowed it, the semaphore would be readable/writable by other users in the same group, for example. This includes access via the previous bug. - If the module refused to unload because there were active semaphores, then it might have deregistered one or more of the semaphore system calls before it noticed that there was a problem. I'm not sure if this actually happened as the order that modules are discovered by the kernel linker depends on how the actual .ko file is linked. One can make the order deterministic by using a single module with a mod_event handler that explicitly registers syscalls (and deregisters during unload after any checks). This also fixes a race where even if the sem_module unloaded first it would have destroyed locks that the syscalls might be trying to access if they are still executing when they are unloaded. XXX: By the way, deregistering system calls doesn't do any blocking to drain any threads from the calls. - Some minor fixes to errno values on error. For example, sem_init() isn't documented to return ENFILE or EMFILE if we run out of semaphores the way that sem_open() can. Instead, it should return ENOSPC in that case. Other changes: - Kernel semaphores now use a hash table to manage the namespace of named semaphores nearly in a similar fashion to the POSIX shared memory object file descriptors. Kernel semaphores can now also have names longer than 14 chars (up to MAXPATHLEN) and can include subdirectories in their pathname. - The UID/GID permission checks for access to a named semaphore are now done via vaccess() rather than a home-rolled set of checks. - Now that kernel semaphores have an associated file object, the various MAC checks for POSIX semaphores accept both a file credential and an active credential. There is also a new posixsem_check_stat() since it is possible to fstat() a semaphore file descriptor. - A small set of regression tests (using the ksem API directly) is present in src/tools/regression/posixsem. Reported by: kris (1) Tested by: kris Reviewed by: rwatson (lightly) MFC after: 1 month END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-27T09:09:50.867172Z K 7 svn:log V 183 Support for filtering on major device number was removed in rev. 1.7 or rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik PR: docs/124892 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-06-27T10:30:08.991413Z K 7 svn:log V 217 Add USB ids for the Epson DX7400 / CX7300 multifunction scanner printer card reader. Tested operation of the scanner part with Sane, card and printer correctly recognised as /dev/da0 and /dev/ulpt0 MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-06-27T12:04:36.389766Z K 7 svn:log V 341 Add the missing support for Asus Eee PC in acpi_asus(4). This includes hotkeys support and sysctl variables to control camera and card reader. These new sysctls don't have CTFLAG_ANYBODY set. While there add entries to devd.conf related to the Eee volume keys. Reviewed by: phillip MFC after: 1 week Also tested by: lme (previous version) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-27T14:26:43.958829Z K 7 svn:log V 169 MFC: r177101, r177102, r177541: If the special target .MAKEFILEDEPS exists, then enable the "remaking makefiles" feature. Otherwise, follow traditional Pmake behavior. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-27T14:35:05.487327Z K 7 svn:log V 36 Include for curthread. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-27T14:35:33.459823Z K 7 svn:log V 79 Note that the .POSIX special target disables the "Remaking Makefiles" feature. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-06-27T14:37:32.282312Z K 7 svn:log V 297 MFC r175163: Honour the logical current working directory ($PWD) when using config's -d destdir option. For an automounted src tree using the logical cwd in the Makefile keeps amd(8)'s mount timeout refreshed. Code to check $PWD's validity cribbed from pwd(1). Discussed on hackers@. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-27T14:59:23.887311Z K 7 svn:log V 76 Instead of using .POSIX:, use the cool looking "@:" rule. Submitted by: ru END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-06-27T15:20:18.060530Z K 7 svn:log V 297 MFC r175163: Honour the logical current working directory ($PWD) when using config's -d destdir option. For an automounted src tree using the logical cwd in the Makefile keeps amd(8)'s mount timeout refreshed. Code to check $PWD's validity cribbed from pwd(1). Discussed on hackers@. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2008-06-27T15:29:48.897102Z K 7 svn:log V 23 Fixing NO_INET6 build. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-27T15:45:17.864522Z K 7 svn:log V 159 Backout r179941. The nfsclient knob always confuses me. I should have double-checked my setup before commiting. Noticed by: Florian Smeets Pointy hat to: mtm END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-27T16:32:04.726866Z K 7 svn:log V 210 - markup fixes - advise to use rc script to SIGHUP mountd - add information about possiblity of using /prefix network notation [1] PR: docs/124373 Reviewed by: jhb Obtained from: NetBSD [1] MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-06-27T19:34:47.046167Z K 7 svn:log V 332 Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters: Adaptec RAID 2045 Adaptec RAID 2405 Adaptec RAID 2445 Adaptec RAID 2805 Without this change these devices are supported by the driver's family support, but they then appear as "Adaptec RAID Controller" in boot messages and the dev.aac.0.%desc sysctl. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-06-27T22:17:14.549055Z K 7 svn:log V 110 Improve r180011 by explicitly adding the condition codes to the clobber list. Suggested by: Christoph Mallon END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-28T01:43:24.552684Z K 7 svn:log V 36 Fix a typo in the cosl() prototype. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-06-28T08:36:47.301277Z K 7 svn:log V 65 Style fix (space into tab). Approved by: imp (mentor, implicit) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-28T12:31:30.163664Z K 7 svn:log V 199 Modify the DoParseCommand() to work on (const char *) instead of just (char *). This is a slightly simplified version of the patch in the PR. It fixes compilitation issues with -O3. PR: misc/124385 END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-06-28T13:38:53.817233Z K 7 svn:log V 90 Remove stray "miibus0" reference from ancient kernel config file times. MFC after: 1 day END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-28T15:17:02.841211Z K 7 svn:log V 23 Reduce diff to vendor. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-28T15:28:17.109039Z K 7 svn:log V 19 White space fixes. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-28T17:55:43.734213Z K 7 svn:log V 647 Two FP-related setjmp/longjmp changes: 1. Save and restore the control part of the MXCSR in addition to the i387 control word to ensure that the two are consistent. Note that standards don't require longjmp to restore either control word, and none of Linux, MacOS X 10.3 and earlier, NetBSD, OpenBSD, or Solaris do it. However, it is historical FreeBSD behavior, and bde points out that it is needed to make longjmping out of a signal handler work properly, given the way FreeBSD clobbers the FPU state on signal handler entry. 2. Don't clobber the FPU exception flags in longjmp. C99 requires them to remain unchanged. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-28T17:58:06.072268Z K 7 svn:log V 128 We should also save and restore the MXCSR as on amd64, but detecting whether the CPU supports SSE or not here is rather odious. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-28T23:26:57.914087Z K 7 svn:log V 390 MFC: Add preliminary support for binding interrupts to CPUs: - Add a new method to interrupt events (ie_assign_cpu) for binding events to CPUs. - Bind ithreads to CPUs in their main loop (this is the original implementation, it may be changed if the cpuset stuff is MFC'd). - Add intr_event_bind(). - Implement ie_assign_cpu() and a 'intr_bind()' wrapper on amd64, i386, and sparc64. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-28T23:54:51.285408Z K 7 svn:log V 316 MFC: Add a BUS_BIND_INTR() method to the bus interface to bind an IRQ resource to a CPU. A bus_bind_intr(9) wrapper routine similar to bus_setup/teardown_intr() is added for device drivers to use. Currently it is supported on amd64, i386, and sparc64 via nexus(4) methods that simply call the intr_bind() routine. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-06-29T00:17:45.262507Z K 7 svn:log V 184 Rename two vars so that they are different from the same vars in ipv4. They are static so it was not a problem 'per se' but it was confusing to the reader. Obtained from: vimage tree END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-06-29T00:25:16.017244Z K 7 svn:log V 90 Oops, we've been incrementing the wrong cantforward variable. Obtained from: vimage tree END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-06-29T00:49:50.045726Z K 7 svn:log V 48 Enter the 1990s. Use real function declaration. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-06-29T01:04:48.431579Z K 7 svn:log V 73 It may be #if 0'd out code, but change a varname to not shadow a global. END K 10 svn:author V 3 kan K 8 svn:date V 27 2008-06-29T04:33:45.200707Z K 7 svn:log V 55 Repair botched variable rename. Pointy hat to: julian END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-06-29T07:15:57.005569Z K 7 svn:log V 245 Revice the way the CTF conversion is done per object. Avoid creating a second shell (which was the problem with the original implementation) and avoid letting make see an empty definition (which was the problem with the current implementation). END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-06-29T07:34:21.139401Z K 7 svn:log V 203 Try to fix errors introduced in svn180085/cvs rev. 1.10: * Include ip6_var.h for ip6stat. * Use the correct name under ip6stat: `ip6s_cantforward' instead of its IPv4 counterpart. MFC after: 10 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-06-29T10:30:06.414787Z K 7 svn:log V 106 Document messages printed in verbose mode. Requested by: Fabien Thomas END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-06-29T12:51:49.356497Z K 7 svn:log V 90 MFC r180077: Remove stray "miibus0" reference from ancient kernel config file times. END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-06-29T12:54:39.447426Z K 7 svn:log V 90 MFC r180077: Remove stray "miibus0" reference from ancient kernel config file times. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-29T13:17:01.256945Z K 7 svn:log V 332 Remove the unused softc from the lo(4) driver. Now that the pseudo-interface cloner has an internal list of instances, there is no need to create a softc. The softc only contains a pointer to the ifp, which means there is no valid reason to keep it. While there, remove the corresponding malloc-pool. Approved by: philip (mentor) END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T16:35:33.214877Z K 7 svn:log V 152 MFC r179918: Bring in the vendor's fix for a bug in strtod() whereby strtod("0xyz", &endp) resulted in endp pointing to "0xyz" instead of "xyz". END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-06-29T16:56:18.674669Z K 7 svn:log V 349 Add -m option to cron(8), overriding default mail recipient for cron mails, unless explicitly provided by MAILTO= line in crontab. This feature can be useful in massive hosting environment, where most users do not care about autogenerated mails. Setting recipient to null string disables default mails at all. Approved by: yar MFC after: 4 weeks END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T17:17:14.551010Z K 7 svn:log V 146 Make it clearer that it is possible to disable the generation of SIGPIPE for individual sockets (PR: kern/118626). While here, s/insure/ensure/. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-06-29T17:58:16.635876Z K 7 svn:log V 157 Add a new priv 'PRIV_SCHED_CPUSET' to check if manipulating cpusets is allowed and replace the suser() call. Do not allow it in jails. Reviewed by: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-06-29T18:26:07.833852Z K 7 svn:log V 115 Remove an unneeded error variable to make clear that if reaching the end of the function we never return an error. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-29T18:35:00.018722Z K 7 svn:log V 227 Increase the size of the kernel virtual address space to 6GB. Until the maximum size of the kmem map can be greater than 4GB, there is little point in making the kernel virtual address space larger than 6GB. Tested by: kris@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-29T19:13:27.490319Z K 7 svn:log V 273 Strictly speaking, the definition of VM_MAX_KERNEL_ADDRESS is wrong. However, in practice, the error (currently) makes no difference because the computation performed by KVADDR() hides the error. This revision fixes the error. Also, eliminate a (now) unused definition. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T21:01:27.689653Z K 7 svn:log V 577 Begin de-spaghettifying the code that handles positional arguments. In particular, encapsulate the state of the type table in a struct, and add inline functions to initialize, free, and manipulate that state. This replaces some ugly macros that made proper error handling impossible. While here, remove an unneeded test for NULL and a variable that is initialized (many times!) but never used. The compiler didn't catch these because of rampant use of the same variable to mean different things in different places. This commit should not cause any changes in functionality. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T21:03:14.053017Z K 7 svn:log V 277 Add some regression tests for printf() with positional arguments. The first test comes from OpenBSD, and the others are additions or adaptations. This is based on OpenBSD's src/regress/lib/libc/sprintf/sprintf_test.c, v1.3. I deliberately did not use v1.4 because it's bogus. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T21:52:40.315835Z K 7 svn:log V 223 Reduce the level of duplication between vfprintf() and vfwprintf() by moving the positional argument handling code to a new file, printf-pos.c, and moving common definitions to printflocal.h. No functional change intended. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T22:04:25.569798Z K 7 svn:log V 140 Factor out the code that builds the argument table. We don't need separate normal and wide character versions of it. No functional change. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T22:54:26.174677Z K 7 svn:log V 132 Correctly handle malloc() failure. While here, reduce the code size a bit by removing some calls to the inline function addtype(). END K 10 svn:author V 3 das K 8 svn:date V 27 2008-06-29T23:46:06.893719Z K 7 svn:log V 70 Fix a bogon in the previous commit and add some missing error checks. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-30T02:35:55.075494Z K 7 svn:log V 145 Compute NKPDPE from NKPT. This reduces the number of knobs that must be turned in order to change the size of the kernel virtual address space. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-30T03:14:39.396027Z K 7 svn:log V 136 Document the layout of the address space, borrowing heavily from http://lists.freebsd.org/pipermail/freebsd-amd64/2005-July/005578.html END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-06-30T05:14:44.950023Z K 7 svn:log V 112 Correct SB600 AC97 Audio PCI ID, otherwise we will attach to the SBx00 PCI to PCI Bridge which causes problems. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-30T08:01:47.854865Z K 7 svn:log V 223 Rev. 1.8 broke matching on lines where the failure mode is at the head of the message, such as: Jun 30 10:49:21 rogue sshd[17553]: Invalid user iceman from 127.0.0.1 PR: conf/124569 Submitted by: Taku END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T08:29:02.703860Z K 7 svn:log V 131 - add some missing words - we don't have ne(4), replace it with re(4) - fix markup - bump date Submitted by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T08:46:09.140635Z K 7 svn:log V 42 - Forgot to bump a date after last change END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T09:06:19.589153Z K 7 svn:log V 103 - MFC rev. 180030 and 180113: - add description of the MLINK error - bump a date PR: docs/123019 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T09:08:29.471261Z K 7 svn:log V 103 - MFC rev. 180030 and 180113: - add description of the MLINK error - bump a date PR: docs/123019 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T09:10:04.731939Z K 7 svn:log V 103 - MFC rev. 180030 and 180113: - add description of the MLINK error - bump a date PR: docs/123019 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T09:16:22.139811Z K 7 svn:log V 116 MFC rev. 180024: - Mark the section describing return values with an appropriate section flag. PR: docs/122818 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T09:17:54.557330Z K 7 svn:log V 116 MFC rev. 180024: - Mark the section describing return values with an appropriate section flag. PR: docs/122818 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-30T09:18:49.767402Z K 7 svn:log V 111 MFC rev. 180024: - Mark the section describing return values with an appropriate section flag. PR: 180024 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-06-30T15:21:42.925943Z K 7 svn:log V 43 Avoid NULL deference. Reviewed by: ivoras END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-06-30T15:41:57.024322Z K 7 svn:log V 657 MFC rev r179288: - Add locking to all filesystem operations in fdescfs and flag it as MPSAFE. - Use proper synhronization primitives to protect the internal fdesc node cache used in fdescfs. - Properly initialize and uninitalize hash. - Remove unused functions. Since fdescfs might recurse on itself, adding proper locking to it needed some tricky workarounds in some parts to make it work. For instance, a descriptor in fdescfs could refer to an open descriptor to itself, thus forcing the thread to recurse on vnode locks. Because of this, other race conditions also had to be fixed. Approved by: kib (mentor) Reviewed by: kib (mentor) Tested by: pho END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-30T15:49:12.245490Z K 7 svn:log V 22 Add missing $FreeBSD$ END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-30T16:19:26.364967Z K 7 svn:log V 29 More explicit error message. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-30T17:11:27.121840Z K 7 svn:log V 77 Quick shot at implementing -t (test). Requested by: ache MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-06-30T17:16:05.011936Z K 7 svn:log V 24 Update man page for -t. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-06-30T17:45:47.451602Z K 7 svn:log V 154 Make it clear that gzcat expects each argument to be separate files. PR: docs/123010 Submitted by: Andrew Wright MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-30T18:26:43.701954Z K 7 svn:log V 635 In udp_append() and udp_input(), make use of read locking on incpbs rather than write locking: while we need to maintain a valid reference to the inpcb and fix its state, no protocol layer state is modified during an IPv4 UDP receive -- there are only changes at the socket layer, which is separately protected by socket locking. While parallel concurrent receive on a single UDP socket is currently relatively unusual, introducing read locking in the transmit path, allowing concurrent receive and transmit, will significantly improve performance for loads such as BIND, memcached, etc. MFC after: 2 months Tested by: gnn, kris, ps END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-30T18:35:11.190915Z K 7 svn:log V 201 Merge auditpipe.4:1.6 (r178726) from head to stable/7: Fix type name: struct auditpipe_preselect is actually struct auditpipe_ioctl_preselect. Submitted by: Stacey D. Son END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-30T20:20:35.916383Z K 7 svn:log V 439 Use a global setting for keywords control, rather than comment/uncomment code. Only do property-change initiated exports if it is for svn:keywords and keyword expansion is enabled. svn:mergeinfo on files no longer causes an export. We don't do eol-style expansion, so there isn't any point doing that either. Handle directories going away. Remove /tmp file hack. Update svnadmin/conf/access export config to match what has been running. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-30T20:23:49.512001Z K 7 svn:log V 275 Run the privileged dhclient process in its own session. In the MPSAFE TTY branch, I noticed PTY's to be leaked, because dhclient's privileged process was run inside the session of, say, the login shell. Make sure we call setsid() here. Approved by: philip (mentor), brooks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-30T20:43:06.881852Z K 7 svn:log V 162 Remove spls from NFS server setup call; expand receive socket buffer locking to cover full setup of socket upcalls; remove XXX about locking. MFC after: 3 weeks END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-06-30T21:18:27.090669Z K 7 svn:log V 68 Do not set IFF_DEBUG directly from the driver. MFC after: 1 month. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-06-30T21:22:59.872158Z K 7 svn:log V 1292 MFC additional driver enhancements. r174385 Allow simultaneous opens of the device for issuing commands to the controller. This is merged from Adaptec driver build 11669. r177462 Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB, FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size checks on FIBs passed in from userspace. Both changes were obtained from Adaptec's driver build 15317. Adaptec's commandline RAID tool arcconf uses these ioctls when creating a RAID-10 array (and probably other operations too). r177567 Diff reduction to Adaptec's driver (around build 15317): catch up with a change in debugging routines. The fwprintf macro in the AAC_DEBUG case (mapping to printf) isn't from the Adaptec driver. r177619 Add 64-bit array support for RAIDs > 2TB. This corresponds to ~ Adaptec driver build 15317. r177635 Add \n to the end of a printf string and remove it from panic strings. r177695 Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls. RAID tools (e.g. arcconf) need this to be able to create arrays larger than 2TB. r179969 Fix test for waiting AIFs in aac_poll(). This seems to solve the problem where Adaptec's arcconf monitoring tool hangs after producing its expected output. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-30T22:19:18.338657Z K 7 svn:log V 337 Merge extattr.h:1.22, ufs_extattr.c:1.91 (r176797) from head to stable/7: Continue on-going campaign to replace lockmgr locks with sx locks where the specific semantics of lockmgr aren't required: update UFS1 extended attributes to protect its data structures using an sx lock. While here, update comments on lock granularity. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-06-30T23:23:31.264960Z K 7 svn:log V 64 Remove clause 3 and 4 of NetBSD license. Obtained from: NetBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-06-30T23:53:15.706148Z K 7 svn:log V 60 Reflect the fact that we actually have NetBSD revision 1.3. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-07-01T05:39:20.926964Z K 7 svn:log V 51 Add -p to the diff(1) options. Reviewed by: peter END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-01T05:45:03.605550Z K 7 svn:log V 120 Don't try to hardlink directories. While I'm here, expand some comments to make this section of code a little clearer. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-01T07:51:16.318712Z K 7 svn:log V 96 Remove unused 'td' arguments from smbfs_hash_lock() and smbfs_hash_unlock(). MFC after: 3 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-07-01T08:14:58.559515Z K 7 svn:log V 281 Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in line with the behaviour of other popular bridging implementations and makes bridges more predictable after reboots for example. Reviewed by: thompsa MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-01T08:41:02.191515Z K 7 svn:log V 163 Merge smbfs.h:1.13, smbfs_node.c:1.38, smbfs_vfsops.c:1.44 (r176744) from head to stable/7: Replace lockmgr lock protecting smbfs node hash table with sx lock. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-07-01T09:28:27.503170Z K 7 svn:log V 54 MFC ncurses 5.6-20080503 rev 174993, 176187, 178866 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-01T10:40:49.939663Z K 7 svn:log V 130 Merge nwfs_node.c:1.43 (r176745) from head to stable/7: Replace lockmgr lock protecting nwfs vnode hash table with an sx lock. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-07-01T10:52:15.994425Z K 7 svn:log V 228 MFC of SVN rev 180061 on 2008-06-27 10:30:08Z by luigi Add USB ids for the Epson DX7400 / CX7300 multifunction scanner printer card reader. On passing, also MFC similar entries for other epson MFP devices. MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-01T11:18:51.172709Z K 7 svn:log V 41 Fix off-by-one error. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-01T12:15:55.370131Z K 7 svn:log V 258 Merge db_capture.c:1.6 (178492) from head to stable/7: Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in order to match the internal variable name. Add a new sysctl debug.ddb.capture.inprogress to export the inprogress variable. END K 10 svn:author V 3 dds K 8 svn:date V 27 2008-07-01T14:41:03.820200Z K 7 svn:log V 78 Fix instances of bogus #elsif directive. Found by: CScout MFC after: 2 weeks END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-07-01T15:20:15.742174Z K 7 svn:log V 95 Fix a regression: attach process PMCs to the process created when a command line is specified. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-01T16:42:51.492325Z K 7 svn:log V 66 MFC: r180109 / rev 1.53 Document the layout of the address space. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-01T16:58:35.656075Z K 7 svn:log V 181 MFC: r153342 Fix a bug introduced in r1.5/153057 (MFC'ed in r1.4.8.1/172460); for retrieving the device_t of the parent bridge of a PCI-PCI bridge we need two device_get_parent(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-01T18:58:07.932171Z K 7 svn:log V 423 Merge audit.h:1.18 (sys:r178802) from head to stable/7: When testing whether to enter the audit argument gathering code, rather than checking whether audit is enabled globally, instead check whether the current thread has an audit record. This avoids entering the audit code to collect argument data if auditing is enabled but the current system call is not of interest to audit. Sponsored by: Apple, Inc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-01T19:44:38.337783Z K 7 svn:log V 98 During shutdown, deregister the shutdown hook from the correct event handler. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-01T19:48:15.426690Z K 7 svn:log V 683 Rework how the mpt_user personality handles buffers for config pages. Previously we reused the space in the request buffer after the request header to hold config pages during a transaction. This does not work when reading large pages however. Also, we were already malloc'ing a buffer to do a copyin/copyout w/o holding locks that was then copied into/out of the request buffer. Instead, go ahead and use bus dma to alloc a buffer for each config page request (and RAID actions that have an associated ActionSGE). This results in fewer data copies and allows for larger sized requests. For now the maximum size of a request is arbitrarily limited to 16 MB. MFC after: 2 weeks END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-01T19:54:02.220746Z K 7 svn:log V 39 - more mark-up fixes Submitted by: ru END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-01T20:56:23.564992Z K 7 svn:log V 194 - add the -m option to the example commands because they would fail w/o it as the ``man'' user does not have a valid shell by default. PR: docs/121713 Approved by: trhodes MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-07-01T21:10:38.208227Z K 7 svn:log V 104 MFC: 180149 / 1.49.2.1 (which was MFC of r180109 / rev 1.53) Document the layout of the address space. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-01T21:36:03.420985Z K 7 svn:log V 342 MFC r180062: Add the missing support for Asus Eee PC in acpi_asus(4). This includes hotkeys support and sysctl variables to control camera and card reader. These new sysctls don't have CTFLAG_ANYBODY set. While there add entries to devd.conf related to the Eee volume keys. Reviewed by: phillip Also tested by: lme (previous version) END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-01T21:52:49.921746Z K 7 svn:log V 295 - install the example wpa_supplicant.conf file to the share/examples/etc directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Approved by: brooks [1] MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-01T21:54:08.830219Z K 7 svn:log V 142 The example wpa_supplicant.conf file has been moved to share/examples/etc/, see r180158 for references Approved by: brooks MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-07-01T22:16:33.694538Z K 7 svn:log V 176 MFC r179969: Fix test for waiting AIFs in aac_poll(). This seems to solve the problem where Adaptec's arcconf monitoring tool hangs after producing its expected output. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-01T22:30:57.504297Z K 7 svn:log V 131 Merge hexdump(9) to userland as hexdump(3) in libutil. I'm tired of doing this by hand in userland utilities. MFC after: 1 month END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-01T22:59:20.761926Z K 7 svn:log V 130 - AI_ALL and AI_V4MAPPED flags are currently not supported PR: docs/120248 Submitted by: Heiko Wundram END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-02T02:00:18.609143Z K 7 svn:log V 216 Add a placeholder list for current mentors/mentees. svn cannot do forced commits, so this should serve as a convenient place to announce that somebody has been "released". We used to do a forced commit with cvs... END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-02T02:36:02.190694Z K 7 svn:log V 39 Begin some experiments with user area. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-02T02:36:44.518446Z K 7 svn:log V 18 Create user/peter END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T04:27:36.406823Z K 7 svn:log V 38 Remove duplicated H/W revision check. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T04:55:39.034577Z K 7 svn:log V 325 After the change of r176757 re(4) no longer relys on reading RL_TXCFG register to identify a device in device probe. Reflect the fact by modifing device description with general ethernet controller family. Note, rl_basetype in struct rl_type is not used and the more detailed information is provided with rl_hwrev structure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T05:01:19.709918Z K 7 svn:log V 93 While accessing EEPROM command register use pre-defined constant instead of hardcoded value. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T05:21:09.267582Z K 7 svn:log V 119 Switch to memory space register mapping over IO space. If that mapping fails fall back to traditional IO space access. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-02T05:41:23.349348Z K 7 svn:log V 48 Eliminate an unnecessary static variable: nkpt. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T06:29:43.034815Z K 7 svn:log V 374 Instead of allocating variables for each events/hardware flags, use a dedicated flag that represents controller capabilities/events. This will simplify many part of code that requires different workaround for each controller revisions and will enhance readability. While I'm here move PHY wakeup code up before mii_phy_probe() which seems to help to wake PHY in some cases. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T06:34:02.528662Z K 7 svn:log V 76 Toggling IFF_ALLMULTI flag does not require full interface reintialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T06:41:46.920439Z K 7 svn:log V 190 In device detach don't access ifnet structure unless device is attached. This fixes NULL pointer dereference when polling(9) is active and unsupported hardware is detected in device attach. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T06:45:59.032848Z K 7 svn:log V 57 If MSI is not active make sure to disable MSI in EEPROM. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T06:55:03.267587Z K 7 svn:log V 175 Display detected chip revision in device attach. This will help to diagnose revision specific issues in future. Also add 0x to notify that the revision number is in hex form. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T07:54:53.156025Z K 7 svn:log V 713 Add basic support for RTL8168C, RTL8168CP, RTL8111C and RTL8111CP. ATM Tx/Rx checksum offload is supported but TSO and jumbo frame is not yet supported. Because these newer controllers use different descriptor formats, a flag RL_FLAG_DESCV2 flag was introduced to handle that case in Tx/Rx handler. Also newer controllers seems to require to not touch 'enable Tx/Rx bit' in RL_CPLUS_CMD register so don't blindly try to set that bits. Note, it seems that there is still power-saving related issue where driver fails to attach PHY. Rebooting seems to fix that issue but number of required reboots varys. Many thanks to users that helped during developement. I really appreciate their patient and test/feedbacks. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T08:00:14.468348Z K 7 svn:log V 83 Add a new RTL8169 variant, 8169SB(L)/8110SB(L). Reported by: nork Tested by: nork END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-02T08:10:18.229874Z K 7 svn:log V 114 Add RTL8211C(L) support. Disable advanced link-down power saving in phy reset. Reported by: nork Tested by: nork END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-02T13:00:07.646405Z K 7 svn:log V 203 MFC r180060: Support for filtering on major device number was removed in rev. 1.7 or rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik PR: docs/124892 END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-02T13:03:08.715825Z K 7 svn:log V 203 MFC r180060: Support for filtering on major device number was removed in rev. 1.7 or rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik PR: docs/124892 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-07-02T14:17:49.995756Z K 7 svn:log V 105 MFC r177899: Allow crashdumps on machines with >4GB of RAM as long as the adapter can do 64-bit S/G. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T14:31:51.530895Z K 7 svn:log V 246 Merge audit_worker.c:1.24 (179178) from head to stable/7: Don't use LK_DRAIN before calling VOP_FSYNC() in the panic case for audit trail failure -- this doesn't contribute anything, and might arguably be wrong. Requested by: attilio END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-07-02T14:44:09.485207Z K 7 svn:log V 105 MFC r177899: Allow crashdumps on machines with >4GB of RAM as long as the adapter can do 64-bit S/G. END