ƒ²K183559 194 224 176 366 573 233 135 981 712 290 156 166 118 1098 702 1197 315 189 315 193 195 190 143 157 155 183 210 179 194 347 107 242 373 178 166 206 170 129 117 138 336 134 403 316 174 177 317 216 438 138 220 184 228 164 586 130 448 397 154 183 183 322 387 416 463 153 286 243 260 152 309 182 1103 160 180 879 230 210 636 250 190 223 140 111 194 172 375 149 305 149 188 220 200 207 289 366 337 125 142 216 117 240 330 282 676 230 387 307 214 356 153 139 205 174 242 542 269 418 361 130 181 177 118 146 138 113 172 260 133 209 465 238 334 233 268 473 360 144 125 126 263 153 153 198 156 128 241 127 111 267 151 166 332 332 332 169 265 122 134 131 751 155 125 233 125 271 1824 666 294 193 248 386 211 129 310 371 212 915 214 310 158 997 165 189 142 244 217 112 179 213 131 124 922 319 101 K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-03T00:50:26.173114Z K 7 svn:log V 129 Fix bug in LRO on T304 whereby a packet could be sent to the wrong interface's ifp. Submitted by: Chelsio Inc. MFC after: 1 day END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-03T01:02:00.494427Z K 7 svn:log V 82 Fix a potential infinite loop in the TOE zero copy receive path. Approved by: re END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-03T03:58:16.078847Z K 7 svn:log V 269 Add hardware MAC statistics support. Register information was obtained from Linux forcedeth driver. While I'm here move creating a sysctl node for process_limit to function nfe_sysctl_node(). Tested by: "Arno J. Klaassen" < arno heho dot snv dot jussieu dot fr > END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-10-03T05:14:54.446474Z K 7 svn:log V 476 Update ng_tty for MPSAFE TTY. This changes from a line discipline to the tty_hooks mechanism. Data will come in directly via rint_bypass and sent to the peer node in a single mbuf. As line disciplines are no longer used a new netgraph command called NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open file descriptor of the tty and registers the tty hooks. When the tty disappears the node will shutdown. Thanks to: ed Sponsored by: Hobnob, Inc END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-03T09:01:55.717346Z K 7 svn:log V 136 Remove or update several stale comments. A bit of whitespace/style cleanup. Update copyright. MFC after: 3 days (applicable changes) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-03T09:19:07.941181Z K 7 svn:log V 43 Add hint about hw.snd.default_unit sysctl. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-03T09:42:50.204431Z K 7 svn:log V 889 Small cleanups to openpty(). - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default. - Call unlockpt() before opening the slave device. POSIX mentions that de slave device should only be opened after grantpt() and unlockpt() have been called. - Replace some redundant code by a label. In theory we could remove a lot of code from openpty() on FreeBSD -CURRENT, because grantpt(), unlockpt() and revoke() are not needed in our implementation. We'd better keep them there. This makes the code still work with older FreeBSD releases and even makes it work on other non-BSD operating systems. I've compiled openpty() on Linux. You only need to remove the revoke() call, because revoke() on Linux always returns -1. Apart from that, it seems to work like it should. Reviewed by: jhb END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-03T10:08:36.202816Z K 7 svn:log V 620 Backout svn r183528. SRCDIR is seeded from `pwd` which not only means src/sys/ but also src/include/ (and possibly src/usr.sbin/amd/include/ ?). Trying to build world resulted in ===> include (includes) cd /usr/src/include; make buildincludes; make installincludes creating osreldate.h from newvers.sh cd: can't cd to /usr/src/include/sys *** Error code 2 as there is apparently no src/include/sys. There are multiple possible solutions ranging from seeding SRCDIR from the environment to adding more substitution patterns. Reported by: sam, bz Proper solution to be implemented and tested by: peter END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-03T10:31:31.585442Z K 7 svn:log V 196 - Add driver for Attansic L2 FastEthernet controller found on Asus EeePC and some Asus mainboards. Reviewed by: yongari, rpaulo, jhb Tested by: many Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-03T10:40:26.561805Z K 7 svn:log V 64 MFH (r183336): "xmalloc: zero size" fix. Approved by: re (kib) END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-03T10:43:17.756860Z K 7 svn:log V 74 MFH (r183458): replace $Mdocdate$ with bare dates. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-10-03T11:37:33.109247Z K 7 svn:log V 21 ITE IT8213F support. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-03T12:21:21.718192Z K 7 svn:log V 1005 Implement IPv4 source address selection for unbound sockets. For the jail case we are already looping over the interface addresses before falling back to the only IP address of a jail in case of no match. This is in preparation for the upcoming multi-IPv4/v6/no-IP jail patch this change was developed with initially. This also changes the semantics of selecting the IP for processes within a jail as it now uses the same logic as outside the jail (with additional checks) but no longer is on a mutually exclusive code path. Benchmarks had shown no difference at 95.0% confidence for neither the plain nor the jail case (even with the additional overhead). See: http://lists.freebsd.org/pipermail/freebsd-net/2008-September/019531.html Inpsired by a patch from: Yahoo! (partially) Tested by: latest multi-IP jail patch users (implictly) Discussed with: rwatson (general things around this) Reviewed by: mostly silence (feedback from bms) Help with benchmarking from: kris MFC after: 2 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-03T13:01:56.913257Z K 7 svn:log V 605 Further minor cleanups to UNIX domain sockets: - Staticize and locally prototype functions uipc_ctloutput(), unp_dispose(), unp_init(), and unp_externalize(), none of which have been required outside of uipc_usrreq.c since uipc_proto.c was removed. - Remove stale prototype for uipc_usrreq(), which has not existed in the code since 1997 - Forward declare and staticize uipc_usrreqs structure in uipc_usrreq.c and not un.h. - Comment on why uipc_connect2() is still non-static -- it is used directly by fifofs. - Remove stale comments, tidy up whitespace. MFC after: 3 days (where applicable) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-03T16:59:11.303502Z K 7 svn:log V 1099 resync to git master This reverts a private patch which is causing issues with many Intel chipsets. I will review that patch and see what we need to do to fix it up later, but for the time being, we will just get these chips working again. This update contains a lot of code cleanup and is post gem merge (no, we don't have gem support). It should prove much easier to read the code now. A lot of thanks goes to vehemens for that work. I have adapted the code to use cdevpriv for tracking per open file data. That alleviates the old ugly hack that we used to try and accomplish the task and helped to clean up the open / close behavior a good bit. This also replaces the hack that was put in place a year or so ago to prevent radeons from locking up with AIGLX enabled. I have had a couple of radeon testers report that it still works as expected, though I no longer have radeon hardware to test with myself. Other various fixes from the linux crew and Intel, many of which are muddled in with the gem merge. Approved by: jhb (mentor) Obtained from: mesa/drm git master MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-03T18:13:05.419432Z K 7 svn:log V 222 Oops, missed updating a place with with 's/lock1/plock/' when adding interlock support to WITNESS. Specifically, the printf listing the first location when duplicate locks of the same type are acquired. Reported by: pho END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-03T21:33:58.725494Z K 7 svn:log V 97 MFC: Update the function name in several assertions in soreceive_dgram(). Approved by: re (kib) END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-10-03T22:40:42.800483Z K 7 svn:log V 221 Abort transfers on all pipes before closing them. This fixes the crash when Bluetooth USB device is pulled out without stopping the stack first. Submitted by: Vladimir Grebenschikov vova at fbsd dot ru MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-10-03T23:17:22.035724Z K 7 svn:log V 99 Fix Vflags abuse in cd9660. There should be no functional changes. Approved by: rwatson (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-10-03T23:21:14.388078Z K 7 svn:log V 100 Fix Vflags abuse in fdescfs. There should be no functional changes. Approved by: rwatson (mentor) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:35:57.974899Z K 7 svn:log V 93 Shift branch used for "make update" from RELENG_6 to RELENG_6_4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:39:58.212377Z K 7 svn:log V 46 Update 6.3 -> 6.4 Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:41:44.709391Z K 7 svn:log V 60 Update 6.3 -> 6.4 where needed. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:45:13.040509Z K 7 svn:log V 58 Adjust branch tag in example. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:48:28.011418Z K 7 svn:log V 86 Adjust __FreeBSD_version to reflect a new release branch. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:50:29.941602Z K 7 svn:log V 112 Bump __FreeBSD_version to reflect 6.4 now that the branching has been done for 6.4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:56:02.930188Z K 7 svn:log V 82 Add info for the two upcoming releases - 6.4 and 7.1. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-04T02:58:54.468317Z K 7 svn:log V 97 MFS r183585: > Add info for the two upcoming releases - 6.4 and 7.1. Approved by: re (implicit) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-10-04T04:15:39.577345Z K 7 svn:log V 250 sc->ndis_txidx should be cycle between 0 and sc->ndis_maxpkts, not NDIS_TXPKTS and don't allocate unused extra spaces for sc->ndis_txarray and sc->ndis_txpool. PR: kern/127644 Submitted by: Antoine Pelisse MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-04T07:19:26.038029Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-04T08:55:30.415810Z K 7 svn:log V 146 MFC: r183504 Use bus_get_dma_tag() so fatm(4) works on platforms requiring it. Reported and tested by: Sean Thomas Caron Approved by: re (gnn) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-10-04T10:39:31.603197Z K 7 svn:log V 276 - Spell cam correctly (scbus), this makes it possible to compile hptiop in GENERIC and LINT. [1] - Rename hpt_dbg_level to hpt_iop_dbg_level to avoid multiple definition of hpt_dbg_level (hptmv also has hpt_dbg_level). PR: 127551 [1] Reviewed by: scottl@ MFC after: 1 month END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-04T11:49:26.028754Z K 7 svn:log V 85 - Add ae(4) to sysinstall devices list. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-04T11:49:53.754434Z K 7 svn:log V 73 - Add ae(4) to loader.conf. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-04T12:27:49.240030Z K 7 svn:log V 110 Add manual pages for performance measurement counters present in Intel Atom(tm), Core(tm) and Core2(tm) CPUs. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-04T12:35:02.075624Z K 7 svn:log V 75 - Cross-reference new manual pages. - Spell new PMC class names correctly. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-04T12:44:05.572823Z K 7 svn:log V 34 Cross-reference new manual pages. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-04T12:53:08.200965Z K 7 svn:log V 22 Add cross-references. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-04T12:54:25.015014Z K 7 svn:log V 43 - Add cross-references. - Tweak -mdoc use. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-10-04T13:10:38.923202Z K 7 svn:log V 243 U-Boot API glue improvements: - extend ub_dev_read() and ub_dev_recv() so that the actual len and all error codes can be passed and processed properly; unify behaviour of these routines - introduce syscall general error code (API_ESYSC) END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-10-04T13:19:15.173158Z K 7 svn:log V 42 Minor style(9) fixes for U-Boot API glue. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-04T14:08:16.135498Z K 7 svn:log V 310 Change the linprocfs /maps and procfs /map handlers to use sbuf instead of doing uiomove. This allows for reads from non-zero offsets to work. Patch is forward-ported des@' one, and was adopted to current code by dchagin@ and me. Reviewed by: des (linprocfs part) PR: kern/101453 MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-04T14:12:09.235663Z K 7 svn:log V 221 - Document that 'show alllocks' and 'show locks' are only available with witness. - Remove references to non-existing witness(9) and replace with witness(4) where appropriate. - Bump document date. MFC after: 3 days END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-04T14:21:54.933387Z K 7 svn:log V 81 - Add manual page for ae(4) driver. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-04T14:45:34.866547Z K 7 svn:log V 81 Change drm_order() to use ffsl() pointed out by jhb@ Approved by: jhb (mentor) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-04T14:48:40.787015Z K 7 svn:log V 220 Use M_WAITOK when allocating driver memory We don't explicity check for error here and M_WAITOK will just put the process to sleep waiting on resources to become available. Suggested by jhb@ Approved by: jhb (mentor) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-04T14:51:14.120849Z K 7 svn:log V 119 Don't explicitly bzer driver softc new-bus already handles this for us. Suggested by jhb@ Approved by: jhb (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-04T15:06:34.995805Z K 7 svn:log V 346 Cache so_cred as inp_cred in the inpcb. This means that inp_cred is always there, even after the socket has gone away. It also means that it is constant for the lifetime of the inp. Both facts lead to simpler code and possibly less locking. Suggested by: rwatson Reviewed by: rwatson MFC after: 6 weeks X-MFC Note: use a inp_pspare for inp_cred END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-04T15:41:25.164051Z K 7 svn:log V 44 - Add ae(4). - Add 2008 to copyright years. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-04T15:44:22.660835Z K 7 svn:log V 126 - Add ae(4) to the list of devices support full hardware VLAN tags processing. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-04T16:21:04.896901Z K 7 svn:log V 90 - Minor mdoc cleanup. - Make HARDWARE section a bit more friendly for the Hardware Notes. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-04T16:48:09.887689Z K 7 svn:log V 136 Remove an INP_RUNLOCK() missed in SVN r183606, cvs rev. 1.195 raw_ip.c when transitioning from so_cred to inp_cred. MFC after: 6 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-04T17:07:58.133374Z K 7 svn:log V 73 Style changes: compare pointer to NULL and move a }. MFC after: 6 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-04T19:23:30.887618Z K 7 svn:log V 493 Current linux_fooaffinity() emulation fails, as the FreeBSD affinity syscalls expect the bitmap size in the range from 32 to 128. Old glibc always assumed size 1024, while newer glibc searches for approriate size, starting from 1024 and going up. For now, use FreeBSD size of cpuset_t for bitmap size parameter and return EINVAL if length of user space bitmap less than our size of cpuset_t. Submitted by: dchagin MFC after: 1 week [This requires MFC of the actual linux affinity syscalls] END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-10-04T21:31:12.071237Z K 7 svn:log V 34 Note recently added ICH10 support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-04T23:58:02.782153Z K 7 svn:log V 355 dynamically allocate the task structure in firmware_mountroot: when booting from an MFS root (e.g. from an install CD) firmware_mountroot can be called twice with the second call happening before the task callback occurs; this results in the task structure contents being corrupted because it was declared static. Submitted by: marius (original version) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-10-05T02:03:54.007920Z K 7 svn:log V 300 If the current thread has the trap bit set (i.e. a debugger had single stepped the process to the system call), we need to clear the trap flag from the new frame. Otherwise, the new thread will receive a (likely unexpected) SIGTRAP when it executes the first instruction after returning to userland. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-10-05T05:12:48.191590Z K 7 svn:log V 60 o Typo fixes. PR: docs/127866 Submitted by: Marius Korsmo END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T08:16:38.897285Z K 7 svn:log V 89 Remove reference to hardware devices which does not exist anymore. This fixes the build. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T08:27:56.581521Z K 7 svn:log V 89 Remove reference to hardware devices which does not exist anymore. This fixes the build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-05T09:13:27.317834Z K 7 svn:log V 229 MFC r183412: If the panic thread is preempted after setting panicstr but before setting TDF_INPANIC then it will never be rescheduled again. Wrap setting the panic condition with the critical section. Approved by: re (kensmith) END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T09:35:46.758579Z K 7 svn:log V 292 Move some lists which were inside a to outside the . This removes some vertical whitespace in the output. Whitespace was intentionally not fixed in the SGML for the related lists, to make the actual change more clear. This file is in need of a major whitespace cleanup anyway. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T09:45:45.086646Z K 7 svn:log V 321 - Add support for Pp command - this improves output for axe(4). - Add support for .Fx, just in case somebody starts using it. - Only add the arch information to the first para per manual page. This improves output for axe(4), and generally seems to make sense (I hope). - Remove an unneeded line for non-compat mode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-05T09:56:14.191838Z K 7 svn:log V 370 MFC r183413: Frames created by the Xcpustop, Xrendezvous, Xipi_intr_bitmap_handler and Xlazypmap differ from the frame for Xtimerint. The Xtimerint puts pointer to the frame between return address and frame body, while rest of the functions listed above do not. Correct offset calculation to allow the ddb backtrace to step over such frames. Approved by: re (kensmith) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-10-05T09:57:33.566153Z K 7 svn:log V 61 Update version numbers for 6.4R. Approved by: re (implicit) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-05T10:04:02.251386Z K 7 svn:log V 193 MFC r183414: Differentiate between interrupt frames, trap interrupt frames and timer frame in the kgdb, to allow it to properly backtrace over the interrupt stacks. Approved by: re (kensmith) END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T10:31:46.331419Z K 7 svn:log V 148 Move a lists which was inside a to outside the . This removes some vertical whitespace in the output. This one was missed in r183620. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T11:01:50.753316Z K 7 svn:log V 165 Major whitespace cleanup to follow FDP style. This was done since markup was getting in the way when doing "real" changes. The resulting HTML output is unchanged. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T11:39:16.797893Z K 7 svn:log V 58 Document that vr(4) supports Soekris Engineering net5501. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-05T14:00:44.818140Z K 7 svn:log V 213 Disable ATAPI DMA as it's once again broken in that it causes data corruption with the on-board AcerLabs M5229 controllers. While at it, remove the pointless "nothing to autoload yet." message. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-05T14:15:22.806876Z K 7 svn:log V 87 - Revert to the pre-r183242 behavior of building sade(8) on sparc64. - Fix whitespace. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-05T17:41:46.712274Z K 7 svn:log V 1010 MFC: rev. 1.7 net/if_enc.c rev. 1.14 netipsec/ipsec.h, 1.20 netipsec/ipsec_input.c rev. 1.17 netipsec/ipsec_output.c rev. 1.4 netipsec/xform.h, 1.16 netipsec/xform_ipip.c SVN r174054, 174055 Add sysctls to if_enc(4) to control whether the firewalls or bpf will see inner and outer headers or just inner or outer headers for incoming and outgoing IPsec packets. This is useful in bpf to not have over long lines for debugging or selcting packets based on the inner headers. It also properly defines the behavior of what the firewalls see. Last but not least it gives you if_enc(4) for IPv6 as well. [ As some auxiliary state was not available in the later input path we save it in the tdbi. That way tcpdump can give a consistent view of either of (authentic,confidential) for both before and after states. ] Note: The defaults were not changed but you may want to do that. See the the man page for more details. PR: kern/127785 Approved by: re (gnn) END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-10-05T18:57:27.431577Z K 7 svn:log V 65 Add initial version of the nullfs(5) man page MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-05T19:23:33.095749Z K 7 svn:log V 86 - Add age(4). Suggested by: stass MFC after: 3 days (including other recent changes) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-05T21:05:20.419029Z K 7 svn:log V 782 Merge r183512 from head to stable/7: Various cleanups for soreceive_dgram(): - Update or remove comments that were left over from the original soreceive_generic() implementation. Quite a few were misleading in the context of the new code. - Since soreceive_dgram() has a simpler structure, replace several gotos with a while loop making the invariants more clear. - In the blocking while loop, don't try to handle cases incompatible with the loop invariant (since m is always NULL, don't check for and handle non-NULL). - Don't drop and re-acquire the socket buffer lock unnecessarily after sbwait() returns, which may help reduce lock contention (etc). - Assume PR_ATOMIC since we assert it at the top of the function. Approved by: re (gnn) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-05T23:37:03.346601Z K 7 svn:log V 137 Indent with 8-space tabs. This reduces the diffs to the newer ixp425 boot2 and may make it easier to merge these files in the future... END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-05T23:39:28.623186Z K 7 svn:log V 117 Remove XMODEM_DL support. It never was complete and only serves to increase the diffs with other arm boot2 loaders. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-05T23:59:52.143614Z K 7 svn:log V 543 Bring in the trivial differences between this code and John Hay's new code. Added a copyright for the work I did to this file a couple of years ago. Add John's copyright too, since I'm sure I'll be pulling more into this code. This also implements a new -n option to not allow breaking into the boot sequence which was original in the patch John posted (not in the original i386 code I based this boot2.c on, only the name is the same). I haven't checked to see if he did that, or if it was one of Sam's improvements. Submitted by: jhay@ END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-06T00:28:34.344200Z K 7 svn:log V 153 MFC r183509: Add device ids for MCP77/79 and set appropriate support flags. Obtained from: OpenBSD PR: kern/127529 Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-06T03:40:06.342002Z K 7 svn:log V 94 MFC: r183530 Mention support for nForce MCP77 and MCP79. Touch Dd. Approved by: re (hrs) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-06T06:26:00.678339Z K 7 svn:log V 128 Fix bug in LRO on T304 whereby a packet could be sent to the wrong interface's ifp. Submitted by: Chelsio Inc. Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-06T06:43:20.247724Z K 7 svn:log V 46 MFC fixes to mbufq interface Approved by: re END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-06T10:34:44.665259Z K 7 svn:log V 16 Correct a typo. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-10-06T12:58:03.680567Z K 7 svn:log V 97 MFC: 183515 Update to Myri10GE firmware version 1.4.33 from 1.4.29. Approved by: re (kensmith) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-10-06T14:20:03.675555Z K 7 svn:log V 75 Add myself as requested by the committers-guide Approved by: gnn (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-10-06T16:11:08.797498Z K 7 svn:log V 279 MFC: revs 183042,183044,183188,183189,183270,183271,183273. Add freebsd32 compat shim for nmount(2). Also 32-bit ioctl shims for MDIO, CDIOREADTOCHEADER and CDIOREADTOCENTRYS requests. Fix bug which removed the 32-bit swapon(2) interface. style(9). Approved by: re(kostikbel) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-10-06T16:12:28.644143Z K 7 svn:log V 54 Regenerate after r183644. Approved by: re(kostikbel) END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T17:49:24.289673Z K 7 svn:log V 210 Add a HARDWARE section. It doesn't contain any information not already in the DESCRIPTION section, but this allows for the manual page to be used in the automatic hardware notes generation. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T17:51:44.795502Z K 7 svn:log V 55 - Add jme(4). Suggested by: yongari MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T18:07:07.868039Z K 7 svn:log V 94 Document that the bce(4) driver works with Dell PowerEdge 1950/2950 NIC's. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-06T18:38:50.347496Z K 7 svn:log V 123 Use soconnect2() rather than directly invoking uipc_connect2() to interconnect two UNIX domain sockets. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-06T18:43:11.479899Z K 7 svn:log V 103 Now that portalfs doesn't directly invoke uipc_connect2(), make it a static symbol. MFC after: 3 days END K 10 svn:author V 4 jhay K 8 svn:date V 27 2008-10-06T19:38:10.813684Z K 7 svn:log V 113 Add a boot loader for ixp425 based boards like the Gateworks Avila and ADI Pronghorn Metro with Redboot on them. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-06T19:42:03.284374Z K 7 svn:log V 192 Add very simple regression test for fstat(2) on sockets: make sure it returns success for various socket types. It's easy to imagine this being enhanced to validate the returned data, but... END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T20:45:08.943737Z K 7 svn:log V 271 - Add 82574 to list of supported controller chips. - Add Intel PRO/1000 PF and Intel PRO/1000 PT adaptors to list of supported adaptors. The list of adaptors was found at http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=10957 MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T21:38:55.239322Z K 7 svn:log V 242 Only a few of the loader tunables / sysctl variables are documented, as I'm not really sure what the rest do. The list of adaptors was found at http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=15815 MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T21:52:11.351115Z K 7 svn:log V 31 Add igb(4). MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-10-06T21:55:53.548843Z K 7 svn:log V 48 Reference igb(4) i SEE ALSO. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-10-06T22:07:57.518287Z K 7 svn:log V 121 Vendor import of tzdata2008g - Fix of the Brazilian DST clashes during Carnaval (don't worry, won't happen until 2011) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-10-06T22:08:36.281461Z K 7 svn:log V 23 Tagging of tzdata2008g END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-10-06T22:25:26.181094Z K 7 svn:log V 145 MFC of r183536 MFV of r183657 Vendor import of tzdata2008g - Fix DST changes in Brazil which are clashing with Carnaval. Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-10-06T22:34:17.555947Z K 7 svn:log V 233 Limit DMA memory to lower addressable 4GB, without this patch, we can reliably provoke data corruption on systems equipped with a plenty of memory during high load. Reported by: gnn via iXsystems MFC candidate: RELENG_7_1, RELENG_7 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T07:10:28.808118Z K 7 svn:log V 185 Lock receive socket buffer in soo_stat() rather than commenting that we should lock it, which may marginally improve the consistency of the results. Remove comment. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T09:41:07.735750Z K 7 svn:log V 579 Don't pass curthread to sbreserve_locked() in tcp_do_segment(), as the netisr or ithread's socket buffer size limit is not the right limit to use. Instead, pass NULL as the other two calls to sbreserve_locked() in the TCP input path (tcp_mss()) do. In practice, this is a no-op, as ithreads and the netisr run without a process limit on socket buffer use, and a NULL thread pointer leads to not using the process's limit, if any. However, if tcp_input() is called in other contexts that do have limits, this may prevent the incorrect limit from being used. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T09:51:39.860643Z K 7 svn:log V 133 Rewrite sbreserve_locked()'s comment on NULL thread pointers, eliminating an XXXRW about the comment being stale. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T09:57:03.901999Z K 7 svn:log V 290 Remove temporary debugging KASSERT's introduced to detect protocols improperly invoking sosend(), soreceive(), and sopoll() instead of attach either specialized or _generic() versions of those functions to their pru_sosend, pru_soreceive, and pru_sopoll protosw methods. MFC after: 3 days END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-07T10:25:27.860311Z K 7 svn:log V 213 - Allow gstat to print values to different kind of outputs. - Introduce batch mode, where gstat will collect the numbers, print them, and exit. - Document batch mode in the gstat man page. Submitted by: anders END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T10:31:55.350905Z K 7 svn:log V 117 Regression test for the loopback handling of zero-length UDP packets, which should be delivered but without payload. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-07T14:05:42.709783Z K 7 svn:log V 263 Use CPUID to see if the current CPU supports long mode when attemping to boot an amd64 kernel. If not, then fail the boot request with an error message. Otherwise, the boot attempt will fail with a BTX fault when trying to read the EFER MSR. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T14:13:59.421769Z K 7 svn:log V 57 Add IPv6 support to zero-size UDP transmit/receive test. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-07T16:39:17.300591Z K 7 svn:log V 47 don't hardcode cc Submitted by: Andrey Eltsov END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-07T17:23:16.430187Z K 7 svn:log V 112 Use bus_get_dma_tag() instead of NULL here. Not really needed for atmel at the moment, but it is more correct. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-07T17:27:37.653974Z K 7 svn:log V 82 Diff reduction with boot/arm/at91/boot2/boot2.c: indent this statement correctly. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-07T17:28:52.167237Z K 7 svn:log V 146 - Avoid a spurious error when a command line is specified without any process scope PMCs. - Change the -c '*' option to denote non-halted CPUs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-07T17:44:04.773712Z K 7 svn:log V 449 More diff reductions against ixp425/boot2/boot2.c. This time, we bring in FIXUP_BOOT_DRV functionality as an #ifdef. This is not enabled at this time, and the md5 remains constant with this change. Apart from the 'accept any partitioning scheme on the device' changes, this was the biggest delta... # and yes, we'll merge these into one source file if we can do that in a # way that makes sense. Obtained from: sys/boot/arm/ixp425/boot2/boot2.c END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-07T19:42:56.636650Z K 7 svn:log V 176 the 3945 firmware license does not require acknowledging the EULA, remove the sysctl ack requirement Pointed out by: Joerg Sonnenberger Reviewed by: thompsa Approved by: core END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T20:57:55.001942Z K 7 svn:log V 321 In soreceive_dgram, when a 0-length buffer is passed into recv(2) and no data is ready, return 0 rather than blocking or returning EAGAIN. This is consistent with the behavior of soreceive_generic (soreceive) in earlier versions of FreeBSD, and restores this behavior for UDP. Discussed with: jhb, sam MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-07T21:01:23.962076Z K 7 svn:log V 264 Update udpzerobyte to understand that passing 0 as a length to recv(2) will cause it to return 0, not EAGAIN. Add UNIX domain socket support to udpzerobyte, which suggests this regression test should be moved to the general sockets test area rather than netinet. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-07T22:15:29.374064Z K 7 svn:log V 36 Send commit mail to svn-src-* lists END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-07T23:55:32.239205Z K 7 svn:log V 89 Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag() rather than NULL. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-10-08T01:31:00.303517Z K 7 svn:log V 81 Don't mention lib/compat, it has gone long ago. Use ports/misc/compat* instead. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T03:08:30.729361Z K 7 svn:log V 24 Tidy up some loose ends END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T04:02:49.589958Z K 7 svn:log V 52 Remove presumably stale entries. Re-add as needed. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T04:08:17.875835Z K 7 svn:log V 44 /user subdir doesn't need special handling. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T04:12:38.470494Z K 7 svn:log V 19 Add svnadmin group END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T04:20:28.655561Z K 7 svn:log V 78 Emit a mail header to indicate which mailer.conf group triggered the message. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T04:27:03.198322Z K 7 svn:log V 165 The commit mail generator generates two separate commit mails for commits that cross multiple parts of the tree. There is no need to show the diffs multiple times. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T04:31:26.505988Z K 7 svn:log V 39 Spell svnadmin mailing list correctly. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T05:23:50.361224Z K 7 svn:log V 114 Experiment with changing 'cpumask_t' from 32 to 64 bit on 64 bit platforms by changing type from 'int' to 'long'. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-08T05:30:30.784326Z K 7 svn:log V 370 Expand cpumask_t from 'int' to 'long' on amd64. This compiles and boots, and might even boot on machines with >32 cores. I'll work on the type change for other platforms. Summary of changes: * printf formats * clean up various garbage. use cpumask_t instead of 'u_int' etc. * atomic macro names (xx_int -> xx_long) * bitmask operations ("1 << cpu" -> "1ul << cpu") END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-08T06:19:49.425314Z K 7 svn:log V 141 Differentiate pr_usrreqs for stream and datagram UNIX domain sockets, and employ soreceive_dgram for the datagram case. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-08T06:26:51.474337Z K 7 svn:log V 237 Remove stale comment (and XXX saying so) about why we zero the file descriptor pointer in unp_freerights: we can no longer recurse into unp_gc due to unp_gc being invoked in a deferred way, but it's still a good idea. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-10-08T06:39:05.015200Z K 7 svn:log V 140 A Wittgenstein quote according to David Ignatius http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-08T08:08:03.112344Z K 7 svn:log V 175 Add a note about a bug in how sio manages its softc. This was discovered by Dorr H. Clark. I'm not at all sure how to fix it, but wanted to document it at the very least... END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T10:37:07.470474Z K 7 svn:log V 380 Add ability to generate egress netflow instead or in addition to ingress. Use mbuf tagging for accounted packets to not account packets twice when both ingress and egress netflow enabled. To keep compatibility new "setconfig" message added to control new functionality. By default node works as before, doing only ingress accounting without using mbuf tags. Reviewed by: glebius END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-08T11:11:36.643961Z K 7 svn:log V 267 If the ABI-overriden interpreter was not loaded, do not set have_interp to TRUE. This allows the code in image activator to try /libexec/ld-elf.so.1 as interpreter when newinterp is not found to execute. Reviewed by: peter MFC after: 2 weeks (together with r175105) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T11:19:16.156194Z K 7 svn:log V 52 Document new NGM_NETFLOW_SETCONFIG control message. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-08T13:16:20.623316Z K 7 svn:log V 33 Enable UTF-8. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-08T13:20:02.716273Z K 7 svn:log V 34 Whitespace nit MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-08T13:28:02.310296Z K 7 svn:log V 170 Create separate cat directories for en.UTF-8. This, together with r183697, allows users in en.UTF-8 locales to see non-ascii characters in man pages. MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-10-08T13:53:47.151856Z K 7 svn:log V 61 Quirks for SDS-infrared.com "Hotfind-D" camera. PR: 127943 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-08T13:59:22.813094Z K 7 svn:log V 61 This directory has been empty since 1997. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-08T14:45:07.359727Z K 7 svn:log V 105 These directories have been empty since 2001, and are not present in the vendor tree. MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-10-08T16:44:35.998035Z K 7 svn:log V 64 OpenSSH has been upgraded to 5.1p1. Approved by: re (implicit) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-10-08T16:46:36.281028Z K 7 svn:log V 36 OpenSSH has been upgraded to 5.1p1. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T17:35:41.468315Z K 7 svn:log V 148 Set of mmc layer improvements: - add MMC support. - add SDHC support. - add 4 and 8 bit bus width support. - add High Speed bus timing support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T18:13:14.092730Z K 7 svn:log V 35 Fix bit offset in mmc_sd_switch(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T18:27:54.089744Z K 7 svn:log V 19 Remove stale BUGS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-10-08T19:39:22.151496Z K 7 svn:log V 174 Another good day for historical quotes, Oliver Wendell Holmes brought to you by Thomas L. Friedman. (http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinion) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T20:00:51.787605Z K 7 svn:log V 59 Generic SD Host Controller driver going to be named sdhci. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-08T21:10:55.454991Z K 7 svn:log V 74 Only voltage bits should be zero in send_op_cond argument to ignore busy. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-08T21:45:56.640526Z K 7 svn:log V 236 MFC: r183628 Disable ATAPI DMA as it's once again broken in that it causes data corruption with the on-board AcerLabs M5229 controllers. While at it, remove the pointless "nothing to autoload yet." message. Approved by: re (blackend) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-08T21:46:10.980559Z K 7 svn:log V 236 MFC: r183628 Disable ATAPI DMA as it's once again broken in that it causes data corruption with the on-board AcerLabs M5229 controllers. While at it, remove the pointless "nothing to autoload yet." message. Approved by: re (blackend) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-08T21:46:17.192951Z K 7 svn:log V 236 MFC: r183628 Disable ATAPI DMA as it's once again broken in that it causes data corruption with the on-board AcerLabs M5229 controllers. While at it, remove the pointless "nothing to autoload yet." message. Approved by: re (blackend) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T01:34:27.833980Z K 7 svn:log V 75 Merge r183687 through r183712 into wip branch. Suffer mergeinfo whiplash. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T02:25:18.267685Z K 7 svn:log V 170 Clean out some empty mergeinfo records, presumably by people doing local cp/mv operations. The full repo-relative URL should be specified for the source in these cases. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T04:38:37.585687Z K 7 svn:log V 28 Merge 183713 through 183714 END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T05:11:27.421643Z K 7 svn:log V 40 Another test merge. Sorry for the spam. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-09T06:19:42.611963Z K 7 svn:log V 36 Rework pmc-dependent flag handling. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-10-09T06:23:04.343773Z K 7 svn:log V 654 Add some examples to demostrate gpart(8). --此行åŠä»¥ä¸‹å†…容将会被忽略-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M gpart.8 END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T10:01:09.086816Z K 7 svn:log V 61 Add a quick braindump about the state of /user and /projects END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T10:02:16.786459Z K 7 svn:log V 31 Copy from /user/GUIDELINES.txt END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T10:13:33.279032Z K 7 svn:log V 138 Update typos. clarify some failed attempts at humour at 3am. Note that merge --reintegrate gets confused by the complexity of our tree. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-09T10:17:55.135807Z K 7 svn:log V 31 Merge from user/GUIDELINES.txt END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-10-09T12:25:07.424675Z K 7 svn:log V 173 Get ready for initial import of the modular TCP congestion control work from my private development repository into a shiny new project dir home Discussed with: peter, gnn END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-10-09T12:56:57.030476Z K 7 svn:log V 1730 This is the roumored ATA modulerisation works, and it needs a little explanation. If you just config KERNEL as usual there should be no apparent changes, you'll get all chipset support code compiled in. However there is now a way to only compile in code for chipsets needed on a pr vendor basis. ATA now has the following "device" entries: atacore: ATA core functionality, always needed for any ATA setup atacard: CARDBUS support atacbus: PC98 cbus support ataisa: ISA bus support atapci: PCI bus support only generic chipset support. ataahci: AHCI support, also pulled in by some vendor modules. ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasiliconimage, atasis, atavia; Vendor support, ie atavia for VIA chipsets atadisk: ATA disk driver ataraid: ATA softraid driver atapicd: ATAPI cd/dvd driver atapifd: ATAPI floppy/flashdisk driver atapist: ATAPI tape driver atausb: ATA<>USB bridge atapicam: ATA<>CAM bridge This makes it possible to config a kernel with just VIA chipset support by having the following ATA lines in the kernel config file: device atacore device atapci device atavia And then you need the atadisk, atapicd etc lines in there just as usual. If you use ATA as modules loaded at boot there is few changes except the rename of the "ata" module to "atacore", things looks just as usual. However under atapci you now have a whole bunch of vendor specific drivers, that you can kldload individually depending on you needs. Drivers have the same names as used in the kernel config explained above. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-09T14:55:45.829061Z K 7 svn:log V 570 - Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order to reduce ABI disruptions when new cpu types and new PMC events are added in the future. - Support alternate spellings for PMC events. Derive the canonical spelling of an event name from its enumeration name in 'enum pmc_event'. - Provide a way for users to disambiguate between identically named events supported by multiple classes of PMCs in a CPU. - Change libpmc's machine-dependent event specifier parsing code to better support CPUs containing two or more classes of PMC resources. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-09T17:52:47.926630Z K 7 svn:log V 201 MFC: Wait until after dropping the receive socket buffer lock to allocate space to store the socket address stored in the first mbuf in a packet chain in soreceive_dgram(). Approved by: re (kensmith) END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-09T18:06:28.309296Z K 7 svn:log V 97 Avoid failing if the directory already exists (when restarting at customize). MFC after: 2 days END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-09T19:22:00.182489Z K 7 svn:log V 151 Add modules for the HCI part of USB. This is convenient when having a UHCI controller in your laptop but inserting a (OHCI-based) Option Cardbus card. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-09T19:47:28.866250Z K 7 svn:log V 293 o Use seprate routines to decode cid and csd for sd and mmc cards. All they have in common right now is a memset. This saves a parameter to these routines, as well as a level of indentation. o Make mmc_get_bits a little clearer... It really only works on 128-bit registers right now. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-09T20:00:17.607762Z K 7 svn:log V 114 Obfuscated by other diffs while committing r183728: Remove the files for the HCI interfaces from the usb module. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-09T20:09:56.740274Z K 7 svn:log V 37 Add high capacity MMC cards support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-09T20:40:11.491013Z K 7 svn:log V 217 MFC: Check for duplicate attempts to add the same positive entry to the name cache. If a duplicate attempt is made, just do nothing. This fixes a race with shared locking in pathname lockups. Approved by: re (kib) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-10-09T20:43:42.081910Z K 7 svn:log V 274 Prefix the static shl function with '__' like its parent function __qdivrem to avoid being picked up by the DTrace fbt provider. This is called by __udivdi3() for doing 64bit division on a 32bit arch and may be called from within the dtrace context causing a double fault. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-09T20:51:25.486393Z K 7 svn:log V 115 uark/ucom: Minor code cleanup. umass; Remove duplicated code. ukbd: Fill in the arg parameter on the through call. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-09T21:25:01.785796Z K 7 svn:log V 818 Say hello to the u3g driver, implementing support for 3G modems. This was located in the ubsa driver, but should be moved into a separate driver: - 3G modems provide multiple serial ports to allow AT commands while the PPP connection is up. - 3G modems do not provide baud rate or other serial port settings. - Huawei cards need specific initialisation. - ubsa is for Belkin adapters, an Linuxy choice for another device like 3G. Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky STALLED messages as well. Next: Move over all entries for Sierra and Novatel cards once I have found testers, and implemented serial port enumeration for Sierra (or rather have Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces. Submitted by: aguzzo@anywi.com MFC after: 3 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-09T22:01:27.411361Z K 7 svn:log V 121 ata module additions now nest ata modules one deeper than any prior module. Increase heuristic used to find them by one. END K 10 svn:author V 3 kan K 8 svn:date V 27 2008-10-10T00:16:32.729982Z K 7 svn:log V 217 Allow strong symbols to override weak ones for lookups done through dlsym with RTLD_NEXT/RTLD_SELF handles. Allow symbols from ld-elf.so to be located this way too. Based on report and original patch from sobomax@. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-10-10T04:23:40.997640Z K 7 svn:log V 63 Mention the libpmc/hwpmc ABI change introduced in SVN r183725. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-10T05:10:10.740345Z K 7 svn:log V 904 MFp4: Fix a bug in the mips relocation code that prevents shared images from working. From p4 filelog of the upstream file in p4 //depot/projects/mips2-jnpr/src/libexec/rtld-elf/mips/reloc.c ... #6 change 140737 edit on 2008/04/27 by gonzo@gonzo_jeeves (text+ko) o Looks like handler for R_MIPS_REL32 brought by CS 137942 is broken for tradmips. Code from NetBSD's libexec/ld.elf_so/arch/mips/mips_reloc.c works just fine. ... #3 change 137942 edit on 2008/03/17 by rrs@rrs-mips2-jnpr (text+ko) Any relocation symbol lookup if its 0. It looks like this is the way the compiler indicates you need to look in another shared library. When we hit these as we relocate a object we will do the symbol lookups and setup the relocation table with the right value. Submitted by: rrs@, gonzo@ END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-10T06:26:37.303640Z K 7 svn:log V 69 Wrong FBSD version number in HISTORY section. Submitted by: pluknet END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-10T06:37:51.968530Z K 7 svn:log V 93 Add an entry about the split up of usb into usb+*hci modules. Submitted by: Andrew Thompson END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-10T07:16:44.803928Z K 7 svn:log V 46 Typo in ifdef. Submitted by: Andrew Thompson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-10T11:39:59.583978Z K 7 svn:log V 147 Merge r183563 from head to stable/7: Remove or update several stale comments. A bit of whitespace/style cleanup. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-10T14:33:47.829528Z K 7 svn:log V 120 Fix content and spelling of comment on _ipfw_insn.len -- a count of 32-bit words, not 32-byte words. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-10-10T17:37:20.111203Z K 7 svn:log V 17 Add my user dir. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-10-10T17:41:34.284797Z K 7 svn:log V 84 Apple IR daemon. Makes the Apple remote functional under FreeBSD. Imported from P4. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-10-10T17:43:21.863298Z K 7 svn:log V 117 USB Bluetooth HID<->HCI control utility. Changes a USB dongle from HID mode to Bluetooth HCI mode. Imported from P4. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-10-10T17:47:05.440611Z K 7 svn:log V 36 Replace P4 tags by FreeBSD SVN tag. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-10-10T17:48:39.778402Z K 7 svn:log V 29 Prefer my FreeBSD.org alias. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-10T17:49:47.194015Z K 7 svn:log V 829 Close, but not eliminate, a race condition. It is one that properly designed drivers would never hit, but was exposed in diving into another problem... When expanding the devclass array, free the old memory after updating the pointer to the new memory. For the following single race case, this helps: allocate new memory copy to new memory free old memory read pointer to freed memory update pointer to new memory Now we do allocate new memory copy to new memory update pointer to new memory free old memory Which closes this problem, but doesn't even begin to address the multicpu races, which all should be covered by Giant at the moment, but likely aren't completely. Note: reviewers were ok with this fix, but suggested the use case wasn't one we wanted to encourage. Reviewed by: jhb, scottl. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-10-10T17:53:26.608578Z K 7 svn:log V 223 eeemon is a kernel module for Asus Eee notebooks that allows you to control the fan speed, high/low voltage and it shows the cpu temperature. Includes fan control code by "harrow@yandex.ru". Imported from my peronal repo. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-10T20:05:15.783258Z K 7 svn:log V 6 Typo. END