ƒµg217503 167 989 540 284 162 581 291 281 187 357 202 490 742 469 256 116 194 131 227 210 116 345 327 371 303 613 147 180 291 442 135 318 318 229 168 422 163 159 140 176 381 460 220 170 418 208 846 153 282 109 134 313 312 193 193 510 169 150 353 610 779 254 278 563 165 527 131 220 366 151 280 177 741 134 133 190 544 229 502 282 289 140 176 120 450 326 359 707 323 193 303 1110 159 364 113 193 242 716 716 267 267 480 189 480 134 157 447 447 469 157 643 335 163 135 224 664 539 165 141 584 215 267 601 242 437 155 337 561 160 466 389 476 222 219 161 180 133 189 229 209 354 257 218 268 137 999 999 356 351 196 180 143 141 132 180 177 195 243 287 181 133 139 320 184 1010 1010 865 865 K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-17T15:12:37.663500Z K 7 svn:log V 893 MFC: r217415 - Allow IFM_FLAG0 to be set indicating that auto-negotiation with manual configuration, which is used to work around issues with certain setups (see r161237) by default, should not be triggered as it may in turn cause harm in some edge cases. - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Announce PAUSE support also for manually selected 1000BASE-T, but for all manually selected media types only in full-duplex mode. Announce asymmetric PAUSE support only for manually selected 1000BASE-T. - Simplify setting the manual configuration bits to only once after we have figured them all out. This also means we no longer unnecessarily update the hardware along the road. - Remove a stale comment. Reviewed by: yongari (plus additional testing) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-17T17:23:59.834747Z K 7 svn:log V 447 MFC r217245: Add IDs for HighPoint RocketRAID 64x controllers. These controllers consist of two Marvell 88SE9128 6Gbps SATA chips and PLX PCIe bridge. As result, they seem to be agree to work with ahci(4) as usual HBAs. The only noticed issue is that RAID BIOS disables all drive caches during boot, though `camcontrol cmd ...` is able to fix that. Those who wants RAID functionality can still use closed proprietary driver from HighPoint site. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-01-17T17:25:46.956437Z K 7 svn:log V 191 Fix a bug related to connection caching which could cause a crash after a STAT command. PR: kern/153748 (different patch) Submitted by: Mark Johnston MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-17T17:30:35.056238Z K 7 svn:log V 69 Avoid preemption while manipulating CRs and MTRRs. Tested by: ariff END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-17T18:58:28.424046Z K 7 svn:log V 488 Add FAILED disk and subdisks states. Disk falls into that state after some number of fatal I/O errors. I/O to this disk should be avoided. Same time RAID0 still can try to use it, as soon as there is no other. Disk in this state is a candidate to be replaced with spare, if present. Other option I had is to just drop failed disk out of the array, but implemented way seems more alike to what Intel MatrixRAID BIOS does. Add method to allow transformation modules claim disks as failed. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-17T19:17:26.109513Z K 7 svn:log V 198 Explicitly initialize the page's queue field to PQ_NONE instead of relying on PQ_NONE being zero. Redefine PQ_NONE and PQ_COUNT so that a page queue isn't allocated for PQ_NONE. Reviewed by: kib@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-17T19:31:34.793871Z K 7 svn:log V 188 Fix 32bit bit fields handling. This fixes card serial number fetching. It was just a cosmetic issue, because that number is only reported in logs. Reported by: Michael Butler on current@ END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-17T19:53:23.815318Z K 7 svn:log V 95 Deleted unused devfs_xxx_cdevpriv() test scenario and made the fpclone.sh scenario work again. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-17T20:15:15.507307Z K 7 svn:log V 259 Pull ieee80211_ratectl_node_init() calls from drivers into net80211. This fixes hostap mode for at least ral(4) and run(4), because there is no sufficient call into drivers which could be used initialize the node related ratectl variables. MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-17T20:19:35.956527Z K 7 svn:log V 104 MFC r217118: Don't try to free an unassigned pointer. Submitted by: Paul B Mahol END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-17T20:22:03.113020Z K 7 svn:log V 392 MFC r216835: The mwl's HAL manages an array of MWL_MBSS_MAX VAPs where the first 8 are supposed to be APs and the later 24 are pre-configured as STAs. A wrong condition during initialization is responsible for not configuring the last 8 array members. This is results in being able to create more than 8, possible uninitialized, AP-VAPs. Submitted by: Erik Fonnesbeck END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-17T20:32:17.026952Z K 7 svn:log V 646 In order to save instructions the MMU trap handlers assumed that the kernel TSB is located within the 32-bit address space, which held true as long as we were using virtual addresses magic-mapped before the location of the kernel for addressing it. However, with r216803 in place when possible we address it via its physical address instead, which on machines like Sun Fire V880 have no physical memory in the 32-bit address space at all requires to use 64-bit addressing. When using physical addressing it still should be safe to assume that we can just ignore the lowest 10 bits of the address as a minor optimization as we did before r216803. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-17T22:58:28.376318Z K 7 svn:log V 375 Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). Compile sys/dev/mem/memutil.c for all supported platforms and remove now unnecessary dev_mem_md_init(). Consistently define mem_range_softc from mem.c for all platforms. Add missing #include guards for machine/memdev.h and sys/memrange.h. Clean up some nearby style(9) nits. MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-17T22:58:41.715240Z K 7 svn:log V 163 Make cpu_model public (otherwise there's no way to set it) and bump it to 80 characters. Add hw.board to export board information, if known, from the mips kernel. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-17T23:00:23.702618Z K 7 svn:log V 24 Kill redundant cpu line END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-17T23:03:09.290989Z K 7 svn:log V 101 Save the CPU model, the board and the CPU clock rate so they are reported by the approrpiate sysctl. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-17T23:06:47.570547Z K 7 svn:log V 38 Remove empty dev_mem_md_init() stubs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-17T23:34:36.630279Z K 7 svn:log V 131 Check the environment for system devices before using the FDT. This allows overriding the FDT, and allows specifying a debug port. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-17T23:36:53.812449Z K 7 svn:log V 117 The kernel is not exporting any "T,dev_t" sysctl nodes anymore, so remove the capability and mention from sysctl(8). END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-17T23:43:03.151168Z K 7 svn:log V 24 Fix typo and bump date. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-17T23:54:50.046639Z K 7 svn:log V 249 Support booting non FDT-capable loaders: 1. Allow embedding the FDT into the kernel, just like PowerPC/book-E. 2. If the loader passes us a pointer to the bootinfo structure, save it and use it to fill in the gaps (e.g. bus frequencies, etc). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-18T00:46:10.877681Z K 7 svn:log V 230 Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g s/RL_HWREV_8168_SPIN3/RL_HWREV_8168B_SPIN3/g No functional changes. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-18T00:53:55.673285Z K 7 svn:log V 273 MFC: r217063 Since the VFS_LOCK_GIANT() code in the experimental NFS server is broken and the major file systems are now all mpsafe, modify the server so that it will only export mpsafe file systems. This was discussed on freebsd-fs@ and removes a fair bit of crufty code. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-18T01:07:09.061004Z K 7 svn:log V 205 MFC: r217066 Delete the NFS_STARTWRITE() and NFS_ENDWRITE() macros that obscured vn_start_write() and vn_finished_write() for the old OpenBSD port, since most uses have been replaced by the correct calls. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-18T01:20:15.937031Z K 7 svn:log V 515 MFC: r217242 Fix a bug in the client side krpc where it was, sometimes erroneously, assumed that 4 bytes of data were in the first mbuf of a list by replacing the bcopy() with m_copydata(). Also, replace the uses of m_pullup(), which can fail for reasons other than not enough data, with m_copydata(). For the cases where it isn't known that there is enough data in the mbuf list, check first via m_len and m_length(). This is believed to fix a problem reported by dpd at dpdtech.com and george+freebsd at m5p.com. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-18T04:13:46.514183Z K 7 svn:log V 54 - Fix the type of constants shifted by more than 32. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-18T04:54:43.705811Z K 7 svn:log V 88 Move the definition of M_VMPGDATA to the swap pager, where the only remaining uses are. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-18T06:24:52.867163Z K 7 svn:log V 199 MFC r217262: Round GNOP provider's mediasize to its sectorsize. This prevents KASSERT in g_io_request when geom classes doing tasting. PR: kern/147852 MFC r217263: Remove redundant check. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-18T09:52:53.484903Z K 7 svn:log V 350 Limit maximum number of GPT entries to 4k. It is most realistic value and can prevent kernel memory exhausting when big value is specified from command line. Split reading and writing operation to several iteration to do not trigger KASSERT when data length is greater than MAXPHYS. PR: kern/144962, kern/147851 MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-18T10:42:13.785065Z K 7 svn:log V 43 MFC r216952: Mark some devices as eternal. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-18T11:51:48.014407Z K 7 svn:log V 222 MFC: r217464, r217468, r217475 Add a manual page for rgephy(4) and reference it as appropriate. The motivation for having rgephy.4 is to document the special media option added in r217415 (MFC'ed to stable/8 in r217502). END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-18T11:51:51.643701Z K 7 svn:log V 222 MFC: r217464, r217468, r217475 Add a manual page for rgephy(4) and reference it as appropriate. The motivation for having rgephy.4 is to document the special media option added in r217415 (MFC'ed to stable/7 in r217503). END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-18T14:34:45.013798Z K 7 svn:log V 131 Fix the experimental NFSv4 server so that it uses VOP_ACCESSX() to check for VREAD_ACL instead of VOP_ACCESS(). MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-18T14:58:12.442602Z K 7 svn:log V 68 Add libm to the dependencies section. Submitted by: Garrett Cooper END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-18T14:58:44.608339Z K 7 svn:log V 329 Remove bogus check. pcib_get_bus() (like other BUS_ACCESSOR() methods) doesn't "fail", it may merely return garbage if it is not a valid ivar for a given device. Our parent device must be a 'pcib' device, so we can just assume it implements pcib IVARs, and all pcib devices have a bus number. Submitted by: clang via rdivacky END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-18T15:23:16.574227Z K 7 svn:log V 71 Remove some always-true comparisons. Submitted by: clang via rdivacky END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-01-18T15:35:13.006848Z K 7 svn:log V 66 MFi386: revision 217515 The mem_range_softc is defined in mem.c. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-01-18T15:46:04.063588Z K 7 svn:log V 48 Clean up old items. Approved by: re (implicit) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-18T15:49:01.839058Z K 7 svn:log V 76 Finish modifications to allow this to be used as a replacement for sade(8). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-18T16:27:40.116905Z K 7 svn:log V 288 Fix some bugs in my last set of changes to ale(4): - Remove extra unlock from end of ale_start_locked(). - Expand scope of locking in interrupt handler. - Move ether_ifdetach() earlier and retire now-unneeded DETACH flag. Tested by: Aryeh Friedman Reviewed by: yongari (earlier version) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-18T16:43:01.546247Z K 7 svn:log V 367 - Remove some always-true checks (checking for unsigned < 0). - Only check largs->num against max_ldt_segment on amd64 for I386_SET_LDT when descriptors are provided. Specifically, allow the 'start == 0' and 'num == 0' special case used to free all LDT entries that previously failed with EINVAL. Submitted by: clang via rdivacky (some of 1) Reviewed by: kib END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-01-18T16:49:51.693959Z K 7 svn:log V 128 MFC r205682: Support only LOOKUP operation for "/" in relookup() because lookup() can't succeed for CREATE, DELETE and RENAME. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-18T17:08:27.264705Z K 7 svn:log V 70 Avoid some warning messages in partedit after reverting partitioning. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-18T17:35:34.444810Z K 7 svn:log V 325 Make g_raid_md_intel_start_disk() a single entry point for any new disk. Make it replace FAILED or OFFLINE disks with new ones. Together with other changes this allows to use STALE and potentially SPARE disks to refill array after ACTIVE disk failure or unplug/disappearance. Remake `graid insert` to also use this function. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-18T17:48:21.789796Z K 7 svn:log V 107 Warn user of impending reboot and move location of reboot dialog from auto to the rc.local wrapper script. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-18T17:50:14.964654Z K 7 svn:log V 749 Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if ALLMULTI/PROMISC was changed. However, RX filter handling code assumed some bits of the RX filter is programmed by driver initialization. This caused ALLMULTI/PROMISC configuration is ignored under certain conditions. Fix that issue by reprogramming all bits of RX filter register. While I'm here follow recommended RX filter programming steps recommended by National DP8381[56] data sheet(RX filter should be is disabled before programming). Reported by: Paul Schenkeveld < freebsd () psconsult dot nl > Tested by: Paul Schenkeveld < freebsd () psconsult dot nl > MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-18T17:55:24.677083Z K 7 svn:log V 53 Consistently show the "FreeBSD Installer" backtitle. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2011-01-18T19:13:03.636062Z K 7 svn:log V 188 Update to upstream version 2.3 Only significant change is to fix a bu when the output file overwrites the input when the input is redirected. Obtained from: http://dotat.at/prog/unifdef END K 10 svn:author V 4 fanf K 8 svn:date V 27 2011-01-18T19:31:38.285609Z K 7 svn:log V 16 MFC unifdef-2.5 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-18T19:36:04.437933Z K 7 svn:log V 34 Fix build after libdialog update. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-18T20:26:40.764380Z K 7 svn:log V 220 Fix mismerge. The missing _cxgb=cxgb assignment was causing cxgb to not be built at all, rather than causing it to not be built on just arm and mips. # The merge info looks correct, so this looks like a direct commit. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-18T21:14:13.116673Z K 7 svn:log V 219 Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need to rely on the format string. For SYSCTL_PROC instances that I noticed a discrepancy between the CTLTYPE and the format specifier, fix the CTLTYPE. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-18T21:14:18.719741Z K 7 svn:log V 100 Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need to rely on the format string. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-18T21:14:23.715592Z K 7 svn:log V 100 Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need to rely on the format string. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-18T21:18:31.931374Z K 7 svn:log V 414 sh: Fix signal messages being sent to the wrong file sometimes. When a foreground job exits on a signal, a message is printed to stdout about this. The buffer was not flushed after this which could result in the message being written to the wrong file if the next command was a builtin and had stdout redirected. Example: sh -c 'kill -9 $$'; : > foo; echo FOO:; cat foo Reported by: gcooper MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-01-18T21:18:51.788289Z K 7 svn:log V 72 Make USB packet filtering code optional. Approved by: thompsa (mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-01-18T21:36:51.887638Z K 7 svn:log V 58 Make sure the PKGDIR exists before we move stuff into it. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-01-18T21:47:30.614351Z K 7 svn:log V 255 There are PowerMacs which do not have a hwsensor-location property for this sensor. Instead of leaving this location empty we use here the default name 'sensor'. Submitted by: Justin Hibbits Approved by: nwhitehorn (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-18T21:57:02.362987Z K 7 svn:log V 517 For architectures not using direct map , and requiring real KVA page for sf buf allocation, use wakeup() instead of wakeup_one() to notify sf buffer waiters about free buffer. sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given, and for simultaneous wakeup and signal delivery, msleep() returns EINTR/ERESTART despite the thread was selected for wakeup_one(). As result, we loose a wakeup, and some other waiter will not be woken up. Reported and tested by: az Reviewed by: alc, jhb MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-01-18T22:19:55.383492Z K 7 svn:log V 684 Decrease the libcrypto and libssl shared object version numbers from 6 to 5. They were accidentally bumped in r215997 (on 2010-11-28) with the merge of OpenSSL 0.9.8p, but unfortunately this was not caught until now. Also add compat links for libcrypto.so.6 / libssl.so.6 (pointing to their .5 counterparts) in case any users have compiled any third party during the time stable/7 (and releng/7.4) were broken. This is deemed the last poor of bad options. Had the number bump not been reverted binary packages for stable/7 would not have worked on the still supported 7.3 and 7.1 releases. Discussed with: re, portmgr Approved by: re (kensmith - in principle) Pointyhat to: simon END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-18T22:56:10.796792Z K 7 svn:log V 161 Use malloc(9) instead of kmem_alloc(9) for temporal copy of the user-supplied descriptor array. Noted and reviewed by: jhb (previous version) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-18T23:00:22.346396Z K 7 svn:log V 185 Make the length of the LDT a loader tunable, machdep.max_ldt_segment, and export it with read-only sysctl. Remove unused defines. Reviewed by: jhb (previous version) MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-18T23:35:08.542359Z K 7 svn:log V 470 Add spare disks support. Disk counted as spare if it's metadata tells so, or if kern.geom.raid.aggressive_spare sysctl/tunable is set, disk connected to Intel controller and has no Intel metadata. Disks marked as spare by `graid insert ...`, when array is already full. Unluckily, as soon as Intel treats spare disks as "global spare", they can't be seen via `graid list/status` at this moment, because they do not belong to any node/array and opened only when needed. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-19T00:57:58.590611Z K 7 svn:log V 73 Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-19T01:26:49.217282Z K 7 svn:log V 429 MFC: r217176 Modify readdirplus in the experimental NFS server in a manner analogous to r216633 for the regular server. This change busies the file system so that VFS_VGET() is guaranteed to be using the correct mount point even during a forced dismount attempt. Since nfsd_fhtovp() is not called immediately before readdirplus, the patch is actually a clone of pjd@'s nfs_serv.c.4.patch instead of the one committed in r216633. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-19T03:10:24.977861Z K 7 svn:log V 31 Add a script to install jails. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-19T03:59:30.887901Z K 7 svn:log V 127 MFC r204707 by scottl Ignore the result of the chflags operation to allow it to continue when doing an installation over NFS. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-19T04:28:51.230358Z K 7 svn:log V 273 "Goodbye, my friend, it's hard to die When all the birds are singing in the sky Now that the spring is in the air Pretty girls are everywhere, think of me and I'll be there" Retire my copy of tbemd: Target Big Endian is Dead and all the code is in head, and even more. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-19T05:08:32.819862Z K 7 svn:log V 60 MFC r217303: Sector size can not be greater than MAXPHYS. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-19T05:13:40.110311Z K 7 svn:log V 188 MFC r217305: Sector size can not be greater than MAXPHYS. Since GRAID3 calculates sector size from user-specified block size, report to user about big blocksize. PR: kern/147851 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-19T07:06:28.785161Z K 7 svn:log V 80 Don't do a device_identify to add uart0, it's already hinted. Reported by: imp END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-01-19T07:44:47.113491Z K 7 svn:log V 646 MFS7 r217562: Decrease the libcrypto and libssl shared object version numbers from 6 to 5. They were accidentally bumped in r215997 (on 2010-11-28) with the merge of OpenSSL 0.9.8p, but unfortunately this was not caught until now. Also add compat links for libcrypto.so.6 / libssl.so.6 (pointing to their .5 counterparts) in case any users have compiled any third party during the time stable/7 (and releng/7.4) were broken. This is deemed the last poor of bad options. Had the number bump not been reverted binary packages for stable/7 would not have worked on the still supported 7.3 and 7.1 releases. Approved by: re (kensmith) END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-19T09:47:20.540848Z K 7 svn:log V 42 Changed full path references to relative. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2011-01-19T09:59:54.078393Z K 7 svn:log V 40 Fix buildworld on pre-8.2. PR: 153947 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2011-01-19T10:30:49.390279Z K 7 svn:log V 96 o Correct version of DragonFly: it was 2.8.2 released, not 2.8.0. Submitted by: Sascha Wildner END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-19T12:19:25.937047Z K 7 svn:log V 451 In linuxolator getdents_common(), it seems there is no reason to loop if no records where returned by VOP_READDIR(). Readdir implementations allowed to return 0 records when first record is larger then supplied buffer. In this case trying to execute VOP_READDIR() again causes the syscall looping forewer. The goto was there from the day 1, which goes back to 1995 year. Reported and tested by: Beat G?tzi MFC after: 2 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T15:12:38.547069Z K 7 svn:log V 131 MFC -r 186783 from /head Document the NO_XXX options supported by our Makefile.inc1. Noticed by: simon Reviewed by: imp END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T15:43:23.181610Z K 7 svn:log V 404 MFC -r188305 and r189207 from /head : r188305 --> : Fix language on atol(3) manpage. Add a COMPATIBILITY section : stating that in FreeBSD the atol() and atoll() functions affect : errno in the same way as strtol() and stroll(). : : PR: docs/126487 : Submitted by: edwin : Reviewed by: trhodes, gabor : MFC after: 1 week : r189207 --> : "-isoC-99" should be spelled without 'c'. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-19T15:43:54.536480Z K 7 svn:log V 189 There is no point in calling vm_object_set_writeable_dirty() on an object that is definitively known to be swap backed since its only effects are on vnode-backed objects. Reviewed by: kib END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-19T16:46:13.202264Z K 7 svn:log V 196 Merge 118969 from UFS: Eliminate the i_devvp field from the incore inodes, we can get the same value from ip->i_ump->um_devvp. Submitted by: Pedro F. Giffuni giffunip at yahoo MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-19T16:48:07.382701Z K 7 svn:log V 48 Add missed (). Noted by: alc MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-19T16:52:22.256091Z K 7 svn:log V 84 Move calculation of 'bmask' earlier to match it's current location in ufs_lookup(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-19T16:55:32.975802Z K 7 svn:log V 28 Whitespace and style fixes. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-19T17:04:07.398130Z K 7 svn:log V 357 sysctl(8) should use the CTLTYPE to determine the type of data when reading. (This was already done for writing to a sysctl). This requires all SYSCTL setups to specify a type. Most of them are now checked at compile-time. Remove SYSCTL_*X* sysctl additions as the print being in hex should be controlled by the -x flag to sysctl(8). Succested by: bde END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-19T17:09:07.268603Z K 7 svn:log V 232 Fix yet another fallout from r208833. VM86 BIOS call may cause page fault when FPU is in use. Reported by: Marc UBM Bocklet (ubm dot freebsd at googlemail dot com) Tested by: b. f. (bf1783 at googlemail dot com) MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-01-19T17:11:52.445051Z K 7 svn:log V 264 Add MNT_NFS4ACLS to ZFS mount flags. It's not conditional, since there is no way to disable NFSv4 ACLs in ZFS. This should make it easier for the NFS server to figure out whether the exported filesystem supports ACLs or not. Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2011-01-19T17:17:37.235904Z K 7 svn:log V 609 Here v->iov_len has been assigned the return value from snprintf. Checking if it is > 0 doesn't make sense, because snprintf returns how much space is needed if the buffer is too small. Instead, check if the return value was greater than the buffer size, and truncate the message if it was too long. It isn't clear if snprintf can return a negative value in the case of an error - I don't believe it can. If it can, then testing v->iov_len won't help 'cos it is a size_t, not an ssize_t. Also, as clang points out, we must always increment v here, because later code depends on the message being in iov[5]. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-19T17:40:58.838582Z K 7 svn:log V 225 Jump to the next element and not to an arbitrary point. frm[1] contains the element's data length, frm[2] is the first byte of the element's data. Submitted by: Monthadar Al Jaberi MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-19T18:20:11.446725Z K 7 svn:log V 100 Fix for kern/152853, pullup at the wrong point is breaking UDP. Thanks to Petr Lampa for the patch. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-19T19:07:16.073156Z K 7 svn:log V 210 Fix a bug where Multicast packets sent from a udp endpoint may end up echoing back to the sender even with OUT joining the multi-cast group. Reviewed by: gnn, bms, bz? Obtained from: deischen (with help from) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-19T19:36:27.321171Z K 7 svn:log V 1016 Update driver to version 2.3.8: CRITICAL FIX - with stats changes the older 82598 will panic and trash the stack on driver load, FCOE registers ONLY exist in 82599 and must not be read otherwise. kern/153951 - to correct incorrect media type on adapters with pluggable modules I have eliminated the old static table in favor of a new dynamic shared code routine. This also has the benefit of detecting changes when a different module is inserted. Performance/enhancement to the Flow Director code from my linux coworker (the developer of the code). Fixes from Michael Tuexen - a data corruption problem on the 82599 (CRITICAL), fix so the buf size correctly adjusts as the cluster changes, and max descriptors are set properly. Also added 16K clusters for those REALLY big jumbos :) In the RX path, the RX LOCK was not being released, and this causes LOR problems. Add the code that igb already has. Sync with in house shared code, this was necessary for the Flow Director fix. MFC in 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-19T19:49:48.601309Z K 7 svn:log V 67 Fix build with KDB defined. Pointy hat to: jhb Submitted by: jkim END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-19T20:16:38.892351Z K 7 svn:log V 271 Update groff manpage and symbols with what has been submitted upstream. Also remove local overrides that are now in the contrib tree. This is a direct commit to contrib/ as we will no longer import any newer groff snapshots, due to licensing issues. MFC after: 3 weeks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-19T20:16:47.302443Z K 7 svn:log V 21 Fix a small typo nit END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-19T20:57:08.247538Z K 7 svn:log V 100 Fix style 9 nit that snuck in when I grabbed the wrong patch ;-0 (thanks Daniel) MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-19T21:03:22.654011Z K 7 svn:log V 144 MFS r217408: Don't use amdc1e on XEN && !XEN_PRIVILEGED. This fixes a panic when booting FreeBSD/XEN on recent AMD CPUs. Approved by: re (bz) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:09:39.121474Z K 7 svn:log V 618 MFC r217064 - sort & fix includes, remove -include from CFLAGS of acct tests - Sort the includes of pack.c, moving sys/*.h files near the top. - Add a couple of missing #include lines, and remove the need for custom -include options in the CFLAGS of the test Makefile. - Remove the ad-hoc ’all’ target, but keep its ’regress’ bits for testing. - Convert the ad-hoc ’clean’ target to proper CLEANFILES stuff, so that the normal bsd.prog.mk machinery can clean up. - Use ‘make -V .OBJDIR’ to detect the place where ’pack’ lives, so that regress.t works both with and without ’make obj’. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:19:23.358121Z K 7 svn:log V 618 MFC r217064 - sort & fix includes, remove -include from CFLAGS of acct tests - Sort the includes of pack.c, moving sys/*.h files near the top. - Add a couple of missing #include lines, and remove the need for custom -include options in the CFLAGS of the test Makefile. - Remove the ad-hoc ’all’ target, but keep its ’regress’ bits for testing. - Convert the ad-hoc ’clean’ target to proper CLEANFILES stuff, so that the normal bsd.prog.mk machinery can clean up. - Use ‘make -V .OBJDIR’ to detect the place where ’pack’ lives, so that regress.t works both with and without ’make obj’. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:28:00.717462Z K 7 svn:log V 169 MFC r205978 from /head Document DEBUG_FLAGS in a more visible place, in the build(7) manpage Noticed by: Alexander Best Reviewed by: jhb END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:28:21.302813Z K 7 svn:log V 169 MFC r205978 from /head Document DEBUG_FLAGS in a more visible place, in the build(7) manpage Noticed by: Alexander Best Reviewed by: jhb END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:34:42.087471Z K 7 svn:log V 382 MFC r199985 from /head Describe what setpgid(2) does when pgid=0. The text has been copied from NetBSD’s manpage, and it also matches the behavior described by the Open Group’s online copy of setpgid.2 at http://www.opengroup.org/onlinepubs/009695399/functions/setpgid.html Obtained from: NetBSD Submitted by: Petros Barbayiannis END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-19T21:35:48.498874Z K 7 svn:log V 97 Use CTLFLAG_RDTUN for read-only sysctl that exports tunable. Reminded by: pjd MFC after: 6 days END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:35:48.905402Z K 7 svn:log V 382 MFC r199985 from /head Describe what setpgid(2) does when pgid=0. The text has been copied from NetBSD’s manpage, and it also matches the behavior described by the Open Group’s online copy of setpgid.2 at http://www.opengroup.org/onlinepubs/009695399/functions/setpgid.html Obtained from: NetBSD Submitted by: Petros Barbayiannis END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:43:08.093991Z K 7 svn:log V 37 Bump .Dd date of manpage for r217481 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-19T21:45:40.253970Z K 7 svn:log V 60 Fix format of physical addresses; this fixes the n32 build. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:49:21.444209Z K 7 svn:log V 349 MFC r217481 and r217606 from /head r217481... Fix the mount example of xfs(5) filesystems by including the read-only option. We only support ro mounts for xfs, so it’s nice if the examples we show in the manpage are easy to copy/paste. PR: docs/149106 Submitted by: amdmi3 r217606... Bump .Dd date of manpage for r217481 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-19T21:49:42.502912Z K 7 svn:log V 349 MFC r217481 and r217606 from /head r217481... Fix the mount example of xfs(5) filesystems by including the read-only option. We only support ro mounts for xfs, so it’s nice if the examples we show in the manpage are easy to copy/paste. PR: docs/149106 Submitted by: amdmi3 r217606... Bump .Dd date of manpage for r217481 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-19T21:57:30.055185Z K 7 svn:log V 376 While building ld for powerpc or powerpc64, make the generated files eelf32ppc.c and eelf64ppc.c dependent on ldemul-list.h, since some of the scripts called from genscripts.sh (ppc32elf.em and ppc64elf.em, respectively) grep ldemul-list.h to determine whether spu emulation is available. This avoids a needless error message during 'make depend' in gnu/usr.bin/binutils/ld. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-19T22:10:35.845925Z K 7 svn:log V 62 Cleanup the management of CC functions. MFC after: 3 months. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-19T22:15:12.879951Z K 7 svn:log V 545 The output format should be determined by the ABI flags, not the ldscript. This ldscript is used with both little-endian and big-endian targets. This hopefully fixes MIPS universe. NB: We really should get rid of almost all of the MIPS ldscripts. There's only gratuitous differences between them, mostly because they're too specific or they do things like specify the output format rather than taking it from flags given in the kernel config file or the default output format of the compiler. Also add svn:keywords property. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2011-01-19T22:16:42.098217Z K 7 svn:log V 242 document that even when wakeup_one is used to wakeup, msleep and friends may still return a non-zero value... You are not guaranteed to get a one to one mapping between wakeup_one and zero return values... Reviewed by: kib MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-19T22:25:07.639483Z K 7 svn:log V 67 MFC r203134,r207990,r217289 Add manpages for run(4) and runfw(4). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-19T22:29:19.570863Z K 7 svn:log V 39 MFC r203135 Hook run(4) to the build. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-19T23:00:25.248773Z K 7 svn:log V 131 Introduce signed and unsigned version of CTLTYPE_QUAD, renaming existing uses. Rename sysctl_handle_quad() to sysctl_handle_64(). END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-20T00:54:12.473057Z K 7 svn:log V 566 MFC: r217242 Fix a bug in the client side krpc where it was, sometimes erroneously, assumed that 4 bytes of data were in the first mbuf of a list by replacing the bcopy() with m_copydata(). Also, replace the uses of m_pullup(), which can fail for reasons other than not enough data, with m_copydata(). For the cases where it isn't known that there is enough data in the mbuf list, check first via m_len and m_length(). This is believed to fix a problem reported by dpd at dpdtech.com and george+freebsd at m5p.com. Reviewed by: jhb (for head) Approved by: re (kib) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T04:57:26.977617Z K 7 svn:log V 443 Break out the diagnostic codes from ah_internal.h and place them in ah_diagcodes.h. Since we now have the source code, there's no reason to hide the diag codes from other areas. They live in the HAL as they form part of the HAL API and should still be treate as "potentially flexible; don't publish as a public API." But since they're already used as a public API (see follow-up commit), we may as well use them in place of magic constants. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T04:59:11.037830Z K 7 svn:log V 70 Use the now-exposed diag code, rather than a hard-coded magic number. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-01-20T05:44:36.823734Z K 7 svn:log V 47 Fix build by changing format for size_t to %jd END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T05:49:15.759606Z K 7 svn:log V 488 Add a new HAL method to retrieve the completion schedule. It sets the completion schedule from the hardware and returns AH_TRUE if the hardware supports multi-rate retries (AR5212 and above); and returns AH_FALSE if the hardware doesn't support multi-rate retries. The sample rate module directly reads the TX completion descriptor and extracts the TX schedule information from that. It will be updated in a future commit to instead use this method to determine the completion schedule. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T07:03:20.551523Z K 7 svn:log V 119 Add another HAL function which waits for a register for a configurable amount. This will be used by some future code. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T07:42:39.239315Z K 7 svn:log V 171 Port over another EEPROM option from ath9k - AR_EEP_DAC_HPWR_5G This will be used by the temperature compensation calibration code which will shortly make an appearance. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T07:56:09.017098Z K 7 svn:log V 505 Include the initial support for external EEPROMs. The AR9100 at least doesn't have an external serial EEPROM attached to the MAC; it instead stores the calibration data in the normal system flash. I believe earlier parts can do something similar but I haven't experienced it first-hand. This commit introduces an eepromdata pointer into the API but doesn't at all commit to using it. A future commit will include the glue needed to allow the AR9100 support code to use this data pointer as the EEPROM. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-20T08:08:19.155288Z K 7 svn:log V 144 Fixes in the XLR platform code - Fix bug in pic.h, assign reg variable, before return. - In xlr_pci.c, need to ignore the result of mmio read. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-20T08:15:11.948355Z K 7 svn:log V 339 ldscript and conf cleanup for MIPS - Remove sys/conf/ldscript.mips.64 and sys/conf/ldscript.mips.n32 and use ldscript.mips for all ABIs. The default OUTPUT_FORMAT of the toolchain is correct. - Remove LDSCRIPT_NAME entires from XLR n32 and n64 conf files. - Remove TARGET_BIG_ENDIAN from XLR conf files. - Fix machine entry in XLRN32 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T08:15:46.589803Z K 7 svn:log V 60 Add in the public method to access the tx completion rates. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T08:19:23.169667Z K 7 svn:log V 241 Migrate the sample rate module to the new ath_hal_gettxcompletionrates() API. This removes the chipset-dependent TX DMA completion descriptor groveling. It should now be (more) portable to other, later atheros chipsets when the time comes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T08:40:22.662005Z K 7 svn:log V 465 Add a comment from my local HAL about what is actually going on here with these ADC DC Gain/Offset calibrations. The whole idea is to calibrate a pair of ADCs to compensate for any differences between them. The AR5416 returns lots of garbage, so there's no need to do the calibration there. The AR9160 returns 0 for secondary ADCs when calibrating 2.4ghz 20mhz modes. It returns valid data for the secondary ADCs when calibrating 2.4ghz HT/40 and any 5ghz mode. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-20T09:01:14.291963Z K 7 svn:log V 63 Re-format XLR configuartion files and remove obsolete options. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T09:03:40.561740Z K 7 svn:log V 370 Push the non-AR5416 related stuff into chipset specific directories. sys/dev/ath/ath_hal/ar5416/ is getting very crowded and further commits will make it even more crowded. Now is a good time to shuffle these files out before any more extensive work is done on them. Create an ar9003 directory whilst I'm here; ar9003 specific chipset code will eventually live there. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T09:37:53.334611Z K 7 svn:log V 293 Include the device ids for the AR2427. This is apparently an AR9285 with the 802.11n specific bits disabled. This code is completely untested; I'm doing this in response to users who wish to test the functionality out. It's likely as buggy as the AR9285 support is in FreeBSD at the moment. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-20T09:39:16.830193Z K 7 svn:log V 383 In tmpfs_readdir(), normalize handling of the directory entries that either overflow the supplied buffer, or cause uiomove fail. Do not advance cached de when directory entry was not copied out. Do not return EOF when no entries could be copied due to first entry too large for supplied buffer, signal EINVAL instead. Reported by: Beat G?tzi MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T09:46:18.615041Z K 7 svn:log V 126 Only enable 11n modes if the chipset suports 11n. Since the AR2427 doesn't allow 802.11n, it shouldn't have them configured. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-20T12:40:09.845468Z K 7 svn:log V 126 Fix it so we align with new socket API draft for state's in destination (i.e. ACTIVE/INACTIVE/UNCONFIRMED) MFC after: 1 week END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-20T12:45:29.665496Z K 7 svn:log V 64 Move 'cpu CPU_RMI' to std.xlr, this is common for all XLR cpus. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2011-01-20T13:02:54.498468Z K 7 svn:log V 84 Add another ID for the ZTE MF190 Surf Stick Submitted by: nagilum MFC after: 1 day END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-20T13:53:34.131492Z K 7 svn:log V 38 Improve comments. MFC after: 1 week. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-20T15:02:51.107243Z K 7 svn:log V 89 Correct parsing of the cpcht ranges property. Submitted by: andreast MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-20T15:06:42.533290Z K 7 svn:log V 128 MFC r217040: Add an entry to the gpart XML to determine if the geom has pending changes that need to be committed (or undone). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-20T15:09:11.358517Z K 7 svn:log V 113 ar9280SetAntennaSwitch() was using the AR5416 chainmasks (3 chains) rather than the AR9280 chainmasks (2 chains) END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-01-20T15:22:01.977308Z K 7 svn:log V 261 - Hide the internal scope address representation of the KAME IPv6 stack from the output of `netstat -ani'. - The node-local multicast address in the output of `netstat -rn' should be handled as well. Spotted by: Bernd Walter END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T15:56:03.682872Z K 7 svn:log V 164 MF8 r217553: The cxgb module wasn't being built. Now it is built on all !arm and !mips builds. It always built in a kernel config file. Approved by: re (bz) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-20T16:03:28.829687Z K 7 svn:log V 125 Fix a stack leak in r215345 when skipping over the ACPI menu item for machines that do not support ACPI. Submitted by: olli END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-20T17:03:09.760690Z K 7 svn:log V 173 Konrad Jankowski (versus@) will now be mentored by myself and Max Kohn (fjoe@) as Diomidis Spinellis (dds@) has handed his commit bit in for safekeeping. Approved by: core END K 10 svn:author V 7 ryusuke K 8 svn:date V 27 2011-01-20T17:28:57.038583Z K 7 svn:log V 41 Add myself to the list of doc commiters. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-20T17:41:24.800138Z K 7 svn:log V 902 MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to lack of documentation, re(4) didn't allow jumbo frame on these controllers. However it seems controller is confused with jumbo frame such that it can DMA the received frame to wrong address instead of splitting it into multiple RX buffers. Of course, this caused panic. Since re(4) does not support jumbo frames on these controllers, make controller drop frame that is longer than RE_RX_DESC_BUFLEN sized frame. Fortunately RTL810x controllers, which do not support jumbo frame, have no such issues but this change also limited maximum RX buffer size allowed to RTL810x controllers. Allowing 16KB RX buffer for controllers that have no such capability is meaningless. Approved by: re (bz) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-20T17:42:42.639829Z K 7 svn:log V 902 MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to lack of documentation, re(4) didn't allow jumbo frame on these controllers. However it seems controller is confused with jumbo frame such that it can DMA the received frame to wrong address instead of splitting it into multiple RX buffers. Of course, this caused panic. Since re(4) does not support jumbo frames on these controllers, make controller drop frame that is longer than RE_RX_DESC_BUFLEN sized frame. Fortunately RTL810x controllers, which do not support jumbo frame, have no such issues but this change also limited maximum RX buffer size allowed to RTL810x controllers. Allowing 16KB RX buffer for controllers that have no such capability is meaningless. Approved by: re (bz) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-20T18:26:33.493369Z K 7 svn:log V 259 Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change should fix lockup issue seen on AR8152 v1.1 PCIe Fast Ethernet controller. PR: kern/154076 MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-20T18:41:46.651553Z K 7 svn:log V 253 MFC r217511: Pull ieee80211_ratectl_node_init() calls from drivers into net80211. This fixes hostap mode for at least ral(4) and run(4), because there is no sufficient call into drivers which could be used initialize the node related ratectl variables. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T19:09:02.231565Z K 7 svn:log V 103 Collapse all the octeon ldscripts down into one now that we don't need one each for all the wacky ABIs END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T19:16:29.708314Z K 7 svn:log V 88 We don't need 2 versions here. One will do since binutils outputs the right stuff now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T19:17:05.015216Z K 7 svn:log V 51 Use simplified ldscripts rather than specific ones END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-20T19:20:10.659493Z K 7 svn:log V 49 Sync: merge r217434 through r217651 from ^/head. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T19:20:23.736016Z K 7 svn:log V 40 Remove commented out _DYNAMIC sections. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T19:24:50.571350Z K 7 svn:log V 88 In fact, we don't need any of these __DYNAMIC. it is a.out leftover and commented out. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T19:26:28.103520Z K 7 svn:log V 85 Don't need __DYNAMIC here. it is commented out and a.out only -- these are all ELF. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-01-20T20:22:19.904887Z K 7 svn:log V 98 Correct parsing of the grackle and uninorthpci ranges property. Approved by: nwhitehorn (mentor) END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-01-20T20:23:03.605692Z K 7 svn:log V 145 Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-20T21:11:45.586823Z K 7 svn:log V 194 In contrib/binutils/bfd/config.bfd, add proper targ_defvec and targ_selvecs for ia64. This is needed to let BFD select the correct default vector from our target triple "ia64-unknown-freebsd". END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-20T21:25:16.747209Z K 7 svn:log V 85 MFC r192784,192805: Free the memory correctly in the error case PR: misc/154152 END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T22:54:10.434784Z K 7 svn:log V 41 RAID1 is overloaded. Document how here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-20T22:58:10.530407Z K 7 svn:log V 47 No need to list an obsolete arm compiler here. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-20T23:34:59.747025Z K 7 svn:log V 222 Remove some compile-time options from the driver, particularly async IOBDMA support which is unused on FreeBSD and which complicates working on the code now, can easily be added back later by someone determined to use it. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-01-20T23:51:03.344011Z K 7 svn:log V 87 If there is no WQE available for a packet that needs segmentation, drop it and return. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:02:25.099369Z K 7 svn:log V 914 MFC: r217415 - Allow IFM_FLAG0 to be set indicating that auto-negotiation with manual configuration, which is used to work around issues with certain setups (see r161237) by default, should not be triggered as it may in turn cause harm in some edge cases. - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Announce PAUSE support also for manually selected 1000BASE-T, but for all manually selected media types only in full-duplex mode. Announce asymmetric PAUSE support only for manually selected 1000BASE-T. - Simplify setting the manual configuration bits to only once after we have figured them all out. This also means we no longer unnecessarily update the hardware along the road. - Remove a stale comment. Reviewed by: yongari (plus additional testing) Approved by: re (bz) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:02:27.745609Z K 7 svn:log V 914 MFC: r217415 - Allow IFM_FLAG0 to be set indicating that auto-negotiation with manual configuration, which is used to work around issues with certain setups (see r161237) by default, should not be triggered as it may in turn cause harm in some edge cases. - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Announce PAUSE support also for manually selected 1000BASE-T, but for all manually selected media types only in full-duplex mode. Announce asymmetric PAUSE support only for manually selected 1000BASE-T. - Simplify setting the manual configuration bits to only once after we have figured them all out. This also means we no longer unnecessarily update the hardware along the road. - Remove a stale comment. Reviewed by: yongari (plus additional testing) Approved by: re (bz) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-21T00:33:10.284826Z K 7 svn:log V 768 MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if ALLMULTI/PROMISC was changed. However, RX filter handling code assumed some bits of the RX filter is programmed by driver initialization. This caused ALLMULTI/PROMISC configuration is ignored under certain conditions. Fix that issue by reprogramming all bits of RX filter register. While I'm here follow recommended RX filter programming steps recommended by National DP8381[56] data sheet(RX filter should be is disabled before programming). Reported by: Paul Schenkeveld < freebsd () psconsult dot nl > Tested by: Paul Schenkeveld < freebsd () psconsult dot nl > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-21T00:35:34.000915Z K 7 svn:log V 768 MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if ALLMULTI/PROMISC was changed. However, RX filter handling code assumed some bits of the RX filter is programmed by driver initialization. This caused ALLMULTI/PROMISC configuration is ignored under certain conditions. Fix that issue by reprogramming all bits of RX filter register. While I'm here follow recommended RX filter programming steps recommended by National DP8381[56] data sheet(RX filter should be is disabled before programming). Reported by: Paul Schenkeveld < freebsd () psconsult dot nl > Tested by: Paul Schenkeveld < freebsd () psconsult dot nl > END