ƒ´=211000 178 449 236 448 159 188 159 261 575 575 369 369 336 336 312 312 267 140 201 229 249 260 381 632 522 127 129 262 545 180 243 400 720 336 282 1675 254 241 116 161 187 279 575 158 134 124 136 138 226 215 274 621 314 127 206 337 189 229 206 169 1445 170 139 149 277 254 439 238 210 256 308 308 733 308 125 137 189 250 181 160 306 216 135 181 279 200 225 177 704 126 798 253 289 230 169 205 649 175 175 633 633 221 221 225 170 139 771 147 161 106 135 139 618 277 460 136 437 116 252 141 128 131 305 219 139 139 157 550 202 191 173 374 440 141 1972 169 183 1245 615 217 178 210 269 245 125 114 126 162 1006 162 474 129 210 650 547 350 648 143 639 196 403 309 164 308 161 312 271 348 185 198 247 143 194 199 116 148 120 380 275 K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T10:51:01.899190Z K 7 svn:log V 353 MFC r209235, r210381 (bug fix for r209235): * Allow partial MB/GB values to be entered in the slice and label editors. * Don't strdup the name when calling deviceRegister because the string is copied within new_device. * Use a subtype of 165, not 3, when creating a slice in noninteractive mode. PR: bin/135333 PR: bin/66350 Approved by: rrs (mentor) END K 10 svn:author V 3 yar K 8 svn:date V 27 2010-08-07T11:13:50.421938Z K 7 svn:log V 143 Move the sentences telling the defaults for -c and -w to where they belong. Previously they were misplaced, i.e., swapped. MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T11:15:32.892940Z K 7 svn:log V 352 MFC r209235, r210381 (bug fix for r209235): * Allow partial MB/GB values to be entered in the slice and label editor. * Don't strdup the name when calling deviceRegister because the string is copied within new_device. * Use a subtype of 165, not 3, when creating a slice in noninteractive mode. PR: bin/135333 PR: bin/66350 Approved by: rrs (mentor) END K 10 svn:author V 3 yar K 8 svn:date V 27 2010-08-07T11:32:17.240768Z K 7 svn:log V 67 Properly spell and mark up the name of kern.hz. MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2010-08-07T11:48:31.926985Z K 7 svn:log V 96 Clean up the style and markup of the paragraph on fractional wait intervals. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-07T11:53:38.826498Z K 7 svn:log V 67 Add compat32 definition for (old) struct ostat. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-07T11:57:13.199007Z K 7 svn:log V 168 Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS in the compat32 code. Use sv_usrstack instead of FREEBSD32_USRSTACK as well. MFC after: 1 week END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:18:36.753684Z K 7 svn:log V 479 MFC r209764: Increase the default and minimum partition sizes. Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prevent installkernel failing 1GB is a better default. Likewise, applications are storing more data in /var so 4GB is more reasonable on a modern machine. The previous minimum partition sizes were too small to hold a minimal installation, and have been adjusted accordingly. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:21:29.247552Z K 7 svn:log V 479 MFC r209764: Increase the default and minimum partition sizes. Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prevent installkernel failing 1GB is a better default. Likewise, applications are storing more data in /var so 4GB is more reasonable on a modern machine. The previous minimum partition sizes were too small to hold a minimal installation, and have been adjusted accordingly. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:41:12.476270Z K 7 svn:log V 273 MFC r209467: When installing on a machine which doesn't have a VGA card installed, enable a getty on the serial port so that it's possible to login when the system is rebooted. PR: bin/23098 Submitted by: Doug Ambrisko Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:46:49.709140Z K 7 svn:log V 273 MFC r209467: When installing on a machine which doesn't have a VGA card installed, enable a getty on the serial port so that it's possible to login when the system is rebooted. PR: bin/23098 Submitted by: Doug Ambrisko Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:51:44.625572Z K 7 svn:log V 240 MFC r209468: Make it easier to cancel a failing installation by only attempting to extract distributions once. If a distribution fails to fetch/extract and the user doesn't want to retry, abort the installation. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:54:12.882721Z K 7 svn:log V 240 MFC r209468: Make it easier to cancel a failing installation by only attempting to extract distributions once. If a distribution fails to fetch/extract and the user doesn't want to retry, abort the installation. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T12:58:01.837581Z K 7 svn:log V 216 MFC r209469: If a device can't be opened, don't keep going but display the error returned from open() and quit. PR: bin/81035 Submitted by: Peter Schuller Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T13:02:26.032927Z K 7 svn:log V 216 MFC r209469: If a device can't be opened, don't keep going but display the error returned from open() and quit. PR: bin/81035 Submitted by: Peter Schuller Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T13:25:46.546268Z K 7 svn:log V 171 MFC r209466: Add some more modules to loader.conf. Remove if_awi since support for it was removed 2 years ago. PR: conf/147126 PR: conf/116071 Approved by: rrs (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-07T13:26:08.281865Z K 7 svn:log V 48 Document the MEXTADD macro. MFC after: 2 weeks END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T13:34:52.330218Z K 7 svn:log V 105 MFC r209684: Use ISO C99 integer types instead of the BSD-specific u_int*_t. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T13:36:55.590737Z K 7 svn:log V 133 MFC r209709: Increment 'sa' at the end of the loop; otherwise, only the first address ever gets checked. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T13:39:59.790820Z K 7 svn:log V 153 MFC r209748: Simplify the wording of the console configuration dialogs since we now only have a single video console driver. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-07T13:42:54.697434Z K 7 svn:log V 164 MFC r210175: FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring and installing via such devices from sysinstall. Approved by: rrs (mentor) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-07T16:08:37.610023Z K 7 svn:log V 286 Sort this file a little better: the vendors are supposed to be sorted by vendor ID in the vendor section, and by symbolic name in the product section. Products are sorted by product ID. While here, get rid of a duplicate Microsoft Mouse entry, revealed by sorting. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-07T16:14:40.531785Z K 7 svn:log V 537 Sync the list of devices supported by uslcom(4) with NetBSD, Linux, OpenBSD and BeOS. The devices supported by uslcom(4) are now in sync with: NetBSD src/sys/dev/usb/uslsa.c 1.11 OpenBSD src/sys/dev/usb/uslcom.c 1.20 Linux source/drivers/usb/serial/cp210x.c from kernel 2.6.35 BeOS usb_serial/driver.c 1.32 Two vendor/product IDs from Linux have not been added to uslcom(4): SILABS SAEL - This device has special code in u3g to support it SILABS GSM2228 - I suspect this should also be covered by u3g(4). MFC after: 1 week END K 10 svn:author V 4 olli K 8 svn:date V 27 2010-08-07T16:20:12.983637Z K 7 svn:log V 428 syslogd(8) already supports *sending* log messages to non- standard ports, but it can't *receive* them (port 514 is hardcoded). This commit adds that missing feature. (NB: I actually needed this feature for a server farm where multiple jails run with shared IP addresses, and every jail should have its own syslogd process.) As a side effect, syslogd now compiles with WARNS=6. Approved by: des (mentor) MFC after: 3 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-07T16:57:27.451564Z K 7 svn:log V 31 Remove unnecessary assignment. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-07T17:01:01.314037Z K 7 svn:log V 33 Remove an unnecessary assignment END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-07T17:02:36.093274Z K 7 svn:log V 167 Add a keymap for the Swiss-German Macbook keyboard. PR: conf/139997 Submitted by: Andreas Tobler MFC after: 2 weeks Committed from: Bugathon #7 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-07T17:19:46.490624Z K 7 svn:log V 448 - Fix a bug when newptr == NULL - Fix spelling for the exact operations - Remove a stale comment and rework another one Note: Besides the fact that this sysctl may needing an enum for handling the operations from the userland in a more polite manner, I'm a bit unsure about its purpose and if we might use it. Is that used for emulating panic and check if netdump really works? If yes, probabilly this might be just in debugging mode eventually. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-07T17:30:15.007160Z K 7 svn:log V 84 Strip nd_active as it completely aliases nd_enabled, at least in its current usage. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-07T17:39:22.566460Z K 7 svn:log V 146 Add a tunable for nd_enable. As long as TUNABLE_INT is discouraged, however, switch the type int -> long and adjust accordingly the sysctl stubs. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-08-07T17:57:58.830132Z K 7 svn:log V 304 Fix a bug where MSG_TRUNC was not returned in all necessary cases for SOCK_DGRAM socket. MSG_TRUNC was only returned when some mbufs could not be copied to the application. If some data was left in the last mbuf, it was correctly discarded, but MSG_TRUNC was not set. Reviewed by: bz MFC after: 3 weeks END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-08-07T18:30:10.746689Z K 7 svn:log V 624 To help with sequential read UFS performance on modern systems, increase the vfs.read_max default. For most systems this means going from 128 KiB to 256 KiB, which is still very conservative and lower than what most other operating systems use, but as a sane default should not interfere much with existing systems. For systems with RAID volumes and/or virtualization envirnments, where read performance is very important, increasing this sysctl tunable to 32 or even more will demonstratively yield additional performance benefits. If MAXPHYS ever gets bumped up, it will probably be a good idea to slave read_max to it. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-07T19:01:59.813879Z K 7 svn:log V 241 Merge r210575 from head: Provide descriptions for three vendors and four devices in usbdevs. Use the official vendor listed for 0x076b, rather than Omnikey, as in the PR. PR: usb/123351 Submitted by: Marcin Cieslak END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-07T19:08:39.837198Z K 7 svn:log V 187 Merge r210534 from head: Add support for the Longcheer WM66 USB HSDPA Modem to u3g(4) PR: usb/129945 Submitted by: Antonio Hilario Committed from: Bugathon #7 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T19:27:36.677666Z K 7 svn:log V 1579 Step 4 of the internal whitespace cleanup: * if/then/fi clauses with only 1 action get the && treatement * With multiple actions, they get real if/then/fi blocks (generally) * Re-wrap some of the heinously long lines [1] * Properly (4-space) indent lines continued after pipes [1] * Un-wrap some more short clauses (for, case, etc.) * Move the code to fetch distfiles from do_fetch() in line Tweaks to --clean-packages ========================== 1. Check first if a package matches an installed version and if not offer to delete it. 2. Sort the output of find 3. If there are empty directories to delete, notify the user, otherwise tell the user there is nothing to delete New Feature =========== Add the ability to ignore failed backup package creation by setting PM_IGNORE_FAILED_BACKUP_PACKAGE in the environment (rc file, etc.) General cleanups ================ 1. local'ize a couple more variables 2. Add some more tags to fi lines in long blocks 3. When taking user input, use a safer style of accepting the default answer. If the user types the matching option, or nothing, we accept it. Anything else, we don't. 4. Only run check_state() to see if a port is FORBIDDEN, etc. the first time through 5. In the package do_fetch, use meaninful strings for the flag variables instead of just 1 to make debugging easier Bug Fixes ========= 1. For the new logging feature, if $PM_LOG is not writable it needs to be unset so we don't try writing to it later; and fix one more \n from $INSTALLED_LIST 2. Inspired by: brucification [1] (thanks!) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-07T19:27:49.609095Z K 7 svn:log V 159 Merge r210534 from head: Add support for the Longcheer WM66 USB HSDPA Modem to u3g(4) PR: usb/129945 Submitted by: Antonio Hilario END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T20:07:15.623889Z K 7 svn:log V 146 Add a $FreeBSD line Re-sort the --options to make it easier to maintain Use a better method of generating completions for portmaster [a-z] END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T20:10:56.705287Z K 7 svn:log V 22 Switch to svn version END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T20:22:02.858299Z K 7 svn:log V 67 Add $FreeBSD$ Add new features, and update -G/--force-config help END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T20:33:29.611373Z K 7 svn:log V 93 Add a note about reading portmaster(8) Add a note that -t should not be used in the rc file END K 10 svn:author V 4 olli K 8 svn:date V 27 2010-08-07T20:46:30.476274Z K 7 svn:log V 185 jh pointed out that src/usr.sbin already has a global WARNS=6 setting in HEAD (unlike stable/8), so it's best to remove the line entirely. Pointed out by: jh Approved by: des (mentor) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T21:49:05.636975Z K 7 svn:log V 480 Update for new features, -t for --clean-distfiles, --clean-packages Update for new behavior of -G Add documentation of -F option which was somehow missing previously Add a warning to -t option Remove mention of deprecated items Add a warning that custom OPTIONS + --index-only == you must build your own INDEX file Add a mention of ports-mgmt/portconf Improve the markup by using .Sy to fake consistency for some of the optional flags that are hard to represent otherwise. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T22:08:58.389075Z K 7 svn:log V 64 Document the PM_LOG and PM_IGNORE_FAILED_BACKUP_PACKAGE options END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T22:11:05.829146Z K 7 svn:log V 40 s/PREFIX/LOCALBASE/ to match the script END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T22:16:54.461845Z K 7 svn:log V 30 Set the svn:keywords property END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T22:50:43.091337Z K 7 svn:log V 42 Don't bother with %%LOCALBASE%% after all END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-07T23:16:21.534470Z K 7 svn:log V 42 Marvell model number 0x06 is 88E1101 PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-07T23:33:06.818662Z K 7 svn:log V 129 Controller does not seem to support more than 1024 bytes DMA burst. Limit DMA burst size to be less than or equal to 1024 bytes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-07T23:41:46.263064Z K 7 svn:log V 118 Do not touch CMB TX threshold register when CMB is not used. Note, alc(4) does not use CMB at all due to silicon bug. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-08-08T00:01:08.312083Z K 7 svn:log V 178 For CPUs which ignore TD_CV and support hardware unaliasing don't bother doing page coloring. This results in a small but measurable performance improvement in buildworld times. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-08-08T00:09:22.776677Z K 7 svn:log V 525 - Introduce a cpu_ipi_single() function pointer in order to send IPIs to single CPUs more efficiently with Cheetah(-class) and Jalapeno CPUs. Besides being used to implement the ipi_cpu() introduced in r210939, cpu_ipi_single() will also be used internally by the sparc64 MD code. - Factor out the Jalapeno support from the Cheetah IPI send functions in order to be able to more easily and efficiently implement support for more than 32 target CPUs as well as a workaround for Cheetah+ erratum 25 for the latter. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-08T00:12:31.434562Z K 7 svn:log V 217 Always disable ASPM L0s and enable L1 before entering into WOL suspend state. Also disable master clock after PHY power down, this is supposed to save more power. The master clock should be enabled if WOL is active. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-08T00:23:36.238014Z K 7 svn:log V 31 Remove unnecessary assignment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-08T00:43:41.891656Z K 7 svn:log V 109 Cache PCIY_PMG and PCIY_EXPRESS capability pointer to softc and use it instead of calling pci_find_extcap(). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2010-08-08T01:25:33.288935Z K 7 svn:log V 239 Fix -R when used with -p. Previously, the uname and gname weren't overwritten, so the disk restore would use those to lookup the original uid/gid again. Clearing the uname and gname prevents this. Reported by: swell.k MFC after: 7 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-08T02:45:14.766174Z K 7 svn:log V 97 This isn't WARNS=6 safe. It fails to build on mips. Retore old WARNS?=3 until that's resolved. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-08T02:45:48.939959Z K 7 svn:log V 137 Remove unneeded use of struct timezone. We can safely call gettimeofday() without passing a struct timezone. We're not using it at all. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-08T02:51:32.901618Z K 7 svn:log V 114 Don't use struct timezone. The timezone structure acquired by gettimeofday() is not used at all. Just remove it. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-08T06:18:05.316055Z K 7 svn:log V 76 Do not build real mode emulator for i386. We use VM86 again since r210877. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-08T07:04:27.453521Z K 7 svn:log V 1347 Address an edge condition that we found at work, where the carp(4) interface goes to issue LINK_UP, then LINK_DOWN, then LINK_UP at cold boot. This behavior is not observed when carp(4) interface is created slightly later, when the underlying interface is fully up. Before this change what happen at boot is roughly: - ifconfig creates em0 interface; - ifconfig clones a carp device using em0; (em0's link state is DOWN at this point) - carp state: INIT -> BACKUP [*] - carp state: BACKUP -> MASTER - [Some negotiate between em0 and switch] - em0 kicks up link state change event (em0's link state is now up DOWN at this point) - do_link_state_change() -> carp_carpdev_state() - carp state: MASTER -> INIT (via carp_set_state(sc, INIT)) [+] - carp state: INIT -> BACKUP - carp state: BACKUP -> MASTER At the [*] stage, em0 did not received any broadcast message from other node, and assume our node is the master, thus carp(4) sets the link state to "UP" after becoming a master. At [+], the master status is forcely set to "INIT", then an election is casted, after which our node would actually become a master. We believe that at the [*] stage, the master status should remain as "INIT" since the underlying parent interface's link state is not up. Obtained from: iXsystems, Inc. Reported by: jpaetzel MFC after: 2 months END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-08T07:34:37.654739Z K 7 svn:log V 79 MFC r208612: Fixes from NetBSD for nvi visual mode PR: bin/21089, bin/136393 END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-08T08:19:23.572611Z K 7 svn:log V 48 Small style(9) fix: use tabs instead of spaces. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-08T08:22:53.593410Z K 7 svn:log V 58 Remove unneeded struct timezone passed to gettimeofday(). END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-08T08:43:01.715148Z K 7 svn:log V 179 License ACK is not required for the wpifw module nor when building it into the kernel. PR: conf/148758 Submitted by: Joe Talbott MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-08T09:06:59.593894Z K 7 svn:log V 162 MFC r207877: In g_zero_destroy_geom(), return 0 instead of EBUSY in the success case. EBUSY was probably used as a workaround for the deadlock fixed in r207671. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-08T09:12:30.119698Z K 7 svn:log V 347 MFC r207878: - Don't return EAGAIN from gv_unload(). It was used to work around the deadlock fixed in r207671. - Wait for worker process to exit at class unload. The worker process was not guaranteed to exit before the linker unloaded the module. - Use 0 as the worker process exit status instead of ENXIO and style the NOTREACHED comment. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-08T09:40:09.616304Z K 7 svn:log V 143 Add a termcap entry for rxvt-256color. PR: conf/147726 Submitted by: Sterling (Chip) Camden MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-08T12:19:49.976370Z K 7 svn:log V 118 MFC r208717: Don't try to call cdevsw d_close() method when devfs_close() is called because of insmntque1() failure. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-08T12:23:02.164650Z K 7 svn:log V 158 loadandclear() for PTEs are not needed on MIPS. The PTEs are software managed and we already take pmap lock for PTE operations(see r210922) Reviewed by: alc END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-08T13:43:20.847535Z K 7 svn:log V 212 MFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not (in /etc/rc.conf). This fixes an apparent confusion between test(1) and sh(1) syntax for AND/OR. PR: conf/149036 Submitted by: pluknet END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-08T13:45:47.079016Z K 7 svn:log V 212 MFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not (in /etc/rc.conf). This fixes an apparent confusion between test(1) and sh(1) syntax for AND/OR. PR: conf/149036 Submitted by: pluknet END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-08-08T14:00:21.576051Z K 7 svn:log V 637 - As it is not possible for sched_bind(9) to context switch with td_critnest > 1 when not already running on the desired CPU read the TICK counter of the BSP via a direct cross trap request in that case instead. - Treat the STICK based timecounter the same way as the TICK based one regarding its quality and obtaining the counter value from the BSP. Like the TICK timers the STICK ones also are only synchronized during their startup (which might not result in good synchronicity in the first place) but not afterwards and might drift over time, causing problems when the time is read from different CPUs (see r135972). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-08T14:13:10.661755Z K 7 svn:log V 212 MFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not (in /etc/rc.conf). This fixes an apparent confusion between test(1) and sh(1) syntax for AND/OR. PR: conf/149036 Submitted by: pluknet END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-08-08T14:37:16.059377Z K 7 svn:log V 30 Wrap some sun4u-only symbols. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-08T15:29:27.710767Z K 7 svn:log V 45 MFC r210861: /etc/rc.d/ip6fw was deprecated. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-08T15:35:17.229908Z K 7 svn:log V 93 Revert r211029. The suggestion to skip TUNABLE_INT() may not be well centered for all cases. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-08T15:44:43.447023Z K 7 svn:log V 153 - Compile netdump.debug.force just when NETDUMP_DEBUG in included - Fix the usage of nd_force_crash which is not necessarilly to have a static storage END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-08T16:20:32.140601Z K 7 svn:log V 87 Correct two error messages to match the failure they are reporting. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-08T16:52:47.655214Z K 7 svn:log V 64 Move the crash OID under debug.netdump.crash Suggested by: kib END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-08T16:55:27.800061Z K 7 svn:log V 211 Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c: Correct the login.conf variable name used for obtaining the login prompt. PR: conf/44717 (indirectly) Spotted by: gcooper MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-08T17:03:23.327687Z K 7 svn:log V 120 sh: Add more testcases for ${var:-word}. Whether POSIX requires these is unclear. They pass with 8-stable sh as well. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-08T19:07:59.705622Z K 7 svn:log V 41 Fix mismerge in r211035. Pointy hat: me END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2010-08-08T20:34:53.371288Z K 7 svn:log V 84 Don't pass sizeof(u_int) to an argument of SYSCLT_PROC that ends up not being used. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-08T20:53:00.658354Z K 7 svn:log V 184 The PL2302X can support any baud rate <= 6Mbps, allow any rate to be set. PR: usb/128324 Submitted by: Mike Durian (original patch) MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-08T21:04:27.736334Z K 7 svn:log V 104 Remove unnecessary duplicate letters in mksyntax.c, the table elements would just be overwritten twice. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-08T23:22:55.074429Z K 7 svn:log V 130 Back out r210974. Any convenience of not typing "persist" is outweighed by the possibility of unintended partially-formed jails. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-08T23:24:23.754648Z K 7 svn:log V 83 Back out r210975, which changed documentation to match the now backed-out r210974. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T00:23:57.795554Z K 7 svn:log V 607 The r208165 fixed a bug related to unsigned integer overflowing for the number of CPUs detection. However, that was not mention at all, the problem was not reported, the patch has not been MFCed and the fix is mostly improper. Fix the original overflow (caused when 32 CPUs must be detected) by just using a different mathematical computation (it also makes more explicit the size of operands involved, which is good in the moment waiting for a more complete support for a large number of CPUs). PR: kern/148698 Submitted by: Joe Landers Tested by: gianni MFC after: 10 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-08-09T00:36:22.884225Z K 7 svn:log V 31 Add a multipath oriented test. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-09T01:47:09.128141Z K 7 svn:log V 701 It seems some old Sundace(now IC Plus Corp.) controllers do not like memory mapped register access. Typical problem from the issue was MII access returned unreliable values. I'm not sure this comes from lack of register flushing in MII access after accessing STE_PHYCTL register though. To address the issue, read hints data that controls which type of memory mapping should be used in driver. ste(4) still prefers memory mapping to io mapping but honor hints entered by user except for controllers that have problems with memory mapping. The hint to use iomapping could be given by adding the following line to /boot/device.hints file. hint.ste.0.prefer_iomap="1" PR: kern/149285 MFC after: 5 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-09T06:02:23.010588Z K 7 svn:log V 158 Move from using MD5 to detect distinfo files to using SHA256. It is now universal except for a few ports, and hopefully we can drop MD5 altogether very soon. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-08-09T06:36:11.018442Z K 7 svn:log V 197 Return EIO if vdev->v_phys_read is NULL. This fixes booting from a ZFS mirror with a unavailable primary device. PR: kern/148655 Reviewed by: avg Approved by: delphij (mentor) MFC after: 3 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-09T07:58:32.844816Z K 7 svn:log V 137 MFC r210930: Typo fixes PR: docs/149314 Submitted by: olgeni ------------------------------------------------------------------------ END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-09T08:41:29.738811Z K 7 svn:log V 75 Add quotes around arguments to pm_sv() that throw off vim's syntax checker END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2010-08-09T09:26:17.888749Z K 7 svn:log V 111 "whereis netscape" gives empty output for quite a long time already. Suggest to use "whereis firefox" instead. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-09T12:36:36.580688Z K 7 svn:log V 556 - Add full support for header / data digests. - Increase target limit from 4 to 64; this limit will be removed entirely at a later time. - Improve recovery from lost network connections. - Fix some potential deadlocks and a serious memory leak. - Fix incorrect use of MH_ALIGN (instead of M_ALIGN), which makes no practical difference, but triggers a KASSERT with INVARIANTS. - Fix some warnings in iscontrol(8) and improve the man page somewhat. Submitted by: Daniel Braniss Sponsored by: Dansk Scanning A/S, Data Robotics Inc. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-08-09T14:25:58.283086Z K 7 svn:log V 79 MFC r210766: Fix the calltree top view that incorrectly filter out some nodes. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-08-09T14:26:52.460800Z K 7 svn:log V 79 MFC r210766: Fix the calltree top view that incorrectly filter out some nodes. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-08-09T14:29:23.015441Z K 7 svn:log V 536 MFC r210794: Allow file as a top source, it works with socket now. This will allow top monitoring using socket/ssh tunnelling of system without local symbols. client: pmcstat -R : -T -r monitored device: pmcstat -Sinstructions -O : - Move the file read in the event loop - Initialize and clean log in all cases - Preserve global stats value during top refresh - Fix the rtld/line resolver that ignore '-r' prefix - Support socket for '-R' (server mode) - Display the statistics when exiting top mode END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-08-09T14:30:45.459860Z K 7 svn:log V 536 MFC r210794: Allow file as a top source, it works with socket now. This will allow top monitoring using socket/ssh tunnelling of system without local symbols. client: pmcstat -R : -T -r monitored device: pmcstat -Sinstructions -O : - Move the file read in the event loop - Initialize and clean log in all cases - Preserve global stats value during top refresh - Fix the rtld/line resolver that ignore '-r' prefix - Support socket for '-R' (server mode) - Display the statistics when exiting top mode END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-08-09T14:32:45.330000Z K 7 svn:log V 124 MFC r210797: - Do not use the runtime mask when logfile is specified. - Revert the fix on rtld path that is not necessary. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-08-09T14:33:25.050602Z K 7 svn:log V 124 MFC r210797: - Do not use the runtime mask when logfile is specified. - Revert the fix on rtld path that is not necessary. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-09T14:48:31.595759Z K 7 svn:log V 130 Add descriptions to a handful of sysctl nodes. PR: kern/148580 Submitted by: Galimov Albert MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-09T17:22:14.655988Z K 7 svn:log V 74 Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet controller. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-09T17:27:27.276803Z K 7 svn:log V 45 Add entries for some devices I have locally. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-09T17:28:08.269981Z K 7 svn:log V 674 Add support for Atheros AR8151/AR8152 PCIe gigabit/fast ethernet controller. These controllers are known as L1D(AR8151) and L2CB/B2(AR8152). This change adds supports for the following controllers. o AR8151 v1.0(L1D) gigabit ethernet controller o AR8151 v2.0(L1D) gigabit ethernet controller o AR8152 v1.1(L2CB) fast ethernet controller o AR8152 v2.0(L2CB2) fast ethernet controller These controllers have the same feature of AR8131/AR8132 and support improved power saving control. The user visible change at this moment is reduced jumbo frame size from 9KB to 6KB. Many thanks to Atheros for continuing to support FreeBSD. HW donated by: Atheros Communications, Inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-09T17:33:03.310558Z K 7 svn:log V 51 Document newly added controller AR8151 and AR8152. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-09T17:34:57.335219Z K 7 svn:log V 69 No need to use grep to check if path start with /. Suggested by: ed END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-09T17:37:29.669408Z K 7 svn:log V 14 Small tweaks. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-09T17:40:59.187534Z K 7 svn:log V 43 Fix file system type detection on Solaris. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-09T17:42:04.560390Z K 7 svn:log V 47 Fix bind(2) and connect(2) support on Solaris. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-09T17:42:05.220120Z K 7 svn:log V 523 Attempt to autodetect the cype of chipset, rather than storing this within the device table. This code uses the same algorithm as used in the Linux, NetBSD and DragonflyBSD driver. While investigating this, it became apparent that the Linux driver always initialises the device, and not just in the PL2303HX case. Change uplcom(4) to do the same. This change allows us to synchronize our device ID list with Linux and NetBSD, without requiring knowledge of the chipset in use. Reviewed by: hselasky MFC after: 6 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-09T17:54:26.211819Z K 7 svn:log V 183 Reduce diffs between VM86 and X86EMU wrappers for x86bios_alloc() and x86bios_free(). Add strict sanity checks for VM86 wrapper and add strict page table locking for X86EMU wrapper. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-09T18:07:15.759012Z K 7 svn:log V 368 Make ^L with cons25 and origin mode bit more sane. Even though cons25 normally doesn't support origin regions, this emulator does allow you to do it. It makes more sense to blank only the origin region when emitting ^L instead of blanking the entire screen. Apart from that, we should always place the cursor inside the origin region, which doesn't happen right now. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-09T18:10:32.476198Z K 7 svn:log V 43 Initialize a variable just before its use. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-09T19:53:24.882494Z K 7 svn:log V 345 MFp4 CH180235: Add proto spacers to inet6sw like we have for legacy IP. This allows us to dynamically pf_proto_register() for INET6 from modules, needed by upcoming CARP changes and SeND. MC and SCTP could make use of it as well in theory in the future after upcoming VIMAGE vnet teardown work. Discussed with: will, anchie MFC after: 10 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-09T20:16:52.605371Z K 7 svn:log V 24 Linux has no strlcpy(). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T20:25:06.074481Z K 7 svn:log V 155 Simplify the logic for handling ipi_selected() and ipi_cpu() in the amd64/i386 case. Reviewed by: jhb Tested by: gianni MFC after: 1 month X-MFC: 210939 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T21:43:36.376037Z K 7 svn:log V 45 Move the netdump.h header into netinet part. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T21:45:05.267978Z K 7 svn:log V 32 Use the correct header markers. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-09T22:06:08.683658Z K 7 svn:log V 38 Tidy up printf() calls for debugging. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T22:19:22.541563Z K 7 svn:log V 208 Export some informations because they will be used by the userland server application. Also do some BSDification (using the right s/u_/u for bits types and moving the payload of the msg to be using uint8_t). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T22:22:06.018481Z K 7 svn:log V 122 As long as this header can be included from userland, include sys/types.h in order to avoid further inclusion from there. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-08-09T22:22:46.715142Z K 7 svn:log V 44 Elaborate on how hirunningspace was chosen. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T22:29:31.496477Z K 7 svn:log V 43 Add the server implementation of netdumps. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-09T22:30:14.443611Z K 7 svn:log V 61 Switch the use of hand-crafted list into a SLIST_* handling. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-08-09T22:56:10.790018Z K 7 svn:log V 454 Bumping the read-ahead count once more, to value equivalent to 512 KiB on most system, based on benchmark results on a low-end fibre channel SAN under VMWare: vfs.read_max read performance 8 (historical default) 83 MB/s 16 (recent bump) 131 MB/s 32 (this version) 152 MB/s 64 157 MB/s (results are +/- 3 MB/s) As read-ahead is heuristic, based on past IO requests, it shouldn't be problematic. The new default is still smaller then in other OSes. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-09T23:28:23.262352Z K 7 svn:log V 108 - Specifically mark a constant as unsigned long to quiet a warning only present with an older compiler. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-09T23:29:37.232524Z K 7 svn:log V 98 - Correct porting errors; p_ru is not always valid in 6, and i_ino was removed incompletely. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-08-09T23:32:37.873737Z K 7 svn:log V 78 Fix (hopefully) the spelling of "queuing." Submitted by: bf1783 at gmail com END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-10T05:15:35.455018Z K 7 svn:log V 280 Fix compilation error for 64-bit little endian build: libexec/rtld-elf/mips/reloc.c:196: warning: right shift count >= width of type When the expression '(r_info) >> 32' was passed to bswap32() it was promptly changed to '(uint32_t)(r_info) >> 32' which is not what we intended. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-10T06:25:08.345002Z K 7 svn:log V 346 Tidy up locking and memory allocation for the real mode emulator wrapper. Now we use a regular mutex instead of a spin mutex. When we enter and exit the emulator, spinlock_enter() and spinlock_exit() are additionally used. Move some page table related stuff from x86bios_init() and x86bios_uninit() to x86bios_map_mem() and x86bios_unmap_mem(). END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-08-10T06:58:12.695000Z K 7 svn:log V 47 Use NULL instead of 0 when setting up pointer. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-10T07:18:17.671296Z K 7 svn:log V 1876 While we're doing the first pass, instead of generating a list of all the ports we see (which usually ends up being a duplicate of CUR_DEPS) keep a list of just those ports that need updating. This has many benefits: 1. While doing the first pass we can use the list the same way, whilst keeping CUR_DEPS for now. The latter is still deeply integrated, and useful. The major benefit here is that for example in -a mode we cut the stack space used very nearly in half. This can be significant if the user has a lot of ports installed, and is the cause of most (if not all) of the "argument list too long" errors that users have reported. 2. As a side effect of generating the list I can now use it in -a mode. I'm leaving the old code there for now till I'm sure this works, is safe, etc.; but it's much faster to just run updates for the list of ports that need them, rather than going through every port again (even with CUR_DEPS helping). 3. This will also serve as the basis for future work on a couple of fronts: a. If the current run fails I can now print a "To resume quickly do this:" message. This is not implemented yet, but I am currently updating the list as things are built for that purpose. b. Way down the road I'm going to use code in this same neighborhood to keep track of what depends on what to implement the "continue with everything else after something fails" idea. While I'm here take advantage of the slightly improved mechanism to fix a buglet. Now that we can be more deterministic in multiport() about what is a dependency and what isn't, tune up the term_printf() stuff there to finally make sense. Also, zero out the IPC_SAVE file right before we write to it both in the first pass and during the build phase. That lets us eliminate a useless write to the file during initialization. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-10T07:47:43.612775Z K 7 svn:log V 74 Re-format the ar5416 inivals to be consistent with what Linux ath9k uses. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-10T07:48:13.484559Z K 7 svn:log V 88 Bring over ar5416 inivals from Linux-2.6.34. Reviewed by: rpaulo@ Obtained from: Linux END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-10T07:56:56.415847Z K 7 svn:log V 1148 Don't delay updating the longcal timer - instead, update the longcal flag immediately so it's only set once per longcal interval. Without this, the current AR5416 code will continuously spam NF calibrations during a periodic calibration if the longcal flag is set. The longcal flag wouldn't be cleared until the calibration method indicates that calibrations are "complete". This drops the rate of NF calibration updates down from "once every shortcal" (ie, every 100ms) during a periodic calibration, to only once per "longcal" interval. Spamming NF calibrations every 100ms caused some potentially horrific issues in noisy environments as NF calibrations can take longer than 100ms and this spamming can cause invalid NF calibration results to be read back - leading to missed beacons, and thus leading to a stuck beacon situation. Stuck beacons cause interface resets, which restart calibrations. This means that the longcal calibration runs every 100ms (shortcal) until all initial calibrations are completed. This spamming can then cause the above issues which leads to stuck beacons, leading to interface resets, etc, etc. Quite annoying. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-10T09:24:19.635477Z K 7 svn:log V 519 Port over changes to the crunch symbol hiding method from NetBSD. The older symbol hiding method breaks for MIPS. This implements symbol hiding through renaming to a symbol name which is highly unlikely to clash. The NetBSD code didn't use byte-swapping macros for endian-awareness; so it didn't work when cross-compiling a MIPS world on i386/amd64. This patch includes those (as best as I could figure what they should be) and has been tested to generate valid MIPS crunch binaries both cross- and native- compiled. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-10T10:15:34.969377Z K 7 svn:log V 124 MFC r210796: When compat32 recvmsg(2) does not need to copy out control messages, set msg_controllen to 0. PR: kern/149227 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-10T10:17:01.284467Z K 7 svn:log V 86 MFC r210805: Properly set ifi_datalen for compat32 struct if_data32. PR: kern/149240 END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-08-10T11:02:55.149979Z K 7 svn:log V 118 MFC r210795: Check that gsp is not NULL before access. It can be NULL for some cases. Approved by: kib (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-08-10T11:15:17.940584Z K 7 svn:log V 174 - Fixes to the chkportsum script to handle better some special cases, like spaces in filename Submitted by: Alex Kozlov Approved by: delphij (mentor) END K 10 svn:author V 4 olli K 8 svn:date V 27 2010-08-10T12:58:44.368904Z K 7 svn:log V 151 Connect the new script 490.status-pkg-changes (see r210863) to the build, so it gets actually installed. Approved by: des (mentor) MFC after: 17 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-10T13:05:49.983983Z K 7 svn:log V 29 Fix style. Reported by: bde END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-10T13:11:56.645803Z K 7 svn:log V 18 More style fixes. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-10T13:36:52.472648Z K 7 svn:log V 30 Use calloc where appropriate. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-10T14:36:20.061670Z K 7 svn:log V 67 crunchgen now works for mips - so restore building /rescue for it. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-10T14:44:20.786936Z K 7 svn:log V 913 This is a small program that runs a series of performance tests designed to reveal the physical block size of a disk. It performs a series of staggered reads and / or writes of different lengths at different alignments. The idea is that a disk that has a large physical blocksize but simulates a smaller one will perform poorly, due to read-modify-write, except when both the I/O size and the offset are multiples of the physical block size. The program supports read-only, write-only and read-write tests. The default is write-only. A read-write test is probably not very useful, because it primes the cache in cases where the disk would actually perform an extra read. A read-only test is useless except as a quick way to verify that the program works. Note that the program currently assumes a logical block size of 512 bytes and that the parameters (size range, interval and iterations) are hardcoded. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-10T15:22:48.055495Z K 7 svn:log V 69 Place spinlock_enter() and spinlock_exit() just around X86EMU calls. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-10T16:14:10.903787Z K 7 svn:log V 377 Fix some places that may use cpumask_t while they still use 'int' types. While there, also fix some places assuming cpu type is 'int' while u_int is really meant. Note: this will also fix some possible races in per-cpu data accessings to be addressed in further commits. In collabouration with: Yahoo! Incorporated (via sbruno and peter) Tested by: gianni MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-10T17:06:38.053717Z K 7 svn:log V 37 Remove dependence on ../Makefile.inc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-10T18:29:39.096828Z K 7 svn:log V 113 Fix a typo due to a stale version of the patch. Reported by: gianni, rdivacky MFC after: 1 month X-MFC: 211149 END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-10T18:58:06.181600Z K 7 svn:log V 557 Increase MINSIZE; there isn't much point in doing 512-byte transactions, as they will always be either perfectly aligned or short. Increase STEP to MAXSIZE * 4; having STEP equal to MAXSIZE means that the last round actually tests sequential reading / writing, which is not what we're after. Instead of testing all offsets from 0 to size, test 0 and power-of-two multiples of BSIZE, since we assume that the physical block size is a power-of-two multiple of BSIZE. This should both shorten the test's run time and improve the significance of its output. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-10T19:13:11.574412Z K 7 svn:log V 452 Now that the uplcom(4) driver can autodetect the chipset type, sync the list of devices supported by uplcom(4) with the following sources: NetBSD src/sys/dev/usb/uplcom.c 1.70 OpenBSD src/sys/dev/usb/uplcom.c 1.52 Linux drivers/usb/serial/pl2303.h from kernel 2.6.35 BeOS usb_serial/driver.c 1.32 Give several devices better descriptions, and rename PROLIFIC2 -> NETINDEX while here to match everybody else. MFC after: 6 weeks (after r211111) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-08-10T19:50:51.158915Z K 7 svn:log V 255 MFC r210255: - Add Latinamerican keymaps to sysinstall's Makefile so that it can find them [1] - While here, also add a missing Spanish entry PR: bin/67365 [1] Submitted by: Pedro F. Giffuni [1] Approved by: delphij (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-10T22:45:59.261009Z K 7 svn:log V 552 sh: Fix heap-based buffer overflow in pathname generation. The buffer for generated pathnames could be too small in some cases. It happened to be always at least PATH_MAX long, so there was never an overflow if the resulting pathnames would be usable. This bug may be abused if a script subjects input from an untrusted source to pathname generation, which a bad idea anyhow. Most shell scripts do not work on untrusted data. secteam@ says no advisory is necessary. PR: bin/148733 Reported by: Changming Sun snnn119 at gmail com MFC after: 10 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-10T22:57:43.860779Z K 7 svn:log V 51 More tests, mostly related to devices and sockets. END K 10 svn:author V 4 will K 8 svn:date V 27 2010-08-11T00:51:50.995327Z K 7 svn:log V 545 Allow carp(4) to be loaded as a kernel module. Follow precedent set by bridge(4), lagg(4) etc. and make use of function pointers and pf_proto_register() to hook carp into the network stack. Currently, because of the uncertainty about whether the unload path is free of race condition panics, unloads are disallowed by default. Compiling with CARPMOD_CAN_UNLOAD in CFLAGS removes this anti foot shooting measure. This commit requires IP6PROTOSPACER, introduced in r211115. Reviewed by: bz, simon Approved by: ken (mentor) MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-11T02:13:50.476246Z K 7 svn:log V 102 Start using the 'init_static_kenv()' API provided by r198561 to initialize CFE environment variables. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-11T02:28:39.440458Z K 7 svn:log V 309 Add parentheses around the argument 'x' used in the __bswapXX(x) macros. Revert r211130 in favor of this more general fix. This fixes a compilation error for mips 64-bit little endian build. libexec/rtld-elf/mips/reloc.c:196: warning: right shift count >= width of type Suggested by: stefanf, jchandra, bde END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-08-11T03:08:03.948853Z K 7 svn:log V 211 MFC: r210786 Modify the return value for nfscl_mustflush() from boolean_t, which I mistakenly thought was correct w.r.t. style(9), back to int and add the checks for != 0. This is just a stylistic modification. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-11T04:55:58.385180Z K 7 svn:log V 71 - Somehow my last commit omitted this change. Reported by: Mark Saad END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-11T05:30:52.710135Z K 7 svn:log V 212 Since the AR_PHY_AGC_CONTROL flags are also in AR5212, look at migrating the NF-cal related routines I've written out from AR5416 to here. This adds AR5212 versions; it doesn't delete the AR5416 versions (yet). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-11T05:35:41.188234Z K 7 svn:log V 66 Remove the ar5416 related NF Cal routines; they're in AR5212 now. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-11T06:22:18.934557Z K 7 svn:log V 217 After staring at this for so long during the whitespace cleanup I can't believe I didn't see this one. 99% non-functional except moving an echo '' up to where it should have been (the output to the user is the same). END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-11T06:29:40.403556Z K 7 svn:log V 173 MFC r211063: License ACK is not required for the wpifw module nor when building it into the kernel. PR: conf/148758 Submitted by: Joe Talbott END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-11T07:05:27.812180Z K 7 svn:log V 49 Blah, I knew that line from r211166 looked funny END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-11T07:11:20.008858Z K 7 svn:log V 97 MFC r210947: Fix whitespace nits. PR: conf/148989 Submitted by: pluknet END K 10 svn:author V 4 olli K 8 svn:date V 27 2010-08-11T08:26:15.797444Z K 7 svn:log V 105 Fix some typos: flush vs. flash, and some others. Approved by: des (mentor, implicit) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-11T08:58:27.063212Z K 7 svn:log V 24 MFC r210847: Fix style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-11T09:04:36.728872Z K 7 svn:log V 56 MFC r210848: Copy inode birthtime to the struct stat32. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-08-11T09:29:33.800635Z K 7 svn:log V 26 Style: tabs after #define END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-11T10:51:27.366229Z K 7 svn:log V 283 IPI handlers may run generally with interrupts disabled because they are served via an interrupt gate. However, that doesn't explicitly prevent preemption and thread migration thus scheduler pinning may be necessary in some handlers. Fix that. Tested by: gianni MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-11T16:29:12.129376Z K 7 svn:log V 182 Instead of hardcoding {NAME_MAX} as 255 and {PATH_MAX} as 1024 obtain those from pathconf(2) and properly generate too long file names. This should fix ENAMETOOLONG checks on Linux. END