ƒ²*198212 196 305 420 722 193 216 153 212 169 609 275 143 547 120 110 143 171 148 450 275 142 350 212 262 117 170 116 214 230 168 409 223 386 665 697 229 206 360 181 169 2690 138 204 262 178 216 195 139 169 184 116 411 309 269 239 191 288 316 113 280 167 154 185 180 146 154 145 132 169 205 173 173 279 289 131 131 175 332 161 357 402 126 217 174 960 349 150 688 146 492 648 263 326 366 275 439 639 653 167 355 291 150 269 176 214 260 324 687 508 347 174 196 177 213 204 239 233 293 246 275 301 267 143 165 292 150 201 321 198 485 1255 219 204 422 174 196 140 537 201 182 205 608 211 389 465 243 246 254 311 288 115 288 272 271 186 201 1048 196 146 124 444 165 261 227 218 159 217 433 129 221 124 159 178 231 107 195 208 208 241 181 170 159 208 207 132 120 114 121 115 372 121 122 131 130 564 468 172 K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-18T17:22:08.915748Z K 7 svn:log V 204 Don't assume that physical addresses are identity mapped. This allows the second processor on G5 systems to start. Note that SMP is still non-functional on these systems because of IPI delivery problems. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-18T19:45:44.735287Z K 7 svn:log V 328 Make lock devices work properly. It turned out I did add the code to use the init state devices to set the termios structure when opening the device, but it seems I totally forgot to add the bits required to force the actual locking of flags through the lock state devices. Reported by: ru MFC after: 1 week (to be discussed) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-18T19:48:53.982078Z K 7 svn:log V 630 Allow the buffer size to be configured for pseudo-like TTY devices. Devices that don't implement param() (which means they don't support hardware parameters such as flow control, baud rate) hardcode the baud rate to TTYDEF_SPEED. This means the buffer size cannot be configured, which is a little inconvenient when using canonical mode with big lines of input, etc. Make it adjustable, but do clamp it between B50 and B115200 to prevent awkward buffer sizes. Remove the baud rate assignment from /etc/gettytab. Trust the kernel to fill in a proper value. Reported by: Mikolaj Golub MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-18T19:50:15.454130Z K 7 svn:log V 101 Fix a typo in the jail(8) manpage. Submitted by: Jille Timmermans MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-18T19:51:06.741426Z K 7 svn:log V 124 Fix qouting in a comment, to make it look more consistent Submitted by: Jille Timmermans MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-18T20:33:24.132655Z K 7 svn:log V 62 Don't forget to increment the man page date. Reported by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-18T22:43:28.656991Z K 7 svn:log V 115 Sort function prototypes in pfil.h, clean up white space, and better align fields for printing. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-18T22:54:09.864661Z K 7 svn:log V 73 Remove unused pfil_flags field in packet_filter_hook. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-18T23:15:25.371322Z K 7 svn:log V 514 Add a user area for portmaster so that everyone can see the work that is being done as part of the funding project. Add the portmaster script version 2.12 directly from the ports tree with the exception that %%LOCALBASE%% has been substituted with /usr/local so that this development version can be used directly by most users. Add the man page version 2.10 directly from ports. Sponsored by: http://dougbarton.us/portmaster-proposal.html Funded by: JAN HORNYAK Funded by: Christer Solskogen Funded by: R Koole END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-18T23:30:23.122625Z K 7 svn:log V 180 When using the --clean-distfiles[-all] option sort the list of distfiles to check so that files related to the same port will (mostly) come up together. Add the $FreeBSD$ keyword END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-18T23:38:59.927304Z K 7 svn:log V 49 Make --version work with a subversion $Id string END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-19T07:17:37.699772Z K 7 svn:log V 455 Properly set the low watermarks when reducing the baud rate. Now that buffers are deallocated lazily, we should not use tty*q_getsize() to obtain the buffer size to calculate the low watermarks. Doing this may cause the watermark to be placed outside the typical buffer size. This caused some regressions after my previous commit to the TTY code, which allows pseudo-devices to resize the buffers as well. Reported by: yongari, dougb MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-19T07:55:13.402095Z K 7 svn:log V 28 Remove redundant $FreeBSD$. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-19T07:56:03.928277Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-19T08:26:30.655273Z K 7 svn:log V 46 Respect CSTD even when NO_WARNS is specified. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-19T08:43:11.477211Z K 7 svn:log V 74 MFC: r198125 Use our standard section 4 SYNOPSIS. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-19T08:52:57.549232Z K 7 svn:log V 51 MFC: r198125 Use our standard section 4 SYNOPSIS. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-19T11:10:44.746881Z K 7 svn:log V 358 Partially revert the change to the gettytab made in r198214. By misinterpreting some data, I thought that getty wouldn't apply any baud rate to the syscons devices, but it uses the default entry instead. This means that the baud rate is set to 1200. This isn't too bad, except when using canonical mode. Make it use 9600 baud by default. MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-19T11:17:46.379050Z K 7 svn:log V 179 HWMP fixes, namely: * fix the processing of RANN frames * the originator and target addresses were swapped and while it worked fine, it was not spec compliant. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-10-19T14:04:19.076327Z K 7 svn:log V 51 Properly re-create "-s size" argument to newfs(8). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-19T14:36:12.464171Z K 7 svn:log V 252 Powercrypt and NetSec seem to be defunct (webpages point to link farms and a google search yields no alternative). Remove the links but keep the entries around for reference. PR: 139756 Submitted by: Patrick Oonk MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-19T15:19:14.233254Z K 7 svn:log V 115 Clean up comments, white space, and style in pfil.c (especially new VNET bits). MFC after: 3 days (not VNET bits) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-19T15:25:53.620648Z K 7 svn:log V 165 Merge Perforce c169596 into capabilities8 branch: amd64 also requires capability mode checks. Spotted by: jonathan.anderson at cl.cam.ac.uk Sponsored by: Google END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-10-19T15:50:59.467122Z K 7 svn:log V 26 Clean up markup (mainly). END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-10-19T16:00:24.352272Z K 7 svn:log V 79 Switch the default WARNS level for sbin/ to 6. Submitted by: Ulrich Spörlein END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-19T16:12:58.052972Z K 7 svn:log V 23 Merge ACPICA 20091013. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-19T17:41:32.061103Z K 7 svn:log V 116 Remove the useless adding of /usr/include to the include search path. It is done a few lines below for all targets. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-19T17:47:18.868838Z K 7 svn:log V 132 Revert the previous commit and make it so that the CSTD is ignored if CC=icc and NO_WARNS is defined. Use CSTD for all other cases. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-19T18:06:49.757392Z K 7 svn:log V 74 Enable getblk to allocate buffers that will not be included in core dumps END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-19T18:31:39.256286Z K 7 svn:log V 316 MFC 198079: Use zfs_read() instead of xfsread() to read /boot.config. xfsread() fails short read requests, so the result was that a /boot.config smaller than 512 bytes was ignored. boot2 uses fsread() instead of xfsread() to read /boot.config already, so this makes zfsboot more like boot2. Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-19T18:46:22.280434Z K 7 svn:log V 127 Implement the missing support for updating the mesh conf number of neighbors via ieee80211_beacon_notify(). MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-19T18:52:05.133899Z K 7 svn:log V 293 MFC 198079: Use zfs_read() instead of xfsread() to read /boot.config. xfsread() fails short read requests, so the result was that a /boot.config smaller than 512 bytes was ignored. boot2 uses fsread() instead of xfsread() to read /boot.config already, so this makes zfsboot more like boot2. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-10-19T19:11:00.080466Z K 7 svn:log V 567 MFC of 178042 to allow safe firmware(9) loading from NIC watchdog handlers. Also MFCed are the related changes 178016, 183614 and 184842. 178042: Do firmare image loading in a context known to have a root directory 183614: Dynamically allocate the task struct in firmware mountroot 184842: Avoid scheduling firmware taskqueues when cold 178016: Add a mountroot event handler. Removal of SI_SUB_MOUNT_ROOT was not merged. This fixes a panic in at least mxge(4) if the NIC has a hardware fault when the firmware image is not resident. Reviewed by: jhb END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-10-19T19:14:04.349076Z K 7 svn:log V 599 MFC of 178042 to allow safe firmware(9) loading from NIC watchdog handlers. Also MFCed are the related changes 178016, 183614 and 184842. 178042: Do firmare image loading in a context known to have a root directory 183614: Dynamically allocate the task struct in firmware mountroot 184842: Avoid scheduling firmware taskqueues when cold 178016: Add a mountroot event handler. Removal of SI_SUB_MOUNT_ROOT was not merged. 178042 is dependant upon this. This fixes a panic in at least mxge(4) if the NIC has a hardware fault when the firmware image is not resident. Reviewed by: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-19T19:40:05.266055Z K 7 svn:log V 136 MFC 198126: Fix a sign bug in the handling of nice priorities when computing the interactive score for a thread. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-19T19:45:57.910091Z K 7 svn:log V 113 MFC 198126: Fix a sign bug in the handling of nice priorities when computing the interactive score for a thread. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-19T20:11:05.180021Z K 7 svn:log V 262 Define CC/CXX for world stage as $CC/$CXX -isystem. This way we dont have to alter hardcoded paths in the compiler (like in gcc) yet it still picks up the right includes. This should work for in-tree (ie. modified with altered paths) gcc. Clue provided by: kan END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-19T20:16:56.420118Z K 7 svn:log V 84 Clarify the comment and note the bug report about this. Set CC=gcc unconditionally. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-10-19T20:51:27.124681Z K 7 svn:log V 72 Move mxge(4)'s NIC watchdog reset handler from a callout to a taskqueue END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-19T20:58:10.370139Z K 7 svn:log V 2595 Rewrite x86bios and update its dependent drivers. - Do not map entire real mode memory (1MB). Instead, we map IVT/BDA and ROM area separately. Most notably, ROM area is mapped as device memory (uncacheable) as it should be. User memory is dynamically allocated and free'ed with contigmalloc(9) and contigfree(9). Remove now redundant and potentially dangerous x86bios_alloc.c. If this emulator ever grows to support non-PC hardware, we may implement it with rman(9) later. - Move all host-specific initializations from x86emu_util.c to x86bios.c and remove now unnecessary x86emu_util.c. Currently, non-PC hardware is not supported. We may use bus_space(9) later when the KPI is fixed. - Replace all bzero() calls for emulated registers with more obviously named x86bios_init_regs(). This function also initializes DS and SS properly. - Add x86bios_get_intr(). This function checks if the interrupt vector is available for the platform. It is not necessary for PC-compatible hardware but it may be needed later. ;-) - Do not try turning off monitor if DPMS does not support the state. - Allocate stable memory for VESA OEM strings instead of just holding pointers to them. They may or may not be accessible always. Fix a memory leak of video mode table while I am here. - Add (experimental) BIOS POST call for vesa(4). This function calls VGA BIOS POST code from the current VGA option ROM. Some video controllers cannot save and restore the state properly even if it is claimed to be supported. Usually the symptom is blank display after resuming from suspend state. If the video mode does not match the previous mode after restoring, we try BIOS POST and force the known good initial state. Some magic was taken from NetBSD (and it was taken from vbetool, I believe.) - Add a loader tunable for vgapci(4) to give a hint to dpms(4) and vesa(4) to identify who owns the VESA BIOS. This is very useful for multi-display adapter setup. By default, the POST video controller is automatically probed and the tunable "hw.pci.default_vgapci_unit" is set to corresponding vgapci unit number. You may override it from loader but it is very unlikely to be necessary. Unfortunately only AGP/PCI/PCI-E controllers can be matched because ISA controller does not have necessary device IDs. - Fix a long standing bug in state save/restore function. The state buffer pointer should be ES:BX, not ES:DI according to VBE 3.0. If it ever worked, that's because BX was always zero. :-) - Clean up register initializations more clearer per VBE 3.0. - Fix a lot of style issues with vesa(4). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-19T21:01:42.139572Z K 7 svn:log V 45 Fix a copy-and-pasto in the previous commit. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-19T21:10:56.428871Z K 7 svn:log V 106 Build these with gcc/g++. I am not sure about the use of gcc in libstdc++ it needs to be revisited later. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-19T21:24:19.447318Z K 7 svn:log V 167 When tzsetup is run as non-root and the "CMOS clock question on UTC" is answered as No, it would abort without properly ending the dialog session. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-19T21:37:31.853587Z K 7 svn:log V 84 Make the usage of the default zoneinfo file to install clearer. MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-19T21:43:59.586406Z K 7 svn:log V 119 Remove the newly added uch341 driver, it will be merged into uchcom instead. Suggested by: takawata Submitted by: HPS END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-19T21:52:02.027971Z K 7 svn:log V 99 Add support for newer WinChipHead CH341 chips, previously in the uch341 driver. Submitted by: HPS END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-19T21:54:41.807118Z K 7 svn:log V 43 Add opt_gdb.h which is now needed by ucom. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-19T23:09:39.000285Z K 7 svn:log V 76 Remove a redundant option ROM check, which was never meant to be committed. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-19T23:11:43.996072Z K 7 svn:log V 89 Fix a bug in composing PERR frames introduced by latest draft update. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-20T00:36:15.790923Z K 7 svn:log V 22 don't disable WITNESS END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-10-20T02:35:12.191529Z K 7 svn:log V 318 Use callout_init_mtx on FreeBSD versions recent enough. This closes the race where interrupt thread can complete the request for which timeout has fired and while mpt_timeout has blocked on mpt_lock. Do a best effort to keep 4.x ang Giant-locked configurartions compiling still. Reported by: ups Reviewed by: scottl END K 10 svn:author V 4 neel K 8 svn:date V 27 2009-10-20T04:31:20.217796Z K 7 svn:log V 215 The default KERNLOADADDR does not work on MALTA hardware. On my platform the "First free SDRAM address" reported by YAMON is 0x800b6e61. So use a conservative KERNLOADADDR of 0x80100000. Approved by: imp (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2009-10-20T04:36:08.811689Z K 7 svn:log V 175 Fix a bug where we would think that the L1 instruction and data cache are present even though the line size field in the CP0 Config1 register is 0. Approved by: imp (mentor) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-10-20T05:37:54.199244Z K 7 svn:log V 141 Add quota_maxid which returns the maximum user (or group) identifier in an associated quotafile. Needed by repquota. Bug fix in quota_read. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-10-20T05:40:51.378163Z K 7 svn:log V 94 Update to work with quotafile functions in -libutil. Add -h flag to provide humanized output. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-20T06:54:31.479758Z K 7 svn:log V 193 Instead of having to know which timezone was picked last time, you now can run "tzsetup -r" which will reinstall the last choice. This data is recorded in /var/db/zoneinfo. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-20T07:00:00.789104Z K 7 svn:log V 221 Vendor import of tzdata2009o: - Somoa has not moved to DST this year (comment only) - Bangladesh stays on DST for now. - Pakistan went back to standard time in 1 October 2009 Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-20T07:00:56.657602Z K 7 svn:log V 19 Tag of tzdata2009o END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-20T07:03:06.335222Z K 7 svn:log V 185 MFV of tzdata2009o: - Somoa has not moved to DST this year (comment only) - Bangladesh stays on DST for now. - Pakistan went back to standard time in 1 October 2009 MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-10-20T09:31:57.769516Z K 7 svn:log V 75 add amdtemp to i386 NOTES essentially this is a MFamd64 Nod from: rpaulo END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-10-20T09:32:22.090072Z K 7 svn:log V 62 ichwd.4: remove a stray line Nod from: des MFC after: 3 days END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-20T10:15:19.417434Z K 7 svn:log V 88 The memcpy implementation cant be static as the C compiler requires it to be available. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-20T10:38:12.230503Z K 7 svn:log V 83 Set CC=gcc unconditionally for boot2/loader/gptboot. Unstaticize memcy in gptboot. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-20T10:40:01.489328Z K 7 svn:log V 49 Build bin+lib of groff, gperf and devd with g++. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-10-20T11:52:39.180536Z K 7 svn:log V 62 MFC r198189: Check error of dlfunc(3). Approved by: re (kib) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2009-10-20T11:54:06.433201Z K 7 svn:log V 52 Allow KMOD with hypens and dots. MFC after: 1 week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-20T12:21:36.781515Z K 7 svn:log V 35 dont install clang as c++ for now. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-10-20T13:22:54.631192Z K 7 svn:log V 77 minor: fix sorting of some amd* entries in some makefiles MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-20T13:26:58.000996Z K 7 svn:log V 112 MFC r197931: Apply relocations for PIE binary ELF data structures pointers in rtld. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-20T13:30:06.828031Z K 7 svn:log V 81 MFC r197932: Do not map elf segments of zero length. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-10-20T13:32:18.335155Z K 7 svn:log V 76 MFC r197313: Build a separate livefs CD for sparc64. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-20T13:32:28.182600Z K 7 svn:log V 186 MFC r197933: Define architectural load bases for PIE binaries. MFC r198203 (by marius): Change load base for sparc to match default gcc memory layout model. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-20T13:34:41.883647Z K 7 svn:log V 196 MFC r197934: Map PIE binaries at non-zero base address. MFC r198202: Honour non-zero mapbase for PIE binaries. Inform interpreter-less PIE binary about its relocbase. Approved by: re (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-10-20T13:47:05.554230Z K 7 svn:log V 39 MFC r198189: Check error of dlfunc(3). END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-10-20T13:49:34.057841Z K 7 svn:log V 39 MFC r198189: Check error of dlfunc(3). END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-10-20T13:58:30.164735Z K 7 svn:log V 78 Update package list for 8.0-REL. Reviewed by: re@, portmgr@ MFC after: 1 day END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-10-20T14:06:07.022137Z K 7 svn:log V 239 ichwd.4: fix r198272, restore watchdogd(8) reference In r198272 I didn't notice that watchdog(8) and watchdogd(8) are different things and instead of fixing watchdogd markup I simply nuked the line. Noticed by: emaste Pointy hat to: avg END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-10-20T14:57:26.680064Z K 7 svn:log V 70 Fix comment typos. Reviewed by: rmacklem Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-10-20T15:01:46.409355Z K 7 svn:log V 265 Fix ordering of nfscl_modevent() and ncl_uninit(). nfscl_modevent() must be called after ncl_uninit() when unloading the nfscl module because ncl_uninit() uses ncl_iod_mutex which is destroyed in nfscl_modevent(). Reviewed by: rmacklem Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-10-20T15:06:18.412924Z K 7 svn:log V 310 Unloading of the nfscl module is unsupported because newnfslock doesn't support unloading. It's not trivial to implement newnfslock unloading so for now just admit that unloading is unsupported and refuse to attempt unload in all nfscl module event handlers. Reviewed by: rmacklem Approved by: trasz (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-20T15:49:32.550731Z K 7 svn:log V 29 do not hardcode gcc/g++ here END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-20T16:22:31.215709Z K 7 svn:log V 120 Merge r198196 from head to stable/8: Rewrap ip_input() comment so that it prints more nicely. Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-20T16:32:38.186659Z K 7 svn:log V 77 Add temporarily /usr/local/bin to PATH so clang from ports/svn can be found. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-10-20T16:36:51.241284Z K 7 svn:log V 868 Random number generator initialization cleanup: - Introduce new SI_SUB_RANDOM point in boot sequence to make it clear from where one may start using random(9). It should be as early as possible, so place it just after SI_SUB_CPU where we have some randomness on most platforms via get_cyclecount(). - Move stack protector initialization to be after SI_SUB_RANDOM as before this point we have no randomness at all. This fixes stack protector to actually protect stack with some random guard value instead of a well-known one. Note that this patch doesn't try to address arc4random(9) issues. With current code, it will be implicitly seeded by stack protector and hence will get the same entropy as random(9). It will be securely reseeded once /dev/random is feeded by some entropy from userland. Submitted by: Maxim Dounin MFC after: 3 days END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-20T16:41:23.764838Z K 7 svn:log V 255 - Disable ASF by default in STABLE_8. This causes a lot of problems on non-DELL branded machines with IPMI support. The proposed fix was committed to HEAD but has not received much test coverage yet. Discussed with: bz Approved by: re (kensmith) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-10-20T16:46:39.755656Z K 7 svn:log V 53 Update to work with quotafile functions in -libutil. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-20T17:44:50.976244Z K 7 svn:log V 592 MFC r198111 This patch fixes the following issues in the ARP operation: 1. There is a regression issue in the ARP code. The incomplete ARP entry was timing out too quickly (1 second timeout), as such, a new entry is created each time arpresolve() is called. Therefore the maximum attempts made is always 1. Consequently the error code returned to the application is always 0. 2. Set the expiration of each incomplete entry to a 20-second lifetime. 3. Return "incomplete" entries to the application. 4. The return error code was incorrect. Reviewed by: kmacy Approved by: re END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-10-20T17:50:27.941767Z K 7 svn:log V 49 Claen up format when doing non-humanized output. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-10-20T17:50:36.966081Z K 7 svn:log V 395 MFC r198098: fixes a TX hang bug that it could happen when if_start callback didn't be restarted by full of the output queue. Tested by: bsduser MFC r198099: fixes a TX hang that could be possible to happen when the trasfers are in the high speed that some drivers don't call if_start callback after marking ~IFF_DRV_OACTIVE. Approved by: re (kib) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-20T17:55:42.087878Z K 7 svn:log V 552 In the ARP callout timer expiration function, the current time_second is compared against the entry expiration time value (that was set based on time_second) to check if the current time is larger than the set expiration time. Due to the +/- timer granularity value, the comparison returns false, causing the alternative code to be executed. The alternative code path freed the memory without removing that entry from the table list, causing a use-after-free bug. Reviewed by: discussed with kmacy MFC after: immediately Verified by: rnoland, yongari END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-20T18:54:51.196694Z K 7 svn:log V 166 Merge r198218 from head to stable/8: Sort function prototypes in pfil.h, clean up white space, and better align fields for printing. Approved by: re (kensmith) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-10-20T18:58:28.607249Z K 7 svn:log V 228 Make mxge do a better job recovering from NIC h/w faults by checking PCI config space when the NIC is not transmitting. Previously, a h/w fault would not have been detected if the NIC was down, or handling an RX only workload. END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-10-20T19:05:43.108134Z K 7 svn:log V 273 MFC Revision 197277: Make libc.a provide __stack_chk_fail_local weak alias. This is needed to satisfy static libraries that are compiled with -fpic and linked into static binary afterwards. Several libraries in gcc are examples of such static libs. Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-20T21:08:32.355005Z K 7 svn:log V 182 Fix a case where rename actually succeeds, which is also expected behaviour according to POSIX. This fixes ZFS on Solaris testing. Submitted by: Milan Cermak END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-20T21:27:03.686137Z K 7 svn:log V 343 The flow-table function flowtable_route_flush() may be called during system initialization time. Since the flow-table is designed to maintain per CPU flow cache, the existing code did not check whether "smp_started" is true before calling sched_bind() and sched_unbind(), which triggers a page fault. Reviewed by: jeff MFC after: immediately END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-20T21:29:46.959363Z K 7 svn:log V 542 Change from CAM_TID_INVALID to CAM_SEL_TIMEOUT error code when the usb device has been yanked, this works around a cam recounting bug when CAM_DEV_UNCONFIGURED is set late in the detach. In certain conditions the reference to the XPT device would not be released which would cause the usb explore thread to sleep forever on "simfree", preventing any new usb devices to be found/ejected on the bus. This is intended to be a quick workaround to the problem without touching CAM so it can be merged to 8.0. Suggested by: mav MFC after: 3 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-20T21:36:56.954444Z K 7 svn:log V 557 MFC 198301 In the ARP callout timer expiration function, the current time_second is compared against the entry expiration time value (that was set based on time_second) to check if the current time is larger than the set expiration time. Due to the +/- timer granularity value, the comparison returns false, causing the alternative code to be executed. The alternative code path freed the memory without removing that entry from the table list, causing a use-after-free bug. Reviewed by: discussed with kmacy Approved by: re Verified by: rnoland, yongari END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-20T22:11:17.639597Z K 7 svn:log V 74 - Note that ASF is now disabled by default in 8.0. Approved by: re (kib) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-20T23:13:08.247494Z K 7 svn:log V 260 - Commit missing part of "bt" fix: store PC register in pcb_context struct in cpu_switch and use it in stack_trace function later. pcb_regs contains state of the process stored by exception handler and therefor is not valid for sleeping processes. END K 10 svn:author V 4 neel K 8 svn:date V 27 2009-10-21T00:56:13.016700Z K 7 svn:log V 197 Update options.mips to support config options required to build the SWARM kernel. The SWARM kernel does not build yet but at least it gets past the kernel config stage. Approved by: imp (mentor) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-10-21T04:35:09.639711Z K 7 svn:log V 53 Update to work with quotafile functions in -libutil. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-21T09:22:40.802569Z K 7 svn:log V 171 Improve the description of the malofw kernel module installation. PR: 132193 Submitted by: Frank Staals Based on a patch by: gavin MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-21T09:43:22.933054Z K 7 svn:log V 79 Add empty watchdogd_flags. PR: 136620 Submitted by: amdmi3 MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-21T09:53:55.810612Z K 7 svn:log V 117 Merge r198219 from head to stable/8: Remove unused pfil_flags field in packet_filter_hook. Approved by: re (kib) END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-10-21T10:15:26.220889Z K 7 svn:log V 165 The tunefs utility does not work on active filesystems. PR: docs/139705 Submitted by: Warren Block Approved by: imp (mentor, implicit) END K 10 svn:author V 4 rink K 8 svn:date V 27 2009-10-21T11:10:34.439688Z K 7 svn:log V 230 Introduce 'netDev=ANY' support for scripted (install.cfg) installs, which results in the first ethernet interface with physical link being selected. While here, fix a minor typo causing an 'if' to be missed. Submitted by: randi END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-21T11:50:18.038524Z K 7 svn:log V 593 - On entrance to the rx_eof sync RX rings maps with POSTWRITE flag instead of POSTREAD: the hardware do not touch this memory (CPU updates it). It is already synchronized as PREWRITE after the processing is done. - Synchronize RX return ring memory in rx_eof. This is needed as the deviced updates this memory when receives packets. - Decouple the synchronization of BGE status block in the interrupt service routine: perfrom PREREAD synchronization only all accesses to this block are finished. This seems to be more natural. Reviewed by: yongari, marius MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T12:42:25.293703Z K 7 svn:log V 415 MFp4: On error, freeze device queue, to allow periph driver to do proper recovery. Freeze SIM queue only in some cases, when it is needed to protect SIM. Implement better command timeout detection logic for non-queued commands. This fixes false positives when command with short timeout waiting for the long one. For example, when hald tastes CD during burning process. Read and clear SERR register on interrupt. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-21T12:47:09.482802Z K 7 svn:log V 253 - Introduce new option BCE_JUMBO_HDRSPLIT that allows user to enable header splitting in bce(4) instead of (ab)using ZERO_COPY_SOCKETS that was not propagated into if_bce.c anyway. It is disabled by default. Approved by: davidch MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T12:47:39.886543Z K 7 svn:log V 82 MFp4: Freeze device queue on error to permit periph driver to do proper recovery. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T13:00:01.861008Z K 7 svn:log V 103 MFp4: Report real max_target = 15. SIM doesn't need to know that target 15 is PMP. It is XPT business. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-21T13:10:02.213335Z K 7 svn:log V 85 Remove direct include of opt_global.h since it is not meant to be included directly. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-21T13:11:38.101473Z K 7 svn:log V 116 Merge r198198 from head to stable/8: Line-wrap pfil.c so that it prints more nicely. Approved by: re (kensmith) END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-10-21T13:13:24.527791Z K 7 svn:log V 111 Include explicitly through CFLAGS the custom produced opt_global.h when building the pf(4) as module manually. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-21T14:05:51.861778Z K 7 svn:log V 142 Merge r198233 from head to stable/8: Clean up comments, white space, and style in pfil.c (VNET changes not MFC'd) Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-21T14:09:06.327150Z K 7 svn:log V 135 Add a missing free() call. PR: 138379 Submitted by: Patroklos Argyroudis Reviewed by: gibbs MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T14:20:55.764882Z K 7 svn:log V 200 MFp4: Add support for PIO-only devices. Fix maxio values and 256 sectors transactions for 28bits commands. Implement periodic ordered commands insertion, sames as da driver does. Remove some SCSIsms. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-21T15:04:50.827772Z K 7 svn:log V 148 Check pointer for NULL before dereferencing it, not after. PR: 138384 Submitted by: Patroklos Argyroudis MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-21T15:07:34.093981Z K 7 svn:log V 182 MFC r198201: Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA). Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is actually exceed. Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T15:27:48.097719Z K 7 svn:log V 208 MFp4: Separate CAM_DEV_IDENTIFY_DATA_VALID flag from CAM_DEV_INQUIRY_DATA_VALID. Add workaround for very old devices without support for mode setting. Add some PATA bus scanning support. Remove some SCSIsms. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-21T15:54:45.376497Z K 7 svn:log V 169 Check pointer for NULL before dereferencing it, not after. PR: 138383 Submitted by: Patroklos Argyroudis Reviewed by: rnoland MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T15:57:16.561103Z K 7 svn:log V 51 MFp4: Do not search for bus when it is not needed, END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-21T16:12:09.792632Z K 7 svn:log V 73 MFC rev. 178375: Add HW level support for the Adaptec 1420SA controller. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-21T17:07:46.070600Z K 7 svn:log V 194 Set CSTD in all cases except when CC=icc and NO_WARNS is set. This way we can set desired C standard even for cross tools etc. Tested by: make universe Approved by: ed (maintainer) OK by: das END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-21T17:08:35.579773Z K 7 svn:log V 54 Merge through r198334 from stable/8 to capabilities8. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-10-21T17:18:48.649551Z K 7 svn:log V 103 MFC r198287: Update package list for 8.0-REL. Reviewed by: re@, portmgr@ Approved by: re (implicit) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-10-21T18:09:48.987567Z K 7 svn:log V 225 o Align function on a 32-byte boundary so that the core's front-end can deliver 2 bundles per cycle to the back-end. o Mark syscall stubs with a special unwind ABI tag so that unwind libraries know how to unwind. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-10-21T18:29:26.946008Z K 7 svn:log V 101 PR: 139751 Approved by: des Obtained from: Xavier Heiny MFC after: 3 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-21T18:31:54.649780Z K 7 svn:log V 393 Make input parsing in Farhenheit actually work. Don't clobber *p with '\0' when testing whether it has the value of 'F'. Just use the semantics of strtof() properly. If it returns p, we know that it parsed the string until it reached 'C' or 'F'. The code has not changed since it has been imported (r161951, Sep 3, 2006). Submitted by: Alexandre Perrin MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-10-21T18:38:02.289745Z K 7 svn:log V 1158 o Introduce vm_sync_icache() for making the I-cache coherent with the memory or D-cache, depending on the semantics of the platform. vm_sync_icache() is basically a wrapper around pmap_sync_icache(), that translates the vm_map_t argumument to pmap_t. o Introduce pmap_sync_icache() to all PMAP implementation. For powerpc it replaces the pmap_page_executable() function, added to solve the I-cache problem in uiomove_fromphys(). o In proc_rwmem() call vm_sync_icache() when writing to a page that has execute permissions. This assures that when breakpoints are written, the I-cache will be coherent and the process will actually hit the breakpoint. o This also fixes the Book-E PMAP implementation that was missing necessary locking while trying to deal with the I-cache coherency in pmap_enter() (read: mmu_booke_enter_locked). The key property of this change is that the I-cache is made coherent *after* writes have been done. Doing it in the PMAP layer when adding or changing a mapping means that the I-cache is made coherent *before* any writes happen. The difference is key when the I-cache prefetches. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-10-21T18:44:00.891400Z K 7 svn:log V 123 Review previous change. It has no relation to the I-cache coherency changes and thus unintentional. Spotted by: rdivacky@ END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-10-21T18:46:36.766713Z K 7 svn:log V 107 Handle the case where there is only one PMC in the system. Approved by: jkoshy (mentor) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-21T19:26:12.939553Z K 7 svn:log V 329 Change gcc to assume a default machine architecture of 486 instead of 386 on "i386". Doing it in the compiler is deemed to be less fragile then attempting to provide a default -march setting via bsd.cpu.mk. FreeBSD itself has not supported plain 386 CPUs since 5.x. Suggested by: kan Requested by: rdivacky MFC after: 1 month END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-21T19:29:05.629105Z K 7 svn:log V 77 Change the default CPU to be 486 instead of pentium4 to be in sync with gcc. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-21T19:31:23.602756Z K 7 svn:log V 100 Don't call the newstate callback as that's dangerous. Rely no ENETRESET to DTRT. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-10-21T19:39:34.123411Z K 7 svn:log V 49 Move sed(1) from cross-tools to bootstrap-tools. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-21T19:48:27.517942Z K 7 svn:log V 440 MFC r198307 Change from CAM_TID_INVALID to CAM_SEL_TIMEOUT error code when the usb device has been yanked, this works around a cam recounting bug when CAM_DEV_UNCONFIGURED is set late in the detach. In certain conditions the reference to the XPT device would not be released which would cause the usb explore thread to sleep forever on "simfree", preventing any new usb devices to be found/ejected on the bus. Approved by: re (kib) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-21T20:33:50.035369Z K 7 svn:log V 106 - Keep recovering from "MFC went wrong". Add missing ieee80211_* parts, mergeinfo is already in place END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-21T20:55:04.114233Z K 7 svn:log V 88 - Add support for chrooted installs. - Add examples to the man-page. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-21T20:59:12.969248Z K 7 svn:log V 110 After the installation of the /usr/share/zoneinfo, run tzsetup if /var/db/zoneinfo exists. MFC after: 1 week END K 10 svn:author V 6 philip K 8 svn:date V 27 2009-10-21T23:50:35.527045Z K 7 svn:log V 512 Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST packets instead of allowing the protocol stack to pick a random source port. This fixes the behaviour where dhclient would never transition from RENEWING to BOUND without going through REBINDING in networks which are paranoid about DHCP spoofing, such as most mainstream cable-broadband ISP networks. Reviewed by: brooks Obtained from: OpenBSD (partly - I'm not convinced their solution can work) MFC after: 1 week (pending re approval) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-22T00:32:01.429836Z K 7 svn:log V 115 Verify "smp_started" is true before calling sched_bind() and sched_unbind(). Reviewed by: kmacy MFC after: 3 days END K 10 svn:author V 4 neel K 8 svn:date V 27 2009-10-22T02:51:31.794865Z K 7 svn:log V 295 Get rid of the hardcoded constants to define cacheable memory: SDRAM_ADDR_START, SDRAM_ADDR_END and SDRAM_MEM_SIZE Instead we now keep a copy of the memory regions enumerated by platform-specific code and use that to determine whether an address is cacheable or not. Approved by: imp (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2009-10-22T04:35:32.500800Z K 7 svn:log V 371 Remove redundant instructions from tlb.S The "_MTC0 v0, COP_0_TLB_HI" is actually incorrect because v0 has not been initialized at that point. It worked correctly because we subsequently did the right thing and initialized TLB_HI correctly. The "li v0, MIPS_KSEG0_START" is redundant because we do exactly the same thing 2 instructions down. Approved by: imp (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T06:13:07.736341Z K 7 svn:log V 145 Fix a memory leak in an error case. PR: 138376 Submitted by: Patroklos Argyroudis Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T06:17:04.427227Z K 7 svn:log V 148 Check pointer for NULL before dereferencing it, not after. PR: 138390 Submitted by: Patroklos Argyroudis MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T06:51:29.682459Z K 7 svn:log V 156 Check pointer for NULL before dereferencing it, not after. PR: 138387, 138388 Submitted by: Patroklos Argyroudis MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T08:34:20.224987Z K 7 svn:log V 213 MFC: r198232 Powercrypt and NetSec seem to be defunct (webpages point to link farms and a google search yields no alternative). Remove the links but keep the entries around for reference. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T08:36:08.533915Z K 7 svn:log V 190 MFC: r198232 Powercrypt and NetSec seem to be defunct (webpages point to link farms and a google search yields no alternative). Remove the links but keep the entries around for reference. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-22T08:38:27.495249Z K 7 svn:log V 23 Remove self-reference. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T09:39:32.208655Z K 7 svn:log V 190 MFC: r198232 Powercrypt and NetSec seem to be defunct (webpages point to link farms and a google search yields no alternative). Remove the links but keep the entries around for reference. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-10-22T11:35:12.196840Z K 7 svn:log V 174 List more dependencies for these drivers. While here, convert atapicam(4) to use our standard section 4 SYNOPSIS layout. PR: 132525 Submitted by: gcooper MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-22T11:38:19.269392Z K 7 svn:log V 174 Merge Perforce c169677 into capabilities8: Custom linker script is no longer required for rtld-elf-cap as the kernel now auto-places position-independent code properly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-10-22T11:45:35.697917Z K 7 svn:log V 95 Unbreak NO_WARNS, keeping CSTD effect on CFLAGS out of its control. Unbreak compiles with icc. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-22T12:48:17.435012Z K 7 svn:log V 105 Don't use BUS_DMA_ALLOCNOW as that causes the attachment to fail on Cambria boards. MFC after: 2 months END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-22T14:53:44.247394Z K 7 svn:log V 955 Set the devclass_t pointer specified in the DRIVER_MODULE() macro sooner so it is always valid when a driver's identify routine is called. Previously, new-bus would attempt to create the devclass for a newly loaded driver in two separate places, once in devclass_add_driver(), and again after devclass_add_driver() returned in driver_module_handler(). Only the second lookup attempted to set a device class' parent and set the devclass_t pointer specified in the DRIVER_MODULE() macro. However, by the time it was executed, the driver was already added to existing instances of the parent driver at which point in time the new driver's identify routine would have been invoked. The fix is to merge the two attempts and only create the devclass once in devclass_add_driver() including setting the devclass_t pointer passed to DRIVER_MODULE() before the driver is added to any existing bus devices. Reported by: avg Reviewed by: imp MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-22T16:26:38.081741Z K 7 svn:log V 101 MFC r196863: Improve wording. MFC r196941: Prevent the line from wrapping. Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-22T17:30:22.268150Z K 7 svn:log V 51 Initialize rann_flags properly. MFC after: 2 days END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-22T17:36:41.319859Z K 7 svn:log V 27 Csu works fine with clang. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-22T18:48:25.888797Z K 7 svn:log V 348 MFC 198306 The flow-table function flowtable_route_flush() may be called during system initialization time. Since the flow-table is designed to maintain per CPU flow cache, the existing code did not check whether "smp_started" is true before calling sched_bind() and sched_unbind(), which triggers a page fault. Reviewed by: jeff Approved by: re END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-22T20:44:55.957901Z K 7 svn:log V 73 cam_ccbq_fini() declared for 11 years, but never implemented. Remove it. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-22T20:54:01.592121Z K 7 svn:log V 164 Allow dumping the USB mouse reports via 'sysctl -b dev.ums.N.parseinfo', previously only available via bootverbose. PR: usb/137191 Submitted by: Eygene Ryabinkin END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-10-22T20:57:17.279927Z K 7 svn:log V 131 Rename default to default_function, for compatibility with GNU awk. (For cross-compiling out-of-tree kernel modules, for example.) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-22T20:59:51.977813Z K 7 svn:log V 123 Move comments to the beginning of the line to make it look better. Thank to ru@ for his noticing of it. MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-22T21:01:41.416374Z K 7 svn:log V 63 Prevent wraparound of the timeout variable. Submitted by: HPS END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-22T21:07:32.338600Z K 7 svn:log V 124 After thinking again, implement cam_ccbq_fini(). This is effectively NULL change, but makes this API a bit more consistent. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-23T03:17:02.648582Z K 7 svn:log V 332 Add SMP support on U3-based G5 systems. This does not yet work perfectly: at least on my Xserve, getting the decrementer and timebase on APs to tick requires setting up a clock chip over I2C, which is not yet done. While here, correct the 64-bit tlbie function to set the CPU to 64-bit mode correctly. Hardware donated by: grehan END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T07:34:03.691008Z K 7 svn:log V 32 Dont set CC=cc unconditionally. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T07:36:12.720331Z K 7 svn:log V 123 Dont set CC=gcc and CXX=g++ unconditionally but substitute cc/clang with gcc and c++ with g++ in the CC variable. This way END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T07:54:15.457571Z K 7 svn:log V 32 Remove some obsoleted comments. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T08:27:55.024581Z K 7 svn:log V 67 Replace most of priority numbers with defines. No logical changes. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-23T09:30:19.519355Z K 7 svn:log V 86 Use double-quotation marks to fix the unexpanded variable issue. Spotted by: swell.k END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-23T11:13:08.656631Z K 7 svn:log V 135 The draft spec doesn't say beacon frames need to have a wildcard BSSID, so remove the mesh code necessary for that. MFC after: 2 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T11:26:58.091303Z K 7 svn:log V 15 Fix the build. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-23T12:02:01.287507Z K 7 svn:log V 99 MFC r198376 Prevent wraparound of the timeout variable. Submitted by: HPS Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T12:19:26.453565Z K 7 svn:log V 110 When replacing cc/clang with gcc only replace the ^cc/^clang to avoid replacing the string in further params. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T12:29:45.744861Z K 7 svn:log V 110 When replacing cc/clang with gcc only replace the ^cc/^clang to avoid replacing the string in further params. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T12:36:42.797795Z K 7 svn:log V 148 MFp4: Move Port Multiplier support code out of ATA XPT into pmp periph driver. This is convinient, as PMP itself is a bus target and has own state. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T13:07:22.363895Z K 7 svn:log V 89 Revert interrupt reason check order back. ATAPI errors may set IF bit together with TFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-23T13:28:33.385539Z K 7 svn:log V 78 Properly sort the intr_event_describe_handler() prototype. Submitted by: bde END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T13:32:26.061794Z K 7 svn:log V 62 Revert the previous commit. This Makefile is not used at all. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-23T13:35:00.954763Z K 7 svn:log V 111 Improve grammar in ip_input comment while attempting to maintain what might be its meaning. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T13:39:30.768156Z K 7 svn:log V 114 Make "Retrying Command" to be printed before actual retrying. It should make debug/error log a bit more readable. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:06:25.494281Z K 7 svn:log V 35 Update FreeBSD sources to r198394. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:19:52.001645Z K 7 svn:log V 23 Update LLVM to r84949. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:21:22.399095Z K 7 svn:log V 17 Tag LLVM r84949. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:22:18.606559Z K 7 svn:log V 24 Update clang to r84949. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:22:51.755909Z K 7 svn:log V 18 Tag clang r84949. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-23T14:27:40.531862Z K 7 svn:log V 271 Do not map the trap vectors into the kernel's address space. They are only used in real mode and keeping them mapped only serves to make NULL a valid address, which results in silent NULL pointer deferences. Suggested by: Patrick Kerharo Obtained from: projects/ppc64 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:28:06.769021Z K 7 svn:log V 24 Merge LLVM from vendor. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:31:47.649908Z K 7 svn:log V 25 Merge clang from vendor. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:36:14.669296Z K 7 svn:log V 34 These files does not belong here. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-23T14:40:38.696937Z K 7 svn:log V 33 Merge file deletion from vendor. END K 10 svn:author V 6 philip K 8 svn:date V 27 2009-10-23T14:43:17.186286Z K 7 svn:log V 468 MFC r198352 Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST packets instead of allowing the protocol stack to pick a random source port. This fixes the behaviour where dhclient would never transition from RENEWING to BOUND without going through REBINDING in networks which are paranoid about DHCP spoofing, such as most mainstream cable-broadband ISP networks. Obtained from: OpenBSD Reviewed by: brooks Approved by: re (kib) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-23T14:50:11.131833Z K 7 svn:log V 372 wordexp(3): fix some bugs with signals and long outputs * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-23T14:56:29.214217Z K 7 svn:log V 80 MFp4: Do not differentiate 12/16 bytes ATAPI CCB formats when it is not needed. END