Ħd223507 158 451 99 337 324 204 411 175 259 147 1463 177 260 174 290 183 488 173 200 163 1689 198 113 243 673 518 271 258 322 297 258 143 171 198 215 337 547 217 197 119 202 809 809 150 170 170 273 273 327 360 316 307 279 237 139 169 127 689 326 473 597 397 1085 143 232 405 99 242 144 168 158 341 243 341 158 173 214 234 303 170 170 458 1129 1129 366 366 261 175 580 112 204 699 118 243 220 165 200 1067 132 574 288 134 411 142 167 174 364 222 736 279 446 119 319 319 237 109 337 536 127 365 517 265 113 218 218 218 218 150 1135 1831 1832 263 788 169 159 143 203 142 331 99 168 772 915 148 152 1371 229 117 339 344 117 554 105 112 408 307 323 309 99 K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T16:06:50.664756Z K 7 svn:log V 358 MFC 221231,221450,222600: Add a new bus method, BUS_ADJUST_RESOURCE() that is intended to be a wrapper around rman_adjust_resource(). Include a generic implementation, bus_generic_adjust_resource() which passes the request up to the parent bus. There is currently no default implementation. A bus_adjust_resource() wrapper is provided for use in drivers. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-24T16:35:40.835904Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T17:29:41.564064Z K 7 svn:log V 244 MFC 221324,221324: Add implementations of BUS_ADJUST_RESOURCE() to the PCI bus driver, generic PCI-PCI bridge driver, x86 nexus driver, x86 Host to PCI bridge drivers, and the drivers that sit between the x86 Host-PCI bridge drivers and nexus. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T17:54:45.444603Z K 7 svn:log V 231 Don't die if either of INET or INET6 aren't in the running kernel. Instead, report "protocol not supported" errors at runtime if a user attempts to use a protocol that the kernel doesn't support. Reviewed by: bz MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T18:11:55.113112Z K 7 svn:log V 106 - Export the URIO USB device ID's. - Add checks for configuration and interface index. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T18:14:43.119842Z K 7 svn:log V 313 - Move execution of event handlers into the probe and attach function so that dynamically loaded device drivers get a chance to run their event hooks. - Decouple the USB suspend and resume lock from witness. It produces some false warnings due to reusing the lock name among multiple devices. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T19:02:56.081321Z K 7 svn:log V 78 - Ensure that we get all the required nomatch devd events. MFC after: 3 days END K 10 svn:author V 5 joerg K 8 svn:date V 27 2011-06-24T19:24:56.386401Z K 7 svn:log V 164 Open the floppy disk device with O_RDONLY rather than O_RDWR. After all, this is the fd*read* command, and thus should be able to read even write-protected disks. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T19:32:29.586908Z K 7 svn:log V 50 - Export more USB device ID's. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-24T20:15:44.322830Z K 7 svn:log V 1364 MFC: r216587, r222623 Fix the nfs related daemons so that they don't intermittently fail with "bind: address already in use". This problem was reported to the freebsd-stable@ mailing list on Feb. 19 under the subject heading "statd/lockd startup failure" by george+freebsd at m5p dot com. The problem is that the first combination of {udp,tcp X ipv4,ipv6} would select a port# dynamically, but one of the other three combinations would have that port# already in use. The patch is somewhat involved because it was requested by dougb@ that the four combinations use the same port# wherever possible. The patch splits the create_service() function into two functions. The first goes as far as bind(2) in a loop for up to GETPORT_MAXTRY - 1 times, attempting to use the same port# for all four cases. If these attempts fail, the last attempt allows the 4 cases to use different port #s. After this function has succeeded, the second function, called complete_service(), does the rest of what create_service() did. The three daemons mountd, rpc.lockd and rpc.statd all have a create_service() function that is patched in a similar way. However, create_service() has non-trivial differences for the three daemons that made it impractical to share the same functions between them. Also MFC'd r216587 so that r222623 would merge cleanly and mountd.c would be up to date. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-24T20:23:50.679309Z K 7 svn:log V 82 sh(1): Document the case command better. Suggested by: netchild Reviewed by: gjb END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T21:27:33.027153Z K 7 svn:log V 162 - We need to sort all USB device ID's together. Else the matching order will be wrong. This is required because devd only executes one entry. MFC after: 14 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T21:32:03.173588Z K 7 svn:log V 77 - Add auto-load devd config file for USB kernel modules. MFC after: 14 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-24T21:39:38.752549Z K 7 svn:log V 197 Split out host_pcib_get_busno() from the generic PCI-PCI bridge driver to start a new file that will hold utility APIs used by various Host-PCI bridge drivers and drivers that provide PCI domains. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-24T22:01:56.512079Z K 7 svn:log V 86 - Export more USB device ID's. - Update bus_auto.conf accordingly. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-24T22:08:26.936406Z K 7 svn:log V 392 sh(1): Improve documentation of shell patterns: * Shell patterns are also for ${var#pat} and the like. * An '!' by itself will not trigger pathname generation so do not call it a meta-character, even though it has a special meaning directly after an '['. * Character ranges are locale-dependent. * A '^' will complement a character class like '!' but is non-standard. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-06-24T23:26:45.219931Z K 7 svn:log V 78 Comment out AH_DEBUG, to get this kernel to compile, until AH_DEBUG is fixed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-24T23:59:14.888136Z K 7 svn:log V 104 Small fix to bring the non-debug definitions of HALDEBUG/HALDEBUG_G in line with the debug definitions. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-25T00:34:40.541110Z K 7 svn:log V 68 Commit missing piece from a couple days ago - re-add ath_hal_debug. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-25T02:15:14.163464Z K 7 svn:log V 1592 Switch to the event timers infrastructure. This includes: o Setting td_intr_frame to the XIVs trap frame because it's referenced by the ET event handler. o Signal EOI to the CPU before calling the registered XIV handlers. This prevents lost ITC interrupts, which cause starvation in one-shot mode. o Adding support for IPI_HARDCLOCK with corresponding per-CPU counters. o Have the APs call cpu_initclocks() so as to limited the scattering of clock related initialization. cpu_initclocks() calls the _bsp() or _ap() version accordingly. o Uncomment the ET clock handling in cpu_idle(). o Update the DDB 'show pcpu' output for the new MD fields. o Entirely rewritten ia64_ih_clock(). Note that we don't create as many clock XIVs as we have CPUs, as is done on PowerPC. It doesn't scale. We can only have 240 XIVs and we can have more CPUs than that. There's a single intrcnt index for the cumulative clock ticks and we keep per CPU counts in the PCPU stats structure. o Register the ITC by hooking SI_SUB_CONFIGURE (2nd order). Open issues: o Clock interrupts can still be lost. Some tweaking is still necessary. Thanks to: mav@ for his support, feedback and explanations. ET stats while committing: eris% sysctl machdep.cpu | grep nclks machdep.cpu.0.nclks: 24007 machdep.cpu.1.nclks: 22895 machdep.cpu.2.nclks: 13523 machdep.cpu.3.nclks: 9342 machdep.cpu.4.nclks: 9103 machdep.cpu.5.nclks: 9298 machdep.cpu.6.nclks: 10039 machdep.cpu.7.nclks: 9479 eris% vmstat -i | grep clock clock 108599 50 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-25T02:49:47.284857Z K 7 svn:log V 102 Now that ia64 has been switched to the event timers, remove the conditional compilation work-arounds. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-25T03:37:40.050020Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-25T03:43:58.365128Z K 7 svn:log V 147 Replace the original copyright notice with my own. Everything in this file is written by me and has no bearing on the initial or original version. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-25T10:01:43.619436Z K 7 svn:log V 580 generic_stop_cpus: pull timeout logic from under DIAGNOSTIC ... and also increase the timeout. It's better to try to proceed somehow despite stuck CPUs than to hang indefinitely. Especially so during shutdown and when entering kdb or panic. Timeout value is still an aribitrary value. Timeout diagnostic is just a printf; the work on something more debuggable is planned by attilio. Need to be careful here as stop_cpus_hard is called very early while enetering kdb and soon(-ish) it may become called very early when entering panic. Reviewed by: attilio MFC after: 2 months END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-25T10:28:16.806775Z K 7 svn:log V 425 unconditionally stop other cpus when entering kdb in smp system ... and thus retire debug.kdb.stop_cpus tunable/sysctl. The knob was to work around CPU stopping issues, which since have been either fixed or greatly reduced. kdb should really operate in a special environment with scheduler stopped and interrupts disabled to provide deterministic debugging. Discussed with: attilio, rwatson X-MFC after: 2 months or never END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-06-25T11:21:23.833619Z K 7 svn:log V 174 Add missing libkvm and libutil dependencies. Now libprocstat takes care of its own dependencies and does not require applications to specify them. Reviewed by: stas, jilles END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-06-25T12:37:06.275251Z K 7 svn:log V 160 Remove redundant Capsicum sysctl. Since we're now declaring FEATURE(security_capabilities), there's no need for an explicit SYSCTL_NODE. Approved by: rwatson END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-25T13:44:05.707982Z K 7 svn:log V 224 - Improve bus_autoconf tool. - Implement simple and generic language which can be used to describe any kind of device ID structures. - Fix endian issues. - Add an example format file. Suggested by: imp @ MFC after: 14 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-25T15:22:44.876348Z K 7 svn:log V 199 - Need to respect the module name and the USB mode when accumulating device ID's. - Be more verbose on file seek failures. Allow a file size of zero. - Improve the wrapper shell. MFC after: 14 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-25T15:42:33.666316Z K 7 svn:log V 160 - Move auto-load devd config file into etc/defaults folder. - Regenerate file after bugfix in the generator. Suggested by: Jeremy Messenger MFC after: 14 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-25T15:46:24.894554Z K 7 svn:log V 46 - Remove duplicate USB ID. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-25T15:51:44.440006Z K 7 svn:log V 74 - Export the USB device ID format to userspace tools. MFC after: 14 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-25T16:01:45.508382Z K 7 svn:log V 102 As with EFI, OFW and U-Boot etc only compile FDT support on those architectures that actually use it. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-25T16:13:56.785572Z K 7 svn:log V 119 The kerberos5 tools are only used as build tools but not otherwise and didn't get installed either. MFC after: 1 week END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2011-06-25T16:27:49.066038Z K 7 svn:log V 239 If there is a read error reading Y/N confirmation from the keyboard, exit immediately with an error. If there is an error opening or reading a file to put into the archive, set the return value for a deferred error exit. PR: bin/154407 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-25T16:35:43.967717Z K 7 svn:log V 451 Define the minimum fractional period in terms of hz. We know hz is a magnitude smaller than itc_freq. A minimum period of 10*hz is sufficient precision. As a side-effect, the number of clocks per second, when the machine is idle, dropped by more than 50%. Be anal and define the maximum period to be at least 4G seconds. With a 64-bit counter and an ITC frequency that's expected to be always less than 4Ghz, it takes longer than that to wrap around. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-25T17:01:46.928588Z K 7 svn:log V 119 - Move bus_auto.conf back into /etc/devd/ - Rename bus_auto.conf into usb.conf Requested by: imp @ MFC after: 14 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-25T17:58:35.317838Z K 7 svn:log V 101 Oops. The sec field of struct bintime is *not* a 32-bit type. It's time_t, which is 64 bits on ia64. END K 10 svn:author V 4 joel K 8 svn:date V 27 2011-06-25T19:21:54.248477Z K 7 svn:log V 26 More accurate birthplace. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-25T20:37:43.990766Z K 7 svn:log V 106 sh: Test that '!' is literal if quoted and first char of bracket expression This also works on stable/8. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T22:22:25.587145Z K 7 svn:log V 714 MFC r211094: "whereis netscape" gives empty output for quite a long time already. Suggest to use "whereis firefox" instead. MFC r212168: fix the move so that it matches what the rest of the internet says about this game... This move also makes more sense... MFC r213287 Add advice to new fathers from Thomas Ptacek. MFC r221908 fortune(6): fix typos and misspellings. While here, drop words in the spelling files that are no longer used anywhere. Speling errors found via: codespell from Lucas De Marchi MFC r221909 Convert a file to UTF-8. This only changes a character in the copyright section and will not require UTF-8 for fortune(6). MFC r222890 Minor typo, fix 2 attributions END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T22:36:41.742711Z K 7 svn:log V 714 MFC r211094: "whereis netscape" gives empty output for quite a long time already. Suggest to use "whereis firefox" instead. MFC r212168: fix the move so that it matches what the rest of the internet says about this game... This move also makes more sense... MFC r213287 Add advice to new fathers from Thomas Ptacek. MFC r221908 fortune(6): fix typos and misspellings. While here, drop words in the spelling files that are no longer used anywhere. Speling errors found via: codespell from Lucas De Marchi MFC r221909 Convert a file to UTF-8. This only changes a character in the copyright section and will not require UTF-8 for fortune(6). MFC r222890 Minor typo, fix 2 attributions END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T22:57:19.014783Z K 7 svn:log V 56 Pull mergeinfo from r221430 up to etc/ where it belongs END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T23:05:56.367408Z K 7 svn:log V 76 MFC r223264: Add rc.d/kld to load kernel modules after local disks are up. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T23:09:25.426278Z K 7 svn:log V 76 MFC r223264: Add rc.d/kld to load kernel modules after local disks are up. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T23:13:05.650404Z K 7 svn:log V 178 MFC r223310: Add the netwait rc.d script. It waits for the specified period for the network to become active. MFC r223311, r2233408: The script itself, and a minor fix to it. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-06-25T23:14:49.679591Z K 7 svn:log V 178 MFC r223310: Add the netwait rc.d script. It waits for the specified period for the network to become active. MFC r223311, r2233408: The script itself, and a minor fix to it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-26T00:35:11.617195Z K 7 svn:log V 226 Do not attach to the sound device on G5 Xserves, which is actually an LED controller used to run the load graph on the server's front panel. Reported by: Paul Mather MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-26T00:49:17.650484Z K 7 svn:log V 259 Turn the minimum PWM fan speed down to 30 from 40. It turns out the burning smell that caused me to turn this up was due to a failed fan burning, not a CPU (plus a healthy dose of paranoia). Submitted by: Paul Mather END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-26T01:14:54.227632Z K 7 svn:log V 221 cam/cam_xpt.c: In camisr_runqueue(), we need to run the sims queue regardless of whether or not the current peripheral has more work to do. This reverts a change mistakenly made in revision 223081. Reported by: ache END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-26T01:32:46.968914Z K 7 svn:log V 212 cam/scsi/scsi_cd.c: In cdregister(), hold the periph lock semaphore during changer probe/configuration. This removes a window where an open of the cd device may succeed before probe processing has completed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T03:38:26.825587Z K 7 svn:log V 183 Disable these locks for now. Witness panics with these enabled. The locks aren't being held here, and I haven't sat down to figure out exactly what has to be locked and what doesn't. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T04:00:49.395649Z K 7 svn:log V 141 Shuffle around how nodes are unscheduled so the TID in question is known. Doing scheduling per TID is now needed so non-STA modes work well. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-26T07:12:48.936678Z K 7 svn:log V 43 Use swap32() right. Submitted by: gcopper END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T09:32:46.508777Z K 7 svn:log V 74 Replace tab with 8 spaces, bringing it in line with the rest of the file. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-26T10:07:48.216353Z K 7 svn:log V 33 Remove duplicate header includes END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T10:32:09.456350Z K 7 svn:log V 593 Add a couple more frequency ranges to the FCC3 (FCC + DFS) regulatory domain. The frequency range 5490MHz -> 5710MHz was opened up sometime in 2009, but regdomain.xml wasn't updated. FCC reference: (Section 15.407): http://louise.hallikainen.org/FCC/FccRules/2009/15/407/ The hole between 5600-5650MHz is due to a request from Airports using a weather radar system which also utilises this range. The GIT commit explaining this hole in more detail can be found here: http://git.kernel.org/?p=linux/kernel/git/linville/wireless-regdb.git;a=commit;h=fcbf9225d56e82d9a4e506187d42285e76d81523 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T10:34:01.596939Z K 7 svn:log V 230 I think 23dBm is the correct value to use here. CRDA uses 20dBm + 3dB max antenna gain; I believe net80211 doesn't take antenna gain into account and leaves it up to the driver to enforce. (ath_hal(4) certainly tries to do this.) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-26T10:50:11.206512Z K 7 svn:log V 377 MFC r222511,r223206: posix_spawn(): Do not fail when trying to close an fd that is not open. As noted in Austin Group issue #370 (an interpretation has been issued), failing posix_spawn() because an fd specified with posix_spawn_file_actions_addclose() is not open is unnecessarily harsh, and there are existing implementations that do not fail posix_spawn() for this reason. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-06-26T11:37:24.826187Z K 7 svn:log V 502 The SMCWUSBG is a zyd(4) device, not an uath(4) device. Remove from the latter. It appears that the addition to uath(4) came in through PR kern/135009, which had tested another device, the SMCWUSBTG2, successfully with uath(4) and included the SMCWUSBG as it "has the same chipset". I can find no other evidence that these two do actually share the same chipset. Moreover, Linux treats the SMCWUSBG as a zyd(4) device also. This reverts r223537. Discussed with: hselasky, kevlo MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T13:43:15.017959Z K 7 svn:log V 301 Add ATH_ENABLE_DFS which enables the DFS flag so the DFS code can be tested. This doesn't at all actually do radar detection! It's just so developers who wish to test the net80211 DFS code can easily do so. Without this flag, the DFS channels are never marked DFS and thus the DFS stuff doesn't run. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T13:53:24.495371Z K 7 svn:log V 989 Fix beacon transmission after a channel set. The DFS code was tickling the channel set directly whilst going through the state RUN -> CSA -> RUN. This only changed the channel; it didn't go via ath_reset(). However in this driver, a channel change always causes a chip reset, which resets the beacon timer configuration and interrupt setup. This meant that data would go out but as the beacon timers never fired, beacons would never be queued. The confusing part is that sometimes the state transition was RUN -> SCAN -> CAC -> RUN (with CSA being in there sometimes); going via SCAN would clear sc_beacons and thus the transition to RUN would reprogram beacon transmission. In case someone tries debugging why suspending a device currently beaconing (versus just RX'ing beacons which is what occurs in STA mode), add a silly comment which should hopefully land them at this commit message. The call to ath_hal_reset() will be clearing the beacon config and it may not be always reset. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-26T14:29:49.926113Z K 7 svn:log V 48 .. this wasn't supposed to be committed! sorry. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-26T15:08:14.313013Z K 7 svn:log V 131 Revert r223479. It is unnecessary and served only to slightly ameliorate some manifestations of the bug actually fixed in r223485. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-26T16:11:36.083772Z K 7 svn:log V 304 Add better error handling for RTAS calls. These can potentially cause machine checks (e.g. invalid PCI configuration cycles), but these can be caught and recovered from. This change also the RTAS PCI driver to work without modification as a replacement for the Grackle driver on Grackle-based Powermacs. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-26T17:30:46.849029Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2011-06-26T17:54:11.411089Z K 7 svn:log V 144 The --newer-than test should descend into old directories to look for new files. PR: bin/150890 Submitted by: Tobias Herre MFC after: 3 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-06-26T18:25:10.845783Z K 7 svn:log V 53 Fix various whitespace inconsistencies in sys/teken. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-06-26T18:26:20.043236Z K 7 svn:log V 77 Fix whitespace inconsistencies in the TTY layer and its drivers owned by me. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-06-26T18:27:17.473954Z K 7 svn:log V 67 Fix whitespace inconsistencies in libc in files copyrighted by me. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-26T18:44:00.717123Z K 7 svn:log V 240 Add a tunable to control whether the entire PCI bus will be probed, or just those devices known to exist in the device tree. Some PCI controllers really, really don't like the operating system to cause config cycles to nonexistant devices. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-26T19:02:34.257346Z K 7 svn:log V 145 Set the default large page to 16MB on PowerMac's. Add a property scan for PAPR compatible machines to get the large page information from there. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-26T19:03:33.510641Z K 7 svn:log V 248 For some reason, contrib/traceroute/traceroute.c ensures MAXHOSTNAMELEN is defined, but then proceeds to use a hardcoded maximum hostname length of 64 anyway. Fix this by checking against MAXHOSTNAMELEN instead. PR: bin/157732 MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-26T20:12:05.072124Z K 7 svn:log V 63 sh: Include instead of non-standard . END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-26T21:36:53.249743Z K 7 svn:log V 77 Remove the pc_cpumask usage from amd64. Reviewed by: alc Tested by: pluknet END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-06-27T02:10:10.506973Z K 7 svn:log V 116 Rewrite HISTORY: The SHA256 code first appeared in 6.0, and the SHA512 code in 9.0; neither existed in FreeBSD 4.0. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-27T05:57:14.024490Z K 7 svn:log V 138 Print out a big warning if DFS can't find a channel to use. This way people debugging DFS won't be surprised when their AP stops talking. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-06-27T09:10:48.240445Z K 7 svn:log V 210 Log a warning if we cannot sandbox using capsicum, but only under debug level 1. It would be too noisy to log it as a proper warning as CAPABILITIES are not compiled into GENERIC by default. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-06-27T09:14:25.132531Z K 7 svn:log V 78 Compile capsicum support only if HAVE_CAPSICUM is defined. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-06-27T09:15:41.786213Z K 7 svn:log V 78 Compile hastd and hastctl with capsicum support. X-MFC after: capsicum merge END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-27T10:42:06.554099Z K 7 svn:log V 366 MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify disk drive. The boot0cfg(8) utility preserves these 4 bytes when is writing bootcode to keep a multiboot ability. Change gpart's bootcode method to keep DSN if it is not zero. Also do not allow writing bootcode with size not equal to MBRSIZE. PR: kern/157819 Tested by: Eir Nym MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-27T11:10:15.167935Z K 7 svn:log V 1036 MFC r223223: gre(4) was using a field in the softc to detect possible recursion. On MP systems this is not a usable solution anymore and could easily lead to false positives triggering enough logging that even using the console was no longer usable (multiple parallel ping -f can do). Switch to the suggested solution of using mbuf tags to carry per packet state between gre_output() invocations. Contrary to the proposed solution modelled after gif(4) only allocate one mbuf tag per packet rather than per packet and per gre_output() pass through. As the sysctl to control the possible valid (gre in gre) nestings does no sanity checks, make sure to always allocate space in the mbuf tag for at least one, and at most 255 possible gre interfaces to detect loops in addition to the counter. Submitted by: Cristian KLEIN (cristi net.utcluj.ro) (original version) PR: kern/114714 Reviewed by: Cristian KLEIN (cristi net.utcluj.ro) Reviewed bu: Wooseog Choi (ben_choi hotmail.com) Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-27T11:11:19.052322Z K 7 svn:log V 1036 MFC r223223: gre(4) was using a field in the softc to detect possible recursion. On MP systems this is not a usable solution anymore and could easily lead to false positives triggering enough logging that even using the console was no longer usable (multiple parallel ping -f can do). Switch to the suggested solution of using mbuf tags to carry per packet state between gre_output() invocations. Contrary to the proposed solution modelled after gif(4) only allocate one mbuf tag per packet rather than per packet and per gre_output() pass through. As the sysctl to control the possible valid (gre in gre) nestings does no sanity checks, make sure to always allocate space in the mbuf tag for at least one, and at most 255 possible gre interfaces to detect loops in addition to the counter. Submitted by: Cristian KLEIN (cristi net.utcluj.ro) (original version) PR: kern/114714 Reviewed by: Cristian KLEIN (cristi net.utcluj.ro) Reviewed bu: Wooseog Choi (ben_choi hotmail.com) Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-27T11:13:26.128397Z K 7 svn:log V 274 MFC r223267: Add 'show logstate' to usage(). MFC r223345: Add global -d and -e options to either print device numbers (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Reviewed by: jhb Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-27T11:13:58.886745Z K 7 svn:log V 274 MFC r223267: Add 'show logstate' to usage(). MFC r223345: Add global -d and -e options to either print device numbers (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Reviewed by: jhb Sponsored by: Sandvine Incorporated END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-06-27T11:49:58.729826Z K 7 svn:log V 163 MFC r223173: Add 2-clause BSD license. Approved by: David Kirchner (initial author) Requested by: Otto Moerbeek END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-06-27T12:21:11.281288Z K 7 svn:log V 79 Add possibility to pass IPv6 packets to a divert(4) socket. Submitted by: sem END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-27T12:42:48.594049Z K 7 svn:log V 488 EBR could contain an early stage of boot code. But we do not support it. Remove message about non empty bootcode, we can not break something while GEOM_PART_EBR_COMPAT is defined. But without GEOM_PART_EBR_COMPAT any changes in EBR are allowed and we can accidentally wipe the boot code. To do not break anything save the first EBR chunk and keep it untouched each time when we are changing EBR. Note that we are still not support boot code for EBR. PR: kern/141235 MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-27T13:02:23.374708Z K 7 svn:log V 16 Fix a mismerge. END K 10 svn:author V 2 se K 8 svn:date V 27 2011-06-27T13:23:51.694824Z K 7 svn:log V 112 Add macros to specify owner, group and mode of config files for installation. Submitted by: Chris Rees (crees) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-27T13:58:24.838353Z K 7 svn:log V 606 - Remove the fake BPB from zfsldr. zfsldr doesn't support booting from floppies, so it will not be used as the start of an emulated floppy image on a bootable CD which is what the fake BPB was used for. - Only check that EDD packet mode is available once at the start of zfsldr rather than for each disk sector now that we read data in one sector at a time. As a result, collapse the remaining bits of read up into nread and rename nread to read. - Restore a return at the end of putstr that I removed in the previous revision. Tested by: Henri Hennebert (earlier version) MFC after: 1 week END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-27T15:13:12.163627Z K 7 svn:log V 21 Fix style(9) issues. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-27T16:24:36.366544Z K 7 svn:log V 142 Build Scrt.o on powerpc64. Its introduction on other platforms got lost during the period of time the powerpc64 port was on a project branch. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-27T16:54:59.163838Z K 7 svn:log V 124 Add missing include of Support/Host.h, needed for sys::getHostCPUName() This function is called only when the host is ia64. END K 10 svn:author V 3 kan K 8 svn:date V 27 2011-06-27T18:19:54.114588Z K 7 svn:log V 73 Add missing support to generate well-formed CTF data in dynamic modules. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-06-27T18:56:43.836522Z K 7 svn:log V 103 MFC r222225 (pjd): Recognize BIO_FLUSH requests and pass them to userland. Approved by: pjd (mentor) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-06-27T20:04:13.093634Z K 7 svn:log V 970 MFC r222087, r222108, r222115, r222116, r222117, r222118, r222119, r222120, r222121: r222087 (pjd): - Add support for AF_INET6 sockets for %S format character. - Use inet_ntop(3) instead of reimplementing it. - Use %hhu for unsigned char instead of casting it to unsigned int and using %u. r222108 (pjd): In preparation for IPv6 support allow to specify multiple addresses to listen on. r222115 (pjd): Rename proto_tcp4.c to proto_tcp.c in preparation for IPv6 support. r222116 (pjd): Rename tcp4 to tcp in preparation for IPv6 support. r222117 (pjd): Allow [ ] characters in strings. They might be used in IPv6 addresses. r222118 (pjd): Now that hell is fully frozen it is good time to add IPv6 support to HAST. r222119 (pjd): Rename ipv4/ipv6 to tcp4/tcp6. r222120 (pjd): If no listen address is specified, bind by default to: tcp4://0.0.0.0:8457 tcp6://[::]:8457 r222121 (pjd): Document IPv6 support. Approved by: pjd (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-27T20:32:19.279805Z K 7 svn:log V 35 Regenerate usb.conf after r223566. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-27T20:59:43.749092Z K 7 svn:log V 476 MFC r223486, r223489, r223490, r223511, r223512, r223513, r223515, r223518, r223519, r223521, r223534, r223535, r223536, r223537, r223538, r223543, r223288, r223604 and r223566: - Export all USB device ID's in so-called sections. - Fix duplicate occurence of a USB ID in if_urtw and if_zyd. - Add new tool to autogenerate nomatch entries for devd. - Add new usb.conf file to auto-load USB drivers. - Fix some issues related to the nomatch notifications. PR: misc/157903 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-27T21:04:35.177586Z K 7 svn:log V 190 MFC r223467 and r223472: - Add more USB templates for various USB device classes - Add basic template support for USB 3.0 - Export definition of template sysctl numbers through usb_ioctl.h END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-27T21:14:25.053443Z K 7 svn:log V 37 Add missing chunk in MFC of r215095. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-27T21:27:12.920404Z K 7 svn:log V 314 Disable microcode loading for 82550 and 82550C controllers. Loading the microcode caused SCB timeouts. Linux driver does not allow microcode loading for these controllers and jfv also confirmed that there is no need to do and it shouldn't. PR: kern/103332 Additional confirmation from: jfv MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-27T21:30:04.958026Z K 7 svn:log V 45 MFC r219257: Add new USB ID. PR: usb/155229 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-06-27T21:37:38.760869Z K 7 svn:log V 71 Enable CPUSaver D102 E-step microcode loading for 82551 revision 0x10. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-27T21:43:56.453898Z K 7 svn:log V 82 Revert the entry point label to 'start' to unbreak the build. Pointy hat to: jhb END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-27T21:45:35.876838Z K 7 svn:log V 266 MFC r223495: - Add two new API's to libusb20 which can be used to retrive information about the parent USB device (which is usually an USB HUB): - libusb20_dev_get_parent_address - libusb20_dev_get_parent_port - Rename libusb20_compat01.c into libusb01.c END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-06-27T22:03:33.801996Z K 7 svn:log V 126 Add support for SCTP_PR_SCTP_NONE which I misded to add. This constant is defined in the socket API ID. MFC after: 2 months. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-27T22:13:15.298033Z K 7 svn:log V 641 - Add a simple hashtable implementation. It will be used for fixed string matching algorithms that have good-suffix and bad-character shift tables. For single-byte characters, an array indexed with the character itself is appropriate but for wide characters, this does not work any more because the number of characters are so high. Fortunately, most of the values are the same and there are only n distinct values, where n is the number of distinct characters in the pattern. Making use of this characteristics, it is enough to store the default value and the the value of the distinct characters can go into the hashtable. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-28T00:01:55.105495Z K 7 svn:log V 183 Make sure the extended regdomain word is initialised. As with the AR9285, the AR9287 has a default word of 0x1F which means all the various bits in that field are set on by default. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-28T00:58:12.137484Z K 7 svn:log V 349 Incorporate vendor commit ecdc5c0a7f7591a7cd4a: In userland, sign extend the offset for JA instructions. We currently use that to implement "ip6 protochain", and "pc" might be wider than "pc->k", in which case we need to arrange that "pc->k" be sign-extended, by casting it to bpf_int32. PR: kern/157188 Submitted by: plosher MFC after: 2 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-28T01:32:18.207402Z K 7 svn:log V 25 - Reduce diffs from HEAD END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-28T04:57:53.039846Z K 7 svn:log V 227 MFC r223364: When user specifies the bootcode with size smaller than VTOC_BOOTSIZE, gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check size of bootcode before writing it. Pointed out by: ru END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-28T05:04:31.776269Z K 7 svn:log V 227 MFC r223364: When user specifies the bootcode with size smaller than VTOC_BOOTSIZE, gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check size of bootcode before writing it. Pointed out by: ru END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-06-28T06:16:33.591625Z K 7 svn:log V 145 Allow mountpoints as arguments for the 'zfs get' command. Illumos-gate revision: 13295 Obtained from: Illumos (Feature #510) MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-06-28T06:26:03.651729Z K 7 svn:log V 14 IFC @ r222830 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-06-28T06:32:35.740566Z K 7 svn:log V 245 Disable vdev cache (readahead) by default. The vdev cache is very underutilized (hit ratio 30%-70%) and may consume excessive memory on systems with many vdevs. Illumos-gate revision: 13346 Obtained from: Illumos (Bug #175) MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-06-28T07:52:01.181088Z K 7 svn:log V 444 Add a new "REFCOMPRESSRATIO" property. For snapshots, this is the same as COMPRESSRATIO, but for filesystems/volumes, the COMPRESSRATIO is based on the data "USED" (ie, includes blocks in children, but not blocks shared with the origin). This is needed to figure out how much space a filesystem would use if it were not compressed (ignoring snapshots). Illumos-gate revision: 13387 Obtained from: Illumos (Feature #1092) MFC after: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-28T08:36:48.742035Z K 7 svn:log V 33 Remove duplicate header includes END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-06-28T08:41:44.210103Z K 7 svn:log V 268 Update ifc_len field of struct ifconf passed for the ioctl SIOCGIFCONF32 (i.e. under COMPAT_FREEBSD32) in case ifconf() returned success to match the native SIOCGIFCONF behavior. PR: kern/158369 Reported by: Paul Procacci MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-28T09:46:25.394093Z K 7 svn:log V 425 Compare port numbers correctly. They are stored by SRCPORT() in host byte order, so we need to compare them as such. Properly compare IPv6 addresses as well. This allows the, by default, 8 badaddrs slots per address family to work correctly and only print sendto() errors once. The change is no longer applicable to any latest upstream versions. Approved by: roberto Sponsored by: Sandvine Incorporated MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:11:40.229713Z K 7 svn:log V 170 Vendor import of tzdata2011h: - Russia scraps DST in 2011 - Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:15:03.101085Z K 7 svn:log V 19 Tag of tzdata2011h END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:24:01.221094Z K 7 svn:log V 123 MFV of tzdata2011h, r223627 - Russia scraps DST in 2011 - Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:27:49.152386Z K 7 svn:log V 123 MFC of tzdata2011h, r223629 - Russia scraps DST in 2011 - Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:29:18.582602Z K 7 svn:log V 123 MFC of tzdata2011h, r223629 - Russia scraps DST in 2011 - Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:30:30.316809Z K 7 svn:log V 123 MFC of tzdata2011h, r223629 - Russia scraps DST in 2011 - Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:38:12.354974Z K 7 svn:log V 56 Remove AN again now that tzdata2011h has been imported. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T10:46:02.353704Z K 7 svn:log V 1039 Bring iso3166 file in sync with HEAD MFC of recent updates on the ISO3166 file: r223633 - Remove AN again now that tzdata2011h has been imported. r222094 - Put AN back after finding out that tzsetup(1) will complain that it doesn't exist. It will be removed again once the tzdata distribution files have been updated with the replacements for AN. r222014 - Revert change to "MF" I made in r189767. I bet that at the time of r189767 I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm and "MF" was officially spelled in English as "Saint Martin" there, but now that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English" spelling!) they seem to have added a "(French part)" suffix to "MF". Since this is also in line with Newsletter VI-1 (2007-09-21), catch up. r222011 - ISO3166: Update for newsletters VI-7 and VI-8 from 2010 - Name change for SH - BQ, CW, and SX replace AN Reviewed by: ru r222010 - Whitespace and typo fixes. Found by: codespell Reviewed by: ru END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T11:01:11.486630Z K 7 svn:log V 1735 Get ISO3166 in sync with head. MFC of recent updates on the ISO3166 file: r223633 - Remove AN again now that tzdata2011h has been imported. r222094 - Put AN back after finding out that tzsetup(1) will complain that it doesn't exist. It will be removed again once the tzdata distribution files have been updated with the replacements for AN. r222014 - Revert change to "MF" I made in r189767. I bet that at the time of r189767 I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm and "MF" was officially spelled in English as "Saint Martin" there, but now that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English" spelling!) they seem to have added a "(French part)" suffix to "MF". Since this is also in line with Newsletter VI-1 (2007-09-21), catch up. r222011 - ISO3166: Update for newsletters VI-7 and VI-8 from 2010 - Name change for SH - BQ, CW, and SX replace AN Reviewed by: ru r222010 - Whitespace and typo fixes. Found by: codespell Reviewed by: ru r198948 - Revert the spelling of Taiwan to be politically neutral in accordance with the policy published at http://www.freebsd.org/internal/i18n.html. Requested by: core (murray) r197392 - List newsletters VI-2, VI-3 and VI-4 that were already applied. - Apply newsletters VI-5 (BO's name change) and VI-6 (VE's name change). r191347 - Back out my previous change r191197 - Change Taiwan, Province of China to Taiwan, Republic of China r189767 - Switch to using official English short country names. r174241 - Update with data from Newsletter VI-1 2007-09-21: Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF). This allows an MFV of src/share/zoneinfo which uses these two new codes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-06-28T11:03:39.903749Z K 7 svn:log V 1736 Bring ISO3166 is sync with head MFC of recent updates on the ISO3166 file: r223633 - Remove AN again now that tzdata2011h has been imported. r222094 - Put AN back after finding out that tzsetup(1) will complain that it doesn't exist. It will be removed again once the tzdata distribution files have been updated with the replacements for AN. r222014 - Revert change to "MF" I made in r189767. I bet that at the time of r189767 I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm and "MF" was officially spelled in English as "Saint Martin" there, but now that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English" spelling!) they seem to have added a "(French part)" suffix to "MF". Since this is also in line with Newsletter VI-1 (2007-09-21), catch up. r222011 - ISO3166: Update for newsletters VI-7 and VI-8 from 2010 - Name change for SH - BQ, CW, and SX replace AN Reviewed by: ru r222010 - Whitespace and typo fixes. Found by: codespell Reviewed by: ru r198948 - Revert the spelling of Taiwan to be politically neutral in accordance with the policy published at http://www.freebsd.org/internal/i18n.html. Requested by: core (murray) r197392 - List newsletters VI-2, VI-3 and VI-4 that were already applied. - Apply newsletters VI-5 (BO's name change) and VI-6 (VE's name change). r191347 - Back out my previous change r191197 - Change Taiwan, Province of China to Taiwan, Republic of China r189767 - Switch to using official English short country names. r174241 - Update with data from Newsletter VI-1 2007-09-21: Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF). This allows an MFV of src/share/zoneinfo which uses these two new codes. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-28T11:57:25.562561Z K 7 svn:log V 171 Update packet filter (pf) code to OpenBSD 4.5. You need to update userland (world and ports) tools to be in sync with the kernel. Submitted by: mlaier Submitted by: eri END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-06-28T12:32:24.382009Z K 7 svn:log V 695 Remove needless file due to Russia scraps DST in 2011. > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M calendars/ru_RU.KOI8-R/calendar.all D calendars/ru_RU.KOI8-R/calendar.msk END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-28T12:51:08.247440Z K 7 svn:log V 73 Remove pc_cpumask and pc_other_cpus from MIPS support. Tested by: gonzo END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-28T13:13:06.376546Z K 7 svn:log V 63 Remove pc_cpumask usage from i386 and XEN. Tested by: pluknet END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-28T13:14:39.534398Z K 7 svn:log V 47 Remove pc_cpumask usage from dtrace MD support END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-28T14:07:28.866572Z K 7 svn:log V 105 LibUSB v1.0: Need at least one frame when doing the dummy open else clear stall won't work in that case. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-28T14:10:39.274175Z K 7 svn:log V 45 MFC r223642. LibUSB v1.0 clear stall bugfix. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-06-28T14:26:34.892820Z K 7 svn:log V 234 Run load_rc_config before stop_cmd definition, so that ${quotaoff_flags} is correctly expanded inside stop_cmd instead of getting nothing. PR: conf/157687 Reported by: Dmitry Banschikov MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-28T14:40:17.801865Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-28T15:00:17.619291Z K 7 svn:log V 74 - Avoid multiple inclusions of hashtable.h - Make this code WARNS=6 clean END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-28T15:19:45.782857Z K 7 svn:log V 677 - Add fixed string matching code. It is not tested yet but compiles with WARNS=6 and tries to suit TRE's coding style for future upstream submission. This code will be used to match literal and literal + .$^ patterns with a fixed string matching algorithm, which is currently the quick search algorithm but may be switched to Boyer-Moore or some variant if it proves more efficient. This is also a base for heuristical matching, where the heavy regex matching algorithm is only used for smaller contexts that possibly match the regular expression. The code is not integrated yet to TRE, those changes will follow. This code has been refactored from BSD grep. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-28T16:16:43.020407Z K 7 svn:log V 819 - In gem_reset_rx() also reset the RX MAC which is necessary in order to get it out of a stuck condition that can be caused by GEM_MAC_RX_OVERFLOW. - In gem_reset_rxdma() call gem_setladrf() in order to reprogram the RX filter and restore the previous content of GEM_MAC_RX_CONFIG. While at it consistently use the newly introduced sc_mac_rxcfg throughout the driver instead of reading the its old content. - Increment if_iqdrops instead of if_ierrors in case of RX buffer allocation failure. - According to the GEM datasheet the RX MAC should also be disabled in gem_setladrf() before changing its configuration. - Add error messages to gem_disable_{r,t}x() and take advantage of these throughout the driver instead of duplicating their functionality all over the place. In joint forces with: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-28T16:44:02.716407Z K 7 svn:log V 53 Fix typo in r223648 which was accidentally committed END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-28T17:51:47.018293Z K 7 svn:log V 57 Add the LLVM extras on this branch. Obtained from: dim@ END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-06-28T19:27:34.075131Z K 7 svn:log V 1273 MFC r222164, r222228, r222467, r223181: r222164 (pjd): Recognize HIO_FLUSH requests. r222228 (pjd): Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH requests as well as number of activemap updates. Number of BIO_WRITEs and activemap updates are especially interesting, because if those two are too close to each other, it means that your workload needs bigger number of dirty extents. Activemap should be updated as rarely as possible. r222467: If READ from the local node failed we send the request to the remote node. There is no use in doing this for synchronization requests. r223181: In HAST we use two sockets - one for only sending the data and one for only receiving the data. In r220271 the unused directions were disabled using shutdown(2). Unfortunately, this broke automatic receive buffer sizing, which currently works only for connections in ETASBLISHED state. It was a root cause of the issue reported by users, when connection between primary and secondary could get stuck. Disable the code introduced in r220271 until the issue with automatic buffer sizing is not resolved. Reported by: Daniel Kalchev , danger, sobomax Tested by: Daniel Kalchev , danger Approved by: pjd (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-06-28T19:59:46.273428Z K 7 svn:log V 134 Revert the mechanical change from 'file system' to 'filesystem', committed in r223429. As bde@ pointed out, it was mostly backwards. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-28T20:28:11.408283Z K 7 svn:log V 22 Sync with head@223652 END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-06-28T20:57:54.823165Z K 7 svn:log V 242 Make activemap_write_start/complete check the keepdirty list, when stating if we need to update activemap on disk. This makes keepdirty serve its purpose -- to reduce number of metadata updates. Discussed with: pjd Approved by: pjd (mentor) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-06-28T21:01:32.436010Z K 7 svn:log V 247 Check the returned value of activemap_write_complete() and update matadata on disk if needed. This should fix a potential case when extents are cleared in activemap but metadata is not updated on disk. Suggested by: pjd Approved by: pjd (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-28T21:21:10.620295Z K 7 svn:log V 22 Sync with head@223653 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-28T22:52:38.863374Z K 7 svn:log V 456 Fix the new NFSv4 client so that it doesn't fill the cached mode attribute in as 0 when doing writes. The change adds the Mode attribute plus the others except Owner and Owner_group to the list requested by the NFSv4 Write Operation. This fixed a problem where an executable file built by "cc" would get mode 0111 instead of 0755 for some NFSv4 servers. Found at the recent NFSv4 interoperability Bakeathon. Tested by: tdh at excfb.com MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-06-29T01:31:09.125028Z K 7 svn:log V 10 My $USER. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-06-29T01:32:50.436607Z K 7 svn:log V 17 Branch for a WIP END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-29T05:41:14.681112Z K 7 svn:log V 316 Initialize elements of state array when creating the GPT table. This fixes the problem, when the secondary GPT header is not erased when partition table destroyed. Move equal operations from g_part_gpt_create and g_part_gpt_recover to the separate function g_gpt_set_defaults. Reported by: dwhite MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-29T06:45:44.252165Z K 7 svn:log V 215 Improve error reporting. Use corresponding error message when file to be preprocessed is missing. Also suggest to use absolute pathname if -p option is specified. PR: bin/156653 MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-29T08:28:39.139671Z K 7 svn:log V 230 revert r222723: wrong change was committed The commit intended to add SNDCTL_DSP_HALT, but actually added SNDCTL_SEQ_HALT, which is not defined in the OSS specs. Reported by: Pan Tsu Pointyhat to: gerald, avg END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-06-29T08:32:37.409846Z K 7 svn:log V 216 add SNDCTL_DSP_HALT specified by OSS This is really a new name for SNDCTL_DSP_RESET. And this what commit r222723 should really have been in the first place. PR: kern/156874 Submitted by: gerald MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-29T08:50:57.525323Z K 7 svn:log V 4 MFC END