ƒ°/139403 186 497 158 125 132 128 192 153 441 455 268 225 246 238 220 127 137 242 400 134 137 157 123 123 151 428 126 689 143 771 136 189 208 143 343 145 330 267 207 153 260 393 195 236 207 159 116 295 167 307 108 2878 400 128 2319 186 240 198 242 264 854 414 770 254 196 198 289 228 289 226 223 467 193 327 133 220 746 344 391 159 152 269 259 162 123 132 274 204 102 131 131 282 1113 232 116 238 556 256 882 140 144 111 113 328 116 432 268 230 120 145 222 135 175 123 273 314 230 141 127 198 141 158 122 111 211 941 650 100 116 224 133 378 143 294 348 521 150 403 145 237 321 278 248 750 183 779 188 264 227 218 191 139 950 238 139 373 718 173 220 237 298 209 237 713 210 336 142 155 313 323 351 117 201 239 162 351 151 277 154 525 206 185 122 161 140 358 183 K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-29T14:25:41.000000Z K 7 svn:log V 399 - call the driver 'bktr' instead of 'brooktree' throughout the document - add a HARDWARE section - add a more descriptive NAME section - update for recently imported Pinnacle PCTV support - add Branko Lankester, the original author of the PCTV patches, to the AUTHORS section - bump .Dd Thanks to all multimedia@ readers who sent me information about their supported hardware! MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-29T14:38:37.000000Z K 7 svn:log V 61 Autogenerate device listings for bktr(4). MFC after: 1 week END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-12-29T15:49:18.000000Z K 7 svn:log V 29 MFC: add support for FC929X. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-12-29T15:51:06.000000Z K 7 svn:log V 36 MFC: note added support for FC929X. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-12-29T15:57:30.000000Z K 7 svn:log V 32 MFC: add missed mpt(4) manpage. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-29T16:37:19.000000Z K 7 svn:log V 95 MFC: rev. 1.6 + 1.7 The ixgb(4) driver actually first appeared in 5.3 and the upcomming 4.11. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-29T16:57:11.000000Z K 7 svn:log V 56 SMC SMC2536W-AG verified as working. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-12-29T17:11:02.000000Z K 7 svn:log V 348 Merge the following from the English version: 1.17 -> 1.21 early-adopter/article.sgml 1.261 -> 1.269 hardware/common/dev.sgml 1.6 -> 1.7 hardware/common/intro.sgml 1.13 -> 1.14 hardware/i386/proc-i386.sgml 1.7 -> 1.9 hardware/ia64/proc-ia64.sgml 1.4 -> 1.5 hardware/pc98/proc-pc98.sgml 1.7 -> 1.8 share/sgml/release.dsl END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-29T19:32:21.000000Z K 7 svn:log V 357 A lot of people may want to submit PRs from systems that are not connected to the Internet or systems that do not have a correctly configured email subsystem. Now that the send-pr web interface has antispam protection, mention that it is ok to use it for submitting problem reports. Ok by: linimon Submitted by: Rob on freebsd-doc END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-29T19:39:06.000000Z K 7 svn:log V 172 Remove the special sparc64 time_t support. If someone isn't running with a 64-bit time_t by now, they don't track -CURRENT and would probably go to RELENG_5 vs. 6-CURRENT. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-29T19:40:56.000000Z K 7 svn:log V 127 Mark up SIGSTOP with .Dv and use .Nm in HISTORY for marking up `signal'. PR: docs/75615 Submitted by: n-kogane@syd.odn.ne.jp END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-12-29T20:00:29.000000Z K 7 svn:log V 149 Catch up with stat.h a bit: o Sticky bit is actually defined as S_ISTXT not S_ISVTX. o Sticky bit is wrapped in if __BSD_VISIBLE not _POSIX_SOURCE. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-29T21:36:43.000000Z K 7 svn:log V 142 Don't call ugen_destroy_devnodes(). it is called from ugen_set_config() which is the very next line. Submitted by: stefanf MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-29T21:45:17.000000Z K 7 svn:log V 122 MFC: rev. 1.6 + 1.7 The ixgb(4) driver actually first appeared in 5.3 and the upcoming 4.11. Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-29T21:50:44.000000Z K 7 svn:log V 32 Remove vnode_if.h for rev 1.14. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-29T22:58:58.000000Z K 7 svn:log V 40 MFC v1.58: Fix -W long option handling. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-29T23:17:33.000000Z K 7 svn:log V 144 MFC 1.29: Tune bidding for tar archives to improve heuristic for deciding whether a hardlink entry with non-zero size really has a body or not. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-29T23:26:18.000000Z K 7 svn:log V 302 Rewrite the code that hacks a short names to use in the regular ustar entry. The old code sometimes created a too-long name that overflowed the ustar fields and triggered an internal assertion failure. This version should be more robust. Thanks to: Michal Listos Fixes: bin/74385 MFC after: 15 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-30T00:48:36.000000Z K 7 svn:log V 39 MFC: rev. 1.395: enable sound modules. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-30T00:53:56.000000Z K 7 svn:log V 42 Clearer va-args usage. Submitted by: bde END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-30T01:48:12.000000Z K 7 svn:log V 60 Fix typos. PR: 75616 Submitted by: n-kogane@syd.odn.ne.jp END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-30T01:52:21.000000Z K 7 svn:log V 26 MFC: rev. 1.7 Fix typos. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-30T02:54:27.000000Z K 7 svn:log V 26 MFC: rev. 1.7 Fix typos. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-30T02:55:16.000000Z K 7 svn:log V 54 MFC: rev. 1.7 Fix typos. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-30T02:56:17.000000Z K 7 svn:log V 331 Make umtx_wait and umtx_wake more like linux futex does, it is more general than previous. It also lets me implement cancelable point in thread library. Also in theory, umtx_lock and umtx_unlock can be implemented by using umtx_wait and umtx_wake, all atomic operations can be done in userland without kernel's casuptr() function. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-12-30T06:18:17.000000Z K 7 svn:log V 30 MFC 1.124 Plug memory leak. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-12-30T06:23:39.000000Z K 7 svn:log V 592 MFC 1.159 Due to unknown reasons, Disk_Names() returns SCSI CDROM as a valid disk. This is main reason why sysinstall presents SCSI CDROM to available disks in Fdisk/Label menu. In addition, adding a blank SCSI CDROM to the menu generates floating point exception in sparc64. Disk_Names() just extracts sysctl "kern.disks". Why GEOM treats SCSI CDROM as a disk is beyond me and that should be investigated. For temporary workaround, ignore SCSI CDROM device. PR: sparc64/72962 Tested by: R. Tyler Ballance < tyler AT tamu DOT edu> MFC after: 1 week END K 10 svn:author V 6 anholt K 8 svn:date V 27 2004-12-30T06:52:32.000000Z K 7 svn:log V 48 MFC r1.3: Add PCI ID for VIA K8T800Pro chipset. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2004-12-30T07:18:58.000000Z K 7 svn:log V 675 [1] Remove the generic bridge support from those drivers that had it. The generic bridge support was biting us more than it helped, whenever a new chipset came out from a vendor and misprogramming it caused strange hangs or corruption. [2] Add a large number of PCI IDs based on what the linux drivers support. Note that the new PCI IDs haven't been tested, they're just *likely* to work. In particular the VIA AGP 8x chipsets are concerning, due to lack of testing, possible issues (kern/69953), and not having a nice "does this bridge say it would do 8x" function. However, this shouldn't make the situation worse, since these chips would have probed in the past anyway. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-12-30T12:18:30.000000Z K 7 svn:log V 39 Correct two typos; remove a duplicate. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-30T12:22:51.000000Z K 7 svn:log V 93 Remove a check that never returns true, because in this case we have panic before the check. END K 10 svn:author V 5 krion K 8 svn:date V 27 2004-12-30T13:09:34.000000Z K 7 svn:log V 113 Add LOG_NTP facility. Submitted by: Kurt Jaeger Approved by: ru MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T13:49:01.000000Z K 7 svn:log V 47 mac_portacl.c no longer references vnode_if.h. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T13:56:34.000000Z K 7 svn:log V 246 Make the sysctls kern.ipc.msgmnb and kern.ipc.msgtql into tunables as is the case for most other sysctls in the System V IPC message queue implementation. PR: 75541 Submitted by: Sergiy Vyshnevetskiy MFC after: 2 weeks END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-12-30T14:27:57.000000Z K 7 svn:log V 53 Plug memory leak. PR: bin/75656 MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T15:30:23.000000Z K 7 svn:log V 237 - Indent the comments beside the SMP options to the same level as all the other comments. Clarify that the next two things needed for SMP are two lines. - Expand mii abbreviation to miibus for clarity in the USB ethernet comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T15:32:31.000000Z K 7 svn:log V 174 Sync with i386 GENERIC some: - Update comments to newer style (space after #) - Bring across various comment updates. - Add AHC_REG_PRETTY_PRINT, ADAPTIVE_GIANT, and rue(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-30T16:05:11.000000Z K 7 svn:log V 110 Make syslog(3) thread safe. PR: bin/72394 Submitted by: Dan Nelson Reviewed by: deischen MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T16:53:20.000000Z K 7 svn:log V 57 Enable NCP build in NOTES so that it is visible in LINT. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T16:56:07.000000Z K 7 svn:log V 163 Constify ipx_zeronet, ipx_zerohost, ipx_broadnet, ipx_broadhost. Remove 'allones' since the values of the broadcast network and host variables are set statically. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T17:21:07.000000Z K 7 svn:log V 296 Garbage collect unused (and incompletely implemented) functions: - ipx_pcbnotify(), which is never called. - ipx_rtchange(), which is never called, is incomplete inplemented, and also #ifdef notdef. - spx_fixmtu(), which is never called, is incompletely implemented, and also #ifdef notdef. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T17:49:40.000000Z K 7 svn:log V 99 Convert netipx to use queue(9) doubly-linked lists instead of home-brew linked lists for ipxpcb's. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-30T17:54:53.000000Z K 7 svn:log V 139 Use a global variable, ipxpcb_lport_cache, to cache the most recently used IPX port number, rather than using the global ipxpcb list head. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T18:31:53.000000Z K 7 svn:log V 114 Minor sync to alpha and i386: - Add ADAPTIVE_GIANT and AHC_REG_PRETTY_PRINT. - Indent SMP to match other options. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T18:51:23.000000Z K 7 svn:log V 67 Minor sync to i386 GENERIC in the form of comments and whitespace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T19:14:48.000000Z K 7 svn:log V 24 Small whitespace fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T19:24:49.000000Z K 7 svn:log V 202 Call tty_close() at the very end of ttyclose() since otherwise NULL deferences can occur since tty_close() may end up freeing the tty structure if it drops the last reference to it. Glanced at by: phk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T19:26:23.000000Z K 7 svn:log V 75 Use NULL instead of 0 in a few places as well as various whitespace fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T20:29:58.000000Z K 7 svn:log V 214 Stop explicitly touching td_base_pri outside of the scheduler and simply set a thread's priority via sched_prio() when that is the desired action. The schedulers will start managing td_base_pri internally shortly. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T20:30:58.000000Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T20:52:44.000000Z K 7 svn:log V 2784 Rework the interface between priority propagation (lending) and the schedulers a bit to ensure more correct handling of priorities and fewer priority inversions: - Add two functions to the sched(9) API to handle priority lending: sched_lend_prio() and sched_unlend_prio(). The turnstile code uses these functions to ask the scheduler to lend a thread a set priority and to tell the scheduler when it thinks it is ok for a thread to stop borrowing priority. The unlend case is slightly complex in that the turnstile code tells the scheduler what the minimum priority of the thread needs to be to satisfy the requirements of any other threads blocked on locks owned by the thread in question. The scheduler then decides where the thread can go back to normal mode (if it's normal priority is high enough to satisfy the pending lock requests) or it it should continue to use the priority specified to the sched_unlend_prio() call. This involves adding a new per-thread flag TDF_BORROWING that replaces the ULE-only kse flag for priority elevation. - Schedulers now refuse to lower the priority of a thread that is currently borrowing another therad's priority. - If a scheduler changes the priority of a thread that is currently sitting on a turnstile, it will call a new function turnstile_adjust() to inform the turnstile code of the change. This function resorts the thread on the priority list of the turnstile if needed, and if the thread ends up at the head of the list (due to having the highest priority) and its priority was raised, then it will propagate that new priority to the owner of the lock it is blocked on. Some additional fixes specific to the 4BSD scheduler include: - Common code for updating the priority of a thread when the user priority of its associated kse group has been consolidated in a new static function resetpriority_thread(). One change to this function is that it will now only adjust the priority of a thread if it already has a time sharing priority, thus preserving any boosts from a tsleep() until the thread returns to userland. Also, resetpriority() no longer calls maybe_resched() on each thread in the group. Instead, the code calling resetpriority() is responsible for calling resetpriority_thread() on any threads that need to be updated. - schedcpu() now uses resetpriority_thread() instead of just calling sched_prio() directly after it updates a kse group's user priority. - sched_clock() now uses resetpriority_thread() rather than writing directly to td_priority. - sched_nice() now updates all the priorities of the threads after the group priority has been adjusted. Discussed with: bde Reviewed by: ups, jeffr Tested on: 4bsd, ule Tested on: i386, alpha, sparc64 END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-30T21:39:35.000000Z K 7 svn:log V 302 MFC of revision 1.80.2.21, which was MFC of rev 1.103: date: 2004/12/22 04:45:49; author: kensmith; state: Exp; lines: +7 -0 MFC rev 1.103: date: 2004/11/03 18:26:06; author: kensmith; state: Exp; lines: +7 -0 Update the list of package names/descriptions. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-30T22:17:00.000000Z K 7 svn:log V 36 Fix a typo and two whitespace nits. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-30T22:24:43.000000Z K 7 svn:log V 2222 Merge a fix from Dragonfly: to quote Matt: Fix a very serious bug in contigmalloc() which we inherited from FreeBSD-4.x. The contigmalloc() code incorrectly assumes that a page in PQ_CACHE can be reused without having to do any further checks and it unconditionally busies and frees such pages, and assumes that the page becomes PQ_FREE even though it might actually have gone to a PQ_HOLD state. Additionally the contigmalloc() code unconditionally sets m->object to NULL, ignoring the fact that the page will be in the VM page bucket hash table if object happens to not be NULL, leading to page bucket hash table corruption. The fix is two fold. First, we add checks for m->busy, (m->flags & PG_BUSY), m->wire_count, and m->hold_count and do not reuse a page with any of those set. We do this for all pages, not just PQ_CACHE pages, though it is believed that it only needs to be done for PQ_CACHE pages. Second, we replace the m->object = NULL assignment with an assertion that it is already NULL, since it had better be NULL and we cannot just set it to NULL unconditionally without blowing up the VM page hash table. Symptoms of the bug include: * Filesystem corruption, in particular with slower disk drivers (e.g. like the 'twe' driver), or in systems with drivers which use contigmalloc() a lot (e.g. require bounce buffers). Mangled directory entries, bad indirect blocks (containing data instead of indirect block pointers), and files containing other file's data. * 'page not found in hash' panic. This is the last major VM issue in DragonFly, one that has plagued in particular David Rhodus (who is a heavy user of the 'twe' driver) for over a year. I would never have found this bug if not for DR's persistence and the dozens of kernel cores he was able to provide me over the last year. We finally got a core with a 'smoking gun', after having written a program (/usr/src/test/debug/vmpageinfo.c) to run through all the VM pages and check their hash table association for correctness it became obvious that pages were being reused without being removed from the hash table which finally led to contigmalloc*(). Many thanks to: David Rhodus! Free gift enclosed! END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-12-30T22:36:54.000000Z K 7 svn:log V 88 Added device id support for Intel 82541ER and 82546GB dual port PCIE adapter. PR: None END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-30T23:18:34.000000Z K 7 svn:log V 147 Allow -d and -h as command line flags. These are used to generate only the .h or _data.h files respectively. Restructure code to allow for this. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-30T23:19:40.000000Z K 7 svn:log V 105 Call usbdevs2h with -h for .h file Explicitly generate usbdevs_data.h for usb kernels with new -d switch END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-30T23:22:08.000000Z K 7 svn:log V 149 Remove special case from *devs2h loop for usb Move usb out of the loop since the other devs2h programs don't grok -h Add new rule for usbdevs_data.h END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-12-31T00:15:36.000000Z K 7 svn:log V 165 Corrected a workaround that should only be applied to one adapter. Workaround was causing device hangs when incorrectly applied to other adapters. PR: kern/66634 END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-12-31T00:18:42.000000Z K 7 svn:log V 761 Do more extensive checking of the userid field which is read in from the control-file for each print job. This is partially because the previous checks still let through some characters which would cause trouble for other applications which try to process the resulting userid -- such as accounting programs. But the main reason is to handle the case where some remote host sends a print job where the given userid is an uppercase-version of the real userid. For that case, lpd will now check for uppercase letters in the userid. If there are any, it will check to see if the given userid (with the uppercase letters) is a valid one. If it is *not* valid, then lpd will change the userid to all-lowercase right when the job is received. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-31T00:32:50.000000Z K 7 svn:log V 317 Update netstat(1) for recent conversion of netipx to queue(9) from home-brew linked lists. Read in the ipxpcb_list structure first in order to find the first pcb pointer. Then follow the chain as before, only the termination condition is a NULL next pointer rather than a next pointer equal to the original offset. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-12-31T00:36:28.000000Z K 7 svn:log V 677 Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm for calculating the job number for a job based on the control-file name. We might receive cf-files named by other implementations of lpr, where the job number shown by lpq would not match the job number that other commands expected for the same name. This also uses a newer algorithm for determining a job number, to avoid problems caused when a control-file is named using an IP address, instead of the hostname. This also moved the declaration if isowner() from lp.h to rmjob.c. When I went to change the parameters, I noticed that rmjob.c was the only source file which uses it. MFC after: 2 weeks END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-12-31T04:15:52.000000Z K 7 svn:log V 161 MFC 1.62: When printing a data file received from some other host, check to make sure the data file has been completely transfered before starting to print it. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T07:31:15.000000Z K 7 svn:log V 100 MFC: Add support for USB Microsoft Intellimouse Submitted by: Matt Wright END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T07:32:13.000000Z K 7 svn:log V 102 MFC: Add support for USB Microsoft Intellimouse Submitted by: Matt Wright END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T07:53:46.000000Z K 7 svn:log V 193 MFC: Changes to cache endpoint descriptors for all the interfaces. this information is not always available if we change interfaces. Submitted by: jamie at bishopston dot net (jamie jones) END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:01:48.000000Z K 7 svn:log V 132 MFC: Whitespace diff reduction, formatting fixes and one actual arithmetic error that NetBSD have fixed. Obtained from: NetBSD END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:15:19.000000Z K 7 svn:log V 193 MFC of some whitespace chenges. The change in current had a real bugfix but when I merged it in to 4.x it disappeared and only the formatting changes remained.. Oh well it's a diff reduction.. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:33:52.000000Z K 7 svn:log V 130 MFC: Allow /sys/dev/bktr to support Pinnacle PCTV Rave cards PR: 73669 Submitted by: arne_woerner at yahoo dot com END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:36:17.000000Z K 7 svn:log V 127 MFC: Add some locking for -currnet/5.x PR: 74305 Submitted by: Anish Mistry END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:40:04.000000Z K 7 svn:log V 371 MFC: Slightly reorganise part of the ohci_softintr() function to better keep track of the total amoutn transferred during a transfer. Seems similar to some code in the NetBSD version. I notice they have incorporated matches from him so I don't know which direction it went. Submitted by: damien.bergamini@free.fr Obtained from: patches to make the ueagle driver work END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:45:18.000000Z K 7 svn:log V 98 MFC: Formatting changes and a small correction when count of companions is wrong. Diff reduction. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:50:48.000000Z K 7 svn:log V 231 MFC: Diff reduction to NetBSD. Now only things that are different between us and NetBSD show up. Means that these files are more of NetBSD style in some places but since thay are NetBSD files, um, that's ok. Obtained from: NetBSD END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T08:54:11.000000Z K 7 svn:log V 38 get the right NetBSD ID on this file. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-31T09:18:29.000000Z K 7 svn:log V 124 Roger is away, note that his maintainership is on vacation until he gets back. (hopefully next year) Submitted by: linimon END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-31T11:12:18.000000Z K 7 svn:log V 648 MFC of rev 1.329 of vm_object.c: date: 2004/07/28 18:23:08; author: alc; state: Exp; lines: +2 -2 Correct a very old error in both vm_object_madvise() (originating in vm/vm_object.c revision 1.88) and vm_object_sync() (originating in vm/vm_map.c revision 1.36): When descending a chain of backing objects, both use the wrong object's backing offset. Consequently, both may operate on the wrong pages. Quoting Matt, "This could be responsible for all of the sporatic madvise oddness that has been reported over the years." Reviewed by: Matt Dillon Reviewed by: alc Helped by: DFly vm_map.c rev 1.31, vm_object.c rev 1.17 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-31T11:54:39.000000Z K 7 svn:log V 247 Add 'struct ipxpcb' forward declaration to ipx_var.h. I had this in the netperf branch but for some reason didn't trigger a build failure locally when I merged to CVS and omitted it. Presumably driver error. Pointed out by: cperciva, tinderbox END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-31T12:04:21.000000Z K 7 svn:log V 294 Apply a simplifying patch submitted by rik to the IPX support in netstat(1): - Make previously unnecessarily global variables local. - Use LIST_FOREACH() in preference to manual iteration. - Restore a sanity check through slightly incestuous use of queue macro knowledge. Submitted by: rik END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-12-31T12:25:54.000000Z K 7 svn:log V 66 Fix the build: gcc 2.95 with -ansi does not like C++ // comments. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-31T14:32:08.000000Z K 7 svn:log V 55 Refer to Xorg, rather than XFree86. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-31T14:52:53.000000Z K 7 svn:log V 176 Be consistent and always use form 'return (value);' instead of 'return value;'. We had (before this change) 84 lines where it was style(9)-clean and 15 lines where it was not. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-31T16:05:07.000000Z K 7 svn:log V 166 Add usbdevs_data.h to the SRCS list since usb_subr.c needs it. This forces old usbdevs_data.h files to be updated as well as fixing the standalone usb module build. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-31T17:05:37.000000Z K 7 svn:log V 66 Marginally reformat copyright statements to remove an excess ','. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T18:06:45.000000Z K 7 svn:log V 31 Bump to 2005 for the new year. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T18:37:49.000000Z K 7 svn:log V 40 Finish merging usb vendors from NetBSD. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T18:59:38.000000Z K 7 svn:log V 181 Eliminate the redundant/verbose portion of the company names. Generally omit semiconductor, electronics, inc, corp, pny, ltd and the like. This saves almost 3k for the usb module. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T19:10:33.000000Z K 7 svn:log V 111 First pass at shortening names. Likely more can be done. Generally prefer ethernet and serial to \1 adapter. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T19:13:38.000000Z K 7 svn:log V 10 MFC: 2005 END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T19:16:33.000000Z K 7 svn:log V 39 MFC: 2005 Approved by: re@ (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T19:37:02.000000Z K 7 svn:log V 39 recognize atheros information elements END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T19:39:25.000000Z K 7 svn:log V 189 o accept deftxkey as a synonym for weptxkey since that is what is printed for status (allows cut&paste) o accept undef for the deftxkey/weptxkey so you can reset state Requested by: phk END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T19:46:27.000000Z K 7 svn:log V 1019 Fix special status reporting. Prior to the reorg there was special-purpose code to display status for an interface for state that was not address-oriented. This status reporting was merged in to the address-oriented status reporting but did not work for link address reporting (as discovered with fwip interfaces). Correct this mis-merge and eliminate the bogus kludge that was used for link-level address reporting. o add an af_other_status method for an address family for reporting status of things like media, vlan, etc. o call the af_other_status methods after reporting address status for an interface o special-case link address status; when reporting all status for an interface invoke it specially prior to reporting af_other_status methods (since it requires the sockaddr_dl that is passed in to status separately from the rtmsg address state) o correct the calling convention for link address status; don't cast types, construct the proper parameter This fixes ifconfig on fwip interfaces. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-31T19:50:45.000000Z K 7 svn:log V 139 Assert that page allocations during an interrupt specify VM_ALLOC_INTERRUPT. Assert that pages removed from the cache queue are not busy. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:11:23.000000Z K 7 svn:log V 24 cleanup some assertions END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:13:58.000000Z K 7 svn:log V 145 no need to sweep the tx q's for node references in ath_node_free; we know there are none since we're only called when the ref count goes to zero END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:20:02.000000Z K 7 svn:log V 463 Correct beacon timer setup logic: o lintval is in ms; must convert to TU's for passing to the hal o roundup to calculate nexttbtt (should look at current tsf and pull the calculated nextbtt forward but this'll do for now) o don't or- in HAL_BEACON_RESET_TSF when doing station timer setup; this is not needed and messes up the sleep timer calcs, though it's unclear if it mattered as the hal masks these values before use Submitted by: Thorsten von Eicken END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:21:31.000000Z K 7 svn:log V 163 for parts that require split keycache entries report the the index of the first entry on a mic error so we're consistent with parts that don't have split keycache END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:32:40.000000Z K 7 svn:log V 789 Radiotap fixups: o catch one place where we were not using ath_chan_change to switch channels; this fixes a problem where the channel settings were not being correctly reported in captured packets o return unique channel identification in the channel flags; ethereal gets confused if you return merged flags (e.g. ofdm, cck, and 2Ghz) (this is workaround and should be removed if we can ever cleanup radiotap consumers) o correct short/long preamble flag state for rx and treat tx the same--use a new hwflags array that gives us the data based on the h/w rate index/cookie o add gross hack to handle radiotap capture of frames that come in with hardware padding; should be replaced by a flag in the radiotap header and more smarts in the apps that decode radiotap data END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:35:05.000000Z K 7 svn:log V 48 correct some typos Submitted by: Tai-hwa Liang END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:38:48.000000Z K 7 svn:log V 52 expose ieee80211_phymode_name for use in debug msgs END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:39:41.000000Z K 7 svn:log V 19 s/inline/__inline/ END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:42:51.000000Z K 7 svn:log V 21 add/fixup debug msgs END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T20:43:46.000000Z K 7 svn:log V 235 Implement mimimum system software delays, per PCI PM 1.1 spec, as suggested by Peter Edwards. This seems to fix my fxp problems and likely will fix his as well. Use DELAY rather than *sleep because we can be called from any context. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:44:15.000000Z K 7 svn:log V 24 const'ify ivp reference END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T20:47:51.000000Z K 7 svn:log V 339 Implement device_quiesce. This method means 'you are about to be unloaded, cleanup, or return ebusy of that's inconvenient.' The default module hanlder for newbus will now call this when we get a MOD_QUIESCE event, but in the future may call this at other times. This shouldn't change any actual behavior until drivers start to use it. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:51:41.000000Z K 7 svn:log V 175 correct header length calculations on tx path for QoS-encapsulated frames when IEEE80211_F_DATAPAD is set (e.g. ath); must use ieee80211_hdrspace instead of ieee80211_hdrsize END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:56:32.000000Z K 7 svn:log V 137 add ieee80211_hdrspace and ieee80211_anyhdrspace to calculate the space for an ieee80211 header taking into account padding requirements END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:58:06.000000Z K 7 svn:log V 28 whitespace/debug msg fixups END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T20:59:03.000000Z K 7 svn:log V 53 correct pseudo-mic header calculation for QoS frames END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:01:41.000000Z K 7 svn:log V 129 o add net.wlan.X.driver_caps mib variable for setting the driver capabilities flags for testing o debug msg consistency fixups END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T21:02:43.000000Z K 7 svn:log V 43 Use functions to make the program clearer. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:04:05.000000Z K 7 svn:log V 83 clear wep bit in 802.11 header after crypto decap so packet capture doesn't see it END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:05:05.000000Z K 7 svn:log V 31 remove stray \n from debug msg END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:09:43.000000Z K 7 svn:log V 180 change ieee80211_parse_wmeparams to return a unique value when the ie is invalid so we can distinguish this from needing a parameter update; fixes dynamic update of wme parameters END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:11:59.000000Z K 7 svn:log V 221 don't return prematurely from processing a beacon or probe response frame when associated; this corrects a problem where doing a scan while associated caused the associated ap to sometimes not be included in the scan set END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T21:12:17.000000Z K 7 svn:log V 137 dheader and hheader were the same function, really, so rename one of them to header, kill the other and use both with a different arg... END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:13:35.000000Z K 7 svn:log V 49 accept IEEE80211_KEYIX_NONE for a default tx key END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:19:59.000000Z K 7 svn:log V 35 include phy mode in scan debug msg END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:22:12.000000Z K 7 svn:log V 105 check if the node/station table is already present before creating one; this can happen on an ibss merge END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:25:28.000000Z K 7 svn:log V 49 do 11g erp station management in turboG mode too END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:27:53.000000Z K 7 svn:log V 66 make ap mode sta association debug msg as informative as sta mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:28:41.000000Z K 7 svn:log V 30 compare pointers against NULL END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:30:42.000000Z K 7 svn:log V 19 s/inline/__inline/ END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:48:15.000000Z K 7 svn:log V 118 disable default use of wme until we can sort out interoperability issues; users that want it can explicitly enable it END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T21:54:53.000000Z K 7 svn:log V 848 Relearn how WPA keying is supposed to work and fix WPA+WME while we're at it: o WPA/802.11i has a unicast key and a group key; in station mode everything is sent with the unicast key--we were consulting the destination mac address and incorrectly using the group key o (perpetuate fallback use of the default tx key to maintain compatibility with the way wpa_supplicant works) o correct EAPOL encryption logic to check unicast key instead of assuming other state implies this o move QoS encapsulation up to before enmic work so TKIP has the information required to calculate the pseudo-header o do not do QoS-encapsulation of EAPOL frames as some ap's do the wrong thing with such frames (may need to revisit this if ap's start dropping non-QoS frames from stations assoc'd with QoS) o move ieee80211_mbuf_adjust closer to its caller END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T22:05:13.000000Z K 7 svn:log V 557 fixup inactivity timers: o ic_inact_auth is a bad name, it's the inactivity threshold for being associated but not authorized; use it that way o reset ni_inact when switching inactivity thresholds to minimize the race against the timer (don't want to lock for this stuff) o change the inactivity probe threshold from a one-shot to cover a range: when below this threshold but not expired send a probe each inactivity interval; should probably guard against the interval being turned way down as this could cause us to spam the net with probes END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T22:06:19.000000Z K 7 svn:log V 9 new stat END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T22:42:38.000000Z K 7 svn:log V 24 bump copyright for 2005 END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-31T22:44:26.000000Z K 7 svn:log V 131 remove netbsd rcsid lines; they are way out of date and we appear to be diverging too much to make tracking these files worthwhile END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-12-31T23:59:24.000000Z K 7 svn:log V 41 Fix last second typos that crept in :-(. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2005-01-01T00:38:00.000000Z K 7 svn:log V 280 MFC from 1.127 2004/12/09 of the main tree: Fixes a bug that caused UFS2 filesystems bigger than 2TB to prematurely report that they were full and/or to panic the kernel with the message ``ffs_clusteralloc: allocated out of group''. Submitted by: Henry Whincup END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-01-01T07:29:20.000000Z K 7 svn:log V 47 Complete 2005 transition. Happy New Year! :-) END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-01-01T10:29:04.000000Z K 7 svn:log V 198 MFC a change from Dragonfly. contigmalloc was not respecting the fact that other processes may have a page marker as busy for IO but otherwise free. It just took it as free.. Approved by: re (ken) END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-01-01T10:39:36.000000Z K 7 svn:log V 252 MFC: Fix a bug where an aborted command was removed from the queue but not from the hardware's cache of it, leading to the hardware DMAing into "freed" memory buffers. (leading to crashes when a usb ransaction was timed, but but eventually happenned) END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-01-01T10:44:25.000000Z K 7 svn:log V 425 MFC: Rewrite ehci_abort_xfer() to use the method hinted at in the EHCI spec. to remove a transaction from the async schedule. The previous method didn't work well and led to the hardware writing to free'd buffers etc, as it didn't always know that the transaction had been aborted. Written after consultation with David Brownell who wrote the Linux EHCI driver. As part of this give the sqh structure a "previous" pointer. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-01-01T14:34:05.000000Z K 7 svn:log V 53 MFC: rev. 1.27 SMC SMC2536W-AG verified as working. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-01-01T14:39:41.000000Z K 7 svn:log V 305 MFC: rev. 1.25 - call the driver 'bktr' instead of 'brooktree' throughout the document - add a HARDWARE section - add a more descriptive NAME section - update for recently imported Pinnacle PCTV support - add Branko Lankester, the original author of the PCTV patches, to the AUTHORS section - bump .Dd END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-01-01T14:42:17.000000Z K 7 svn:log V 48 MFC: Autogenerate device listings for bktr(4). END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-01-01T16:11:53.000000Z K 7 svn:log V 142 - make machine model list more comprehensive, the whole Alpha family tree should now be present - clean up comment a bit MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-01-01T17:45:11.000000Z K 7 svn:log V 228 Eliminate some of the egregious bypass of the 802.11 state machine; instead use the intended entry points. There's still too much incestuous knowledge about the internals of the 802.11 layer but this at least fixes adhoc mode. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-01-01T17:48:27.000000Z K 7 svn:log V 185 Correct scan candidate selection logic for dual-band devices: prefer candidate on 5Ghz channel to candidate on 2Ghz channel only when the rssi are comparable (wasn't considering rssi). END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-01-01T18:58:28.000000Z K 7 svn:log V 154 Add a newline at the end of the file to silence warnings. PR: conf/75347 Submitted by: Gareth Redman MFC after: 1 day END K 10 svn:author V 2 se K 8 svn:date V 27 2005-01-01T19:05:46.000000Z K 7 svn:log V 658 Attempt to fix Symbios driver on amd64. The private memory allocation function provided by the driver limits allocations to the page size, i.e. 4KB on i385 and 8KB on typical 64 bit processors. Since amd64 has 64 bit pointers, but only 4KB pages, an array of pointers that just fits into one page on all the other processors, does require 2 pages on amd64. In order to make this driver useful on amd64, the allocation unit has been increased to 2 pages on amd64 and contigmalloc() is used instead of malloc(). All other processor types are unaffected by this change. This modification has only been compile-tested on amd64, yet, but should just work (FLW). END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-01-01T19:24:25.000000Z K 7 svn:log V 91 Further update to the Promise code. Support should now cover all old and current products. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-01-01T19:54:00.000000Z K 7 svn:log V 681 MFC of rev 1.329 of vm_object.c: date: 2004/07/28 18:23:08; author: alc; state: Exp; lines: +2 -2 Correct a very old error in both vm_object_madvise() (originating in vm/vm_object.c revision 1.88) and vm_object_sync() (originating in vm/vm_map.c revision 1.36): When descending a chain of backing objects, both use the wrong object's backing offset. Consequently, both may operate on the wrong pages. Quoting Matt, "This could be responsible for all of the sporatic madvise oddness that has been reported over the years." Reviewed by: Matt Dillon Reviewed by: alc Helped by: DFly vm_map.c rev 1.31, vm_object.c rev 1.17 Approved by: re (scottl) END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2005-01-01T19:54:39.000000Z K 7 svn:log V 90 Added device id support for Intel 82541ER and 82546GB dual port PCIE adapter. PR: None END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2005-01-01T19:57:23.000000Z K 7 svn:log V 165 Corrected a workaround that should only be applied to one adapter. Workaround was causing device hangs when incorrectly applied to other adapters. PR: kern/66634 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-01-01T21:49:20.000000Z K 7 svn:log V 131 Increase the message buffer size on AMD64. Such machines can have a lot of devices in them, and aren't run with only 64MB of RAM. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-01T22:04:03.000000Z K 7 svn:log V 121 Move the definition of ipxpcb_lport_cache from ipx_input.c to ipx_pcb.c, the only source file where it is actually used. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-01-01T22:07:06.000000Z K 7 svn:log V 97 o Remove duplicate includes. PR: bin/75712 Submitted by: brueffer Obtained from: Dragonfly BSD END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-01-01T23:24:04.000000Z K 7 svn:log V 43 Complete 2005 transition. Approved by: re END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-01-02T00:20:54.000000Z K 7 svn:log V 854 Further enhance the handling of misaligned loads and stores: o implement double-extended and single precision loads and stores, o implement double precision stores, o replace the machdep.unaligned_print sysctl with debug.unaligned_print and change the default value to 0, o replace the machdep.unaligned_sigbus sysctl with debug.unaligned_test, o Remmove the fillfd() function. The function is trvial enough for inline assembly. The debug.unaligned_test sysctl is used to test the emulation of misaligned loads and stores. When PSR.ac is 0, the CPU will handle misaligned memory accesses itselfi and we don't get an exception for it. When PSR.ac is 1, the process needs to be signalled and we should not emulate. The sysctl takes effect when PSR.ac is 1 and tells us that we should emulate and not send a signal. PR: 72268 MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-01-02T01:37:21.000000Z K 7 svn:log V 142 In re_detach(), remove an extra call to ether_ifdetach(). This fixes a panic that occurs when unloading the kernel module. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T01:39:38.000000Z K 7 svn:log V 43 Prefer rtalloc_ign() API to rtalloc() API. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T01:47:56.000000Z K 7 svn:log V 276 Use RTFREE() to free route references rather than rtfree(), as rtfree() expects a locked route reference. This removes a panic that occurs when connected ipxpcb is closed and its route free'd, and may have been present since the route locking took place. MFC after: 2 weeks END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-01-02T01:50:57.000000Z K 7 svn:log V 623 Port randomization leads to extremely fast port reuse at high connection rates, which is causing problems for some users. To retain the security advantage of random ports and ensure correct operation for high connection rate users, disable port randomization during periods of high connection rates. Whenever the connection rate exceeds randomcps (10 by default), randomization will be disabled for randomtime (45 by default) seconds. These thresholds may be tuned via sysctl. Many thanks to Igor Sysoev, who proved the necessity of this change and tested many preliminary versions of the patch. MFC After: 20 seconds END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T01:51:18.000000Z K 7 svn:log V 77 Use 'NULL' in preference to '0' for pointer comparisons. MFC after: 2 weeks END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-01-02T01:53:22.000000Z K 7 svn:log V 125 MFC of port randomization rate-based disabling: in_pcb.c rev 1.157 in_pcb.h rev 1.79 ip_input.c rev 1.293 ip_var.h rev 1.93 END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-01-02T01:53:44.000000Z K 7 svn:log V 142 MFC of port randomization rate-based disabling: in_pcb.c rev 1.157 in_pcb.h rev 1.79 ip_input.c rev 1.293 ip_var.h rev 1.93 Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T02:30:27.000000Z K 7 svn:log V 201 Mark 'struct ipx', the IPX packet header, as __packed. Otherwise, recent versions of gcc will insert an extra 16 bits of padding in the structure, corrupting all IPX packet output. MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-01-02T04:47:36.000000Z K 7 svn:log V 113 Add support for the Pixelview PlayTV PR: 68362 Submitted by: Carl Makin MFC after: 1 week END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-01-02T05:03:16.000000Z K 7 svn:log V 142 MFC of port randomization rate-based disabling: in_pcb.c rev 1.157 in_pcb.h rev 1.79 ip_input.c rev 1.293 ip_var.h rev 1.93 Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-01-02T05:21:15.000000Z K 7 svn:log V 615 First cut support for extracting from ISO9660 disk images. This seems to be able to extract a TOC and extract files from the couple of ISO images I've tested it with. Treat this as experimental proof-of-concept code for the moment. There are still a bunch of debug messages (there are a few oddities in ISO9660 that I haven't yet figured out how to handle), a lot of bugs to be addressed (this code leaks memory very badly), and a lot of missing features (no Rockridge support, in particular). I'd appreciate feedback from anyone who understands ISO9660 format better than I do. ;-) Suggested by: Robert Watson END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-01-02T05:22:21.000000Z K 7 svn:log V 112 Enable ISO9660 support in "read_support_format_all". In particular, bsdtar should now recognize ISO9660 images. END K 10 svn:author V 6 dwhite K 8 svn:date V 27 2005-01-02T05:27:59.000000Z K 7 svn:log V 240 MFC: Fix locking/better IFF_OACTIVE handling (by jmg). Correct detected RAM sizing for 88E8001 parts. Fix off-by-one in VPD data read. Correct handling of jumbo frames for Yukon based devices. PR: kern/75460 Committed on behalf of: bz END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-01-02T06:42:14.000000Z K 7 svn:log V 45 Ready for RC2... Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-01-02T08:32:57.000000Z K 7 svn:log V 58 emulators/linux_base -> emulators/linux_base-8 per kris@. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-01-02T08:50:36.000000Z K 7 svn:log V 218 MFC: rev 1.24 date: 2004/12/30 13:09:34; author: krion; state: Exp; lines: +3 -1 Add LOG_NTP facility. Submitted by: Kurt Jaeger Approved by: ru MFC after: 3 days END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-01-02T08:53:09.000000Z K 7 svn:log V 228 MFC: rev 1.24 date: 2004/12/30 13:09:34; author: krion; state: Exp; lines: +3 -1 Add LOG_NTP facility. Submitted by: Kurt Jaeger Approved by: ru MFC after: 3 days END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-01-02T09:03:14.000000Z K 7 svn:log V 256 MFC: rev 1.24 date: 2004/12/30 13:09:34; author: krion; state: Exp; lines: +3 -1 Add LOG_NTP facility. Submitted by: Kurt Jaeger Approved by: ru MFC after: 3 days Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-01-02T09:51:07.000000Z K 7 svn:log V 24 MFi386: revision 1.421. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-01-02T12:03:04.000000Z K 7 svn:log V 103 - list the PixelView PlayTV PAK as supported - bump .Dd Submitted by: Carl Makin END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T12:40:40.000000Z K 7 svn:log V 142 Remove cross reference to uustat(1), which is no longer in the base tree. MFC after: 3 days Submitted by: bkoenig at cs dot tu-berlin dot de END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-01-02T12:45:52.000000Z K 7 svn:log V 69 MFC r1.2: Add a newline at the end of the file to silence warnings. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T13:00:51.000000Z K 7 svn:log V 254 Merge ipx.h:1.18 from HEAD to RELENG_4: date: 2004/06/22 21:46:49; author: bms; state: Exp; lines: +3 -0 Improve source-code compatibility with Linux applications using the IPX stack. PR: kern/65217 Submitted by: Radim Kolar END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-01-02T13:56:02.000000Z K 7 svn:log V 54 Correct .Dd Spotted by: Simon L. "Eagle Eye" Nielsen END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T14:03:47.000000Z K 7 svn:log V 180 Don't cast NULL on return or when passing to another function. Extend the annotation as to why spx_close() isn't called in spx_reass(), and mark this code more clearly as broken. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T14:07:05.000000Z K 7 svn:log V 58 Compare and assign pointers with NULL in preference to 0. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T14:46:18.000000Z K 7 svn:log V 428 Improve handling of SPX session timeout, specifically, make sure to properly handle the case where a connection is disconnected. The queue(9)-enabled version of this code broke from the inner but not outer loop, and so potentially frobbed an ipxpcb flag after the ipxpcb was free'd, which might be picked up later by the malloc debugging code. Properly break from the loop context and avoid touching the cb/ipxpcb after free. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:06:47.000000Z K 7 svn:log V 109 Mark 'struct spx' and 'struct spxhdr' as __packed to prevent possible alignment problems. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:10:02.000000Z K 7 svn:log V 89 Document copyright updates in netipx README as other prior updates have been documented. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:13:59.000000Z K 7 svn:log V 26 Trim trailing whitespace. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:16:35.000000Z K 7 svn:log V 65 Extern declaration of old 'ipxpcb' list head no longer required. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:19:24.000000Z K 7 svn:log V 44 Use KASSERT() in preference to if()panic(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:25:59.000000Z K 7 svn:log V 261 Eliminate XXX comments regarding allocation failures when retrieving the peer address by using M_WAITOK in ipx_setpeeraddr() to prevent allocation failure. The socket reference used to reach these calls will prevent the ipxpcb from being released prematurely. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-01-02T15:29:29.000000Z K 7 svn:log V 87 Restructure ipx_input() return code to match similar code in netinet, avoiding a goto. END