ı170355 202 224 665 161 237 136 201 149 201 186 156 353 118 259 142 132 107 184 165 209 541 154 552 362 134 254 314 261 161 159 124 177 226 178 175 548 117 453 165 129 309 241 190 221 379 137 317 290 595 163 241 510 130 487 754 169 202 242 118 149 185 124 120 217 136 275 570 257 194 170 242 235 185 119 358 227 154 381 389 164 257 178 128 133 188 256 307 313 281 336 232 132 117 274 151 376 430 204 226 193 174 292 144 131 319 168 110 115 320 153 393 146 536 197 224 371 469 135 431 334 194 300 281 1550 388 115 145 286 210 119 177 151 163 149 138 119 164 170 116 148 232 175 149 157 149 254 147 117 166 262 186 251 158 678 332 329 1041 539 287 182 174 153 606 343 343 260 420 311 268 389 168 306 128 125 182 149 2935 1181 141 131 121 106 112 254 212 166 196 215 173 105 126 173 183 159 240 135 428 548 163 934 356 202 135 K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-06T00:59:20.000000Z K 7 svn:log V 127 MFC r1.99 Remove a KASSERT intended to help the developer, the condition is no longer valid since the span code was added. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-06T02:23:03.000000Z K 7 svn:log V 570 - Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing header , which is required by both tputs() and tgoto(). Without this header, nvi crashes with the call to tputs() at line 114. This is because the first argument of tputs() is a pointer, and the returned pointer from tgoto() is casted to an integer by compiler. For some reasons, this only crashes on amd64+CURRENT. On 6.x system, this does not happen. PR: 101248 Reported by: yar, infofarmer, Roland Smith Tested by: infofarmer, delphij, rafan Approved by: delphij (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-06T02:51:54.000000Z K 7 svn:log V 65 Mention 'k' option of gunzip. Pointed out by: ighighi gmail.com END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-06-06T03:40:47.000000Z K 7 svn:log V 143 - Placing the 'volatile' on the right side of the * in the td_lock declaration removes the need for __DEVOLATILE(). Pointed out by: tegge END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-06T04:44:19.000000Z K 7 svn:log V 41 Include for sched_throw(). END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-06T04:56:04.000000Z K 7 svn:log V 108 copyright updates: o update to include 2007 o switch back to a 2-clause bsd-only license Reviewed by: onoe END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-06T05:01:41.000000Z K 7 svn:log V 54 Call sbuf_finish() before sbuf_data() and sbuf_len(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-06T05:06:14.000000Z K 7 svn:log V 105 Prefix unknown (i.e. un-aliased) partition types with '!'. This is how they had to be given with ctlreq. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2007-06-06T06:01:56.000000Z K 7 svn:log V 91 Fix the compile. Band-aid until it is worked out how to use the context switch api on ppc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-06T06:53:40.000000Z K 7 svn:log V 60 Add OUI for Vitesse Semiconductor. Add Vitesse VSC8601 PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-06T06:55:49.000000Z K 7 svn:log V 256 Add support Vitesse VSC8601 PHY that is found on nVidia network adapters. Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp > Tested by: Yuri Pankov < yuri.pankov AT gmail DOT com>, Rainer Hurling END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-06T07:05:02.000000Z K 7 svn:log V 22 Add IC Plus IP101 PHY END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-06T07:07:23.000000Z K 7 svn:log V 162 Add support IC Plus IP101 10/100 PHY that is found on nVidia network adapters. Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp > END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-06-06T07:35:08.000000Z K 7 svn:log V 46 Backout experimental adaptive-spin umtx code. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-06-06T07:58:03.000000Z K 7 svn:log V 38 Update rum driver that needs wlan(4). END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-06-06T11:12:56.000000Z K 7 svn:log V 14 Correct typo. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-06T11:14:30.000000Z K 7 svn:log V 90 - Sort the headers per style(9) Reminded by: yar Approved by: delphij (mentor, implicit) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-06-06T13:04:15.000000Z K 7 svn:log V 72 MFi386: revision 1.657 Backout experimental adaptive-spin umtx code. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-06-06T14:21:49.000000Z K 7 svn:log V 112 Do not leak lock in the case of EEXIST error. PR: kern/92776 Submitted by: Ed Schouten END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-06T14:31:36.000000Z K 7 svn:log V 443 MFp4: MPSAFE firewire stack. - lock its own locks and drop Giant. - create its own taskqueue thread. - split interrupt routine - use interrupt filter as a fast interrupt. - run watchdog timer in taskqueue so that it should be serialized with the bottom half. - add extra sanity check for transaction labels. disable ad-hoc workaround for unknown tlabels. - add sleep/wakeup synchronization primitives - don't reset OHCI in fwohci_stop() END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-06T15:49:16.000000Z K 7 svn:log V 62 update copyrights to 2007 and convert to be 2-clause bsd-only END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2007-06-06T15:59:29.000000Z K 7 svn:log V 454 MFC all of the remaining changes. This brings over improved ioctl support and makes MegaCli work on amd64. Scott supplied patches to make the ioctl commands not block the controller. MegaCli still has some issues with our emulation and create some bogus commands so flashing doesn't work. This should loosely resolve 113232. We were waiting on some other fixes to go into -current before migrating this to -stable. PR: 113232 Submitted by: scottl END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-06-06T16:20:50.000000Z K 7 svn:log V 265 Merge 1.47: Make it possible that carpdetach() unlocks on return. Then, in carp_clone_destroy() we are on a safe side, we don't need to unlock the cif, that can me already non-existent at this point. Reported by: Anton Yuzhaninov END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-06-06T18:33:38.000000Z K 7 svn:log V 37 Fix a typo to make this file compile END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-06T19:24:02.000000Z K 7 svn:log V 159 Document getaddrinfo(3)'s AI_ADDRCONFIG PR: docs/78357 Submitted by: Matthias Andree Patch by: asmodai MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-06T19:27:10.000000Z K 7 svn:log V 219 Specify which Dlink chip is supported (D-Link DUB-E100 ver A) because others (D-Link DUB-E100 ver B1) are not. PR: docs/109664 Submitted by: Martin Nilsson Patch by: asmodai MFC after: 1 week END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-06-06T21:28:50.000000Z K 7 svn:log V 168 - Revert previous revision, it was incorrect - Add an example using fdisk instead Pointed out by: ru Submitted by: Warren Block MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-06T21:30:42.000000Z K 7 svn:log V 69 MFC 1.176: Add vm map and object locking to each_writable_segment(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-06T21:43:35.000000Z K 7 svn:log V 67 MFC: Add support for kernel modules with a single PT_LOAD section. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-06T22:06:42.000000Z K 7 svn:log V 32 MFC: Make gcore(1) 64 bit safe. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-06T22:10:12.000000Z K 7 svn:log V 83 Correctly print SEQ and IRS in the corresponding log message in syncache_expand(). END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-06-06T22:17:01.000000Z K 7 svn:log V 132 -axe p_ih from struct puc_port cause it was useless -correctly check for filter only handler Reviewed by: marcel Tested by: marcel END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-06-06T22:19:23.000000Z K 7 svn:log V 85 Teach the bridge wrapper how to handle the filter+ithread case. Reviewed by: marius END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-06-06T23:23:47.000000Z K 7 svn:log V 82 - PCPU_ADD is no longer spelled with LAZY_ in the middle. Submitted by: attilio END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-07T00:28:47.000000Z K 7 svn:log V 451 The maxsegsz of a dma tag created in de(4) is TULIP_DATA_PER_DESC bytes. In Rx path it allocates a new mbuf with m_getcl(9) so the length of the mbuf is MCLBYTES which is greater than a segment size specified by the dma tag. This segment size mismatch caused a voluntary panic. Fix the panic by settting the mbuf length to TULIP_DATA_PER_DESC. Reported by: Arne H Juul Tested by: Arne H Juul END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-06-07T01:53:29.000000Z K 7 svn:log V 21 Fix compiling error. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2007-06-07T02:21:38.000000Z K 7 svn:log V 356 New features: - Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically TBI interfaces) - Added 2.5G support for BCM5708S Comments: Since this driver is shared with bge I tested several available controllers supported by bge and all worked as expected, however the list was not exhaustive. Need wider testing. MFC after: 4 weeks END K 10 svn:author V 7 davidch K 8 svn:date V 27 2007-06-07T02:23:56.000000Z K 7 svn:log V 69 New Features: - Added 2.5G support for BCM5708S. MFC after: 4 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-07T06:05:53.000000Z K 7 svn:log V 37 Fix spaces introduced in last commit END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-06-07T06:28:48.000000Z K 7 svn:log V 214 Calculate the correct PCI BAR for the Timedia based serial cards. The Linux equivalent gives BAR offsets relative to the implied base of 0x10. Our PUC_CFG_GET_RID functions have to add the base offset themselves. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-06-07T07:32:15.000000Z K 7 svn:log V 148 Bump __FreeBSD_version for the change of the vn_open/VOP_OPEN file index argument to struct file *. Requested by: Csaba Henk END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-06-07T07:43:04.000000Z K 7 svn:log V 98 "-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8). Pointed out by: ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-07T09:29:37.000000Z K 7 svn:log V 123 Remove compat ifdefs for version < 500014 from the rest of the USB files. Approved by: rwatson (mentor) MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-06-07T09:50:53.000000Z K 7 svn:log V 287 MFC: 1.200 sbin/ipfw/ipfw.8, 1.104 sbin/ipfw/ipfw2.c 1.110 sys/netinet/ip_fw.h, 1.164 sys/netinet/ip_fw2.c Add support for filtering on Routing Header Type 0 and Mobile IPv6 Routing Header Type 2 in addition to filter on the non-differentiated presence of any Routing Header. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-07T12:29:33.000000Z K 7 svn:log V 40 Add heuristics for smooth reconnection. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-07T13:20:48.000000Z K 7 svn:log V 219 Add a tunable hw.firewire.phydma_enable. This is enabled by default. It should be disabled for those who are uneasy with peeking/poking from FireWire. Please note sbp(4) and dcons(4) over FireWire need this feature. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-06-07T15:04:30.000000Z K 7 svn:log V 196 Fix off-by-one error (introduced in r1.60) that had the effect of disallowing a read of exactly MAXPHYS bytes. Reviewed by: des, rdivacky MFC after: 1 week Sponsored by: nCircle Network Security END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-07T16:04:23.000000Z K 7 svn:log V 499 Eliminate pmap_install(), which was used to wrap pmap_switch() and grab sched_lock. This would serialize calls to pmap_switch from cpu_switch(). With the introduction of thread_lock, this is not possible anymore, because thread_lock is not a single lock. It varies. Secondly and most importantly, it's not needed at all. The only requirement for pmap_switch() is that it's not preempted while in the middle of updating the CPU and PCPU. In other words, it's a critical region. No locking required. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-07T18:36:58.000000Z K 7 svn:log V 68 Remove remaining references to pc_curtid missed in previous commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-07T19:45:19.000000Z K 7 svn:log V 148 - Remove unused variable from create_thread(). - Move kern_thr_*() prototype to where all the other kern_*() prototypes live. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-07T21:41:50.000000Z K 7 svn:log V 415 In tcp_hc_insert() we may have the case where we have hit the global cache size limit but this bucket row is empty. Normally we want to recycle the oldest entry in the bucket row. If there isn't any the TAILQ_REMOVE leads to a panic by trying to remove a non-existing element. Fix this by just returning NULL and failing the insert. This is not a problem as the TCP hostache is only advisory. Submitted by: jhb END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-06-07T21:51:09.000000Z K 7 svn:log V 35 There's no nobounce_dmamap on arm. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-07T22:27:15.000000Z K 7 svn:log V 390 Move per-process audit state from a pointer in the proc structure to embedded storage in struct ucred. This allows audit state to be cached with the thread, avoiding locking operations with each system call, and makes it available in asynchronous execution contexts, such as deep in the network stack or VFS. Reviewed by: csjp Approved by: re (kensmith) Obtained from: TrustedBSD Project END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T00:54:44.000000Z K 7 svn:log V 656 Poll bus resets on FireWire while kdb/gdb is active. Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb is active. After this change, a dcons connnection over FireWire can survive bus resets even in kernel debugger. This means that it is not too late to plug a FireWire cable after a panic to investigate the problem. Actually there is a small window(between a jump to kernel from loader and initialization of dcons_crom) in which no one can take care of a bus reset. Except that window, firewire console should keep working from loader to reboot even with a panic and a bus reset. (as far as you enable LOADER_FIREWIRE_SUPPORT) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:21:20.000000Z K 7 svn:log V 74 Remove assignment to uninitialized variable that wasn't then used anyway. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:34:04.000000Z K 7 svn:log V 106 Include now unused var within #if 0 where it come back if the other #if 0 code comes back- quiets gcc 4.2 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:37:47.000000Z K 7 svn:log V 146 Remove the __inline qualifier from a function which is in fact not an inline but instead a module wide function, thus quieting a GCC 4.2 warning. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:39:04.000000Z K 7 svn:log V 23 Quiet GCC 4.2 warning. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:48:23.000000Z K 7 svn:log V 54 Carry volatile type in cast so gcc 4.2 will be happy. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:49:04.000000Z K 7 svn:log V 90 Fix preprocessor code to check for a symbol being defined prior to checking for non-zero. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-08T01:54:22.000000Z K 7 svn:log V 29 Propagae volatile qualifier. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-06-08T02:21:13.000000Z K 7 svn:log V 24 Set warning level to 2. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2007-06-08T02:34:44.000000Z K 7 svn:log V 120 - Fixed a problem that caused autonegotiation failures. Submitted by: tor.egge@cvsup.no.freebsd.org MFC after: 4 weeks END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T03:05:57.000000Z K 7 svn:log V 39 Replace breakpoint() with kdb_enter(). END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-08T04:03:57.000000Z K 7 svn:log V 182 gcc 4.2 thinks that tupleid is uninitialized. Or might be used uninitialized. It gets passed into other routines that initialize it... Cope by initializing. Submitted by: mjacob END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T04:33:25.000000Z K 7 svn:log V 472 Add the address of IDT in the configuration ROM. (i386/amd64 only) A change to dconschat(8) will follow so that it can bomb this address over FireWire to reset a wedged system. Though this method is just a hack and far from perfection, it should be useful if you don't want to go machine room just to reset or to power-cycle a machine without remote-managed power supply. And much better than doing: # fwcontrol -m target-eui64 # dd if=/dev/zero of=/dev/fwmem0.2 bs=1m END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-08T04:46:50.000000Z K 7 svn:log V 161 Sync with other platforms: add kluge to use contigmalloc when the alignment is larger than the size and print a diagnostic when we didn't satisfy the alignment. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T05:26:11.000000Z K 7 svn:log V 97 Clean up escape sequence handling and add support for resetting target and suspending dconschat. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-08T05:44:12.000000Z K 7 svn:log V 74 Increase inputFS buffer. awk will not accept some old scripts otherwise. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-08T07:05:08.000000Z K 7 svn:log V 145 In getblk(), before gbincore(), use BO_LOCK directly when locking the bufobj, rather than using VI_LOCK, like what was done with revision 1.453. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T07:53:59.000000Z K 7 svn:log V 137 Fix a race after a bus reset. - We are in FWBUSINIT state just after SID interrupt. - Do not pass normal xfers before bus probe is done. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T08:23:14.000000Z K 7 svn:log V 88 Don't invalidate dcons buffer on shutdown. We would like to keep connection after halt. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T09:04:30.000000Z K 7 svn:log V 22 Timestamp after sent. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-08T10:57:11.000000Z K 7 svn:log V 265 - RTO was not being initialized to 0, thus the rtt calculation algoritm would not go through the proper initialization. - The initialization was incorrect as well, causing problems in sat networks with > 1sec RTT - Get rid of magic numbers in RTT calculations. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-06-08T11:47:36.000000Z K 7 svn:log V 134 Double the WITNESS and DIAGNOSTIC benchmark warnings right before we go into userland to improve the chances of people noticing them. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-06-08T12:26:30.000000Z K 7 svn:log V 62 Missing atomic operations for ZFS/ia64. Submitted by: marcel END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-06-08T12:35:47.000000Z K 7 svn:log V 288 - Reduce number of atomic operations needed to be implemented in asm by implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-06-08T12:43:25.000000Z K 7 svn:log V 291 Correct the definition of PFIL_HOOKED() so that it compares the value of ph_nhooks to zero, not the address. This removes extranious calls to pfil_run_hooks (and an rw lock) from the network stack's critical path when no pfil hooks are active. Reviewed by: csjp Sponsored by: Myricom Inc. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-08T12:58:06.000000Z K 7 svn:log V 67 Reset dc->paddr and dc->reset if we cannot read configuration ROM. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-08T13:35:51.000000Z K 7 svn:log V 164 Add a sysctl for the purge run interval so that it can be tuned along with the rest of hostcache parameters. The new sysctl name is `net.inet.tcp.hostcache.prune'. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-08T13:43:28.000000Z K 7 svn:log V 86 Replace a constant with an already defined symbolic name for it. Tested with: md5(1) END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-06-08T16:05:32.000000Z K 7 svn:log V 36 MFC addition of bsd.port.options.mk END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-08T16:20:03.000000Z K 7 svn:log V 38 Add my copyright. Requested by: pjd@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-08T16:51:20.000000Z K 7 svn:log V 96 MFC 1.139: Fix a snafu in the changes in 1.138. PR: kern/113387 Submitted by: Andre Albsmeier END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-08T17:33:38.000000Z K 7 svn:log V 161 MFC: (revision 1.9) Fix (enable) phone out for laptops with ALC655, specifically for Amilo Pro V2055. PR: kern/113101 Submitted by: konrad@egipt-medytacje.pl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-08T20:29:07.000000Z K 7 svn:log V 210 Enable AUDIT by default in the GENERIC kernel, allowing security event auditing to be turned on without a kernel recompile, just an rc.conf option. Approved by: re (kensmith) Obtained from: TrustedBSD Project END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-08T21:36:52.000000Z K 7 svn:log V 216 Remove the MUTEX_WAKE_ALL option and make it the default behaviour for our mutexes. Currently we alredy force MUTEX_WAKE_ALL beacause of some problems with the !MUTEX_WAKE_ALL case (unavioidable priority inversion). END K 10 svn:author V 6 dwhite K 8 svn:date V 27 2007-06-08T22:00:56.000000Z K 7 svn:log V 185 Don't cast the command argument to ether_ioctl() to an int since its not an int anymore. This was causing all sorts of bad behavior when booting a system with an nve interface present. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-08T22:25:09.000000Z K 7 svn:log V 243 Cleanup messages printed on attach. Since the description gets set to what we print, don't print it anymore. And don't compute it anymore. And don't malloc/free memory for it anymore. While I'm here, prefer device_printf where appropriate. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-09T01:19:08.000000Z K 7 svn:log V 136 Physical memory regions can be larger than INT_MAX. Change size1 from an int to a long to avoid printing negative byte and page counts. END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-06-09T05:41:18.000000Z K 7 svn:log V 39 Dutch calendar. Submitteed by: edwin@ END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-06-09T05:51:24.000000Z K 7 svn:log V 24 Include calendar.dutch. END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-06-09T05:54:13.000000Z K 7 svn:log V 180 Sort events by date. Correct long-standing off-by-one error in -W option. Submitted by: edwin@ Shorten some long lines. These files are still not completely style(9) compliant. END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-06-09T06:01:24.000000Z K 7 svn:log V 58 Updated tests for changed features. Submitted by: edwin@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:31:07.000000Z K 7 svn:log V 283 The devinfo stuff has been moved up into the parent bus. There's no need to do it at all anymore. Remove it from here. Expand USB_ATTACH_SETUP inline now that it is one line and we're moving away from the compat macros. Remove some bzero calls that turn out not be be necessary. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:37:17.000000Z K 7 svn:log V 337 Try to set the data multiplexed feature, but don't care if there's an error doing so. It seems an increasing number of phones have this quirk, and we're not keeping up. There appears to be nothing bad that happens for non-quirked phones. Minor cleanups: o prefer device_printf over printf o kill devinfo stuff o minor other preening. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:38:19.000000Z K 7 svn:log V 111 Kill USB_MATCH_SETUP, since this is the only place it was used in the tree. While I'm here, kill devinfo junk. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:39:43.000000Z K 7 svn:log V 133 Kill devinfo stuff. It is no longer needed. Kill bogus bzero as necessary. Minor tidy. Expand USB_ATTACH_SETUP inline where needed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:40:17.000000Z K 7 svn:log V 100 Remove lots of extra junk: o other bsd defines, there's no way this would work there o devinfo junk END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:42:19.000000Z K 7 svn:log V 82 Remove devinfo junk. Remove bogus bzero/memset Expand USB_ATTACH_SETUP Minor nits END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:49:05.000000Z K 7 svn:log V 199 Expand USB_ATTACH_SETUP inline + devinfo tweaks # looks like there's a chance that uaudio might compile on otherBSD, so leave # those #defines alone as well as make this change in a compatible way. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-09T06:53:27.000000Z K 7 svn:log V 52 Expand USB_ATTACH_SETUP inline. Kill devinfo stuff. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-06-09T09:20:22.000000Z K 7 svn:log V 36 Remove a comment I forgot to remove END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-06-09T09:28:30.000000Z K 7 svn:log V 223 MFC: rpcbind.c: rev. 1.15, 1.16, 1.17 rpcbind.8: rev. 1.10 1)Make it possible for rpcbind(8) to bind TCP listening socket to an IP other than INADDR_ANY. 2) Add the -6 option to specify "IPv6 only". PR: 84494, 1122566 END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-06-09T09:28:36.000000Z K 7 svn:log V 72 Pointer to an ICMP header was getting left behind after doing a pullup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-06-09T11:07:07.000000Z K 7 svn:log V 19 Make this compile. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-09T13:44:09.000000Z K 7 svn:log V 23 Adds support for SCTP. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-09T13:46:57.000000Z K 7 svn:log V 227 - fix send_failed notification contents - Reorder send failed to be in correct order. - Fixed calulation of init-ack to be right off mbuf lengths instead of the precalculated value. This will fix one 64 bit platform issue. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-09T13:53:27.000000Z K 7 svn:log V 61 - Opps.. takes out debug printfs I accidentally left in :-( END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-09T17:49:39.000000Z K 7 svn:log V 298 Handle a race condition on >2 core machines in tcp_timer() when a timer issues a shutdown and a simultaneous close on the socket happens. This race condition is inherent in the current socket/ inpcb life cycle system but can be handled well. Reported by: kris Tested by: kris (on 8-core machine) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-09T18:09:37.000000Z K 7 svn:log V 51 Propagate volatile qualifier to make gcc4.2 happy. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-09T18:56:11.000000Z K 7 svn:log V 439 The current rusage code show peculiar problems: - Unsafeness on ruadd() in thread_exit() - Unatomicity of thread_exiit() in the exit1() operations This patch addresses these problems allocating p_fd as part of the process and modifying the way it is accessed. A small chunk of this patch, resolves a race about p_state in kern_wait(), since we have to be sure about the zombif-ing process. Submitted by: jeff Approved by: jeff (mentor) END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-09T19:39:14.000000Z K 7 svn:log V 102 Don't send pure window updates when the peer has closed the connection and won't ever send more data. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-09T19:41:14.000000Z K 7 svn:log V 127 Since locking in kern/subr_prof.c is changed a bit, we need nomore of time_lock spinlock exported. Approved by: jeff (mentor) END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-09T21:09:49.000000Z K 7 svn:log V 276 Remove some bogosity from the SYN_SENT case in tcp_do_segment and simplify handling of the send/receive window scaling. No change in effective behavour. RFC1323 requires the window field in a SYN (i.e., a or ) segment itself never be scaled. Noticed by: yar END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-09T21:19:12.000000Z K 7 svn:log V 374 Make the handling of the tcp window explicit for the SYN_SENT case in tcp_outout(). This is currently not strictly necessary but paves the way to simplify the entire SYN options handling quite a bit. Clarify comment. No change in effective behavour with this commit. RFC1323 requires the window field in a SYN (i.e., a or ) segment itself never be scaled. END K 10 svn:author V 5 beech K 8 svn:date V 27 2007-06-09T21:46:04.000000Z K 7 svn:log V 41 - Add myself. Approved by: sat (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-09T21:48:44.000000Z K 7 svn:log V 334 rufetch and calcru sometimes should be called atomically together. This patch fixes places where they should be called atomically changing their locking requirements (both assume per-proc spinlock held) and introducing rufetchcalc which wrappers both calls to be performed in atomic way. Reviewed by: jeff Approved by: jeff (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-09T21:55:17.000000Z K 7 svn:log V 238 Add kdb_cpu_sync_icache(), intended to synchronize instruction caches with data caches after writing to memory. This typically is required to make breakpoints work on ia64 and powerpc. For those architectures the function is implemented. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-09T22:15:13.000000Z K 7 svn:log V 99 Synchronize the instruction cache after writing to memory. This is needed for breakpoints to work. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-09T23:41:14.000000Z K 7 svn:log V 204 Work around an integer overflow in expression `3 * maxbufspace / 4', when maxbufspace is larger than INT_MAX / 3. The overflow causes a hard hang on ia64 when physical memory is sufficiently large (8GB). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-10T00:28:41.000000Z K 7 svn:log V 184 Fix a bug caming from the committing a pre-merge version of the patch instead than a post-merge version (respect to another rusage fix). Reported by: marcel Approved by: jeff(mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-10T00:49:16.000000Z K 7 svn:log V 1456 Add a new physical memory allocator. However, do not yet connect it to the build. This allocator uses a binary buddy system with a twist. First and foremost, this allocator is required to support the implementation of superpages. As a side effect, it enables a more robust implementation of contigmalloc(9). Moreover, this reimplementation of contigmalloc(9) eliminates the acquisition of Giant by contigmalloc(..., M_NOWAIT, ...). The twist is that this allocator tries to reduce the number of TLB misses incurred by accesses through a direct map to small, UMA-managed objects and page table pages. Roughly speaking, the physical pages that are allocated for such purposes are clustered together in the physical address space. The performance benefits vary. In the most extreme case, a uniprocessor kernel running on an Opteron, I measured an 18% reduction in system time during a buildworld. This allocator does not implement page coloring. The reason is that superpages have much the same effect. The contiguous physical memory allocation necessary for a superpage is inherently colored. Finally, the one caveat is that this allocator does not effectively support prezeroed pages. I hope this is temporary. On i386, this is a slight pessimization. However, on amd64, the beneficial effects of the direct-map optimization outweigh the ill effects. I speculate that this is true in general of machines with a direct map. Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-06-10T00:58:41.000000Z K 7 svn:log V 290 Add ofw_bus_if.h as a dependency on sparc64. Without this sparc64 kernel builds had been succeeding if run serially but could fail if run in parallel because the bge module build might start before ofw_bus_if.h got created as part of the mainline kernel build. Diagnosis and patch by: ru END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T01:28:26.000000Z K 7 svn:log V 20 Initialize devname. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T01:28:55.000000Z K 7 svn:log V 50 Complete an initialization to make gcc 4.2 happy. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T01:43:11.000000Z K 7 svn:log V 190 Initialized ets to zero. This is arguably a gcc bug in that ets is always set to rts when timeout is non-NULL and then timevalid is set and ets is only checked later when timervalid is set. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T01:49:17.000000Z K 7 svn:log V 114 The new compiler can't quite follow the logic of has_stime and complains about using uninitialized tags in stime. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T01:50:05.000000Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-10T03:13:56.000000Z K 7 svn:log V 82 The definition of CACHELINESIZE moved from to . END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:31:55.000000Z K 7 svn:log V 56 Commit for Nate his "guidelines for submitting quirks". END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:37:22.000000Z K 7 svn:log V 68 Ensure that newpath is always initialized, even for the error case. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:40:13.000000Z K 7 svn:log V 54 Quiesce warnings by initializing irql values to zero. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:42:20.000000Z K 7 svn:log V 43 Init timespec to zero fo quiesce warnings. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:51:03.000000Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:53:13.000000Z K 7 svn:log V 69 Cast the ioctl define to the type of the variable being switched on. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T04:54:42.000000Z K 7 svn:log V 75 Remove 'inline' qualifiers from functions which are not, in fact, inlines. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-06-10T06:11:03.000000Z K 7 svn:log V 23 Document SCTP support. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-06-10T06:18:04.000000Z K 7 svn:log V 55 Backout mess mistakenly committed with manpage update. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T07:04:09.000000Z K 7 svn:log V 134 MFC: Fix some warnings by making things const, adding missing headers, removing some unused variables and making a variable unsigned. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-10T07:24:32.000000Z K 7 svn:log V 83 Prefer device_printf over printf. Eliminate axe_unit as it is no longer required. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T07:29:08.000000Z K 7 svn:log V 52 MFC 1.209: Don't verify UDP IPv4 checksum in-place. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-10T07:33:48.000000Z K 7 svn:log V 65 Prefer device_printf over printf Eliminate cdce_unit from softc. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T07:34:28.000000Z K 7 svn:log V 52 MFC 1.209: Don't verify UDP IPv4 checksum in-place. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T07:41:25.000000Z K 7 svn:log V 156 MFC 1.30: Help ng_fec deal with multicast addresses. This isn't exactly the same patch as in -current as some of the in-kernel multicast API is different. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-10T08:51:03.000000Z K 7 svn:log V 50 Remove /usr/X11R6 and subdirs. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-06-10T11:09:39.000000Z K 7 svn:log V 25 MFC remnant of rev. 1.7. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-06-10T12:33:01.000000Z K 7 svn:log V 71 Initialize the dma tag's bounce_zone to NULL if we didn't allocate it. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-06-10T13:59:36.000000Z K 7 svn:log V 167 MFC rev. 1.103: make ipfw(8) show rules with mac/mac-type options correctly. MFC rev. 1.105: teach get_mac_addr_mask() to not silently accept incorrect MAC addresses. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T15:45:29.000000Z K 7 svn:log V 91 Remove const type qualifier from a function- gcc4.2 doesn't accept it. Reviewed by: Ariff END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-10T15:46:34.000000Z K 7 svn:log V 155 Cast len to be a uintmax_t and make format in KASSERT match so as to avoid different sizes on different platforms types of complaints. Reviewed by: Ariff END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-10T16:32:08.000000Z K 7 svn:log V 63 Fix bogon in previous commit: is still needed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-10T16:53:01.000000Z K 7 svn:log V 582 Work around a firmware bug in the HP rx2660, where in ACPI an I/O port is really a memory mapped I/O address. The bug is in the GAS that describes the address and in particular the SpaceId field. The field should not say the address is an I/O port when it clearly is not. With an additional check for the IA64_BUS_SPACE_IO case in the bus access functions, and the fact that I/O ports pretty much not used in general on ia64, make the calculation of the I/O port address a function. This avoids inlining the work-around into every driver, and also helps reduce overall code bloat. END K 10 svn:author V 6 jinmei K 8 svn:date V 27 2007-06-10T17:17:55.000000Z K 7 svn:log V 236 MFC: fixed memory leak for IPv6 multicast membership information associated with interface addresses. Approved by: gnn (mentor) src/sys/netinet6/in6.c: 1.71 src/sys/netinet6/in6_ifattach.c: 1.36 src/sys/netinet6/in6_var.h: 1.31 END K 10 svn:author V 6 jinmei K 8 svn:date V 27 2007-06-10T17:20:04.000000Z K 7 svn:log V 233 MFC: fixed memory leak for IPv6 multicast membership information associated with interface addresses. Approved by: gnn (mentor) src/sys/netinet6/in6.c: 1.71 src/sys/netinet6/in6_ifattach.c: 1.36 src/sys/netinet6/in6_var.h: 1.31 END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-06-10T18:57:20.000000Z K 7 svn:log V 948 Now pam_nologin(8) will provide an account management function instead of an authentication function. There are a design reason and a practical reason for that. First, the module belongs in account management because it checks availability of the account and does no authentication. Second, there are existing and potential PAM consumers that skip PAM authentication for good or for bad. E.g., sshd(8) just prefers internal routines for public key auth; OTOH, cron(8) and atrun(8) do implicit authentication when running a job on behalf of its owner, so their inability to use PAM auth is fundamental, but they can benefit from PAM account management. Document this change in the manpage. Modify /etc/pam.d files accordingly, so that pam_nologin.so is listed under the "account" function class. Bump __FreeBSD_version (mostly for ports, as this change should be invisible to C code outside pam_nologin.) PR: bin/112574 Approved by: des, re END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-06-10T19:06:09.000000Z K 7 svn:log V 442 Merge NetBSD changes, among them: el.c 1.44, el.h 1.17, editline.3 1.53, histedit.h 1.31: # add EL_GETFP, and EL_SETFP. el.c 1.42, term.c 1.46, term.h 1.18, editline.3 1.52, histedit.h 1.29: # - Add more readline functions, enough for gdb-6.5 # - Make el_get varyadic, and implement EL_GETTC. # - XXX: the EL_SETTC api will change in the future. Note: The latter change breaks the ABI of the el_get() function. Approved by: re (kensmith) END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T19:13:40.000000Z K 7 svn:log V 189 Some style improvements suggested by bde, including removing an unused include, adding parens for return and sizeof and renaming, adding some missing whitespace and sorting some variables. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T19:32:20.000000Z K 7 svn:log V 85 Fix a number of WARNS, including printf, constness and unsigned comparison warnings. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-06-10T20:11:52.000000Z K 7 svn:log V 77 Some improvements to the int-type printing code based on suggestions by bde. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-10T20:59:22.000000Z K 7 svn:log V 59 Fix style for comments, be more verbose and add some more. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-06-10T21:07:21.000000Z K 7 svn:log V 511 Fix a case in tcp_do_segment() where tcp_update_sack_list() would be called with an incorrect segment end value. tcp_reass() may trim segments when they overlap with already existing ones in the reassembly queue. Instead of saving the segment end value before the call to tcp_reass() compute it on the fly based on the effective segment length afterwards. This bug was not really problematic as no information got lost and the eventual SACK information computation was correct nontheless. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-10T21:59:14.000000Z K 7 svn:log V 246 Optimize vmmeter locking. In particular: - Add an explicative table for locking of struct vmmeter members - Apply new rules for some of those members - Remove some unuseful comments Heavily reviewed by: alc, bde, jeff Approved by: jeff (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-10T23:01:40.000000Z K 7 svn:log V 248 - Add codec id for ALC660 [1] - Add codec id for AD1988B, along with fixing its line-in and other issues (with proper quirks). [2] Submitted by: [1] barbara.xxx1975@libero.it [2] Oliver Brandmueller ob@e-Gitt.NET MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-10T23:39:07.000000Z K 7 svn:log V 167 Add the machine-specific definitions for configuring the new physical memory allocator. Set the size of phys_avail[] using one of these definitions. Approved by: re END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-06-11T00:38:06.000000Z K 7 svn:log V 324 Use default options for default partitioning schemes, rather than making the relevant files standard. This avoids duplication and makes it easier to override/disable unwanted schemes. Since ARM doesn't have a DEFAULTS configuration file, leave the source files for the BSD and MBR partitioning schemes in files.arm for now. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-11T00:49:46.000000Z K 7 svn:log V 216 Filter/compress the amount of channel trigger. This should reduce much of lock/unlock contentions within the interrupt handler. Most of these drivers only need PCMTRIG_START or STOP (ABORT). Discussed with: scottl END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-11T01:55:09.000000Z K 7 svn:log V 171 Disable automatic IP ID increment. Due to a hardware bug the automatic IP ID increment in TSO case generated corrupted IP packets. This change brings back TSO capability. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-11T02:00:50.000000Z K 7 svn:log V 292 Increase a maximum segment size of DMA to 4096. Previously it used MCLBYTES for the segment size but it used too many Tx descriptors in TSO case. While I'm here adjust maximum size of the sum of all segment lengths in a given DMA mapping to 65535, the maximum size, in bytes, of a IP packet. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-11T02:02:20.000000Z K 7 svn:log V 72 Add ICS1889/ICS1892/ICS1893 PHY. Submitted by: Ed Schouten END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-11T02:04:50.000000Z K 7 svn:log V 209 Add icsphy(4), Integrated Circuit Systems PHY driver, ported from NetBSD. ATM the only consumer of the PHY is XBox with nfe(4) driver. Submitted by: Ed Schouten Tested by: Ed Schouten END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-06-11T02:07:08.000000Z K 7 svn:log V 32 Connect icsphy(4) to the build. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-11T02:21:18.000000Z K 7 svn:log V 28 Add _PATH_FWMEM for libkvm. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-11T03:05:54.000000Z K 7 svn:log V 86 Diff reduction against other *BSDs: ANSIfy function prototypes. No function changes. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-11T03:20:16.000000Z K 7 svn:log V 57 Conditionally acquire Giant in vm_contig_launder_page(). END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T03:36:55.000000Z K 7 svn:log V 2841 Update 802.11 wireless support: o major overhaul of the way channels are handled: channels are now fully enumerated and uniquely identify the operating characteristics; these changes are visible to user applications which require changes o make scanning support independent of the state machine to enable background scanning and roaming o move scanning support into loadable modules based on the operating mode to enable different policies and reduce the memory footprint on systems w/ constrained resources o add background scanning in station mode (no support for adhoc/ibss mode yet) o significantly speedup sta mode scanning with a variety of techniques o add roaming support when background scanning is supported; for now we use a simple algorithm to trigger a roam: we threshold the rssi and tx rate, if either drops too low we try to roam to a new ap o add tx fragmentation support o add first cut at 802.11n support: this code works with forthcoming drivers but is incomplete; it's included now to establish a baseline for other drivers to be developed and for user applications o adjust max_linkhdr et. al. to reflect 802.11 requirements; this eliminates prepending mbufs for traffic generated locally o add support for Atheros protocol extensions; mainly the fast frames encapsulation (note this can be used with any card that can tx+rx large frames correctly) o add sta support for ap's that beacon both WPA1+2 support o change all data types from bsd-style to posix-style o propagate noise floor data from drivers to net80211 and on to user apps o correct various issues in the sta mode state machine related to handling authentication and association failures o enable the addition of sta mode power save support for drivers that need net80211 support (not in this commit) o remove old WI compatibility ioctls (wicontrol is officially dead) o change the data structures returned for get sta info and get scan results so future additions will not break user apps o fixed tx rate is now maintained internally as an ieee rate and not an index into the rate set; this needs to be extended to deal with multi-mode operation o add extended channel specifications to radiotap to enable 11n sniffing Drivers: o ath: add support for bg scanning, tx fragmentation, fast frames, dynamic turbo (lightly tested), 11n (sniffing only and needs new hal) o awi: compile tested only o ndis: lightly tested o ipw: lightly tested o iwi: add support for bg scanning (well tested but may have some rough edges) o ral, ural, rum: add suppoort for bg scanning, calibrate rssi data o wi: lightly tested This work is based on contributions by Atheros, kmacy, sephe, thompsa, mlaier, kevlo, and others. Much of the scanning work was supported by Atheros. The 11n work was supported by Marvell. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T03:56:33.000000Z K 7 svn:log V 1087 Update for revised 802.11 support: o revised channel handling support; ifconfig now queries the kernel to find the list of available channels and handles channel promotion; channel attributes can be specified as part of the channel; e.g. 36:a for channel 36 in 11a (as opposed to turbo A or HT A) o use channel list to map between freq and IEEE channel #; this eliminates all knowledge of how the mapping is done and fixes handling of cases where channels overlap in the IEEE channel # space but are distinct in the frequency+attributes space (e.g. PSB) o add new knobs: bgscan, ff (Atheors fast frames), dturbo (Atheros Dynamic Turbo mode), bgscanidle, bgscanintvl, scanvalid, roam:rssi11a, roam:rssi11b, roam:rssi11g, roam:rate11a, roam:rate11b, roam:rate11g (roaming parameters), burst, doth (forthcoming 11h support) o print contents of WME, ATH, WPA, RSN, information elements with -v option o print signal strength in dBm o print noise floor in dBm o add list txpow to print tx power caps/channel o change default channel display in status to be more informative END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T03:57:46.000000Z K 7 svn:log V 49 track net80211 changes to get scan results ioctl END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T04:04:30.000000Z K 7 svn:log V 39 o add minimal radiotap support for 11n END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T04:05:15.000000Z K 7 svn:log V 29 o add 11n knob o gcc42 stuff END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T04:05:49.000000Z K 7 svn:log V 14 add 11n stats END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-11T04:06:50.000000Z K 7 svn:log V 20 note 802.11 changes END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-06-11T04:08:50.000000Z K 7 svn:log V 156 - Don't force to be the GDB port since dcons(4) is in GENERIC now. To enable the GDB port of dcons(4), you need to put dcons_gdb=1 in /boot/loader.conf. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-06-11T05:17:30.000000Z K 7 svn:log V 114 Don't lose leading '/' for pathnames exactly 101 bytes long. Also, update the test harness to exercise this case. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T05:42:47.000000Z K 7 svn:log V 74 Prefer device_printf to printf where sane. Elimiante cue_unit from softc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T05:44:28.000000Z K 7 svn:log V 103 Get rid of useless devinfo stuff Kill bogus bzero prefer device_printf to printf Reviewed by: alfred@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T05:50:47.000000Z K 7 svn:log V 122 Prefer device_printf to printf Remove keu_unit from softc # this change saves about 180 bytes in the module, all in text END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T06:01:05.000000Z K 7 svn:log V 81 Prefer device_printf to printf Eliminate rue_unit from softc # saves ~200 bytes END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T06:03:32.000000Z K 7 svn:log V 13 Minor tweak. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T06:14:42.000000Z K 7 svn:log V 34 Prefer device_printf over printf. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T06:18:34.000000Z K 7 svn:log V 81 Eliminate USB_ATTACH_SETUP and USB_MATCH_SETUP. They are no longer in the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-11T06:21:50.000000Z K 7 svn:log V 91 Expand DECLARE_USB_DMA_T inline in the one place it is used and eliminate from usb_port.h. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-06-11T06:25:19.000000Z K 7 svn:log V 63 Use tabs after #define. Obtained from: NetBSD Spotted by: njl END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-11T07:21:21.000000Z K 7 svn:log V 143 Add inet_ntoa_r, a reentrant version of inet_ntoa. This is available on a lot of platforms, as well as libkern for years. Submitted by: "MQ" END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-11T07:26:35.000000Z K 7 svn:log V 39 Add new files in the net80211 changes. END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-06-11T07:48:52.000000Z K 7 svn:log V 335 Fix an aliasing bug which was finally detected by gcc-4.2. fdlibm has hundreds of similar aliasing bugs, but all except this one seem to have been fixed by Cygnus and/or NetBSD before the modified version of fdlibm was imported into FreeBSD in 1994. PR: standards/113147 Submitted by: Steve Kargl END K 10 svn:author V 8 keramida K 8 svn:date V 27 2007-06-11T08:19:04.000000Z K 7 svn:log V 450 Fix what seems to be a copy-paste buglet (`moused_type' is used in the description of `moused_flags', instead of the later), and add a description of `moused_XXX_flags' where `XXX' is the port name of a non-default moused invocation -- including an example of using "-3" with the default moused(8) instance, but no special flags for moused(8) invocations handling 3-button USB mice (which seems a very common scenario these days). MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-11T08:26:40.000000Z K 7 svn:log V 67 Add wlan_scan_ap and wlan_scan_sta to platforms that include wlan. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-06-11T10:53:48.000000Z K 7 svn:log V 841 MFC: rev. 1.11 of src/sys/geom/geom_vfs.c rev. 1.516 of src/sys/kern/vfs_bio.c rev. 1.35 of src/sys/nfs4client/nfs4_vnops.c rev. 1.272 of src/sys/nfsclient/nfs_vnops.c rev. 1.195 of src/sys/sys/buf.h rev. 1.18 of src/sys/sys/bufobj.h rev. 1.73 of src/sys/ufs/ffs/ffs_extern.h rev. 1.133 of src/sys/ufs/ffs/ffs_snapshot.c rev. 1.324 of src/sys/ufs/ffs/ffs_vfsops.c Avoid dealing with buffers in bdwrite() that are from other side of snaplock divisor in the lock order then the buffer being written. Add new BOP, bop_bdwrite(), to do dirty buffer flushing for same vnode in the bdwrite(). Default implementation, bufbdflush(), refactors the code from bdwrite(). For ffs device buffers, specialized implementation is used. This commit changes KPI/KBI, thus recompilation of out of tree kernel modules is required. Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-11T10:56:06.000000Z K 7 svn:log V 259 MFp4 (missed in net80211 megaupdate) - Use a seperate taskqueue+thread for reset tasks since iwi_ops will block. - Return from iwi_ops if the interface has been downed - The firmware will fail if we are already associated - Add myself to the copyright END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-06-11T11:27:04.000000Z K 7 svn:log V 109 MFC rev. 1.521 of src/sys/kern/vfs_bio.c rev. 1.477 of src/sys/sys/proc.h Disable nesting of BOP_BDFLUSH(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-06-11T11:54:16.000000Z K 7 svn:log V 43 Bump __FreeBSD_version for BOP_BDFLUSH MFC END