ƒ¯A165399 203 156 168 139 202 564 188 174 99 281 330 171 126 328 446 161 289 148 298 164 169 190 137 222 165 339 236 144 208 123 244 289 213 282 237 462 115 243 138 178 425 206 302 334 304 303 178 357 162 455 213 168 300 322 205 121 107 144 105 350 155 172 149 421 275 215 378 306 311 122 218 490 307 434 139 373 223 172 169 171 566 331 406 151 254 228 145 103 105 216 286 147 308 141 190 156 250 220 107 1187 165 162 225 414 96 450 138 139 166 143 111 113 277 110 126 138 245 234 162 459 487 151 160 1283 323 118 136 103 115 108 104 364 179 152 132 168 280 688 202 161 304 236 121 130 108 106 216 124 103 253 315 256 357 122 161 101 132 159 294 397 255 103 481 219 103 110 103 1655 266 146 172 1161 409 983 1800 125 304 103 227 237 659 107 1149 236 204 226 248 134 537 411 224 231 484 120 222 302 245 464 138 141 176 244 253 282 K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T18:19:52.000000Z K 7 svn:log V 64 MFp4: Add timeout to eeprom access for lame eeprom that go awol END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T18:25:16.000000Z K 7 svn:log V 76 MFp4: Differences in flash part for bwct. need a more generic way to cope. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T18:26:37.000000Z K 7 svn:log V 47 MFp4: differences for bwct ethernet attachment END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T19:00:52.000000Z K 7 svn:log V 108 MFP4: (part of) 109714 Add SYSCALL_MODULE_PRESENT() macro. The idea was borrowed from syscall_register(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T19:26:30.000000Z K 7 svn:log V 470 MFP4: (part of) 110058 copyin()/copyout() for message type is separated from msgsnd()/msgrcv() and it is done from its wrapper functions to support 32-bit emulations. After I implemented this, I have briefly referenced NetBSD and Darwin. NetBSD passes copyin()/copyout() function pointers from wrappers. Darwin passes size of message type as an argument, which is actually similar to my first implementation (P4 109706). We may revisit these implementations later. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T19:30:52.000000Z K 7 svn:log V 95 MFP4: (part of) 110058 Use new kern_msgsnd()/kern_msgrcv() to fix linux32 emulation on amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T19:36:03.000000Z K 7 svn:log V 81 MFP4: (part of) 110058 Fix 32-bit msgsnd(3) and msgrcv(3) emulations for amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T19:39:10.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T20:08:45.000000Z K 7 svn:log V 187 MFP4: 110179 Add rudimentary IPC_INFO/MSG_INFO command support for linux_msgctl() to pacify Linux ipcs(1). While I am here, add more bound checks for linux_msgsnd() and linux_msgrcv(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T20:17:35.000000Z K 7 svn:log V 236 MFP4: 109655 - Move linux_nanosleep() from src/sys/amd64/linux32/linux32_machdep.c to src/sys/compat/linux/linux_time.c. - Validate timespec ranges before use as Linux kernel does. - Fix l_timespec structure. - Clean up style(9) nits. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-20T20:18:07.000000Z K 7 svn:log V 77 reduce padding to compensate for recent change to sys/pcpu.h (tinderbox fix) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T20:21:48.000000Z K 7 svn:log V 33 Add linux_nanosleep() and regen. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T20:38:44.000000Z K 7 svn:log V 231 Expand commenting on label slots, justification for the MAC Framework locking model, interactions between locking and policy init/destroy methods. Rewrap some comments to 77 character line wrap. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T20:40:29.000000Z K 7 svn:log V 349 Externalize local stack copy of the ifnet label, rather than the copy on the ifnet itself. The stack copy has been made while holding the mutex protecting ifnet labels, so copying from the ifnet copy could result in an inconsistent version being copied out. Reported by: Todd.Miller@sparta.com Obtained from: TrustedBSD Project MFC after: 3 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T20:42:58.000000Z K 7 svn:log V 68 Regen (just to fix 'generated from' line from the previous commit). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T20:43:19.000000Z K 7 svn:log V 192 Comment and white space cleanup. Exapnd comments on System V IPC labeling methods, which could use improved consistency with respect to other object types. Obtained from: TrustedBSD Project END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-20T21:31:28.000000Z K 7 svn:log V 53 Remove an unused variable. Approved by: bz (mentor) END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-20T22:02:45.000000Z K 7 svn:log V 202 Keep in sync with the if_bridge(4) module (rev. 1.20 if_bridgevar.h, 1.12 bridgestp.h) and rename all PointToPoint related variables from P2P to PTP (s/P2P/PTP/g s/p2p/ptp/g). Approved by: bz (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-12-20T22:02:46.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-20T22:08:35.000000Z K 7 svn:log V 74 Connect the snmp_bridge(3) module to the build. Approved by: bz (mentor) END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-20T22:10:34.000000Z K 7 svn:log V 95 Add a (disabled) configuration line to enable snmp_bridge(3) module. Approved by: bz (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:11:01.000000Z K 7 svn:log V 41 Re-wrap comment at 77 character columns. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:12:36.000000Z K 7 svn:log V 125 Clean up comments, trailing white space. Provide a comment describing MAC_EXTERNALIZE(). Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:13:04.000000Z K 7 svn:log V 69 Staticize and comment zone_label. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:14:33.000000Z K 7 svn:log V 242 Document that we could allocate the mbuf label as part of the tag rather than from the slab, but don't. Document mac_mbuf_to_label(), mac_copy_mbuf_tag(). Clean up white space/wrapping for other comments. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:15:27.000000Z K 7 svn:log V 139 Additional comments regarding the interaction between the kernel privilege model and the MAC Framework. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:16:01.000000Z K 7 svn:log V 48 Clean up comment white space and line wrapping. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:16:41.000000Z K 7 svn:log V 111 Document socket labeling model. Clean up comment white space and wrapping. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:17:34.000000Z K 7 svn:log V 27 Trim trailing white space. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:18:17.000000Z K 7 svn:log V 147 Trim trailing white space, clean up comment line wrapping and formatting. Document mac_associate_nfsd_label(). Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-20T23:41:59.000000Z K 7 svn:log V 192 Comment LABEL_TO_SLOT() macro, including observing that we'd like to improve this policy API to avoid encoding struct label binary layout in policy modules. Obtained from: TrustedBSD Project END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-12-21T01:58:22.000000Z K 7 svn:log V 121 ia64 is nit-picking according to tinderbox so temporary disconnect the bridge module from the build until this is fixed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-12-21T05:40:46.000000Z K 7 svn:log V 186 Unbreak 64-bit little-endian systems that do require alignment. The fix involves using le16dec(), le32dec(), le16enc() and le32enc(). This eliminates invalid casts and duplicated logic. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-21T08:03:03.000000Z K 7 svn:log V 140 MFC 1.13 (by ps): Add E200, E200i, P400, and P400i storage controllers to supported list. Remove the E400 since it is not a real product. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-21T09:51:34.000000Z K 7 svn:log V 365 Remove mac_enforce_subsystem debugging sysctls. Enforcement on subsystems will be a property of policy modules, which may require access control check entry points to be invoked even when not actively enforcing (i.e., to track information flow without providing protection). Obtained from: TrustedBSD Project Suggested by: Christopher dot Vance at sparta dot com END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-21T09:58:02.000000Z K 7 svn:log V 19 Minor style fixes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-21T10:26:01.000000Z K 7 svn:log V 146 Return value PKT_ALIAS_FOUND_HEADER_FRAGMENT isn't an error case. The packet shouldn't be dropped. Submitted by: Alexander Motin END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-21T10:59:48.000000Z K 7 svn:log V 47 Improve markup and do some minor wordsmithing. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-21T12:43:02.000000Z K 7 svn:log V 86 MFC: Document that kern.ipc.nsfbufs can be 0 on some arch'es. Approved by: re (bmah) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-21T12:57:06.000000Z K 7 svn:log V 328 MFC if_rl.c, 1.166 to RELENG_6. Don't assume IF_LLADDR returns aligned memory address. Because accessing ID registers in rtl81x9 needs 32bit register access and RL_IDR6/RL_IDR7 registers are reservered registers bzero() is needed before copying ethernet address. This fixes unaligned memory accesses panic in sparc64. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-21T13:11:06.000000Z K 7 svn:log V 108 MFP4 (110956): Add definition for LINUX_MSG_INFO. This fixes the tinderbox errors. Submitted by: rdivacky END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-12-21T16:24:22.000000Z K 7 svn:log V 209 MFC Rev. 1.267 Retest tp->t_session because Giant might have been temporarily dropped while waiting for proctree_lock, allowing for an intervening tty_close() that cleared tp->t_session. Submitted by: tegge END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-12-21T16:25:42.000000Z K 7 svn:log V 241 MFC Rev. 1.267 Retest tp->t_session because Giant might have been temporarily dropped while waiting for proctree_lock, allowing for an intervening tty_close() that cleared tp->t_session. Submitted by: tegge Approved by: re (kensmith) END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-12-21T16:26:28.000000Z K 7 svn:log V 211 MFC Rev. 1.267 Retest tp->t_session because Giant might have been temporarily dropped while waiting for proctree_lock, allowing for an intervening tty_close() that cleared tp->t_session. Submitted by: tegge END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-21T17:00:37.000000Z K 7 svn:log V 206 MFR6 (1.11.2.3) Add E200, E200i, P400, and P400i storage controllers to supported list. Remove the E400 since it is not a real product. The driver change was MFC'ed 7 months ago. Approved by: re (bmah) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-21T18:30:23.000000Z K 7 svn:log V 85 Remove duplicate "clear" subcommand. PR: docs/106947 Submitted by: TAOKA Fumiyoshi END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-21T19:08:25.000000Z K 7 svn:log V 263 Correct the description of minpoll and maxpoll. Note that while later versions of the ntpd documentation use the term "dual logarithm", the text added here is consistent with the remainder of the current document. PR: docs/106926 Submitted by: Jeremy Chadwick END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-21T19:51:53.000000Z K 7 svn:log V 67 MFC 1.10: avoid some divide by zero cases in calculating geometry. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-12-21T19:58:04.000000Z K 7 svn:log V 362 The prepend function did not handle non-pkthdr's correctly. It always called MH_ALIGN for small lengths being prepended (less than MHLEN). This meant that if you did a prepend on a non M_PKTHDR the system would panic with the KASSERT in MH_ALIGN. Instead we are not aware of this and do a MH_ALIGN or M_ALIGN as appropriate. Reviewed by: andre Approved by: gnn END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-21T20:06:30.000000Z K 7 svn:log V 117 Pay attention to return value from xpt_bus_register in xpt_init. Obtained from: Xin Li (Coverity) MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-21T21:00:52.000000Z K 7 svn:log V 73 MFC to 6.2 release all the cam module depend foo. Approved by: re (Ken) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-21T21:35:49.000000Z K 7 svn:log V 207 Allow this module to get its options from the kernel build directory instead of always hard coding them in CFLAGS. POLA is kept here: The module file built with GENERIC stays the same. Tested with: md5(1) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-12-21T21:53:54.000000Z K 7 svn:log V 226 Partially back out revs 1.134 and 1.50 of if_bge.c and if_bgereg.h, respectively. A lot more is needed to support these chips than just PCI IDs, and the code added to 7-CURRENT isn't ready for FreeBSD 6 yet. Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-12-21T21:59:19.000000Z K 7 svn:log V 109 MFC: Bring the arcmsr driver up to the vendor 1.20.00.013 version. Submitted by: Erich Chen Approved by: re END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-21T22:42:18.000000Z K 7 svn:log V 29 Document MTX_NOPROFILE flag. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-21T22:44:41.000000Z K 7 svn:log V 16 Improve markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-21T22:59:07.000000Z K 7 svn:log V 53 Prevent a line from being broken on a line boundary. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-21T23:20:51.000000Z K 7 svn:log V 10 fix botch END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-22T00:57:26.000000Z K 7 svn:log V 257 ACPIIO_BATT_GET_UNITS would always return ENXIO. However, it should never return an error since it returns a count of battery devices in the system. Set it to 0 explicitly, since it is the only switch branch that doesn't set it. # I guess no one uses it. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-22T01:10:36.000000Z K 7 svn:log V 63 Correct the BGE_CHIPID_BCM5750_B0 constant. MFC after: 1 week END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-22T02:59:58.000000Z K 7 svn:log V 80 Re-enable MSI support for those chips on which it is believed to work properly. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-22T03:03:31.000000Z K 7 svn:log V 57 Note the second coming of MSI support in the bge driver. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-22T05:07:21.000000Z K 7 svn:log V 324 The second argument (type) to socket(2) is an enum, not a bitmask, so parse it as an enum. If an SCTP SOCK_SEQPACKET socket was opened, kdump would display this wrong output: socket(PF_INET,SOCK_STREAM|SOCK_RDM|SOCK_SEQPACKET,0x84) instead of this correct output: socket(PF_INET,SOCK_SEQPACKET,0x84) MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-22T05:54:19.000000Z K 7 svn:log V 182 Avoid 'bogus' uninitialized warning by initializing rather than playing cute games. It is much simpler, clearer and easier to follow and understand. Besides, gcc4 likes it better. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-22T07:28:38.000000Z K 7 svn:log V 123 - Mention umask(2) when first referring to it. - Add missing markup. Submitted by: Eugene Grosbein END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-22T07:33:20.000000Z K 7 svn:log V 285 MFC: Merge BIND9 9.3.3 into main chunk. include/arpa/nameser_compat.h: 1.6 lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2 lib/libc/inet/inet_net_ntop.c: 1.3 lib/libc/isc/eventlib_p.h: 1.4 lib/libc/resolv/mtctxres.c: 1.3 lib/libc/resolv/res_init.c: 1.4 lib/libc/resolv/res_send.c: 1.5 END K 10 svn:author V 5 erwin K 8 svn:date V 27 2006-12-22T10:59:55.000000Z K 7 svn:log V 211 MFC rev 1.111: - Add geography and spanish ports categories - Use "related to" instead of "relating to" consistently [1] Submitted by: Rostislav Krasny [1] Reviewed by: simon END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-22T11:55:59.000000Z K 7 svn:log V 216 Fix distorted sound on Intel Desktop Board D101GGC (ATI SB450/ALC861). Turn on ALC861 quirk as default since it seems affecting all hardwares with the same codec. Reported/Tested by: Darryl Yeoh END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-22T23:23:59.000000Z K 7 svn:log V 31 Tweak some wording and markup. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-22T23:32:23.000000Z K 7 svn:log V 121 Forced commit to recognize repo-copy of src/sys/sys/mac_policy.h to src/sys/security/mac/mac_policy.h. Thanks to: simon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-22T23:34:47.000000Z K 7 svn:log V 393 Move src/sys/sys/mac_policy.h, the kernel interface between the MAC Framework and security modules, to src/sys/security/mac/mac_policy.h, completing the removal of kernel-only MAC Framework include files from src/sys/sys. Update the MAC Framework and MAC policy modules. Delete the old mac_policy.h. Third party policy modules will need similar updating. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-22T23:36:13.000000Z K 7 svn:log V 210 Forced commit to recognize the repo-copy of vfs_syscalls.c to vfs_extattr.c. This follows a naming convention similar to the break-out of the extended attribute system calls (etc) in NetBSD. Thanks to: simon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-23T00:10:36.000000Z K 7 svn:log V 337 Following a repo-copy of vfs_syscalls.c to vfs_extattr.c, remove non-extattr functions from vfs_extattr.c, and extattr functions from vfs_syscalls.c. Change copyright/license on vfs_extattr.c to my copyright/license on the extended attribute implementation (from extattr.h). Clean up includes a bit. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-23T00:11:02.000000Z K 7 svn:log V 43 Connect vfs_extattr.c to build by default. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-12-23T00:18:51.000000Z K 7 svn:log V 277 Implement chunk allocation/deallocation hysteresis by caching one spare chunk per arena, rather than immediately deallocating all unused chunks. This fixes a potential performance issue when allocating/deallocating an object of size (4kB..1MB] in a loop. Reported by: davidxu END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-23T00:30:03.000000Z K 7 svn:log V 126 Update comments to reflect changes in the extattrctl() code. Clean up comment formatting. Obtained from: TrustedBSD Project END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-23T00:39:56.000000Z K 7 svn:log V 76 MFR6: Fix thread preemption problem in ksegrp. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-23T00:59:50.000000Z K 7 svn:log V 73 MFR6: return EINVAL if thread was detached. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-23T01:11:13.000000Z K 7 svn:log V 75 MFR6: Store fault address into POSIX siginfo. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-12-23T02:03:40.000000Z K 7 svn:log V 468 MFS of v1.122.2.12 which was an MFC of v1.134: >> revision 1.134 >> date: 2006/03/05 17:52:32; author: phk; state: Exp; lines: +4 -2 >> When we get an unknown ATAPI comand, try it even if it is not listed, >> in all likelyhood just passing it through will work. > >This fix allows for burning CDs/DVDs on USB drives which would be nice >for 6.2... > >Original work by: phk >Requested by: phk >Reviewed by: iedowse Approved by: re (bmah) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-23T03:30:50.000000Z K 7 svn:log V 234 Fix a panic when rebooting a SMP machine, when option STOP_NMI is used, nmi handler is used to stop other processors, nmi hander calls trap(), however, trap() now accepts a pointer rather than a reference, this was changed by kmacy@. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-23T06:15:22.000000Z K 7 svn:log V 313 MFC: Merge BIND9 9.3.3 into main chunk. include/arpa/nameser_compat.h: 1.6 lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2 lib/libc/inet/inet_net_ntop.c: 1.3 lib/libc/isc/eventlib_p.h: 1.4 lib/libc/resolv/mtctxres.c: 1.3 lib/libc/resolv/res_init.c: 1.4 lib/libc/resolv/res_send.c: 1.5 Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-23T07:01:59.000000Z K 7 svn:log V 54 Correct the names of some options. MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-23T07:06:37.000000Z K 7 svn:log V 156 Add two checks for inappropriate options: -U only makes sense in "x" mode, and --strip-components only makes sense in "x" and "t" modes. MFC after: 3 days END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2006-12-23T07:14:42.000000Z K 7 svn:log V 134 MFC: Add support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR) generations of 802.11abg chipsets from Ralink Technology. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-23T08:16:54.000000Z K 7 svn:log V 48 Fic typo in previous commit. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-23T09:22:06.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-23T09:25:23.000000Z K 7 svn:log V 14 One more nit. END K 10 svn:author V 5 remko K 8 svn:date V 27 2006-12-23T12:40:54.000000Z K 7 svn:log V 121 Fix a typo in ata-queue.c PR: kern/107100 Submitted by: Stephen J. Roznowski Approved by: sos END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T14:25:17.000000Z K 7 svn:log V 193 Start fixing the "swap" display by saving one horizontal position. Now the display won't overflow the 80-char row if BLOCKSIZE=1024. The new spacing is also consistent with the "pigs" display. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T14:30:50.000000Z K 7 svn:log V 55 Fix the Total line shown if there are >1 swap devices. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T15:40:41.000000Z K 7 svn:log V 215 Fix the swap display further: 1) Resize the Used column to avoid screen overflow if BLOCKSIZE is long. 2) Track the current swap configuration so that its changes don't break the display. Suggested by: bde (1) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T16:31:06.000000Z K 7 svn:log V 49 Add some vertical whitespace for easier reading. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T16:39:09.000000Z K 7 svn:log V 98 Eliminate a couple of screen coordinate variables that were useless and just obfuscated the code. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T16:48:29.000000Z K 7 svn:log V 64 Reposition the "(swap not configured)" sign WRT the new layout. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-23T16:58:56.000000Z K 7 svn:log V 153 MFC: 1.91 Ignore SIGPIPE, instead of terminating process. PR: 81230 Submitted by: Dmitrij Tejblum Approved by: re (kensmith) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T17:02:09.000000Z K 7 svn:log V 127 Improve style: - Don't define vars inside loops. - Avoid useless casts. - Use C idioms. - Do alike things in a consistent way. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-23T17:14:01.000000Z K 7 svn:log V 16 Improve markup. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-12-23T17:18:18.000000Z K 7 svn:log V 1090 Fix a deadlock in detach/shutdown. The problem was that I was acquiring the driver sx lock and then waiting for a taskqueue to drain, however the taskqueue itself would try to acquire the lock as well leading to a deadlock. To fix the problem roll my own exclusive lock that allows for lock cancellation. This is a normal exclusive lock, however if someone marks it as "dead" then all waiters who request an error return will get back an error instead of continuing to wait for the lock. In this particular case, the shutdown and detach functions kill the lock while the async task thread tries to acquire the lock but will abort if the lock returns an error. The other option was to drop the driver lock mid-detach and mid-shutdown, mid-detach was a ok, however mid-shutdown was not. While I'm here, fix a bug in what appears to be the mii link status word in the softc going out to lunch. Explicitly set the status word to 1 after initializing the mii. This would result in an interface that would never respond to "if_start" requests as the mii interface would always look down. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T17:46:32.000000Z K 7 svn:log V 73 Make it possible for meter to reach 100% mark when swap is totally full. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T18:03:10.000000Z K 7 svn:log V 70 Clear to EOL after the end of meter so that its reading can decrease. END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-12-23T18:53:22.000000Z K 7 svn:log V 132 Call vnode_create_vobject() in VOP_OPEN. Makes mmap work on UDF filesystem. PR: kern/92040 Approved by: scottl MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T18:54:49.000000Z K 7 svn:log V 321 Dynamically resize the Disk column. It was too narrow for modern disk device names such as da0s1b. So we also get rid of the nasty constant 5 scattered over the code. Implementing this change is a good chance to improve other bits around it: init saved lengths early, always check return value from kvm_getswapinfo(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-23T19:15:39.000000Z K 7 svn:log V 6 Nits. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-12-23T21:07:07.000000Z K 7 svn:log V 357 Drop all received data mbufs from a socket's queue if the MT_SONAME mbuf is dropped, to preserve the invariant in the PR_ADDR case. Add a regression test to detect this condition, but do not hook it up to the build for now. PR: kern/38495 Submitted by: James Juran Reviewed by: sam, rwatson Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-23T21:46:56.000000Z K 7 svn:log V 46 MFC 1.12: add missing bits for crypto support END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-23T22:21:13.000000Z K 7 svn:log V 43 Re-wrap comments following de-indentation. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-23T22:39:38.000000Z K 7 svn:log V 74 Add missing things: a prototype and a const qualifier. Found by: WARNS=4 END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-23T22:40:56.000000Z K 7 svn:log V 51 MFC 1.67: honor nolockd flag in root mount options END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-23T22:44:47.000000Z K 7 svn:log V 19 MFC wpa_passphrase END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-23T23:26:05.000000Z K 7 svn:log V 22 Add missing articles. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-24T00:08:46.000000Z K 7 svn:log V 184 MFC 1.24: mark struct ether_header packed for arm While here bring along similar changes to pack struct ether_addr and do compile-time asserts that structures are the expected sizes. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-24T00:09:56.000000Z K 7 svn:log V 18 MFC 1.13: add fls END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-24T00:15:55.000000Z K 7 svn:log V 34 MFC 1.16: clarify shortcut return END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-24T01:52:27.000000Z K 7 svn:log V 42 Fix typo, p_slptime should be td_slptime. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-24T01:56:35.000000Z K 7 svn:log V 150 - resizing the tte_hash in pmap_copy is not likely to occur - the implementation also made the mistake of assuming the dst_pmap is the current pmap END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2006-12-24T02:18:36.000000Z K 7 svn:log V 137 TCP Window scaling was being recognised but the recorded settings were being clobbered and thus effectively disabled. MFC after: 7 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-24T03:23:43.000000Z K 7 svn:log V 67 MFC 1.171-1.173- check in xpt_init for result of xpt_bus_register. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-24T05:44:10.000000Z K 7 svn:log V 364 MFC: Add inverted amplifier sense quirk for HP Compaq nx4300 and few NEC VersaPro. PR: kern/106104, kern/104715 Submitted by: Shun-ichi Kobayashi KAWATA Masahiko Add support for Nvidia Nforce MCP04 AC97 controller. PR: kern/106829 Submitted by: Frédéric Petit END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-24T05:44:46.000000Z K 7 svn:log V 392 MFC: Add inverted amplifier sense quirk for HP Compaq nx4300 and few NEC VersaPro. PR: kern/106104, kern/104715 Submitted by: Shun-ichi Kobayashi KAWATA Masahiko Add support for Nvidia Nforce MCP04 AC97 controller. PR: kern/106829 Submitted by: Frédéric Petit Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-12-24T07:32:01.000000Z K 7 svn:log V 54 Ready for RC2, finally... Approved by: re (implicit) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-24T07:47:10.000000Z K 7 svn:log V 66 Don't count on the first phys_avail range being greater than zero END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-24T08:03:27.000000Z K 7 svn:log V 1187 - remove all calls to sched_pin and sched_unpin as they are only useful to pmap on i386 - check for change in executable status in pmap_enter - pmap_qenter and pmap_qremove only need to invalidate the range if one of the pages has been referenced - remove pmap_kenter/pmap_kremove as they were only used by pmap_qenter and pmap_qremove - in pmap_copy don't copy wired bit to destination pmap - mpte was unused in pmap_enter_object - remove - pmap_enter_quick_locked is not called on the kernel_pmap, remove check - move pmap_remove_write specific logic out of tte_clear_phys_bit - in pmap_protect check for removal of execute bit - panic in the presence of a wired page in pmap_remove_all - pmap_zero_range can call hwblkclr if offset is zero and size is PAGE_SIZE - tte_clear_virt_bit is only used by pmap_change_wiring - thus it can be greatly simplified - pmap_invalidate_page need only be called in tte_clear_phys_bit if there is a match with flags - lock the pmap in tte_clear_phys_bit so that clearing the page bits is atomic with invalidating the page - these changes result in 100s reduction in buildworld from a malloc backed disk to a malloc backed disk - ~2.5% END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-24T08:52:13.000000Z K 7 svn:log V 230 Note that rev. 1.221 introduced a local workaround for a general problem. Add a pointer to the relevant PR for future reference. The whole comment will be OK to remove as soon as the general solution is applied. PR: kern/105943 END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-24T09:45:10.000000Z K 7 svn:log V 23 Correct a logic error. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-24T10:25:23.000000Z K 7 svn:log V 45 Nitpicking: defines exit codes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-24T13:58:17.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-24T14:23:35.000000Z K 7 svn:log V 24 Document the -d option. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-24T19:18:52.000000Z K 7 svn:log V 17 Markup revision. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-24T19:55:38.000000Z K 7 svn:log V 13 Markup nits. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-24T22:24:39.000000Z K 7 svn:log V 268 Fix a typo in __fpu_ftox() that caused long double to long (and long long) conversion of negative numbers to always result in -1. While at it, rearrange the nearby comment so it fits in 80 chars per line, like the rest of this file does. PR: 107130 MFC after: 1 day END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-24T22:52:27.000000Z K 7 svn:log V 86 MFC noted: arcmsr 1.20.00.13. Updated release note: libc resolver from BIND 9.3.3. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-24T22:54:25.000000Z K 7 svn:log V 59 MFC: arcmsr(4) 1.20.00.13, libc resolver from BIND 9.3.3. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-24T23:07:11.000000Z K 7 svn:log V 41 Fix markup, remove a dummy BUGS section. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-25T02:05:52.000000Z K 7 svn:log V 74 - add ranged shootdowns when fewer than 64 mappings are being invalidated END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-25T02:06:32.000000Z K 7 svn:log V 184 Use strncpy() instead of strlcpy() when copying members of a `struct ar_hdr'. These members do not use NUL-termination while strlcpy() expects its source buffer to be NUL-terminated. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-25T02:22:22.000000Z K 7 svn:log V 592 Keep shadow copies of the `e_shnum', `e_phnum' and `e_shstrndx' members of the ELF Executable Header inside the library-private `struct _Elf' descriptor and only update the underlying Elf{32,64}_Ehdr structure on an elf_update(3) call. These fields of the Ehdr structure are technically `out of bounds' for an application program per the ELF(3) API, but we've seen applications that initialize a new Ehdr structure using memcpy(), messing up the library's invariants. [1] Implement elf_getphnum() and handle ELF objects with more than 64K program header table entries. Reported by: jb [1] END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-25T02:24:39.000000Z K 7 svn:log V 106 Document the additional error returns possible when handling ELF objects that require extended numbering. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-25T03:00:15.000000Z K 7 svn:log V 65 break loop early if we know that there are at least two signals. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T08:59:09.000000Z K 7 svn:log V 212 Pull up current -mdoc version from vendor. - New Darwin, FreeBSD, and NetBSD versions. - DragonFly support including the new .Dx macro. - New .St strings: -isoC-amd1, -isoC-tcor1, -isoC-tcor2, and -ieee1275-94. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T08:59:09.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r165538, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T09:03:10.000000Z K 7 svn:log V 30 MFV: Sync with vendor branch. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T09:09:47.000000Z K 7 svn:log V 39 FreeBSD 5.5 is part of official -mdoc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T15:09:06.000000Z K 7 svn:log V 17 Markup revision. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-25T17:03:04.000000Z K 7 svn:log V 10 Fix build END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-25T17:04:41.000000Z K 7 svn:log V 123 add entry points required by newer broadcom wireless driver PR: kern/106131 Submitted by: Scot Hetzel MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T18:36:53.000000Z K 7 svn:log V 33 Simplify and improve the markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-25T20:30:10.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-26T02:48:42.000000Z K 7 svn:log V 158 turn non-INVARIANT KASSERT into an empty but real C statement so that syntax errors will still be caught even if INVARIANTS aren't enabled in the config file END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-26T05:27:49.000000Z K 7 svn:log V 217 MFC revisions 1.68-1.71 of bsdtar.c, 1.25 of bsdtar.h: * Remove nonexistant -F option from getopts string. * Correct the names of some options. * Check for -U and --strip-components options in inappropriate contexts. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-26T05:49:06.000000Z K 7 svn:log V 158 Add a sentence to the DESCRIPTION noting that updates aren't available for -STABLE or -CURRENT. Inspired by submission from: Scott Robbins MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-26T09:45:19.000000Z K 7 svn:log V 261 MFC: 1.7 Fix a typo in __fpu_ftox() that caused long double to long (and long long) conversion of negative numbers to always result in -1. While at it, rearrange the nearby comment so it fits in 80 chars per line, like the rest of this file does. PR: 107130 END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-26T10:37:37.000000Z K 7 svn:log V 31 Say "utility", not "function". END K 10 svn:author V 6 dryice K 8 svn:date V 27 2006-12-26T11:33:26.000000Z K 7 svn:log V 66 Add my birthday to calendar.freebsd Approved by: itetcu (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-26T12:43:12.000000Z K 7 svn:log V 10 Simplify. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-26T13:44:41.000000Z K 7 svn:log V 41 Fix markup, add the EXIT STATUS section. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-26T13:57:40.000000Z K 7 svn:log V 68 Give a hint to the reader as to what the "whiteout" actually means. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-26T17:43:46.000000Z K 7 svn:log V 200 Back out revision 1.33. usb/98983 was misfiled and the patch had no effect. The originator confirmed the adapter works fine without the patch. Tested by: Massimo Lusetti (mlusetti at gmail dot com) END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-26T18:33:55.000000Z K 7 svn:log V 304 After rev.1.169, the "interrupt" coalescing parameters are not used in bge_intr(). Some of them are used in bge_poll(). Simplify by only initializing these for polling mode and not toggling them when switching modes. This also fixes missing synchronization with the coalescing engine in the toggling. END K 10 svn:author V 3 dds K 8 svn:date V 27 2006-12-26T20:09:40.000000Z K 7 svn:log V 162 MFC revisions 1.35-1.37. Correct handling of format strings with escaped % specifications. Prevent buffer overflow when forcibly terminating an escape character. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-26T22:25:58.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-27T06:22:44.000000Z K 7 svn:log V 388 MFC: Allow for module-path being a semicolon-separated list of dirs. This is consistent with kern.module_path sysctl and also compensates for the unconventional syntax of asf(8) where the last of multiple arguments is the output file, which prevents us from using the traditional Unix syntax "foo file ..." to specify multiple module dirs. asf.c rev. 1.12 asf.8 rev. 1.11 END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-27T06:31:57.000000Z K 7 svn:log V 126 MFC cosmetic fixes to the asf(8) usage line and manpage, thus eliminating the difference from HEAD completely in this module. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-27T11:19:06.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-27T11:28:00.000000Z K 7 svn:log V 19 More markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-27T12:14:56.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-27T13:15:33.000000Z K 7 svn:log V 1561 MFp4: Implement the checks for required_* objects as two functions, one to be run before precmd and the other after it. They get the current rc command as an argument so they can choose what requirement tests to perform. As of now, only "start" needs such tests. Implement a new requirement variable, required_modules. It can list kernel modules that need to be loaded after start_precmd indicated success. Each name in the list can be just "file", or "file:module", or "file~regex". This will allow us to remove a lot of duplicated code from rc.d scripts. Perform the checks not only for the default start method, but for any method. This allows for more flexibility and fixes a few rc.d scripts (namely newsyslog, pf, sendmail) that rely on a required_* variable while providing a non-default start method. To be able to call the new check_required* functions naturally, remove lots of crufty duplicated code pieces from run_rc_command and replace each of them by a call to the helper function providing a single corrected instance of the respective code snippet. Now run_rc_command isn't as scary as it used to be, and it even appears to have quite a nice logic that was obscured by the old crufty code. In the default handler for restart, run start from a subshell to protect global varibles, e.g., _postcmd, from modification by the start handler. This enables using restart_postcmd. [x] PR: conf/98734 [x] Submitted by: Rick van der Zwet [x] Reviewed by: freebsd-rc (silence for an older version) MFC after: 1 month END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-27T13:22:41.000000Z K 7 svn:log V 173 MFp4: Document my recent changes to rc.subr(8): - there is $required_modules now; - $required_* are checked before invoking a custom start method, too. MFC after: 1 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-27T13:52:57.000000Z K 7 svn:log V 55 Fix markup and change some layout; no content changes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-27T14:56:18.000000Z K 7 svn:log V 81 - Remove the ambiguity in the input format description. - Fix markup while here. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-27T18:46:18.000000Z K 7 svn:log V 1067 First cut at half/quarter-rate 11a channel support (e.g. for use in the Public Safety Band): o add channel flags to identify half/quarter-rate operation o add rate sets (need to check spec on 4Mb/s in 1/4 rate) o add if_media definitions for new rates o split net80211 channel setup out into ieee80211_chan_init o fixup ieee80211_mhz2ieee and ieee80211_ieee2mhz to understand half/quarter rate channels: note we temporarily use a nonstandard/hack numbering that avoids overlap with 2.4G channels because we don't (yet) have enough state to identify and/or map overlapping channel sets o fixup ieee80211_ifmedia_init so it can be called post attach and will recalculate the channel list and associated state; this enables changing channel-related state like the regulatory domain after attach (will be needed for 802.11d support too) o add ieee80211_get_suprates to return a reference to the supported rate set for a given channel o add 3, 4.5, and 27 MB/s tx rates to rate <-> media conversion routines o const-poison channel arg to ieee80211_chan2mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-27T18:48:50.000000Z K 7 svn:log V 316 Add half/quarter rate 11a channel support: o add hack/nonstandard channel mapping for public safety band channels to mirror kernel (temporary until we have proper 802.11 state) o change ieee80211_mhz2ieee to take channel flags (unused right now) While here do some minor fixups like using IEEE80211_IS_CHAN_ANYG. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-27T19:07:09.000000Z K 7 svn:log V 890 Add half/quarter rate 11a channel support: o change handling of regdomain-related mib knobs so they can be set post-attach: regdomain, countrycode, outdoor, and xchanmode; the hal will not permit changing the regdomain but we expose it for now o on regdomain/countrycode change recalculate the channel list and push it to the net80211 layer (NB: looks to need more tweaking) o setup rate tables for half/quarter rate channels o honor half/quarter rate channel configs when changing channels o honor half/quarter rate channel configs when setting the slot time o use hack/nonstandard channel numbering scheme for the public safety band to avoid overlapping 2.4G channels on dual-band cards o remove setup of ic_sup_rates; the net80211 layer can do this for us and it simplifies handling of half/quarter rate channels Tested only in Public Safety Band with cards that have RF5112. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-27T20:26:00.000000Z K 7 svn:log V 1706 Avoid an instruction in atomic_cmpset_{int_long)() in most cases. These functions are used a lot for mutexes, so this reduces the text size of an average kernel by about 0.75%. This wasn't intended to be a significant optimization, but it somehow increased the maximum number of packets per second that can be transmitted by my bge hardware from 320000 to 460000 (this benchmark is CPU-bound and remarkably sensitive to changes in the text section). Details: we would prefer to leave the result of the cmpxchg in %al, but cannot tell gcc that it is there, so we have to convert it to an integer register. We converted to %al, then to %[re]ax, but the latter step is usually wasted since gcc usually only wants the condition code and can recover it from %al just as easily as from %[re]ax. Let gcc promote %al in the few cases where this is needed. Nearby style fixes; - let gcc manage the load of `res', and don't abuse `res' for a copy of `exp' - don't echo `res's name in comments - consistently spell the condition code as 'e' after comparison for equality - don't hard-code %al anywhere except in constraints - for the version that doesn't use cmpxchg, there is no requirement to use %al anywhere, so don't hard-code it in the constraints either. Style non-fix: - for the versions that use cmpxchg, keep using "a" (was %[re]ax, now %al) for the main output operand, although this is not required. The input and output operands that use the "a" constraint are now decoupled, and this makes things clearer except for the reason that the output register is hard-coded. It is now just a hack to tell gcc that the input "a" has been clobbered without increasing the number of operands. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-28T00:05:40.000000Z K 7 svn:log V 32 Fix shared authentication mode. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-28T01:31:26.000000Z K 7 svn:log V 211 o unbreak rate set defaulting o mark 11g mode support on finding 11g or pure 11g (OFDM-only) channels; was requiring pure 11g which caused some contortions in drivers that manually setup their channel lists END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-28T04:58:38.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-28T05:21:48.000000Z K 7 svn:log V 129 Correct spelling of "accommodate", "guarantee", "guaranteed", "guard", "return", "ridiculous", and "success". MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T06:14:42.000000Z K 7 svn:log V 144 Disable MSI on the Intel E7505 chipset. It is reported broken on a Tyan S2665ANF motherboard. Reported by: "Eugene M. Kim" END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-28T08:15:14.000000Z K 7 svn:log V 566 Removed gratuitous cosmetic differences with the i386 version. This mainly involves removing all __CC_SUPPORTS___INLINE__ ifdefs. These ifdefs are even less needed for amd64 than for i386, but the i386 atomic.h never had them. The ifdefs here were just an optimization of obsolescent compatibility cruft (__inline) for a null set of compilers. I think null sets of compilers should only be supported in cases where this is more than an optimization, doesn't require extensive ifdefs, and only involves not-so-obsolescent compatibility cruft (plain inline here). END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-28T10:58:06.000000Z K 7 svn:log V 16 Fix markup nit. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-28T13:21:54.000000Z K 7 svn:log V 1051 Before this commit, if the compression is enabled the, ng_ppp(4) node would send every outgoing frame to the "compress" hook. Packets received on the "compress" hook were expected to be compressed and PROT_COMPD tag was put on them unconditionally. After this commit an alternative compression mode can be set. In this mode the node doesn't put the PROT_COMPD, the compressor should put it itself. This is important for such kind of compressors, that can submit uncompressed frames. Before this commit, if the decompression is enabled, the ng_ppp(4) node would send and incoming frame to the "decompress" hook only if it has the PROT_COMPD proto tag on it. After this commit an alternative decompression mode can be set. In this mode the node sends all the incoming packets to the decompression hook. This is important for such kind of compressors that need uncompressed packets too, to keep their library in sync. These new features will be used in new version of mpd4, and in new compressor nodes. Submitted by: Alexander Motin END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-28T15:44:05.000000Z K 7 svn:log V 139 A node that implements the Deflate sub-protocols of the Compression Control Protocol (CCP). Submitted by: Alexander Motin END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-28T16:36:32.000000Z K 7 svn:log V 107 MFC: Mention arcmsr(4) and resolver update; update Simplified Chinese translation. Approved by: re (bmah) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-28T16:40:27.000000Z K 7 svn:log V 129 MFRELENG_6 (by bruffer): Don't claim that bce(4) supported polling while it still need some work to do. Approved by: re (bmah) END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-12-28T17:10:23.000000Z K 7 svn:log V 153 Catch up struct cmsghdr and struct msghdr in the manual page with the actual structures in socket.h (which were updated 7 years ago). MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-12-28T17:15:21.000000Z K 7 svn:log V 40 Bump modification date for last update. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T17:25:57.000000Z K 7 svn:log V 440 Update MAC Framework general comments, referencing various interfaces it consumes and implements, as well as the location of the framework and policy modules. Refactor MAC Framework versioning a bit so that the current ABI version can be exported via a read-only sysctl. Further update comments relating to locking/synchronization. Update copyright to take into account these and other recent changes. Obtained from: TrustedBSD Project END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-28T18:26:02.000000Z K 7 svn:log V 315 MFC: 1.7 (1.6.8.1) Fix a typo in __fpu_ftox() that caused long double to long (and long long) conversion of negative numbers to always result in -1. While at it, rearrange the nearby comment so it fits in 80 chars per line, like the rest of this file does. PR: 107130 Approved by: re (bmah) Committed from: 23C3 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T18:57:39.000000Z K 7 svn:log V 127 Forced commit to recognize repository copy of src/sys/kern/kern_mac.c to mac_framework.c and mac_syscalls.c. Thanks to: simon END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-12-28T19:15:12.000000Z K 7 svn:log V 138 document that locks must not be aquired in f_event... (and where they can be safely aquired) Reminded by: kib (by LOR #193) MFC: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T20:52:02.000000Z K 7 svn:log V 387 Break contents of kern_mac.c out into two files following a repo-copy: mac_framework.c Contains basic MAC Framework functions, policy registration, sysinits, etc. mac_syscalls.c Contains implementations of various MAC system calls, including ENOSYS stubs when compiling without options MAC. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T21:07:45.000000Z K 7 svn:log V 24 Trim unneeded includes. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-28T21:12:57.000000Z K 7 svn:log V 128 On HEAD, the release notes are no longer MD documents, so update text here to reflect reality. Bump copyright date while here. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T21:15:37.000000Z K 7 svn:log V 205 Move mac_init_label() and mac_destroy_label() from mac_framework.c to mac_label.c, and use these instead of replicated code in the label zone constructor and destructor. Obtained from: TrustedBSD Project END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T21:40:55.000000Z K 7 svn:log V 152 MFC: Add the PCI_FIND_EXTCAP() method to the PCI bus interface to lookup specific extended capability registers by capability ID. Requested by: scottl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T21:48:38.000000Z K 7 svn:log V 367 Centralize definition of MAC_VERSION in mac_policy.h, as it defines the kernel<->policy ABI version. Add a comment to the definition describing it and listing known versions. Modify MAC_POLICY_SET() to reference the current kernel version by name rather than by number. Staticize mac_late, which is used only in mac_framework.c. Obtained from: TrustedBSD Project END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T21:48:42.000000Z K 7 svn:log V 46 Bump __FreeBSD_version for pci_find_extcap(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T21:54:50.000000Z K 7 svn:log V 49 MFC: Use pci_find_extcap() in drm(4) and agp(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T21:55:47.000000Z K 7 svn:log V 84 Update __FreeBSD_version check for pci_find_extcap() now that it is present in 6.x. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T21:56:39.000000Z K 7 svn:log V 147 In mac_inpcb_sosetlabel(), assert the socket lock rather than commenting that we should assert the socket lock. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T21:57:59.000000Z K 7 svn:log V 156 Remove an inaccurate comment I added regarding storage for mbuf tag labels: they are in fact stored in the tag directly. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T22:02:59.000000Z K 7 svn:log V 185 Remove XXX comments about EA transaction support and provide a more general and detailed comment on the topic of EA transactions and kernel warnings. Obtained from: TrustedBSD Project END