ı5183359 200 235 223 962 98 139 214 340 123 383 383 250 246 201 197 181 183 171 246 296 374 120 338 752 421 636 358 143 512 204 223 197 220 130 118 141 131 117 184 768 272 159 133 376 129 181 134 125 1097 254 220 214 313 265 329 485 308 127 253 376 645 312 281 237 166 365 335 276 215 181 207 109 146 168 117 126 154 113 130 263 530 491 160 672 617 263 146 219 287 299 172 168 124 204 279 226 255 521 112 326 185 191 136 181 284 932 170 249 473 180 275 453 263 166 320 715 420 268 236 300 432 191 449 208 192 204 163 323 229 244 139 150 161 143 176 566 152 293 247 171 361 148 459 450 399 202 224 128 176 331 156 202 322 169 813 177 557 455 353 256 376 210 199 284 163 214 205 195 204 240 172 294 150 185 162 200 164 117 132 109 159 231 141 233 198 234 262 205 236 188 161 247 1261 362 214 177 234 344 193 129 187 K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-25T19:32:03.005140Z K 7 svn:log V 142 Use existing GDB routines for parsing the section table of klds in the 'add-kld' command instead of doing it more by hand. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-25T19:50:14.005293Z K 7 svn:log V 130 Initialize the DDB command list when initializing DDB so that the basic commands are available from 'boot -d'. Suggested by: dfr END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-25T20:07:42.860664Z K 7 svn:log V 869 Tidy up a few things with syscall generation: - Instead of using a syscall slot (370) just to get a function prototype for lkmressys(), add an explicit function prototype to . This also removes unused special case checks for 'lkmressys' from makesyscalls.sh. - Instead of having magic logic in makesyscalls.sh to only generate a function prototype the first time 'lkmnosys' is seen, make 'NODEF' always not generate a function prototype and include an explicit prototype for 'lkmnosys' in . - As a result of the fix in (2), update the LKM syscall entries in the freebsd32 syscall table to use 'lkmnosys' rather than 'nosys'. - Use NOPROTO for the __syscall() entry (198) in the native ABI. This avoids the need for magic logic in makesyscalls.h to only generate a function prototype the first time 'nosys' is encountered. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-25T20:08:36.795110Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-25T20:12:38.705264Z K 7 svn:log V 47 Sort includes and add multiple include guards. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-25T20:25:25.620215Z K 7 svn:log V 121 must do a deep copy of mcast packets as they can be modified after dispatch Submitted by: "Jared Go" END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-25T20:50:21.254888Z K 7 svn:log V 247 Add support for installing 32-bit system calls from kernel modules. This includes syscall32_{de,}register() routines as well as a module handler and wrapper macros similar to the support for native syscalls in . MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-25T23:19:37.207579Z K 7 svn:log V 27 GC empty directory eBones. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-26T00:52:51.678067Z K 7 svn:log V 286 MFC r183264: Add workaround for occasional packet loss issue of JMC250 A2 when it runs on half-duplex media. While I'm here add register definition for GPREG1. ATM the GPREG1 register is only valid for JMC250 A1/A2. Submitted by: Ethan at JMicron Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-26T01:03:04.231667Z K 7 svn:log V 286 MFC r183264: Add workaround for occasional packet loss issue of JMC250 A2 when it runs on half-duplex media. While I'm here add register definition for GPREG1. ATM the GPREG1 register is only valid for JMC250 A1/A2. Submitted by: Ethan at JMicron Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-09-26T03:06:08.063795Z K 7 svn:log V 157 MFC r183236 Prevent an integer overflow in vm_pageout_page_stats() on machines with a large number of physical pages. PR: 126158 Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-26T03:53:10.503826Z K 7 svn:log V 153 Support for CFE boot loaders. Initially the support is for MIPS, but other processors will work too. Submitted by: bms@ Obtained from: p4 mips2 branch END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-26T03:57:23.553407Z K 7 svn:log V 108 Support for the siba bus found in many broadcom products. Submitted by: bms@ Obtained from: p4 mips branch END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-26T04:45:56.255884Z K 7 svn:log V 104 Remove reference to machine/tlb.h. It no longer exists, and isn't needed as this compiles fine w/o it. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-26T05:09:03.759406Z K 7 svn:log V 87 MFC 183339 insta-panic fix tested by: gnn Submitted by: Chelsio Inc. Approved by: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-26T05:10:57.600742Z K 7 svn:log V 91 The Ultra2 never had a CFE console or CFE boot loader. Kill obvious cut-n-paste leftover. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-26T05:29:39.986410Z K 7 svn:log V 77 Update xen/interface includes to the latest in mercurial MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-26T05:37:54.338188Z K 7 svn:log V 153 Catch up to latest tty, kdb and SYSINIT changes. Modeled after the dev/ofw changes, since this driver appears to have used that as a start years ago... END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-26T05:40:56.619672Z K 7 svn:log V 203 Use some casting to get the right addresses. This is likely unwise code, but will be OK until there's a 64-bit siba... With this change, SENTRY5 kernel now compiles for mips, the last of the holdouts. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-09-26T05:50:08.474626Z K 7 svn:log V 279 Re-add getosreldate(3) function prototype in the form that I've been using for quite some time now. While I'm not sure if it'll break IA64 again, this way doesn't cause problems with my builds of XFree86/Xorg and the way they #include via cpp in the imake system. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-26T05:54:24.900015Z K 7 svn:log V 26 move ipi_pcpu to evtchn.c END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-09-26T07:29:48.578188Z K 7 svn:log V 245 Add support for the ITE 8213 controller. Thanks goes to ITE who provided docs and feedback and made this possible. Minor fixups to the Intel ICH code for bugs found while doing this. (ITE8213 is very semilar to an Intel ICH) MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-26T14:19:52.963814Z K 7 svn:log V 660 Remove unit2minor() use from kernel code. When I changed kern_conf.c three months ago I made device unit numbers equal to (unneeded) device minor numbers. We used to require bitshifting, because there were eight bits in the middle that were reserved for a device major number. Not very long after I turned dev2unit(), minor(), unit2minor() and minor2unit() into macro's. The unit2minor() and minor2unit() macro's were no-ops. We'd better not remove these four macro's from the kernel, because there is a lot of (external) code that may still depend on them. For now it's harmless to remove all invocations of unit2minor() and minor2unit(). Reviewed by: kib END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-26T14:31:24.844228Z K 7 svn:log V 329 Rename the `minor' argument of make_dev(9) to `unit'. To prevent any further confusion about device minor and unit numbers, we'd better just refer to device unit numbers. Many people still think the numbers we show inside devfs have any relation to the numbers passed to make_dev(9), which is not the case. Discussed with: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-26T14:50:49.594392Z K 7 svn:log V 543 Save previous content of the td_fpop before storing the current filedescriptor into it. Make sure that td_fpop is NULL when calling d_mmap from dev_pager_getpages(). Change guards against td_fpop field being non-NULL with private state for another device, and against sudden clearing the td_fpop. This could occur when either a driver method calls another driver through the filedescriptor operation, or a page fault happen while driver is writing to a memory backed by another driver. Noted by: rwatson Tested by: rnoland MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-26T15:00:18.335378Z K 7 svn:log V 262 Add -D_OSRELDATE_H to CFLAGS to prevent the declaration of getosreldate() in assembler source files. We still get the definition of __FreeBSD_version this way, because it's outside the standard multiple-inclusion protection trick. All this is specific to ia64. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-09-26T15:29:18.057646Z K 7 svn:log V 48 Advertise bit 26 as sse2. Spotted out by: gahr END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-26T18:17:04.936959Z K 7 svn:log V 420 Don't forget to initialize `int error' in ttydev_open(). I've had some reports in the past that opening an already opened TTY through, for example, /dev/tty can fail with random error codes. Looking at ttydev_open(), I can see there is a way `error' is returned without initialising it. Even though I haven't had any confirmation this fixes the bug, I'll fix it anyway. Reported by: Andrzej Tobola END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-26T18:28:54.882058Z K 7 svn:log V 108 The previous commit re-introduced sade on platforms where it doesn't work. Re-limit sade to amd64 and i386. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-09-26T18:30:11.047109Z K 7 svn:log V 127 Move CTASSERT from header file to source file, per implementation note now in the CTASSERT man page. Submitted by: Ryan Stone END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-09-26T18:44:40.217565Z K 7 svn:log V 101 Move CTASSERT from header file to source file, per implementation note now in the CTASSERT man page. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-09-26T19:23:22.736988Z K 7 svn:log V 125 Move getosreldate(3) prototype from the machine generated to in the BSD section. Suggested by: kib END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-27T00:09:10.790028Z K 7 svn:log V 34 Static-ify procedures in init(8). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-27T00:52:24.201132Z K 7 svn:log V 22 Open up vendor/netcat END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-27T00:53:34.836298Z K 7 svn:log V 45 Flatten all tags of the dist tree of netcat. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-27T00:55:30.906159Z K 7 svn:log V 35 Remove left-off contrib directory. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-27T02:12:10.941118Z K 7 svn:log V 21 Bootstrap mergeinfo. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-27T02:29:03.284704Z K 7 svn:log V 88 Vendor import of netcat from OPENBSD_4_4 Obtained from: OpenBSD MFC after: 7.1-RELEASE END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-27T08:51:18.740817Z K 7 svn:log V 676 Replace all calls to minor() with dev2unit(). After I removed all the unit2minor()/minor2unit() calls from the kernel yesterday, I realised calling minor() everywhere is quite confusing. Character devices now only have the ability to store a unit number, not a minor number. Remove the confusion by using dev2unit() everywhere. This commit could also be considered as a bug fix. A lot of drivers call minor(), while they should actually be calling dev2unit(). In -CURRENT this isn't a problem, but it turns out we never had any problem reports related to that issue in the past. I suspect not many people connect more than 256 pieces of the same hardware. Reviewed by: kib END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-27T10:14:02.488121Z K 7 svn:log V 175 Rather than shadowing global variable 'lookup' in check_uidgid(), rename it to ugid_lookupp. This should make debugging issues with ipfw uid rules easier. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T10:55:55.921524Z K 7 svn:log V 65 Open vendor/top and vendor/tzcode Approved by: des@ with "DIY!" END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T11:30:00.986313Z K 7 svn:log V 39 Flatten the dist tree of vendor/tzcode END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T11:49:24.098121Z K 7 svn:log V 281 Remove the tag tzcode2001d from the vendor/tzcode tree. It contains only one file, Theory, which is mapped on share/zoneinfo while the rest of the tags only contain information from lib/libc/stdtime and usr.sbin/zic, where the file Theory is already in the usr.sbin/zic directory. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T11:52:49.151347Z K 7 svn:log V 35 Flatten all tags of vendor/tzcode. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T12:24:26.022951Z K 7 svn:log V 87 Cleanup of vendor/tzcode/dist, these files don't exist in the latest imported sources. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T12:44:56.451997Z K 7 svn:log V 40 Bootstrap the merge history to r183403. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-27T12:56:19.160882Z K 7 svn:log V 31 Bootstrap mergeinfo at r183403 END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-27T13:19:09.707168Z K 7 svn:log V 1004 Move uminor() and umajor() to the same place as userspace minor() and major(). The uminor() and umajor() functions have the same use in kernel space as the minor() and major() functions in userspace. If we ever get rid of the minor() function in kernel space, we could decide to just expose minor() and major() to kernel space, making uminor() and umajor() redundant. There are two reasons why we want to have uminor() and umajor() in : - Having them close together prevents them from diverting. Even though it's unlikely the definitions will change, it's a good habit to have them at the same place. - They don't really belong in kern_conf.c. kern_conf.c has been liberated from dealing with device major and minor number handling. The device_ids(9) manpage now lists the wrong #include's, because it should only list now. I'm leaving it as it is now, because I wonder if we should document them anyway. We're probably better off documenting minor(3) and major(3). END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-09-27T14:30:34.724797Z K 7 svn:log V 161 Add keyword all in addtion to the table number for the 'list' and the 'flush' actions on tables. Part of PR: 127058. PR: 127058 (based on) MFC after: 1 month END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-09-27T15:09:00.237499Z K 7 svn:log V 127 * add all keyword for table list & flush actions. * add tables_max sysctl. * add default_rule sysctl. PR: 127058 (partially) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-09-27T15:13:44.584304Z K 7 svn:log V 113 Add DMA support for Apple built-in ATA controllers. Tested by: grehan, marcotrillo@gmail.com MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-27T15:28:15.996394Z K 7 svn:log V 217 Allow 255 sectors/track for the BSD disklabel. The previous limit of 63 sectors/track is too PC BIOS specific. On pc98, where the BSD disklabel is used as well, 255 sectors/track is not uncommon. Submitted by: nyan@ END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-09-27T15:41:16.599541Z K 7 svn:log V 164 Expand the DBDMA API to allow setting device-dependent control bits. While here, clean up and document this a little. Submitted by: Marco Trillo MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-27T15:45:54.974195Z K 7 svn:log V 236 If the panic thread is preempted after setting panicstr but before setting TDF_INPANIC then it will never be rescheduled again. Wrap setting the panic condition with the critical section. Noted and reviewed by: tegge MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-27T15:54:04.795314Z K 7 svn:log V 392 Frames created by the Xcpustop, Xrendezvous, Xipi_intr_bitmap_handler and Xlazypmap differ from the frame for Xtimerint. The Xtimerint puts pointer to the frame between return address and frame body, while rest of the functions listed above do not. Correct offset calculation to allow the ddb backtrace to step over such frames. Noted and reviewed by: tegge Tested by: pho MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-27T15:58:37.281351Z K 7 svn:log V 215 Differentiate between interrupt frames, trap interrupt frames and timer frame in the kgdb, to allow it to properly backtrace over the interrupt stacks. Noted and reviewed by: tegge Tested by: pho MFC after: 1 week END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-09-27T15:58:54.647912Z K 7 svn:log V 35 Fix the build. Noted by: ganbold@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-27T16:52:57.403185Z K 7 svn:log V 161 Also use dev2unit() in the pseudo-driver example script. Because I'm planning on MFC'ing my last change to this file, make sure we use dev2unit() here as well. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-09-27T17:52:48.164246Z K 7 svn:log V 284 Disable use of the user credentials until there is code to set the levels that DTrace uses. This fixes a bug that would have affected kernels built with MAC and all kernels built after the mpsafetty integration. The bug will be apparent in RELENG7 on MAC kernels. Reported by: kan END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-27T19:28:28.590340Z K 7 svn:log V 548 When an inpcb doesn't have a socket but the inpcb is passed to ipfw in the transmit path, such as TCPS_TIMEWAIT, fail the credential extraction immediately rather than acquiring locks and looking up the inpcb on the global lists in order to reach the conclusion that the credential extraction has failed. This is more efficient, but more importantly, it avoids lock recursion on the inpcbinfo, which is no longer allowed with rwlocks. This appears to have been responsible for at least two reported panics. MFC after: 3 days Reported by: ganbold END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-27T19:29:52.341928Z K 7 svn:log V 216 Hold the root mount while we're tasting. It is possible that a nested partition (typically the BSD disklabel) is not done tasting while the root file system is being mounted. While this is rare, it's still possible. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-27T19:58:11.032070Z K 7 svn:log V 185 Export the partition name in the conftxt and confxml output. The conftxt output is used by libdisk, and the confxml output is used by gpart itself (gpart show -l). Submitted by: nyan@ END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-27T21:18:40.924524Z K 7 svn:log V 144 guard against adhoc_pick_channel returning a NULL channel; this can happen after a scan cache flush (e.g. in response to ifconfig wlan bssid -) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-09-27T22:24:50.181789Z K 7 svn:log V 70 - Build jexec (1) and slstat. - style.Makefile Noticed by: Marius (1) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-28T00:07:05.093528Z K 7 svn:log V 269 Add a driver for `Schizo' Fireplane/Safari to PCI 2.1 and `Tomatillo' JBus to PCI 2.2 bridges. In theory, this driver should also handle `XMITS' Fireplane/Safari to PCI-X bridges but due to lack of access to such hardware, support for these hasn't be fleshed out, yet. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T03:33:01.009346Z K 7 svn:log V 242 Change while (cond)\n\t\t; to while (cond)\n\t\tcontinue; since the former more explicitly tells the compiler that you want an empty loop. There are some lint programs that use this hint to avoid generating warnings. No functional change... END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T03:45:16.725484Z K 7 svn:log V 183 Add stronger warning that spl is historical. I almost deleted this man page entirely, but it is still mildly useful in understanding the few splxxx usages we still have in the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T03:47:24.849528Z K 7 svn:log V 122 Remove stale comment. splhigh -> critical_enter transition happend some time ago, and no longer needs special attention. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T03:48:15.074994Z K 7 svn:log V 89 Fix comment about needing to call something from splnet, which doesn't exist in freebsd. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T03:50:34.875615Z K 7 svn:log V 114 Fix comments to relate to FreeBSD's current interrupt blocking functionality, as opposed to the legacy spl means. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T05:36:25.659468Z K 7 svn:log V 17 White space nit. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-28T08:11:11.138406Z K 7 svn:log V 52 Move install to install-sh to prevent name-clashes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-28T08:12:33.502280Z K 7 svn:log V 74 Rename install to install-sh to prevent name-clashes scripts to fire off. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-28T10:13:11.344768Z K 7 svn:log V 23 Flatten the dist tree. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-28T10:22:23.293429Z K 7 svn:log V 32 Flatten all tags of vendor/top. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-28T10:35:56.123864Z K 7 svn:log V 60 Bootstrap the merge history for vendor/top and contrib/top. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-09-28T14:05:12.418931Z K 7 svn:log V 18 Update a comment. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-09-28T14:11:34.000912Z K 7 svn:log V 35 Add new PMC classes and CPU types. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-09-28T15:12:43.593267Z K 7 svn:log V 162 Unbreak support for G4s without an L3 cache. L3 cache support was introduced with, and limited to, the Motorola/Freescale 745x family. Reported by: Marco Trillo END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-28T16:44:15.703905Z K 7 svn:log V 438 Don't automatically prepend the "tty" prefix to `pkill -t' arguments. Because we now enforce UNIX98-style PTY's, we now use a lot of TTY's that don't have the traditional /dev/ttyXX naming scheme. pkill(1)'s -t flag automatically prepended the word "tty" to each TTY that was passed on the command line. This meant that `pkill -t pts/0' was actually converted to /dev/ttypts/0. Disable this broken behaviour for now. Reported by: erwin END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-28T18:34:14.779171Z K 7 svn:log V 395 Remove ipi_all() and ipi_self() as the former hasn't been used at all to date and the latter also is only used in ia64 and powerpc code which no longer serves a real purpose after bring-up and just can be removed as well. Note that architectures like sun4u also provide no means of implementing IPI'ing a CPU itself natively in the first place. Suggested by: jhb Reviewed by: arch, grehan, jhb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-28T19:17:54.655099Z K 7 svn:log V 65 Revert previous commit. The prototype has been moved to unistd.h END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T19:44:38.701386Z K 7 svn:log V 579 Catch up with svn r96606 (cvs rev 1.127 2002/05/14 20:35:29) of sys/param.h and move the MI numbers out of here. Also move the MI defines. Also remove a couple defines not in use (not sure if it is age, or OpenBSD origins for thse). Note the current values that are overrides that appear to be odd in some way. More cleanup could be done here: NBPG appears to be spelled PAGE_SIZE these days. There's new ways to spell PGOFSET and PGSHIFT too, I think. These constants duplicate the MI constants and are sprinkled into the mips code only. Further investigation is needed. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-28T20:15:45.942167Z K 7 svn:log V 525 Several documentation fixups related to device minor/major numbers: - Document the minor(3), major(3) and makedev(3) macro's. They also apply to umajor() and uminor() in the kernel, but hopefully we'll sort that out one day. - Briefly dev2unit() inside the make_dev(9) manual page, since this is now the preferred macro to obtain character device unit numbers inside the kernel. - Remove the device_ids(9) manual page. It contains highly inaccurate information, such as a description of the nonexistent major(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-28T20:26:16.147481Z K 7 svn:log V 171 Small typo in the makedev(3) manpage. devtoname(3) is a nonexistent function. We do have devtoname(9), but that's entirely different. The correct function is devname(3). END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T22:21:53.935235Z K 7 svn:log V 54 Fix line continuation whitespace. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T22:23:06.179789Z K 7 svn:log V 126 Other busses on the system use the official capitalization for the technology. Make mmc conform to that. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T22:27:29.188413Z K 7 svn:log V 194 The OCR register defines both acceptable voltage bits, as well as bits for other things. Mask out the voltage only bits when returning the Vdd mask for voltage computation. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T22:40:11.532484Z K 7 svn:log V 206 Propigate read-only status of cards. Right now it is read only at device attach time. We may need to read this more often in the future, but for now simplicity of implementation wins. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T22:42:29.247192Z K 7 svn:log V 80 When a device is read only, fail all non-read BIO requests. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T23:24:52.434139Z K 7 svn:log V 76 Implement power down, and power down the bus on detach. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T23:37:06.772130Z K 7 svn:log V 32 Add "caps" word to host bridge. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-28T23:37:56.510449Z K 7 svn:log V 111 Implement MMCBR_IVAR_CAPS for AT91 MCI device. Submitted by: mav@ (well, not this one, but the base impl was) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-29T01:28:30.669388Z K 7 svn:log V 186 The parameters to the MMCBR_ACQUIRE_HOST and MMCBR_RELEAES_HOST were the device in question, rather than the bus doing the requesting. Fix it so that it is the bus. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-29T01:32:21.871757Z K 7 svn:log V 133 Convert all C++ comments to C style. There's lots of folks that don't like them and they don't add enough to be worth standing out. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-29T02:39:02.043646Z K 7 svn:log V 159 Insert the null scheme at the head. This does not change any functionality, but creates an invariant: the first element on the list is always the null scheme. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-09-29T02:48:22.513658Z K 7 svn:log V 425 Return G_PART_PROBE_PRI_HIGH instead of G_PART_PROBE_PRI_NORM if the probe succeeds. This guarantees that the BSD scheme wins over the MBR scheme when MBR gets to probe first. Build- or link-time conditions can cause schemes to end up in the linker set in a different order. Normally BSD is before MBR in the linker set and as such get to probe first. But typically when the kernel gets rebuild or relinked, this can change. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-09-29T05:31:27.432605Z K 7 svn:log V 18 o Add missed dot. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-09-29T07:41:17.056232Z K 7 svn:log V 229 Merge revision 170320: Write to slice name instead of directly to the disk device. This fixes writing boot code upon upgrade. PR: bin/61587 Submitted by: Nobuyuki Koganemaru Approved by: re (blackend) END K 10 svn:author V 3 des K 8 svn:date V 27 2008-09-29T10:53:05.807522Z K 7 svn:log V 93 Our groff doesn't understand $Mdocdate$, so replace them with bare dates. MFC after: 3 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-09-29T11:16:34.937629Z K 7 svn:log V 96 Take Mark Santcroos' (marks) src commit bit for safekeeping per his request. Approved by: core END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-29T13:48:48.087110Z K 7 svn:log V 40 Fix typo in comment. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-29T13:50:17.618084Z K 7 svn:log V 85 Expand comments relating various detach/free/drop inpcb routines. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-29T14:33:04.398023Z K 7 svn:log V 191 MFC r179005 (by phk): Don't terminate if we are listing devices, a controller might legitimately not be there. Submitted by: Andrey V. Elsukov Approved by: re (gnn), phk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-29T15:19:37.588904Z K 7 svn:log V 835 Merge r183323 from head to stable/7: When dropping a packet and issuing a reset during TCP segment handling, unconditionally drop the tcbinfo lock (after all, we assert it lines before), but call tcp_dropwithreset() under both inpcb and inpcbinfo locks only if we pass in an tcpcb. Otherwise, if the pointer is NULL, firewall code may later recurse the global tcbinfo lock trying to look up an inpcb. This is an instance where a layering violation leads not only potentially to code reentrace and recursion, but also to lock recursion, and was revealed by the conversion to rwlocks because acquiring a read lock on an rwlock already held with a write lock is forbidden. When these locks were mutexes, they simply recursed. Reported by: Stefan Ehmann Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-29T15:44:48.178570Z K 7 svn:log V 78 Support for CPU sets is going to appear in 7.1 before 8.0. MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-09-29T16:13:28.319978Z K 7 svn:log V 155 Since in some cases (when found obsolete) 'make' can be builded earlier at 'upgrade_checks' target, put arc4random_uniform() into __FreeBSD_version ifdef. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-09-29T16:27:32.142502Z K 7 svn:log V 380 Distinguish between cmd/parameters used for clone operations and all others. Use this to disambiguate cmd line arguments that can be either clone params or regular parameters so, in particular, "bssid" again works as a regular parameter. While here leverage the above to improve the logic for flushing clone operations on the first !clone cmd line parameter. Reviewed by: jhay END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-29T18:05:26.604360Z K 7 svn:log V 88 Conform to style(9) for return (foo); The files were a mix before. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-29T18:17:23.777877Z K 7 svn:log V 182 Minor style fixes from mav@ (with similar problems fixed where I noticed them): #define zero memory when we allocate it Put device name in error message. Submitted by: mav@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-29T18:23:08.089487Z K 7 svn:log V 356 Merge r183356 from head to stable/7: As a follow-on to r183323, correct another case where ip_output() was called without an inpcb pointer despite holding the tcbinfo global lock, which lead to a deadlock or panic when ipfw tried to further acquire it recursively. Reported by: Stefan Ehmann Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-29T18:33:08.836619Z K 7 svn:log V 170 Explicitly set data to NULL rather than relying mmc_wait_for_cmd() to do it for us. There may be commands we have to wait for that need to set data. Submitted by: mav@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-29T18:55:45.200551Z K 7 svn:log V 74 Make the media size return the block rather than the bytes on the device. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-29T19:10:30.644058Z K 7 svn:log V 223 Merge r183398 from head to stable/7: Rather than shadowing global variable 'lookup' in check_uidgid(), rename it to ugid_lookupp. This should make debugging issues with ipfw uid rules easier. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-29T19:19:27.510512Z K 7 svn:log V 618 Merge r183418 from head to stable/7: When an inpcb doesn't have a socket but the inpcb is passed to ipfw in the transmit path, such as TCPS_TIMEWAIT, fail the credential extraction immediately rather than acquiring locks and looking up the inpcb on the global lists in order to reach the conclusion that the credential extraction has failed. This is more efficient, but more importantly, it avoids lock recursion on the inpcbinfo, which is no longer allowed with rwlocks. This appears to have been responsible for at least two reported panics. Reported by: ganbold Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-29T19:45:12.591034Z K 7 svn:log V 327 Move the code for doing out-of-memory grass from vm_pageout_scan() into the separate function vm_pageout_oom(). Supply a parameter for vm_pageout_oom() describing a reason for the call. Call vm_pageout_oom() from the swp_pager_meta_build() when swap zone is exhausted. Reviewed by: alc Tested by: pho, jhb MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-29T19:54:38.331507Z K 7 svn:log V 175 MFC of the r179312 by sos: Do not call ata_start() when ata_reinit fails in the ioctl path. Approved by: re (kensmith), sos Prodded by: Andrey V. Elsukov END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-29T20:06:57.499447Z K 7 svn:log V 143 MFC r183216: Allow the d_mmap driver methods to use cdevpriv KPI during verification phase of establishing mapping. Approved by: re (rwatson) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-29T20:20:13.998767Z K 7 svn:log V 207 MFC r183383: Save previous content of the td_fpop before storing the current filedescriptor into it. Make sure that td_fpop is NULL when calling d_mmap from dev_pager_getpages(). Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-29T22:13:29.665028Z K 7 svn:log V 337 vm_fault_hold_user_pages will not return if an address in the range passed in is mapped RO but an RW mapping exists for the underlying page. This change fixes the bug by using the page / NULL returned from pmap_extract_and_hold to determine whether or not vm_fault needs to be called. The bug was pointed out by alc. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-30T02:32:41.146195Z K 7 svn:log V 99 Properly implement read only. Also, the caps implementation is wrong here, so I'm backing it out. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-09-30T02:34:45.812767Z K 7 svn:log V 356 Improve support for multiple block read/write. This code is currently disabled by default because there's problems with it on AT91RM9200, currently the only host controller in the tree. I've not had time to track those problems to ground. I'm committing because this is important for other host controllers that are in the pipeline. Submitted by: mav@ END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-30T03:53:03.092116Z K 7 svn:log V 110 MfP4: Support for storing birthtime in archive_entry objects. Submitted by: Pedro Giffuni MFC after: 30 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-30T03:57:07.796996Z K 7 svn:log V 95 MfP4: Store/read birthtime data in pax format. Submitted by: Pedro Giffuni MFC after: 30 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-30T04:02:36.254748Z K 7 svn:log V 106 MfP4: restore birth time data to disk + more thorough tests for time restore to disk. MFC after: 30 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-09-30T04:13:21.053446Z K 7 svn:log V 66 Verify high-res birthtime support on FreeBSD. MFC after: 30 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T04:47:49.060328Z K 7 svn:log V 226 Always pullup mbuf prior to accessing TCP header. This should fix occasional Tx checksum corruption issue. Reported by: Garrett Cooper < yanefbsd gmail dot com > Tested by: Garrett Cooper < yanefbsd gmail dot com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T04:52:30.358947Z K 7 svn:log V 132 If mbuf is not writable get a writable copy before invoking m_pullup(9). Tested by: Garrett Cooper < yanefbsd gmail dot com > END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-09-30T07:18:49.741479Z K 7 svn:log V 150 - Improve error message given on g_providername call failure. - While there, make error messages consistent with the rest. Approved by: kib (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T07:19:01.538904Z K 7 svn:log V 43 Announce link loss right after it happens. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T07:20:26.787853Z K 7 svn:log V 54 Use mii_anegticks instead of hardcoded MII_ANEGTICKS. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T07:22:02.262978Z K 7 svn:log V 65 Report current link state while auto-negotiation is in progress. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T07:24:20.086325Z K 7 svn:log V 47 Explicitly mark IFM_HDX for half-duplex media. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T07:30:05.923860Z K 7 svn:log V 80 Add Vitesse VSC8211 PHY which is found on Planex GU-1000T. HW donated by: nork END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-09-30T08:18:38.208658Z K 7 svn:log V 469 Save extended address register prior to switching to 1000BASE-X only mode and restore original value of extended address register instead of overwriting it with page 1. There are still instance information passing issue(e.g configured media type: fiber or copper) from driver to PHY layer but this change make the selected PHY work with 88E1112 PHY. Reported by: Krzysztof Jedruczyk < beaker hot dot pl > Tested by: Krzysztof Jedruczyk < beaker hot dot pl > END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-09-30T11:01:53.687826Z K 7 svn:log V 58 Remove empty directories recreated by the SVN conversion. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-30T11:25:55.561279Z K 7 svn:log V 200 Add unistd.h to the getosreldate(3) manpage. Update referenced example to include unistd.h per manpage. Update example to be more style(9)-ish, silence warnings and add FreeBSD id to the source file. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-09-30T11:46:14.323534Z K 7 svn:log V 153 - A call to close(2) might overwrite errno and thus give a wrong error message on g_providername failure. Suggested by: pjd Approved by: pjd (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-09-30T12:03:59.299316Z K 7 svn:log V 79 lulf@ doesn't need mentor's approval anymore. Discussed with: kib (co-mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2008-09-30T14:18:38.122864Z K 7 svn:log V 264 Do not mangle if_oerrors of the underlying interface. This counter belongs solely to the driver. We don't lose any statistics with this change, because in a error case the drop counter on the interface output queue is always incremented. Reviewed by: thompsa END K 10 svn:author V 7 glebius K 8 svn:date V 27 2008-09-30T14:24:03.169019Z K 7 svn:log V 52 Make example commands working. Reviewed by: benjsc END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-30T15:49:59.607352Z K 7 svn:log V 366 Sync with head: When copying out the kld_stat structure to userland, only copy out the size of the user's buffer. In the case of a program using the older (smaller) structure, the previous code would trash memory after the end of the user's kld_stat struct. This was missed in the DTrace MFC. Submitted by: Jaakko Heinonen jh saunalahti.fi Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-09-30T16:15:46.943985Z K 7 svn:log V 353 Pass SUSER_ALLOWJAIL flag to suser_cred(9) in mac_seeotheruids: allow root in jail to see processes in the same jail with other uids. This was previously restricted as the default, but in practice it is fine to allow this as the caller implements jail scoping. Reported by: George Mamalakis Approved by: re (kensmith, kib) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-30T17:30:39.415845Z K 7 svn:log V 307 Improve the `pkill -t' handling, which I changed in my previous commit. In my previous commit I disabled pkill(1)'s automatic prepending of the "tty" string when `pkill -t' was being used. Re-enable it and stat() both possible device names when called. Requested by: jhb, rwatson (MFC) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-09-30T18:44:26.750777Z K 7 svn:log V 109 Update the function name in several assertions in soreceive_dgram(). Approved by: rwatson MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-30T18:52:43.617009Z K 7 svn:log V 128 Use bus_get_dma_tag() so fatm(4) works on platforms requiring it. Reported and tested by: Sean Thomas Caron MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-09-30T20:53:15.484993Z K 7 svn:log V 33 cosmetic changes and style fixes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-30T21:21:52.735518Z K 7 svn:log V 82 Make sure that optical PHYs work ... Submitted by: Chelsio Inc. MFC after: 1 day END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-30T23:44:44.592220Z K 7 svn:log V 236 Refactor vm_fault_hold_user_pages: - simplify page hold logic - allow pages for processes other than that of curthread to have pages held - normalize the interface to more closely resemble the functions in sys/vm MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-09-30T23:45:22.553435Z K 7 svn:log V 62 update callers of vm_fault_hold_user_pages MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-01T00:17:54.568395Z K 7 svn:log V 105 Add device ids for MCP77/79 and set appropriate support flags. Obtained from: OpenBSD PR: kern/127529 END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-01T05:47:17.703265Z K 7 svn:log V 229 Remove critical_enter() and critical_exit(): pmap_growkernel is called with kernel_map->system_mtx held so these aren't needed. Add an assertion to make sure this is the case. Also, fix a minor style(9) nit. Reviewed by: alc@ END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-10-01T06:17:15.024873Z K 7 svn:log V 78 MFC: fix the build when MODULES_WITH_WORLD is defined. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-01T13:26:52.609875Z K 7 svn:log V 716 Various cleanups for soreceive_dgram(): - Update or remove comments that were left over from the original soreceive_generic() implementation. Quite a few were misleading in the context of the new code. - Since soreceive_dgram() has a simpler structure, replace several gotos with a while loop making the invariants more clear. - In the blocking while loop, don't try to handle cases incompatible with the loop invariant (since m is always NULL, don't check for and handle non-NULL). - Don't drop and re-acquire the socket buffer lock unnecessarily after sbwait() returns, which may help reduce lock contention (etc). - Assume PR_ATOMIC since we assert it at the top of the function. MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-01T14:08:08.545248Z K 7 svn:log V 85 Left-over files - should have been removed with 5.1p1 import. Approved by: re (kib) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-01T14:50:36.463332Z K 7 svn:log V 463 - Make gvinum header on-disk structure consistent on all platforms by storing the gvinum header in fields of fixed size and in a big endian byte order rather than the size and byte order of the actual platform. Note that the change is backwards compatible with the old gvinum configuration format, but will save the configuration in the new format when the 'saveconfig' command is executed. Submitted by: Rick C. Petty END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-10-01T16:23:35.319179Z K 7 svn:log V 357 Update to Myri10GE firmware version 1.4.33 from 1.4.29. Relevant changes include: - Support for Myricom 10G-PCIE-8B NICs - multi-slice firmware: fix a bug when the presence of 32-bit or 64-bit DMA addresses for interrupt queues and data is not uniform across slices. - Improves automatic selection between ethp_z8e/eth_z8e Sponsored by: Myricom Inc. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-01T17:41:41.191450Z K 7 svn:log V 261 Remove function prototypes of nonexistent TTY functions. It turns out I overlooked some function prototypes that were actually TTY related, but were stored in to implement the D_TTY flag. Remove these prototypes now that they don't exist anymore. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-10-01T18:46:46.465206Z K 7 svn:log V 160 Remove compat support for vaps_ and vap_create_ variables as promised in r178527. These variables were never in a release version. Reminded by: sam END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-01T19:14:05.635304Z K 7 svn:log V 283 Wait until after dropping the receive socket buffer lock to allocate space to store the socket address stored in the first mbuf in a packet chain. This reduces contention on the lock and CPU system time in certain UDP workloads. Tested by: ps Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-01T19:24:16.639254Z K 7 svn:log V 117 Remove the LOOKUP_SHARED kernel option. Instead, make vfs.lookup_shared a loader tunable (it was already a sysctl). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-01T19:25:37.124415Z K 7 svn:log V 106 Enable shared locks for path name lookups on supported filesystems (NFS client, UFS, and ZFS) by default. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-01T21:37:39.215621Z K 7 svn:log V 189 MFC 183163 fix two panics: 1. panic: rtalloc1_fib: bad fibnum 2. panic: Lock tcpinp not exclusively locked @ /usr/src/sys/netinet/in_pcb.c:1284 Submitted by: Chelsio Inc. Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-01T21:44:39.439646Z K 7 svn:log V 69 fix optical PHY handling Submitted by: Chelsio Inc. Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-01T21:46:52.520778Z K 7 svn:log V 119 MFC 183285 - Track number of times that the transmit queue overflowed - Trivial whitespace cleanup Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-01T21:48:42.890142Z K 7 svn:log V 110 MFC 183286 - Fix flag check - Fix adaptive thread sleep - set oactive when queue is full Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-01T21:59:04.653498Z K 7 svn:log V 102 Bump MAXCPU to 32 now that 32 CPU x86 systems exist. Tested by: rwatson, mdtansca Approved by: peter END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-01T22:01:07.356621Z K 7 svn:log V 111 Make the CPU column in top always be 2 characters and print in decimal rather than hex. Requested by: rwatson END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-01T22:08:53.539592Z K 7 svn:log V 145 Collect N identical (or near identical) mkdumpheader() implementations into one, as threatened in the comment. Textdump magic can be passed in. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-01T22:52:20.939494Z K 7 svn:log V 78 Reduce the impact of svnversion. Just scan the src/sys tree, not all of src. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-10-02T00:32:59.913520Z K 7 svn:log V 196 Default to ignoring potentially evil IPv6 Neighbor Solicitation messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-02T02:23:59.547756Z K 7 svn:log V 54 Mention support for nForce MCP77 and MCP79. Touch Dd. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-02T02:57:24.701592Z K 7 svn:log V 88 Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-02T03:31:54.218373Z K 7 svn:log V 65 Put releng/6.4 under re@ approval. Approved by: core (implicit) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-02T04:46:00.471572Z K 7 svn:log V 104 Document event numbers alongside event names. Requested by: Arun Sharma END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-02T06:15:40.667340Z K 7 svn:log V 69 - Document event numbers. - Correct misspellings of two event names. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-02T06:18:09.980165Z K 7 svn:log V 22 Correct misspellings. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-10-02T06:18:36.034265Z K 7 svn:log V 38 Apply upcoming fix for 2008g release. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-02T06:21:07.403992Z K 7 svn:log V 14 -mdoc tweaks. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-02T06:25:54.823859Z K 7 svn:log V 62 Get ready for the 6.4-RC1 builds. Approved by: re (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-02T06:29:45.724644Z K 7 svn:log V 138 Don't forget to match on a CLASS of PCIC_BRIDGE as well as subclass PCIS_BRIDGE_CARDBUS. Otherwise, we may hit a few false positives.... END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-02T06:37:33.330138Z K 7 svn:log V 46 - Document event numbers. - Sort event names. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-02T07:00:31.150341Z K 7 svn:log V 140 MAXPHYS seems more stable on the AT91RM9200 boards that I have. We may need to ask the host controller for the right number to use here... END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-02T07:06:59.965902Z K 7 svn:log V 105 Define and use MMC_SECTOR_SIZE. Make mmc_get_media_size now return an off_t and remove now useless cast. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-02T08:53:06.407833Z K 7 svn:log V 138 - Document event numbers associated with event names. - Document an event that was missed out earlier. - Sort event names alphabetically. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-02T09:12:52.109485Z K 7 svn:log V 165 Merge r183460 and r183461 from head to stable/7: Fix typo in comment. Expand comments relating various detach/free/drop inpcb routines. Approved by: re (kib) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-02T09:35:47.232940Z K 7 svn:log V 111 - Remove unneeded macro since the config_length field in the header was changed to 64 bit in the new format. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-02T10:01:05.466153Z K 7 svn:log V 142 - Use the new gv_write_header function to write out the header when removing a drive to make sure that the header is in the correct format. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-10-02T13:50:03.858521Z K 7 svn:log V 96 Add Lawrence Stewart as a new committer with Kip Macy and gnn as co-mentors. Approved by: core END K 10 svn:author V 3 bms K 8 svn:date V 27 2008-10-02T14:26:56.713318Z K 7 svn:log V 69 Only build the bsnmpd netgraph module if MK_NETGRAPH_SUPPORT is set. END K 10 svn:author V 3 bms K 8 svn:date V 27 2008-10-02T14:45:29.407720Z K 7 svn:log V 154 Allow clock_if.m to be referenced by kernel modules, this is useful for testing that RTC drivers compile, though they generally aren't set up for unload. END K 10 svn:author V 3 zec K 8 svn:date V 27 2008-10-02T15:37:58.581495Z K 7 svn:log V 1167 Step 1.5 of importing the network stack virtualization infrastructure from the vimage project, as per plan established at devsummit 08/08: http://wiki.freebsd.org/Image/Notes200808DevSummit Introduce INIT_VNET_*() initializer macros, VNET_FOREACH() iterator macros, and CURVNET_SET() context setting macros, all currently resolving to NOPs. Prepare for virtualization of selected SYSCTL objects by introducing a family of SYSCTL_V_*() macros, currently resolving to their global counterparts, i.e. SYSCTL_V_INT() == SYSCTL_INT(). Move selected #defines from sys/sys/vimage.h to newly introduced header files specific to virtualized subsystems (sys/net/vnet.h, sys/netinet/vinet.h etc.). All the changes are verified to have zero functional impact at this point in time by doing MD5 comparision between pre- and post-change object files(*). (*) netipsec/keysock.c did not validate depending on compile time options. Implemented by: julian, bz, brooks, zec Reviewed by: julian, bz, brooks, kris, rwatson, ... Approved by: julian (mentor) Obtained from: //depot/projects/vimage-commit2/... X-MFC after: never Sponsored by: NLnet Foundation, The FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-02T18:12:42.437974Z K 7 svn:log V 265 Remove __Break_the_struct_layout_for_now field from struct pr_usrreqs, added in FreeBSD 6.x to break the binary layout of the data structure during a conversion to C99 sparse structure initialization. Probably should have been removed before 7.0, but 8.0 will do. END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-10-02T19:18:28.892000Z K 7 svn:log V 121 Add ICH10 PCI id's. Submitted by: Xin Li Fix the number of PATA ports on newer ICHX chips, they have just 1 port not 2. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-02T19:32:20.922267Z K 7 svn:log V 85 MFC: Note that support for CPU sets will first appear in 7.1. Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-02T20:03:41.234177Z K 7 svn:log V 141 add duplicate cmd entries for vlan and vlandev that are marked !clone so they can be used when not doing a create operation Reviewed by: ed END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-02T20:29:45.103770Z K 7 svn:log V 247 Correctly handle Intel g33 chips and add support for g45 chips g33 based chips use a different method of identifying the gtt size. g45 based chips gtt is located in a different area of stolen memory. Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-02T20:42:10.356662Z K 7 svn:log V 100 Oops, initialize sections and sections_end to NULL. Submitted by: Navdeep Parhar MFC after: 1 week END K 10 svn:author V 3 bms K 8 svn:date V 27 2008-10-02T22:31:30.532883Z K 7 svn:log V 37 Allow static hints to override kenv. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-02T22:50:11.314729Z K 7 svn:log V 95 Return BUS_PROBE_GENERIC rather BUS_PROBE_DEFAULT for generic CBB we match. Reviewed by: jhb@ END