ƒˆY181840 160 413 570 195 187 205 170 175 144 218 181 181 164 164 209 214 137 586 165 158 1044 238 340 177 228 153 154 149 142 243 366 153 457 168 288 507 280 209 182 168 331 494 291 313 184 274 116 158 191 189 294 152 148 104 174 148 208 208 359 359 232 162 447 1278 156 231 1994 399 346 397 164 138 245 268 168 142 354 147 154 236 358 237 468 468 107 164 262 471 753 155 160 168 200 168 436 707 254 225 259 181 234 206 147 430 274 451 320 189 160 160 163 163 230 230 3186 329 340 152 535 383 175 324 219 176 621 180 345 365 270 221 205 281 276 139 205 171 198 406 383 390 166 218 139 184 162 131 185 323 1397 340 836 258 221 414 421 370 331 206 399 201 238 K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-08-18T16:48:09.363647Z K 7 svn:log V 316 Bufferize the output for DDB printouts. In order to CATER this, DDB buffered output can be choosen at compile time through the option DDB_BUFR_SIZE=nbytes where nbytes choose the size of the buffer (suggested size is 128 bytes), which should be manually specified in any interested config file. Sponsored by: Nokia END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-18T16:48:53.097164Z K 7 svn:log V 476 In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its corresponding USAGE should be skipped as well. For example, below is a report desc fragment of some mouse: COLLECTION ... USAGE TWHEEL FEATURE ... ... USAGE WHEEL INPUT ... ... END COLLECTION "USAGE TWHEEL" should be consumed after the FEATURE item is skipped, otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later, other than "USAGE WHEEL". Tested by: Grzegorz Blach PR: usb/125941 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-08-18T16:51:44.917025Z K 7 svn:log V 99 Add a missing include which was erroneusly left out from the previous commit. Sponsored by: Nokia END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-18T17:05:59.640798Z K 7 svn:log V 94 Fix a typo: According to the hid spec, Global item #3 is Physical Minimum. MFC after: 3 days END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-18T17:13:23.962355Z K 7 svn:log V 111 sc->sc_ibuf should be malloc'ed after quirks applied, as sc->sc_isize might have changed. MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-18T18:13:40.609930Z K 7 svn:log V 73 Fix SVN r181821 by not using FNM_LEADING_DIR where it shouldn't be used. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-18T18:59:33.224936Z K 7 svn:log V 82 - Make these files compilable on user land. - Update copyrights and fix style(9). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-18T19:01:58.902051Z K 7 svn:log V 51 Add simple bpf(9) regression tests and test cases. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-18T19:14:26.314996Z K 7 svn:log V 124 Correctly check unsignedness of all BPF_LD|BPF_IND instructions. This is roughly from sys/net/bpf_filter.c r1.12 and r1.14. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-08-18T20:31:03.265272Z K 7 svn:log V 85 MFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not with '\\'. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-08-18T20:31:50.693931Z K 7 svn:log V 85 MFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not with '\\'. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-08-18T20:34:00.528955Z K 7 svn:log V 68 MFC: Allow comment to be placed at the end of a configuration line. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-08-18T20:35:02.291918Z K 7 svn:log V 68 MFC: Allow comment to be placed at the end of a configuration line. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-18T21:17:47.188822Z K 7 svn:log V 115 MFamd64: Correctly check unsignedness of all registers used for load instructions with direct or indirect offsets. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-18T21:35:09.291505Z K 7 svn:log V 119 PT_UPDATES_FLUSH() is used in common code so it needs to be defined even in the !defined(XEN) case MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-18T21:40:03.439862Z K 7 svn:log V 44 Fix two test cases on 32-bit architectures. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-18T23:00:41.315530Z K 7 svn:log V 494 MFC: r181782, cvs 1.235 udp_usrreq.c, 1.102 ip6_input.c, 1.44 ip6_var.h Fix a regression introduced in r179289 splitting up ip6_savecontrol() into v4-only vs. v6-only inp_flags processing. When ip6_savecontrol_v4() is called from ip6_savecontrol() we were not passing back the **mp thus the information will be missing in userland. Istead of going with a *** as suggested in the PR we are returning **mp now and passing in the v4only flag as a pointer argument. PR: kern/126349 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-18T23:05:19.412505Z K 7 svn:log V 72 Add test case for 'divide by 0' with BPF_ALU|BPF_DIV|BPF_X instruction. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-18T23:41:46.398799Z K 7 svn:log V 62 I hopefully do not need extented limit anymore for ntp stuff. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T01:16:12.081407Z K 7 svn:log V 949 In anticipation of MFCing physically contiguous jumbo frames MFC r177921: Reintroduce UMA_SLAB_KMAP; however, change its spelling to UMA_SLAB_KERNEL for consistency with its sibling UMA_SLAB_KMEM. (UMA_SLAB_KMAP met its original demise in revision 1.30 of vm/uma_core.c.) UMA_SLAB_KERNEL is now required by the jumbo frame allocators. Without it, UMA cannot correctly return pages from the jumbo frame zones to the VM system because it resets the pages' object field to NULL instead of the kernel object. In more detail, the jumbo frame zones are created with the option UMA_ZONE_REFCNT. This causes UMA to overwrite the pages' object field with the address of the slab. However, when UMA wants to release these pages, it doesn't know how to restore the object field, so it sets it to NULL. This change teaches UMA how to reset the object field to the kernel object. Crashes reported by: kris Fix tested by: kris Approved by: alc END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T01:25:08.581009Z K 7 svn:log V 143 Avoid possible namespace collision between function scope sin and locally sub-expression scoped sin by moving sin declaration to point of use. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T01:36:45.053303Z K 7 svn:log V 245 MFC 174247: Introduce an UMA backend page allocator for the jumbo frame zones that allocates physically contiguous memory. MFC after: 3 months Requested and reviewed by: Kip Macy Tested by: Andrew Gallatin and Pyun YongHyeon Approved by: alc END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-08-19T01:44:56.184476Z K 7 svn:log V 83 Add the D-Link DWA-110 Tested by: Jonathan Lee END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-08-19T01:51:37.501908Z K 7 svn:log V 133 MFC: r179773, r181862 - Add the D-Link DWA-110 Tested by: Jonathan Lee - Add the D-Link DWA-111 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T02:27:31.414368Z K 7 svn:log V 59 remove redundant PT_SET_MA declaration MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T02:31:01.649656Z K 7 svn:log V 60 avoid evtchn_init name collision in gdb MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T02:36:56.592314Z K 7 svn:log V 55 Fix compilation without INVARIANTS MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-19T02:39:34.838611Z K 7 svn:log V 48 protect queue_log not queue MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-19T11:31:49.888687Z K 7 svn:log V 150 In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue, instead of QUEUE_DIRTY. Tested by: pho Reviewed by: attilio MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-19T12:36:40.590415Z K 7 svn:log V 273 MFC r179175: Implement the per-open file data for the cdev. The td_fpop member of the struct thread is appended to the end, and cleared in the thread allocator to keep struct thread KBI-compatible on RELENG_7. MFC r181635: Remove unnecessary locking around pointer fetch. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-08-19T13:40:54.990955Z K 7 svn:log V 56 MFC r181731: > Catch up on removal of /usr/src/compat. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-19T14:23:26.263210Z K 7 svn:log V 364 If a CPUTYPE isn't specified, then don't use -march=k8 when compiling 32-bit compat libs on amd64 since -march=k8 may generate instructions that are not implemented on Intel EM64T processors. Instead, use a simpler set of default flags that should work on all amd64-capable CPUs. PR: amd64/113111 Submitted by: NIIMI Satoshi sa2c of sa2c.net MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-19T14:23:31.751833Z K 7 svn:log V 73 Rename the RCng 'kernel' script to 'kernel_symlink'. Requested by: many END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-08-19T19:31:58.564269Z K 7 svn:log V 192 Update locking table, based on changes in r173444: - Have SPIN / want SPIN adds the "Recursion is defined per lock" footnote. - Have sx / want Slp & have sx / want rw changed from no to ok. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-19T19:45:08.414275Z K 7 svn:log V 415 Don't include in our sound layer. It is not needed. The PCM's sound.h file only seems to include , because channel_if seems to require selinfo. Just replace it with . There's no real problem with including here, even with MPSAFE TTY, but is something that should be used by the TTY layer, its driver and code that integrated it with the process tree. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-19T19:53:52.888212Z K 7 svn:log V 187 Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports already define _KERNEL to get to this and I'm about to add hooks to libkvm to access per-CPU data. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-19T19:55:33.053052Z K 7 svn:log V 116 Add two new routines to libkvm for working with per-CPU data: kvm_getmaxcpu() and kvm_getpcpu(). MFC after: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-19T19:58:42.160077Z K 7 svn:log V 87 MFC teh ability to use tablearg with a skipto. This was already supported in userland. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-19T20:33:59.437692Z K 7 svn:log V 76 Pass the right pointer to bzero() when clearing cp_time. MFC after: 1 week END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-08-19T21:28:58.575463Z K 7 svn:log V 239 Add calls to callout_drain() to ensure the callouts are flushed before we free memory from underneath them. This fixes an occasional panic I've been seeing in softclock() where a bad pointer would be encountered when pushing DTrace hard. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-19T21:30:36.157417Z K 7 svn:log V 401 Add a new routine kvm_getcptime(3) for fetching the equivalent of 'kern.cp_time'. For a live kernel it uses the sysctl. For a crashdump, it first checks to see if the kernel has a 'cp_time' global symbol. If it does, it uses that. If that doesn't work, when it uses the recently added kvm_getmaxcpu(3) and kvm_getpcpu(3) routines to walk all the CPUs and sum up their counters. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-19T21:33:09.973292Z K 7 svn:log V 198 Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump since the 'cp_time' symbol doesn't exist in recent kernels. This fixes iostat and vmstat on crash dumps. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-19T22:15:14.408346Z K 7 svn:log V 220 Add IRQ line for usb device. I'm not 100% sure this is the right place to add this connection, since the interrupt is for a GPIO pin, but since we have no alternative at the moment... Submitted by: Hans Petter Selasky END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-19T22:16:10.518085Z K 7 svn:log V 92 Use the proper clock domain for the usb host controller. Submitted by: Hans Petter Selasky END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-19T22:17:14.947769Z K 7 svn:log V 181 Provide hooks into the GPIO lines and the ability to set/clear interrupts from them. This should be more generalized, but is sufficient for now. Submitted by: Hans Petter Selasky END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-19T22:28:24.809779Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-19T23:06:21.907593Z K 7 svn:log V 63 Add a man page for the acpi_asus(4) driver. MFC after: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-20T01:05:56.527306Z K 7 svn:log V 96 A bunch of formatting fixes brough to light by, or created by the Vimage commit a few days ago. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-20T01:24:55.336408Z K 7 svn:log V 94 Fix some of the formatting fixes.. It's amazing how some thing stand out in a commit message. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T02:42:08.574800Z K 7 svn:log V 199 Xen 3.2 now interleaves watch events with regular message notifications. More graciously handle processing messages and watch events inline prior to threads being up and running. MFC after: 1 month END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-20T02:48:33.291168Z K 7 svn:log V 57 Fix wierd integration error No idea where this came from END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-20T03:02:06.558693Z K 7 svn:log V 53 Rename the RCng 'kernel' script to 'kernel_symlink'. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T03:14:48.879894Z K 7 svn:log V 10 Fix build END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T03:27:12.095591Z K 7 svn:log V 80 Check for watch events when doing inline message processing MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T03:28:32.593814Z K 7 svn:log V 54 don't use cpu_idle_acpi under xen MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T04:19:28.304850Z K 7 svn:log V 111 MFC r181617-r181618: r181617: Remove whitespace at the end of line. r181618: Remove 'cr' at the end of line. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T04:31:55.985222Z K 7 svn:log V 111 MFC r181617-r181618: r181617: Remove whitespace at the end of line. r181618: Remove 'cr' at the end of line. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T04:46:46.195103Z K 7 svn:log V 262 MFC r181619: Restore link state handling which was broken in rev 1.69. Also report current link state while auto-negotiation is in progress. With this change link loss should be reported within a second and drivers that rely on link state should work. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T04:51:09.561620Z K 7 svn:log V 262 MFC r181619: Restore link state handling which was broken in rev 1.69. Also report current link state while auto-negotiation is in progress. With this change link loss should be reported within a second and drivers that rely on link state should work. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T04:55:40.733670Z K 7 svn:log V 135 MFC r181655: Fix VLAN hardware tag insertion/stripping on big-endian architectures. Reported by: naddy Tested on: sparc64 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-20T05:00:18.768564Z K 7 svn:log V 66 ifnet_setbyindex() is only used locally, go back to being static. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T05:12:30.890654Z K 7 svn:log V 350 MFC r176859: Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. Also remove unneeded jlist lock which is no longer required to protect jumbo buffers. With these changes jumbo frame performance of nfe(4) was slightly increased and users should not encounter jumbo buffer allocation failure anymore. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T05:19:41.628461Z K 7 svn:log V 1180 MFC r176264: Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. o Removed unneeded jlist lock which was used to manage jumbo buffers. o Don't reinitialize hardware if MTU was not changed. o Added additional check for minimal MTU size. o Added a new tunable hw.skc.jumbo_disable to disable jumbo frame support for the driver. The tunable could be set for systems that do not need to use jumbo frames and it would save (9K * number of Rx descriptors) bytes kernel memory. o Jumbo buffer allocation failure is no longer critical error for the operation of sk(4). If sk(4) encounter the allocation failure it just disables jumbo frame support and continues to work without user intervention. With these changes jumbo frame performance of sk(4) was slightly increased and users should not encounter jumbo buffer allocation failure. Previously sk(4) tried to allocate physically contiguous memory, 3388KB for 256 Rx descriptors. Sometimes that amount of contiguous memory region could not be available for running systems which in turn resulted in failure of loading the driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-20T05:23:31.891758Z K 7 svn:log V 60 MFC r176265: Prefer NULL over integer 0 for pointer type. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-20T06:01:53.691599Z K 7 svn:log V 133 Better comment the pattern tests; adjust the filenames for the reference files to match the corresponding source. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T08:31:58.226711Z K 7 svn:log V 1901 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T08:39:10.945756Z K 7 svn:log V 307 Update system call tables. The previous commit also included changes to all the system call lists, but it is a tradition to update these lists in a second commit, so rerun make sysent to update the $FreeBSD$ tags inside these files to refer to the latest version of syscalls.master. Requested by: rwatson END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T08:44:52.453591Z K 7 svn:log V 254 Correct misbehaviour of patching sys/sys/tty.h. For some reason, sys/sys/tty.h was only half patched. This went by unnoticed, because the copyright notice on the top already displayed my name, so I thought the file went in properly. Reported by: kmacy END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T09:03:03.673776Z K 7 svn:log V 305 Integrate the Xen console driver. I initially didn't want to integrate the Xen console driver, because it did not receive any testing. Kip Macy suggested that I'd better check it in right now, because this is the easiest way for him to test it while he is working on the Xen import. Requested by: kmacy END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:03:23.448193Z K 7 svn:log V 70 register netfront before xenbus does its probing MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:11:58.462912Z K 7 svn:log V 44 include vmparam.h for KERNBASE and fix typo END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:16:46.698325Z K 7 svn:log V 150 - clean up interrupt handling for xen a tiny bit - parse the command line in to kenv - defer shutdown watcher until later in boot MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:20:12.144732Z K 7 svn:log V 173 - add more debug cruft to xenbus - probe backend - separate probing from initialization - add xenbus_strstate - replace pause with tsleep (which should probably be cv_wait) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:21:24.268891Z K 7 svn:log V 74 remove scheduler_running as xenbus no longer needs it MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:22:37.962311Z K 7 svn:log V 48 mark blkfront_info as ready MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T09:43:46.628286Z K 7 svn:log V 262 Remove grantpt.c, which should have been deleted in the MPSAFE TTY commit. The routines in grantpt.c have been moved to ptsname.c in the MPSAFE TTY layer, because grantpt() is now effectively a no-op. I forgot to remove the corresponding source file from libc. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T09:47:49.380635Z K 7 svn:log V 53 change netfront to match xen31_6 fix console locking END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T10:07:10.624893Z K 7 svn:log V 60 set MCLSHIFT to correspond to page size MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-20T10:40:07.316089Z K 7 svn:log V 143 Use net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED. Submitted upstream, no reaction. Submitted by: delphij@ MFC after: 2 weeks END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-08-20T11:33:13.878799Z K 7 svn:log V 262 MFC r181467, r181593: Add glxsb(4) driver for the Security Block in AMD Geode LX processors (as found in Soekris hardware, for instance). The hardware supports acceleration of AES-128-CBC accessible through crypto(4) and supplies entropy to random(4). END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-20T11:48:04.137116Z K 7 svn:log V 141 Revert r181886. A man page already exists in man.i386. I didn't notice it because I was on amd64. Pointy hat to: me Pointed out by: several END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T12:20:22.667675Z K 7 svn:log V 376 Remove the now unused `lbolt' variable from the kernel. We used to have a single wait channel inside the kernel which could be used by threads that just wanted to sleep for some time (the next second). The old TTY layer was the only piece of code that still used lbolt, because I already removed the use of lbolt from the NFS clients and the VFS syncer. Approved by: philip END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-20T12:32:19.191070Z K 7 svn:log V 374 w(1) uses strftime %b with to print the abbreviated month name if a user logged in more than a week ago. This may contain multibyte characters (e.g. when using UTF-8). This string is then aligned on byte-length rathern than char-length, resulting in misalignment and unfinished multibyte characters. PR: 126657 Submitted by: Johan van Selst END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-20T12:36:53.018984Z K 7 svn:log V 12 Add Eee PC. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-20T13:04:27.923775Z K 7 svn:log V 69 Instal k8temp(4) man page only on amd64 and i386. MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-08-20T13:14:58.704789Z K 7 svn:log V 167 Bring in support for the MC8755 Sierra UMTS card. Submitted by: Robert Blacquiere Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-08-20T13:21:04.965437Z K 7 svn:log V 373 Remove sysinstall's ability to adjust the tape block size. Installs from tape have been broken for quite a while, and I'll be removing the rest of sysinstall's knowledge of tapes shortly. I'm doing this piece now because I want to switch from gnu's cpio to bsdcpio being integrated into the installation environment and bsdcpio doesn't seem to handle block sizes at all. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-08-20T13:35:39.660465Z K 7 svn:log V 655 Recent work on the gnu cpio seems to have introduced some bugs, it complains about "Malformed numbers" while unpacking the dists and what winds up on the disk isn't correct. Use this as an opportunity to switch over to bsdcpio since at this point we don't even build and install the gnu cpio by default. Note sysinstall needed to be tweaked a bit (dropping tape block size setting) because it seems bsdcpio doesn't do anything with block sizes, at least as far as reading from archives goes. That wasn't really a problem since installations from tape have been broken for a while and the rest of sysinstall's tape support code will be removed shortly. END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-08-20T14:16:07.969078Z K 7 svn:log V 60 MFC r181468-181469,181594: Add the glxsb(4) manual page. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-20T16:39:18.700568Z K 7 svn:log V 63 cpio should restore file flags and ACLs when they're available END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T17:44:02.865490Z K 7 svn:log V 76 MFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T17:50:59.584002Z K 7 svn:log V 107 Use switch statements instead of if-else for enabling PCI-express config space support. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T18:01:59.208709Z K 7 svn:log V 76 MFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T18:18:17.748266Z K 7 svn:log V 343 - Add support for memory mapped PCI config space access on Intel 915GM and 5000P/V/Z chipsets. - If the base address of the config space BAR is above 4GB for some reason and this isn't a PAE kernel, then warn about this (under bootverbose) and don't use the BAR. PR: kern/126525 Submitted by: Arthur Hartwig @ Nokia MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T18:29:59.466092Z K 7 svn:log V 614 The config space registers holding the upper 32-bits of the prefetchable memory area's base and limit are optional. The low 4-bits of the "low" prefetchable registers indicates whether or not a 32-bit or 64-bit region is supported. The PCI-PCI driver had been assuming that all bridges supported a 64-bit region (and thus the two upper 32-bit registers). Fix the driver to only use those registers if the low 4-bits of the "low" registers indicate that a 64-bit region is supported. The PCI-PCI bridge in the XBox happens to be a bridge that only supports a 32-bit region. Reported by: rink MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T18:33:09.277233Z K 7 svn:log V 161 MFC: Attach the cpufreq child devices with specific orders to enforce relative priority of some of the drivers that manage the same state (e.g. ichss0 vs est0). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-20T19:07:21.257692Z K 7 svn:log V 132 MFC: Change sleepq_add() to accept a lock_object rather than a mutex so that other lock types can be used as interlocks for sleeps. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2008-08-20T19:57:58.977665Z K 7 svn:log V 162 MFC r179374 Similar to changes previously made to src/usr.bin/uniq/uniq.c, fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T21:27:48.740866Z K 7 svn:log V 87 fix typo in previous commit breaking bootup pointed out by: Takahashi Yoshihiro nyan@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-20T22:09:33.965749Z K 7 svn:log V 142 Fix a small typo in the pstat(8) manual page. The second LOW column of the pstat(8) command refers to the low watermark of the output queue. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-20T22:42:20.474367Z K 7 svn:log V 111 Bump _FreeBSD_version for physically contiguous jumbo frame support Requested by: Andrew Gallatin (gallatin@) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-21T00:04:19.351549Z K 7 svn:log V 52 Cope with the file rename by changing rc variables. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-21T00:40:55.003115Z K 7 svn:log V 334 Move man pages out of man4.i386. Most of them are applicable to amd64 too, so, instead of descending to the i386 directory, we add some magic to the parent Makefile. These man pages refer to drivers that I'm aware that work on amd64. Most likely there are more, but I'll deal with them later. Approved by: brueffer, philip, takawata END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T02:03:01.313645Z K 7 svn:log V 177 MFC r180950: s/printf/device_printf/g Don't hard code function name in device_printf() and use __func__. While I'm here nuke bfe_unit in softc as it's not needed anymore. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T02:34:53.729375Z K 7 svn:log V 354 MFC r180950: s/printf/device_printf/g Don't hard code function name in device_printf() and use __func__. While I'm here nuke bfe_unit in softc as it's not needed anymore. Also remove bfe_release_resources() in bus_setup_intr(9) failure path as bfe_release_resources() is called again at the end of bfe_attach() if any error has encountered. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-21T02:40:26.551222Z K 7 svn:log V 225 For reasons that I have not delved in to Xen 3.2 netback now does header splitting so packets > 128 bytes are now split in to multiple buffer. This fixes netfront to handle multiple buffers per rx packet. MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-21T02:57:02.155734Z K 7 svn:log V 95 Fix boot time pmap_growkernel panic for case where vm is allocated >= 768M MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T03:25:44.778750Z K 7 svn:log V 64 MFC r180952, r181556: Nuke referencing softc in device probe. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T03:30:52.687633Z K 7 svn:log V 64 MFC r180952, r181556: Nuke referencing softc in device probe. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T03:34:14.772345Z K 7 svn:log V 67 MFC r180954: style(9) - space after keywords, don't indent case. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T03:39:03.673156Z K 7 svn:log V 67 MFC r180954: style(9) - space after keywords, don't indent case. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T03:45:50.779120Z K 7 svn:log V 133 MFC r181557: Use device_set_desc() instead of device_set_desc_copy() as we don't manipulate the verbose description of a device. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T03:50:50.102709Z K 7 svn:log V 133 MFC r181557: Use device_set_desc() instead of device_set_desc_copy() as we don't manipulate the verbose description of a device. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-21T04:21:53.691848Z K 7 svn:log V 3088 o Sort includes and add to support endianness. o Removed unneeded header files. o bus_dma(9) fix: - created parent tag with 1GB dma address limit with no alignment restrictions. - set 4096 alignment limit for Tx/Rx descriptor rings. - separate Rx buffer tag from Tx buffer tag such that Tx tag allows up-to 16 segments while Rx buffer tag only allows single segment. - it seems the controller has no alignment restrictions on Tx/Rx buffers. Remove ETHER_ALIGN alignment restriction in Tx/Rx buffers. - created a spare Rx dma map which would be used to cope with failure of loading a dma map. - make sure to load full Tx/Rx descriptor size for Tx/Rx descriptor dma maps, previously bfe(4) used to load single descriptor size for each descriptor rings. I have no idea how it could be run without problems. - don't blindly cast bus_addr_t type to 32bits in bfe_dma_map(). - created bfe_dma_free() to free allocated dma memory/tags. - make sure to invoke bus_dmamap_sync(9) before/after processing descriptor rings/buffers. Because the hardware has severe dma address space limitation, bounce-buffers would be always used on systems with more than 1GB memory during descriptors/buffers access. - added Tx descriptor ring initialization function, bfe_list_tx_init(). - moved producer/consumer index initialization to bfe_list_tx_init() and bfe_list_rx_init() from bfe_chip_reset(). - added bfe_discard_buf() which will update loaded descriptors without unloading/reloading the dma map to speed up error recovery. - implemented Tx side bus_dmamap_load_mbuf_sg(9). The number of segments allowed was chosen to be 16 which should be enough for non-TSO capable hardwares. Setting SOF bit of Tx descriptor is done in the last to avoid potential race. - don't give up sending frames in bfe_start() until the hardware lacks free descriptors. - added XXX comment to second kick command and possible workaround. - implemented Rx side bus_dmamap_load_mbuf_sg(9). - removed bfe_dma_map_desc() as it's not needed anymore after the conversion to bus_dmamap_load_mbuf_sg(9). - added endianness support. With this change bfe(4) should work on any architectures that can create bounce buffers within 1GB address range. - add missing bus_dmamap_sync() in bfe_tx_eof()/bfe_rx_eof(). o Use PCI_BAR instead of hardcoded value to set BARs. Simplified register access with bus_write_4(9)/bus_read_4(9) and removed bfe_btag, bfe_bhandle, bfe_vhandle in softc as it's not used anymore. o Reorder device detach logic such that bfe_detach() is also used for handling driver attach failure case. o Remove unnecessary KASSERT in bfe_detach(). o Remove bfe_rx_cnt, bfe_up, bfe_vpd_prodname, bfe_vpd_readonly in softc. It's not used at all. o Remove BFE_RX_RING_SIZE/BFE_RX_RING_SIZE/BFE_LINK_DOWN. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-08-21T05:13:55.523095Z K 7 svn:log V 232 MFC r179423 Fix a panic that a priority value which is passed to cv_broadcastpri(9) can be < 0. We don't ignore a `increment' argument but at least we keep a priority value of NDIS threads over PRI_MIN_KERN. Reviewed by: thompsa END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-08-21T05:30:26.661122Z K 7 svn:log V 243 MFC r179855 handle .INF files for PCMCIA correctly that specify multiple entries in their [Manufacturer] sections and prevent a case that NDIS_PCI_DEV_TABLE definition was always emitted that it's only emitted once if a .INF file is for PCI. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-08-21T05:34:37.439961Z K 7 svn:log V 56 MFC r180730 remove reference for unexisting ndisapi(9) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-08-21T05:40:38.832130Z K 7 svn:log V 438 MFC r180754 when NDIS framework try to query/set informations NDIS drivers can return NDIS_STATUS_PENDING. In this case, it's waiting for 5 secs to get the response from drivers now. However, some NDIS drivers can send the response before NDIS framework gets ready to receive it so we might always be blocked for 5 secs in current implementation. NDIS framework should reset the event before calling NDIS driver's callback not after. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-21T06:41:14.235895Z K 7 svn:log V 285 Always display the unedited pathname in -t output. I would like to provide a way to preview the effects of pathname edits, but pattern selection has to happen against the unedited path, so it seems that we have to show people the unedited path to help in designing selection patterns. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-21T07:04:57.007431Z K 7 svn:log V 78 Add some more tests to verify that "./foo" matches "foo" but "/foo" does not. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-08-21T07:36:17.155634Z K 7 svn:log V 226 Lockf was exiting with status 1 if the command did not exit normally. This is easy to confuse with the actual exit status of the program. Instead exit with EX_SOFTWARE if the command doesn't exit normally. MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-21T09:58:18.368406Z K 7 svn:log V 126 MFC r181823: Remove the check for mode and conditional swapgs in doreti_iret_fault, we already have right gs base in the MSR. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-21T14:12:34.017897Z K 7 svn:log V 81 Use the SCHEME_ knobs rather than knowing what they expand to. Reviewed by: des END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-21T15:02:17.829924Z K 7 svn:log V 529 Properly lock proctree_lock before locking the process while accounting. During the import of the MPSAFE TTY layer (r181905), I changed acct_process() to lock proctree_lock instead of SESS_LOCK, because s_ttyp is now locked using proctree_lock. One of the things I forgot, was to lock it before we PROC_LOCK. Commit this patch, written by kib@. To ensure we hold proctree_lock as short as possible, obtaining `ac_tty' has now been made the first step of filling `acct'. Reported by: Kevin Solved by: kib END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-08-21T16:35:34.854676Z K 7 svn:log V 83 Adapt mxge shims to detect phys contig jumbo frames in RELENG_7 MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-08-21T16:49:57.116597Z K 7 svn:log V 252 Increase cryptotest tool initialization vector (IV) size. This fixes potential out-of-bound accesses when testing ciphers with block size greater than 8 bytes (e.g. AES). Submitted by: Bartlomiej Sieka tur ! semihalf dot com Discussed with: pjd, sam END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-21T17:24:49.986832Z K 7 svn:log V 268 Remove comments and #ifdef notyet'd code relating to directly dispatching the IP multicast input code from the output path; we don't allow reentrance of the input path from the IP output path, it must use the netisr due to potential lock recursion. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-21T17:53:13.042682Z K 7 svn:log V 174 Merge the relevant information of man4.i386/ichwd.4 into man4/ichwd.4 and remove ichwd(4) man page from man4.i386. Submitted by: gavin Reviewed by: des, me Approved by: des END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2008-08-21T18:00:15.046841Z K 7 svn:log V 125 Remove MPT_LOCK/UNLOCK from mpt_user_attach in RELENG_6. This was causing a panic with witness enabled. Reviewed by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-21T19:22:13.791940Z K 7 svn:log V 112 Add a "CACHING" section regarding the internal caching of kernel variables and the ability to clear that cache. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-08-21T20:37:38.597823Z K 7 svn:log V 186 Add support for the Alcor Card Reader (9361) PR: 124656 Submitted by: Vincent Francois Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-21T22:28:00.725715Z K 7 svn:log V 178 The results for test 2 here are short enough to just be included inline. There's no need to go through the hassle of having a checked-in uuencoded reference file for comparison. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-08-21T22:57:31.885522Z K 7 svn:log V 44 Add comments on NOARGS, NODEF, and NOPROTO. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-21T23:22:32.417949Z K 7 svn:log V 108 Add the Avlab Technology PCI IO 4S-850 4 port serial card. PR: kern/110797 Submitted by: Trevor Roydhouse END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-22T00:12:08.880910Z K 7 svn:log V 75 Add the VScom PCI-100L card. PR: kern/72352 Submitted by: Thomas Nystrom END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-22T00:13:17.234513Z K 7 svn:log V 101 Add the Decision Computer Inc, PCCOM 8-port serial card. PR: kern/69730 Submitted by: Darrin Smith END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-22T01:06:25.931009Z K 7 svn:log V 309 Remove bfe_link in softc and introduce two new flags to mark link state and detach request. While I'm here make sure established link is IFM_10_T or IFM_100_TX as bfe(4) just supports 10/100Mbps media. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T01:16:16.484053Z K 7 svn:log V 290 Implement sx_sleep() on 6.x. This is not an MFC as sx_sleep() in 7.0+ is implemented via _sleep() and methods in the lock class and that would be a lot to backport. Instead, sx_sleep() is a new function that is largely a copy of msleep. It has identical semantics to sx_sleep() in 7.0+. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T01:17:56.511268Z K 7 svn:log V 297 Use sx_sleep() when waiting for a file lock instead of explicitly dropping the sx lock and then doing a tsleep() without a timeout. The tsleep() method leads to lost wakeups that can cause processes to hang waiting for a lock on an unlocked file. The lockf code already uses sx_sleep() in 7.x+. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-22T01:22:55.572840Z K 7 svn:log V 69 Test for -q (aka --fast-read). Fix the error uncovered by this test. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-22T01:23:39.472251Z K 7 svn:log V 123 MFC 181616: Remove cxgb private lro implementation and switch to using system implementation. Obtained from: Chelsio Inc. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-22T01:26:55.447384Z K 7 svn:log V 42 Explain how the test_option_q test works. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-22T01:28:57.288151Z K 7 svn:log V 90 MFC 181652: Add LRO and MAC statistics to exported sysctls. Obtained from: Chelsio Inc. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-22T01:30:39.451738Z K 7 svn:log V 68 MFC 181653: Fix runt TSO packet issue. Obtained from: Chelsio Inc. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-22T01:31:13.495005Z K 7 svn:log V 34 Don't clean before running tests. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-22T01:35:08.693025Z K 7 svn:log V 88 Minor cleanup of the -q test: Assert that stdout/stderr are empty for each extraction. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-22T02:09:10.962821Z K 7 svn:log V 225 The newc-format verification is now a little smarter about following the archive structure. In particular, it no longer crashes if you run it against GNU cpio 2.9 (although it does still complain a lot more than it should). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T02:14:23.128365Z K 7 svn:log V 1303 Extend the support for PCI-e memory mapped configuration space access: - Rename pciereg_cfgopen() to pcie_cfgregopen() and expose it to the rest of the kernel. It now also accepts parameters via function arguments rather than global variables. - Add a notion of minimum and maximum bus numbers and reject requests for an out of range bus. - Add more range checks on slot/func/reg/bytes parameters to the cfg reg read/write routines. Don't panic on any invalid parameters, just fail the request (writes do nothing, reads return -1). This matches the behavior of the other cfg mechanisms. - Port the memory mapped configuration space access to amd64. On amd64 we simply use the direct map (via pmap_mapdev()) for the memory mapped window. - During acpi_attach() just after loading the ACPI tables, check for a MCFG table. If it exists, call pciereg_cfgopen() on each subtable (memory mapped window). For now we only support windows for domain 0 that start with bus 0. This removes the need for more chipset-specific quirks in the MD code. - Remove the chipset-specific quirks for the Intel 5000P/V/Z chipsets since these machines should all have MCFG tables via ACPI. - Updated pci_cfgregopen() to DTRT if ACPI had invoked pcie_cfgregopen() earlier. MFC after: 2 weeks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-22T02:27:06.745858Z K 7 svn:log V 242 Comment a couple of places where bsdcpio and gcpio 2.9 disagree. The number of blocks read from ustar archives is just an implementation difference. The failure of bsdcpio to emit a block count to stderr in -p mode is a real bug in bsdcpio. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-22T03:08:31.736601Z K 7 svn:log V 739 MFC r174150, r174240, r179009, r179720 Sync sys/compat/ndis to HEAD. - Correct the calculation for the number of 100ns intervals since January 1, 1601. The 1601 - 1970 period was in seconds rather than 100ns units. - Remove duplication by having NdisGetCurrentSystemTime call ntoskrnl_time. - Implement functions required by some ndis drivers. - Fix a panic when it occurred during initializing the ndis driver because it try to read network address through ifnet structure which is NULL until the ndis driver's initialization is finished. - fix a page fault that it occurred during ifp is NULL. This bug happens when NDIS driver's initialization is failed and NDIS driver's trying to call NdisWriteErrorLogEntry(). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-22T03:15:50.464319Z K 7 svn:log V 161 MFC r178214 If the .inf file did not have a Default entry for the registry key then write out a blank value and close the brackets on the ndis_regvals array. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-22T03:55:37.416663Z K 7 svn:log V 124 MFC r179894, r181224 Add support for the optional key in the GRE header. PR: kern/114714 Submitted by: Cristian KLEIN END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-22T04:52:21.365146Z K 7 svn:log V 317 Because bfe(4) knows interrupt mask value there is no need to read interrupt mask register again. This saves one register access per each interrupt. Also don't try to process frames when driver is not running. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-22T05:15:52.193911Z K 7 svn:log V 329 Prevent VSTART flooding when turning on software flow control. It turned out we transmitted VSTART after each successful read on a TTY when software flow control was turned on. This was because of a very evil bug where we tested the TF_HIWAT_IN flag the other way around. Reported by: Christian Weisgerber END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-22T06:46:55.219548Z K 7 svn:log V 273 Add a new sysctl node 'dev.bfe.N.stats' that shows various MAC counters for Rx/Tx statistics. Various counters in ifnet is also updated with these hardware counters. Tested by: kib, Gleb Kurtsou gleb.kurtsou at gmail dot com Ulrich Spoerlein uspoerlein at gmail dot com END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-08-22T08:09:13.794064Z K 7 svn:log V 235 MFC r181753: Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. This can be used to disable the 80pin cable check on systems which forget to set the bit -- such as certain laptops and Soekris boards. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-22T08:58:31.326907Z K 7 svn:log V 113 Welcome Stanislav Sedov as an src committer. His work on cpuctl(4) cannot be left unpunished. Approved by: core END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-22T09:23:39.454140Z K 7 svn:log V 306 Add -fno-omit-frame-pointer to CFLAGS used to compile crt1.c on amd64. For gcc' __builtin_frame_address() to work, all call frames need to save frame pointer. In particular, this is important for the upper frame that should terminate the chain. No objections from: jhb PR: amd64/126543 MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-22T09:47:01.779352Z K 7 svn:log V 108 MFC r181868: In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue, instead of QUEUE_DIRTY. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-22T09:54:56.150800Z K 7 svn:log V 145 MFC r180758: Prevent the bdflush() activity when several buffers are locked at once by setting the TDP_INBDFUSH for the problematic code blocks. END