Ħ>194412 158 267 138 1109 853 212 373 586 1778 739 1489 2068 824 516 137 1412 204 163 235 178 929 241 187 179 105 148 392 189 229 245 155 290 224 196 154 368 196 553 368 156 170 150 146 659 127 146 140 147 489 457 159 415 415 121 133 145 149 113 790 162 122 122 131 601 398 1205 527 429 113 212 113 152 111 102 146 146 154 197 159 147 187 568 293 1087 207 173 1644 1795 173 165 121 207 114 213 328 157 157 311 136 138 134 338 479 334 150 616 156 143 181 207 1461 296 316 401 175 171 251 119 175 169 750 834 175 187 176 163 175 165 270 384 195 196 270 257 240 206 475 177 346 163 148 335 177 118 237 309 159 347 229 443 200 264 116 247 572 482 323 521 690 K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-18T02:51:43.549901Z K 7 svn:log V 171 Put parens around the definition of NGROUPS to avoid operator precedence bugs in code that uses it. Submitted by: Matthew Fleming END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-18T04:42:47.632222Z K 7 svn:log V 44 validate link before trying to send packets END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T04:47:40.635689Z K 7 svn:log V 1011 MFC r192708-192711: r192708: Use mii_phy_add_media() and remove usage of local macro ADD. Also checks extended status register to see whether the PHY is fast ethernet or not. This removes a lot of checks for specific PHY models and it makes easy to add more PHYs to e1000phy(4). While I'm here remove setting mii_anegticks as it is set with mii_phy_add_media(). r192709: Report current link state while auto-negotiation is in progress. r192710: Don't read unnecessary PHY registers. Speed/duplex resolution bit is valid only for auto-negotiation case so check the bit if we know auto-negotiation is active. While I'm here explicitly checks current speed with speed mask and set IFM_NONE if resolved speed is unknown. r192711: Do not ignore NEXT Page capability of auto-negotiation advertisement register. Some PHYs such as 88E3016 requires NEXT Page capability to establish valid link. Also set protocol selector field which is read only but it makes the intention clearer. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T04:51:07.932555Z K 7 svn:log V 756 MFC r192713: Add driver support for 88E3016 PHY which is found on Marvell Yukon FE+ controller. Due to the severe silicon bugs for Yukon FE+, 88E3016 seems to require more workarounds. However I'm not sure whether the workaround is PHY specific or only applicable to Yukon FE+. The datasheet for the PHY is publicly available but it lacks several details for the workaround used in this change. The workaround information was obtained from Linux. Many thanks to Yukon FE+ users who helped me add 88E3016 support. Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com ) Bruce Cran ( bruce <> cran dot org dot uk ) Michael Reifenberger ( mike <> reifenberger dot com ) Stephen Montgomery-Smith ( stephen <> missouri dot edu ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T04:55:04.890057Z K 7 svn:log V 115 MFC r193289: Don't assume page register value is 0 and restore previous page register after issuing 'powerup'. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T04:58:04.883379Z K 7 svn:log V 276 MFC r193291: Program LED registers for 88E1116/88E1149 PHYs. These PHYs are found on Marvell Yukon Ultra, Marvell Yukon Extreme controllers. While I'm here explicitly issue 'powerup' command for 88E1149 PHY. Tested by: jhb, Warren Block ( wblock <> wonkity dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:06:25.316403Z K 7 svn:log V 489 MFC r192716,192718-192720 r192716: Remove link handling taskqueue and use mii callback directly. While I'm here also checks driver running state. r192718: Use bit definition to represent link state, device suspend instead of using separate variables in softc. r192719: Use bit definition to represent MSI and detach state instead of using separate variables in softc. r192720: Correctly return the result of mii_mediachg(). Previously it always used to return success. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:16:19.162865Z K 7 svn:log V 1680 MFC r192723-192728,192731 r192723: Rather than checking every chip revision, introduce more flags to mark controller's capability. Controllers that have jumbo frame support sets MSK_FLAG_JUMBO, and controllers that does not support checksum offloading for jumbo frames will set MSK_FLAG_JUMBO_NOCSUM. For Fast Ethernet controllers it will set MSK_FLAG_FASTETHER and it would be used in link state handling. While here, disable Tx checksum offloading if jumbo frame is used on controllers that does not have Tx checksum offloading capability for jumbo frame(e.g. Yukon EC Ultra). r192724: Caller already hold a driver lock in mii callback, assert it. r192725: Add missing ~ operator. r192726: Add support for newer descriptor format. This format is used on Yukon FE+, Yukon Extreme and Yukon Supreme. r192727: Explicitly check resolved speed/duplex. Just checking IFM_ACTIVE does not guarantee established link. Also 1000baseT link report for fast ethernet controller is not valid one so make sure gigabit link is allowed for this controller. Whenever we lost link, check whether Rx/Tx MACs were enabled. If both MAC are not active, do not try to disable it again. r192728: Disable HW WOL for Yukon EC Ultra. While I'm here use switch statement over if-else statement. This change will make it easy to add newer Yukon controllers. r192731: Explicitly reset GMAC Controls and initialize GM_GP_CTRL register. The GM_GP_CTRL register may have stale content from previous link information so clearing it will make hardware update the register correctly when it established a valid link. While I'm here remove stale comment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:20:02.285810Z K 7 svn:log V 642 MFC r192734: Add preliminary Yukon FE+ support and register definitions. Yukon FE+ is fast ethernet controller and uses new descriptor format. Since I don't have this controller, the support code was written from guess and various feedback from enthusiastic users. Thanks to all users who patiently tested my initial patches. Special thanks to Tanguy Bouzeloc who fixed critical bug of initial patch. Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com ) Bruce Cran ( bruce <> cran dot org dot uk ) Michael Reifenberger ( mike <> reifenberger dot com ) Stephen Montgomery-Smith ( stephen <> missouri dot edu ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:29:30.166967Z K 7 svn:log V 1391 MFC r192735-192740,192742: Add workaround for Yukon FE+ A0. This controller is known to have severe silicon bugs that can't handle VLAN hardware tagging as well as status LE writeback bug. The status LE writeback bug is so critical we can't trust status word of received frame. To accept frames on Yukon FE+ A0 msk(4) just do minimal check for received frames and pass them to upper stack. This means msk(4) can pass corrupted frames to upper layer. You have been warned! Also I supposed RX_GMF_FL_THR to be 32bits register but Linux driver treated it as 16bit register so follow their leads. At least this does not seem to break msk(4) on Yukon FE+. Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com ) Bruce Cran ( bruce <> cran dot org dot uk ) Michael Reifenberger ( mike <> reifenberger dot com ) Stephen Montgomery-Smith ( stephen <> missouri dot edu ) r192736: Add device ids for Yukon FE+(88E8040, 88E8040T, 88E8048 and 88E8070). r192737: If interface is not UP, don't return media status. r192738: Don't reinitialize controller when interface is already running. r192739: Be consistent with other capability checking. r192740: Simplify SIOCSIFFLAGS handler. r192742: Correct controller description for 88E8035, 88E8036, 88E8038 and 88E8039. These are fast ethernet controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:46:33.036626Z K 7 svn:log V 1970 MFC r193293-193294: r193293: Add preliminary Yukon Extreme support and register definitions. Yukon Extreme uses new descriptor format for TSO and has Tx frame parser which greatly reduces CPU cycles spent in computing TCP/UDP payload offset calculation in Tx checksum offloading path. The new descriptor format also removed TCP/UDP payload computation for TSO which in turn results in better TSO performance. It seems Yukon Extreme has a lot of new (unknown) features but only basic offloading is supported at this time. So far there are two known issues. o Sometimes Rx overrun errors happen when pulling data over gigabit link. Running over 100Mbps seem to ok. o Ethernet hardware address shows all-zeroed value on 88E8070. Assigning ethernet address with ifconfig is necessary to make it work. Support for Yukon Extreme is not perfect but it would be better than having a non-working device. Special thanks to jbh who fixed several bugs of initial patch. Tested by: jhb, Warren Block ( wblock <> wonkity dot com ) r193294: Add frame parser capability of Yukon FE+ and Yukon Extreme. With this feature hardware automatically computes TCP/UDP payload offset. Introduce MSK_FLAG_AUTOTX_CSUM to mark the capability. Yukon Extreme B0 revision is known to have a silicon for the feature so disable it. Yukon Extreme B0 still can do Tx checksum offloading but CPU have to compute TCP/UDP payload offset. To enable traditional checksum offloading, disable automatic Tx checksum calculation capability. Yukon Extreme A0 revision could not use store-and-forward mode for jumbo frames(silicon bug) so disable Tx checksum offloading for jumbo frames. I believe controllers that have MSK_FLAG_AUTOTX_CSUM capability or new descriptor format do not have Tx checksum offload bug so disable checksum offloading workaround for for short frames. Tested by: jhb, Warren Block ( wblock <> wonkity dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:50:45.951100Z K 7 svn:log V 727 MFC r193298-193299: r193298: Add Rx checksum offloading support for Yukon FE+ and Yukon Extreme. These controllers use newer descriptor format and the new descriptor format uses status LE to indicate the status of checksum. Rx checksummed value used in previous controllers were very cryptic and I failed to understand how to use them. In addition most controllers in previous generations had Rx checksum offloading bug. While I'm here introduce a MSK_FLAG_NORX_CSUM flag to bypass checking Rx checksum offloading as Yukon FE+ A0 has status LE bug. r193299: Add Yukon Extreme device ids, 88E8071 and 88E8072. While I'm here correct description of 88E8070. 88E8070 is Yukon Extreme and have gigabit PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T05:56:12.006799Z K 7 svn:log V 419 MFC r192741,192743,193300 r192741: msk(4) now supports Yukon FE+. Specifically 88E8040, 88E8040T, 88E8048 and 88E8070 are supported. r192743: Correct controller description for 88E8035, 88E8036, 88E8038 and 88E8039. These are fast ethernet controllers. r193300: Add 88E8071, 88E8072 to the supported hardware list. While I'm here correct description of 88E8070. It's Yukon Extreme and have gigabit PHY. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-18T05:56:24.942862Z K 7 svn:log V 45 Fix some of the style errors in *getpages(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T06:03:58.489503Z K 7 svn:log V 1314 MFC 193880,193887: r193880: Add alc(4), a driver for Atheros AR8131/AR8132 PCIe ethernet controller. These controllers are also known as L1C(AR8131) and L2C(AR8132) respectively. These controllers resembles the first generation controller L1 but usage of different descriptor format and new register mappings over L1 register space requires a new driver. There are a couple of registers I still don't understand but the driver seems to have no critical issues for performance and stability. Currently alc(4) supports the following hardware features. o MSI o TCP Segmentation offload o Hardware VLAN tag insertion/stripping o Tx/Rx interrupt moderation o Hardware statistics counters(dev.alc.%d.stats) o Jumbo frame o WOL AR8131/AR8132 also supports Tx checksum offloading but I disabled it due to stability issues. I'm not sure this comes from broken sample boards or hardware bugs. If you know your controller works without problems you can still enable it. The controller has a silicon bug for Rx checksum offloading, so the feature was not implemented. I'd like to say big thanks to Atheros. Atheros kindly sent sample boards to me and answered several questions I had. HW donated by: Atheros Communications, Inc. r193887: fix directory name. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T06:07:58.594654Z K 7 svn:log V 107 MFC 193881,193883: r193881: Add alc(4) to the list of supported network interface. r193883: Fix typo. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-18T06:09:47.218133Z K 7 svn:log V 67 MFC r193882 Add alc(4) man page and hook up alc(4) to the build. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-18T07:27:11.760114Z K 7 svn:log V 142 Add support for UMA_SLAB_KERNEL to page_free(). (While I'm here remove an unnecessary newline character from the end of two panic messages.) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-18T09:55:26.973002Z K 7 svn:log V 83 Print ACL messages only when ACL bit is set. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-18T10:39:08.519265Z K 7 svn:log V 832 Allow building world into a separate dir (for reuse in multiple images): - buildworld and buildkernel are built into MAKEOBJDIRPREFIX - installworld and installkernel are performed on NANO_OBJ. No change of functionality if MAKEOBJDIRPREFIX is not set. If it is sea,t clean_world deletes NANO_OBJ instead of NANO_WORLDDIR. By starting nanobsd.sh with the -b option the existing world can be reused to build a new world reducing time and disk space considerably. While there: - Fix two cases where (in comments) MAKEOBJDIRPREFIX should have been NANO_DISKIMGDIR. - Simplify an 'if (not wrong); then true; else action; fi' into 'if wrong; then action; fi'. 'if ! false; then echo hello; fi' produces hello. Note: Make sure you use NANO_OBJ were you use MAKEOBJDIRPREFIX now in your nanobsd.conf files if you want to split out. END K 10 svn:author V 6 cokane K 8 svn:date V 27 2009-06-18T11:12:10.837071Z K 7 svn:log V 145 Replace use of ic->ic_flags with vap->iv_flags to operate on per-vap flags for ndis 802.11 work. Submitted by: Paul B. Mahol END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-06-18T11:12:11.747489Z K 7 svn:log V 92 Fix tabs, slightly improve comments. Approved by: gnn (mentor) (original) Noticed by: stas END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-18T11:15:49.541358Z K 7 svn:log V 84 Flush the HWMP routing table upon SCAN state. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-18T11:16:23.933467Z K 7 svn:log V 10 fix build END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-18T11:17:12.636673Z K 7 svn:log V 53 Style changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-18T11:35:29.640636Z K 7 svn:log V 295 Reverse some stuff I accidentally committed in the previous commit: - creation of sparse files to speed up the build process. This was discussed with phk 2 years ago and he disagreed with this change. - handling of negative data partition sizes. Can I have the ... green pointy hat, please? END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-18T11:53:43.685923Z K 7 svn:log V 94 Consult the MAC ACL list just once at the proper place. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-18T12:04:32.297627Z K 7 svn:log V 137 Turn powl() into a real function. It turns out an inline function doesn't work too well, so we'd better just add a real symbol to libm. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-18T13:56:10.472963Z K 7 svn:log V 148 - Don't hard code _.disk.full. Use the variable. - _.bk should be created in MAKEOBJDIRPREFIX as well - Remove a misplaced and unnecessary message. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T14:20:58.240469Z K 7 svn:log V 63 Allow access to vendor/opensolaris and vendor-sys/opensolaris. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T14:59:09.888515Z K 7 svn:log V 197 Move the OpenSolaris vendor sources from vendor-cddl into vendor/opensolaris (for userland bits) and vendor-sys/opensolaris (for kernel bits) and flatten the trees. Discussed with: peter, jb, gnn END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T15:08:37.896976Z K 7 svn:log V 131 Replicate change committed to CVS HEAD (but not to the vendor branch in CVS) of removing kernel-only files from the userland area. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-06-18T15:27:27.771144Z K 7 svn:log V 100 MFC r168595 and r180603: Eliminate memory leak from an accidental malloc(). Use %zd for size_t. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T15:41:11.277727Z K 7 svn:log V 62 Remove svn:keywords property from OpenSolaris vendor sources. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T15:57:57.098194Z K 7 svn:log V 275 Import newer versions of these files from a 20080410 checkout of OpenSolaris. Our local diffs to these files in HEAD already contain all these changes (and in fact seem to be based on these versions of the files). It seems the vendor branch just has older versions somehow. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-06-18T16:40:00.059439Z K 7 svn:log V 103 Since the width is always 2, it is enough to put just one trailing space is enough. MFC after: 1 week END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-06-18T17:10:43.833046Z K 7 svn:log V 460 Re-do r192913 in less intrusive way. Only do IP_RECVDSTADDR/IP_SENDSRCADDR dace for UPDv4 sockets bound to INADDR_ANY. Move the code to set IP_RECVDSTADDR/IP_SENDSRCADDR into svc_dg.c, so that both TLI and non-TLI users will be using it. Back out my previous commit to mountd. Turns out the problem was affecting more than one binary so it needs to me addressed in generic rpc code in libc in order to fix them all. Reported by: lstewart Tested by: lstewart END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T17:11:24.083394Z K 7 svn:log V 275 Import newer versions of these files from a 20080410 checkout of OpenSolaris. Our local diffs to these files in HEAD already contain all these changes (and in fact seem to be based on these versions of the files). It seems the vendor branch just has older versions somehow. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T17:25:38.450427Z K 7 svn:log V 64 Import the lockstat(1) sources from OpenSolaris as of 20080410. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T17:26:56.833658Z K 7 svn:log V 78 Tag OpenSolaris 20040810b to include old file fixups and lockstat(1) sources. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T17:33:07.824588Z K 7 svn:log V 58 Tag OpenSolaris-sys 20080410a to include old file fixups. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T17:44:42.949390Z K 7 svn:log V 54 Bootstrap mergeinfo for the OpenSolaris contrib bits. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-18T17:59:04.965484Z K 7 svn:log V 566 Utilize the new function kmem_alloc_contig() to implement the UMA back-end allocator for the jumbo frames zones. This change has two benefits: (1) a custom back-end deallocator is no longer required. UMA's standard deallocator suffices. (2) It eliminates a potentially confusing artifact of using contigmalloc(): The malloc(9) statistics contain bogus information about the usage of jumbo frames. Specifically, the malloc(9) statistics report all jumbo frames in use whereas the UMA zone statistics report the "truth" about the number in use vs. the number free. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-06-18T19:41:04.046345Z K 7 svn:log V 35 IFC sync with the head of the tree END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-06-18T19:45:22.460370Z K 7 svn:log V 54 Import vendor version of fasttrap.c for modification. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-06-18T19:55:59.511336Z K 7 svn:log V 48 Import fasttrap_impl.h header from OpenSolaris. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-06-18T19:58:05.170173Z K 7 svn:log V 55 IFC grab the newly imported fasttrap_impl header file. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-18T20:42:37.899317Z K 7 svn:log V 392 Track the kernel mapping of a physical page by a new entry in vm_page structure. When the page is shared, the kernel mapping becomes a special type of managed page to force the cache off the page mappings. This is needed to avoid stale entries on all ARM VIVT caches, and VIPT caches with cache color issue. Submitted by: Mark Tinguely Reviewed by: alc Tested by: Grzegorz Bernacki, thompsa END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T20:56:22.138404Z K 7 svn:log V 364 Fix a deadlock in the getpeername() method for UNIX domain sockets. Instead of locking the local unp followed by the remote unp, use the same locking model as accept() and read lock the global link lock followed by the remote unp while fetching the remote sockaddr. Reported by: Mel Flynn mel.flynn of mailing.thruhere.net Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-18T21:15:41.082792Z K 7 svn:log V 64 ieee80211_dwds_mcast(): check the correct mbuf ptr after encap. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T21:17:04.466346Z K 7 svn:log V 322 MFC: Fix overflow edge cases with comparing ticks to t_rcvtime including fixing the TCP keepalive timer to work properly when ticks overflows from INT_MAX to INT_MIN. Note that to preserve the ABI this change just downcasts t_rcvtime to an int when it is subtracted from ticks rather than changing the type of t_rcvtime. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-18T21:24:23.432950Z K 7 svn:log V 322 MFC: Fix overflow edge cases with comparing ticks to t_rcvtime including fixing the TCP keepalive timer to work properly when ticks overflows from INT_MAX to INT_MIN. Note that to preserve the ABI this change just downcasts t_rcvtime to an int when it is subtracted from ticks rather than changing the type of t_rcvtime. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-18T22:17:25.406590Z K 7 svn:log V 27 make gdtset visible for UP END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-18T22:33:03.215505Z K 7 svn:log V 39 don't return side effect of assignment END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-18T22:41:43.049018Z K 7 svn:log V 51 increase number of file descriptors for the loader END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-18T23:16:31.685299Z K 7 svn:log V 55 use shared lockmgr locks for range-locked file systems END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T04:25:44.167621Z K 7 svn:log V 19 use shared lockmgr END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-19T04:43:49.092662Z K 7 svn:log V 695 - Mark temp variable as "earlyclobber" in assembler inline in atomic_fetchadd_32. Without it gcc would use it as input register for v and sometimes generate following code for function call like atomic_fetchadd_32(&(fp)->f_count, -1): 801238b4: 2402ffff li v0,-1 801238b8: c2230018 ll v1,24(s1) 801238bc: 00431021 addu v0,v0,v1 801238c0: e2220018 sc v0,24(s1) 801238c4: 1040fffc beqz v0,801238b8 801238c8: 00000000 nop Which is definitly wrong because if sc fails v0 is set to 0 and previous value of -1 is overriden hence whole operation turns to bogus END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-19T05:00:17.628160Z K 7 svn:log V 68 - Flush PCI register write before delay Spotted by: Pyun YongHyeon END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T05:14:45.916479Z K 7 svn:log V 28 remove stale ppp references END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T05:15:19.090113Z K 7 svn:log V 28 remove redundant xdr header END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T05:18:43.872918Z K 7 svn:log V 37 define LIBZFS in the non MK_ZFS case END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T07:18:45.919951Z K 7 svn:log V 506 The "original" PR said that there were two issues with the motd (Eyes of the daemon not synced and the motd not displayed properly on black-on-white screens): The first one was not valid anymore since the text and logo were swapped already, the second one is fixed by resetting the whole colourscheme instead of only the background colour. (also removed svn:keywords from motd since it doesn't have the string $FreeBSD$ in it) PR: misc/15876 Submitted by: peter.jeremy@ALCATEL.COM.AU MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T07:34:30.596465Z K 7 svn:log V 303 MFC of 194055 French translations for keyboards keymaps descriptions French translations for keyboards keymaps descriptions with some corrections on existing translations in the /usr/share/syscons/keymaps/INDEX.keymaps PR: conf/71767 Submitted by: Henri Michelon END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T07:37:37.282676Z K 7 svn:log V 1109 MFC of 194084 Add various new keymaps: addition: danish syscons keymap with accents There are two danish keymap files shipping with FreeBSD: danish.iso.kbd and danish.cp865.kbd. None of these support accents by use of dead keys, which isn't crucial to Danes but often used. This is a new keymap, danish.iso.acc.kbd, that's based on danish.iso.kbd with the accent part taken from german.iso.acc.kbd. pl_PL.dvorak keymap for syscons. Polish dvorak keymap by Robert Sebastian Gerus (17:05 01-07-2006 CEST) . Based on pl_PL.ISO-8859-2 and us.dvorak keymaps. British English Dvorak keymap for syscons. Attached is a Dvorak keymap for British English, with a pound-sterling symbol on on Shift-3 and some other characters in different places to the US Dvorak keymap. I've based the layout on the X.org GB keymap, Dvorak variant. PR: conf/72978, kern/99692, conf/117257 Submitted by: Kim Norgaard , Robert Sebastian Gerus , "Benjamin A'Lee" END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T07:42:49.768168Z K 7 svn:log V 432 MFC of 194085 Fix printing of some wide-characters by iswprint() on ja_JP.eucJP and ja_JP.SJIS locale The iswprint() function does not return non-zero if used for some wide-character that it code was 0x824f-0x8258 on ja_JP.SJIS and 0xa3b0-0xa3b9 on ja_JP.eucJP locale. But those are right Japanese wide-character code. PR: conf/124511 Submitted by: Michihiro NAKAJIMA END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T07:46:20.326088Z K 7 svn:log V 334 MFC of 194088 Fix typo in cons25l7 definition in etc/termcap.small and share/termcap There is a minor typo in the cons25l7 (':' instead of '|') entry in src/etc/termcap.small that causes syscons to complain about bogus characters in /etc/termcap.db. PR: conf/132777 Submitted by: Nikos Ntarmos END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:21:39.065319Z K 7 svn:log V 19 Tag of tzdata2009i END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:23:10.236412Z K 7 svn:log V 117 Vendor import of tzdata2009j - Official start of Bangladesh DST start. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:23:47.874040Z K 7 svn:log V 19 Tag of tzdata2009j END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:28:57.242607Z K 7 svn:log V 58 MFV of tzdata2009i: - Fix beginning of DST of Bangladesh END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:30:31.482940Z K 7 svn:log V 17 Fix previous tag END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:31:07.635070Z K 7 svn:log V 9 Fix tag. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:52:07.984704Z K 7 svn:log V 52 MFV of r194480 - Official start of Bangladesh DST. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-19T11:59:24.096493Z K 7 svn:log V 52 MFC of 194485 - Fix beginning of DST of Bangladesh END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T12:46:08.881243Z K 7 svn:log V 59 Remove MBSS check. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T12:47:13.525355Z K 7 svn:log V 101 Broadcast multicast frames across the mesh. XXX still crashes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T12:49:15.545972Z K 7 svn:log V 64 Fix typo in previous rev. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T12:51:32.373159Z K 7 svn:log V 52 Another typo. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T13:08:49.591528Z K 7 svn:log V 92 Don't call classify as it expects an ethernet header. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-19T15:31:40.354591Z K 7 svn:log V 476 MFC: r187413,187486,190514 Reduce the impact of svnversion. Just scan the src/sys tree, not all of src. Initially done by peter in 183528, backed out in 183566 due to problems with newvers.sh also called from other places during world build. Those two commits were not MFCed. A working solution was put back in in the MFCed r190514. Also strip the machine arch from SRCDIR in case it is a cross build so svnversion works, done by thompsa r187413,187486. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T15:52:35.593760Z K 7 svn:log V 197 When checking if we can write to a file, use access() instead of a manual permission check based on stat output. Also, get rid of the executability check since it is not used. MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T15:58:24.963671Z K 7 svn:log V 991 In preparation for raising NGROUPS and NGROUPS_MAX, change base system callers of getgroups(), getgrouplist(), and setgroups() to allocate buffers dynamically. Specifically, allocate a buffer of size sysconf(_SC_NGROUPS_MAX)+1 (+2 in a few cases to allow for overflow). This (or similar gymnastics) is required for the code to actually follow the POSIX.1-2008 specification where {NGROUPS_MAX} may differ at runtime and where getgroups may return {NGROUPS_MAX}+1 results on systems like FreeBSD which include the primary group. In id(1), don't pointlessly add the primary group to the list of all groups, it is always the first result from getgroups(). In principle the old code was more portable, but this was only done in one of the two places where getgroups() was called to the overall effect was pointless. Document the actual POSIX requirements in the getgroups(2) and setgroups(2) manpages. We do not yet support a dynamic NGROUPS, but we may in the future. MFC after: 2 weeks END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-19T16:27:41.341472Z K 7 svn:log V 113 - MFC r187395-187397,193377,193382,193390,193628. Add support for inode sizes other than 128 bytes. Cleanup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-19T17:07:15.889568Z K 7 svn:log V 81 MFC: mfi(4) supports the LSI MegaRAID SAS 1078 and Dell PERC6. PR: docs/135712 END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-19T17:07:38.200634Z K 7 svn:log V 1548 When running pkg_add -r, check & install our dependencies for each package rather than expecting our top level package to get all of the dependencies correct. Previously, the code depended on the top level package having all of the pkgdep lines in +CONTENTS correct and in the right order, but that doesn't always happen due to code such as this (in security/gnutls/Makefile): .if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO) LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2 .... With such conditional dependencies, my 'sophox-packages' package won't install. The dependency tree looks like this: sophox-packages ... x11/gnome2 x11/gnome-applets net/libgweather devel/libsoup security/gnutls security/libgcrypt security/libgpg-error ... x11/gnome2 archivers/file-roller archivers/gtar archivers/lzop archivers/lzo2 ... gnutls doesn't depend on lzo2 initially, but lzo2 is dragged into the mix via other dependencies and is built by the initial 'make'. The subsequent package generation for gnutls adds a pkgdep line for lzo2 to gnutls' +CONTENTS but the pkgdeps in sophox-packages' +CONTENTS has gnutls *before* lzo2. As a result, sophox-packages cannot install; gnutls fails because lzo2 is missing, 82 more packages fail because gnutls is missing and the whole thing spirals into a super-confusing mess! MFC after: 3 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T17:10:35.963272Z K 7 svn:log V 1698 Rework the credential code to support larger values of NGROUPS and NGROUPS_MAX, eliminate ABI dependencies on them, and raise the to 1024 and 1023 respectively. (Previously they were equal, but under a close reading of POSIX, NGROUPS_MAX was defined to be too large by 1 since it is the number of supplemental groups, not total number of groups.) The bulk of the change consists of converting the struct ucred member cr_groups from a static array to a pointer. Do the equivalent in kinfo_proc. Introduce new interfaces crcopysafe() and crsetgroups() for duplicating a process credential before modifying it and for setting group lists respectively. Both interfaces take care for the details of allocating groups array. crsetgroups() takes care of truncating the group list to the current maximum (NGROUPS) if necessary. In the future, crsetgroups() may be responsible for insuring invariants such as sorting the supplemental groups to allow groupmember() to be implemented as a binary search. Because we can not change struct xucred without breaking application ABIs, we leave it alone and introduce a new XU_NGROUPS value which is always 16 and is to be used or NGRPS as appropriate for things such as NFS which need to use no more than 16 groups. When feasible, truncate the group list rather than generating an error. Minor changes: - Reduce the number of hand rolled versions of groupmember(). - Do not assign to both cr_gid and cr_groups[0]. - Modify ipfw to cache ucreds instead of part of their contents since they are immutable once referenced by more than one entity. Submitted by: Isilon Systems (initial implementation) X-MFC after: never PR: bin/113398 kern/133867 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-19T17:11:59.030643Z K 7 svn:log V 81 MFC: mfi(4) supports the LSI MegaRAID SAS 1078 and Dell PERC6. PR: docs/135712 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-19T17:54:55.121452Z K 7 svn:log V 73 Remove mergeinfo from this file, it is a subset of the parent mergeinfo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-19T17:59:29.784381Z K 7 svn:log V 29 Move mergeinfo up to parent. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-19T18:18:09.801227Z K 7 svn:log V 114 MFC: Update the inline version of vn_vget_ino() for ".." lookups to match the recentish changes to vn_vget_ino(). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T18:42:13.468426Z K 7 svn:log V 19 MFH r194301-194502 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T18:56:05.208616Z K 7 svn:log V 117 Fix problems in previous incarnation of mcast forwarding. XXX not finished yet Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-19T19:02:40.451954Z K 7 svn:log V 233 - Keep interrupts mask intact by RESTORE_CPU in MipsKernGenException trap() function re-enables interrupts if exception happened with interrupts enabled and therefor status register might be modified by interrupt filters END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T19:12:14.176110Z K 7 svn:log V 62 Document crcopysafe() and crsetgroups(). Reminded by: julian END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T19:16:35.347675Z K 7 svn:log V 62 Document crcopysafe() and crsetgroups(). Reminded by: julian END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-19T19:28:21.785528Z K 7 svn:log V 214 Two fixes for SMALL case when compiling with WARNS=6: - Reduce scope where return value can be referenced. - Add a dummy access to timestamp to silence warning. Submitted by: Mingyan Guo END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T19:59:43.473072Z K 7 svn:log V 42 add flag for per-packet multipath routing END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T20:05:09.918819Z K 7 svn:log V 44 add per-packet support to rtalloc_mpath_fib END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T20:05:34.120108Z K 7 svn:log V 40 add per-packet support to route command END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-06-19T20:31:44.753385Z K 7 svn:log V 244 Implement the -z (zero counters) option for the various bpf counters. Add necessary changes to the kernel for this (basically introduce a bpf_zero_counters() function). As well, update the man page. MFC after: 1 month Discussed with: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-19T21:01:55.013327Z K 7 svn:log V 387 Move setting of ports from NAT-T below key_getsah() and actually below key_setsaval(). Without that, the lookup for the SA had failed as we were looking for a SA with the new, updated port numbers instead of the old ones and were comparing the ports in key_cmpsaidx(). This makes updating the remote -> local SA on the initiator work again. Problem introduced with: p4 changeset 152114 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-19T21:11:09.296088Z K 7 svn:log V 238 Use insertion sort of sort supplemental groups in crsetgroups(). Take advantage of this an reimplement groupmember() as a test against cr_group[0] followed by a binary search of the supplemental groups. Seems to work in trivial testing. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T21:14:39.105885Z K 7 svn:log V 56 define helper routines for deferred mbuf initialization END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-19T22:09:55.177892Z K 7 svn:log V 520 Fix some issues with quoted output and shorten it in some cases. Output quoted suitable for re-input to the shell occurs in various cases such as 'set', 'trap'. Bugfix: *, ? and [ must be quoted (except sole [) Bugfix: ~ and # must be quoted (really only sometimes, but keep it simple) Bugfix: space, tab and newline must always be quoted Shortening: other IFS characters do not need quoting Bugfix: send to correct output file, not hard-coded stdout Shortening: avoid unnecessary '' with \' Approved by: ed (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-19T22:15:59.759619Z K 7 svn:log V 61 Add tests for r194406 and r194516. Approved by: ed (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T23:11:20.267006Z K 7 svn:log V 49 add helper function for flushing software queues END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-19T23:28:26.024607Z K 7 svn:log V 87 - set -mabicalls and -msoft-float as a default in order to simplify building ports END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-19T23:30:09.948629Z K 7 svn:log V 111 * Don't forward locally generated frames. * Bump the refcnt before xmit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-19T23:34:32.139003Z K 7 svn:log V 1365 Greatly simplify cxgb by removing almost all of the custom mbuf management logic - remove mbuf iovec - useful, but adds too much complexity when isolated to the driver - remove driver private caching - insufficient benefit over UMA to justify the added complexity and maintenance overhead - remove separate logic for managing multiple transmit queues, with the new drbr routines the control flow can be made to much more closely resemble legacy drivers - remove dedicated service threads, with per-cpu callouts one can get the same benefit much more simply by registering a callout 1 tick in the future if there are still buffered packets - remove embedded mbuf usage - Jeffr's changes will (I hope) soon be integrated greatly reducing the overhead of using kernel APIs for reference counting clusters - add hysteresis to descriptor coalescing logic - add coalesce threshold sysctls to allow users to decide at run-time between optimizing for forwarding / UDP or optimizing for TCP - add once per second watchdog to effectively close the very rare races occurring from coalescing - incorporate Navdeep's changes to the initialization path required to convert port and adapter locks back to ordinary mutexes (silencing BPF LOR complaints) - enable prefetches in get_packet and tx cleaning Reviewed by: navdeep@ MFC after: 2 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2009-06-20T00:04:48.562178Z K 7 svn:log V 204 Make puc(4) aware of this 2 port serial card based on NetMos 9835: puc0@pci0:4:1:0: class=0x070002 card=0x00021000 chip=0x98359710 rev=0x01 hdr=0x00 Reviewed by: marcel@ Approved by: gnn (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-20T00:54:57.134584Z K 7 svn:log V 218 Change the size of the nfsc_groups[] array in the experimental nfs client to RPCAUTH_UNIXGIDS + 1 (17), since that is what can go on the wire for AUTH_SYS authentication. Reviewed by: brooks Approved by: kib (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-06-20T05:36:53.466094Z K 7 svn:log V 305 Drop the high FP state of an exiting thread in cpu_thread_exit() and not in cpu_exit(). The latter is called after td_md.md_highfp_mtx has been destroyed, which results in a race condition when another thread wants to use the high FP registers on the CPU that still has the high FP registers in question. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-06-20T06:02:21.174542Z K 7 svn:log V 78 Fix "tar --options=iso9660:joliet" and other uses of format-specific options. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-20T08:46:40.296270Z K 7 svn:log V 78 - Include rpcv2.h before other NFS includes. That allows nfscbd to compile. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-20T08:54:03.873256Z K 7 svn:log V 156 MFC of 194107 Sync termcap.small with main termcap; add xterm entry for libteken PR: conf/135530 Submitted by: Alex Kozlov END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-20T10:06:10.701374Z K 7 svn:log V 27 Reword. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-20T10:09:59.838057Z K 7 svn:log V 83 Rewrap; this was getting painful. Translators can ignore this. MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T12:02:56.919656Z K 7 svn:log V 74 Remove code for sta in list_mesh(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-06-20T14:16:41.213110Z K 7 svn:log V 657 Allow order of initialization of loaded shared objects to be altered through their .init code. This might happen if init vector calls dlopen on its own and that dlopen causes some not yet initialized object to be initialized earlier as part of that dlopened DAG. Do not reset module reference counts to zero on final fini vector run when process is exiting. Just add an additional parameter to force fini vector invocation regardless of current reference count value if object was not destructed yet. This allows dlclose called from fini vector to proceed normally instead of failing with handle validation error. Reviewed by: kib Reported by: venki kaps END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-20T14:50:32.231309Z K 7 svn:log V 742 Improve nested jail awareness of devfs by handling credentials. Now that we start to use credentials on character devices more often (because of MPSAFE TTY), move the prison-checks that are in place in the TTY code into devfs. Instead of strictly comparing the prisons, use the more common prison_check() function to compare credentials. This means that pseudo-terminals are only visible in devfs by processes within the same jail and parent jails. Even though regular users in parent jails can now interact with pseudo-terminals from child jails, this seems to be the right approach. These processes are also capable of interacting with the jailed processes anyway, through signals for example. Reviewed by: kib, rwatson (older version) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T15:51:26.468554Z K 7 svn:log V 80 Use the correct rate. Pointed out by: sam Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-20T15:54:35.961734Z K 7 svn:log V 96 Chase the removal of PRIV_TTY_PRISON in the mac(9) modules. Reported by: kib Pointy hat to: me END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T15:58:23.713748Z K 7 svn:log V 81 Don't forward rexmits. Pointed out by: sam Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-20T16:30:32.128495Z K 7 svn:log V 72 Improve sentence and add reference to openpty(3). Add missing newlines. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-20T16:37:24.653415Z K 7 svn:log V 79 Don't panic if drm_rmmap is called with a NULL map pointer. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-20T16:39:25.808231Z K 7 svn:log V 74 Add placeholder to prevent reuse of privilege 254. Requested by: rwatson END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-20T16:40:48.106389Z K 7 svn:log V 173 realloc() behaves identically to malloc when passed a NULL object pointer If an error does occur we would have left max_context with an incorrect value. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-20T16:45:14.342077Z K 7 svn:log V 287 The G45 docs indicate that all G4X chips use the new framecount register. Intel agrees with my reading of the docs, make it so for all G4X chips. The new register also has a 32 bit width as opposed to 24 bits. Fix things up so that the counters roll over properly. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-20T17:11:07.391162Z K 7 svn:log V 98 Replace RPCAUTH_UNIXGIDS with NFS_MAXGRPS so that nfscbd.c will build. Approved by: kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-20T17:16:29.050344Z K 7 svn:log V 99 Delete the declaration of an unused variable so that it will build. Approved by: rwatson (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T17:28:38.374864Z K 7 svn:log V 173 Don't lock sockets around calls to mac_socket_create_mbuf() -- policies are now expected to acquire the socket lock if they require them. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T17:42:53.936770Z K 7 svn:log V 160 Invoke the MAC Framework's mac_socket_create_mbuf() entry point when generating IPX output for raw and datagram IPX sockets. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T17:44:04.046922Z K 7 svn:log V 143 Invoke the MAC Framework's mac_socket_create_mbuf() entry point when generating IPX output for SPX sockets. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T18:13:20.151238Z K 7 svn:log V 109 Up the scale of the SPX loopback check a bit: use much larger data sizes so that we need to do segmentation. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T18:24:25.534498Z K 7 svn:log V 378 Rework SPX segment reassembly, which was originally based on our TCP reassembly but failed to be modernized over time: - Use queue(9). - Specifically allocate queue entries of type M_SPXREASSQ to point at member mbufs, rather than casting mbuf data to 'spx_q'. - Maintain the mbuf pointer as part of the queue entry so that we can later free the mbuf without using dtom(). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-20T18:24:29.379520Z K 7 svn:log V 82 Restore the check against running as root that I accidentally removed in r194493. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T18:27:19.446673Z K 7 svn:log V 249 Remove definition of dtom(), which converted a data pointer into a pointer to the containing mbuf. This eliminates a strong assumption about the layout of network buffer memory, giving us greater flexibility to revise mbuf semantics in the future. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T18:37:06.912294Z K 7 svn:log V 68 Reserve a debug bit for HWMP. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T18:39:18.562138Z K 7 svn:log V 53 80 column fix. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-20T18:52:02.074330Z K 7 svn:log V 239 Use NGROUPS instead of NGROUPS_MAX as the limits on setgroups and getgroups for ibcs emulation. It seems vanishingly likely any programs will actually be affected since they probably assume a much lower value and use a static array size. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-20T18:57:14.954402Z K 7 svn:log V 83 - fix dma map handling for !x86 case - fix allocation failure handing in refill_fl END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-20T19:09:41.416822Z K 7 svn:log V 24 fix typo in conditional END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T20:22:11.935551Z K 7 svn:log V 140 If the label being printed by getpmac(8) is empty, then don't print a carriage return. Obtained from: TrustedBSD Project MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-20T20:29:21.403784Z K 7 svn:log V 213 Change crsetgroups_locked() (called by crsetgroups()) to sort the supplemental groups using insertion sort. Use this property in groupmember() to let us use a binary search instead of the previous linear search. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T20:35:42.974902Z K 7 svn:log V 64 Sync with ieee80211_var.h Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-06-20T20:35:50.768111Z K 7 svn:log V 252 Add architecture support for TinyBSD PR: 135301 Submitted by: Olivier Cochard-Labbe Reviewed by: Jean Milanez Melo (maintainer) Approved by: imp (mentor, implicit) MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-20T20:36:51.892784Z K 7 svn:log V 133 Revert previous. What sam was saying was that we should clear the retry bit before retransmit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-20T20:44:27.958917Z K 7 svn:log V 347 Fix race condition in noclobber option. Formerly, it was possible for the file to be created between the check if it existed and the open; the contents would then be lost. Because this must use O_EXCL, noclobber > will not create a file through a symlink anymore. This agrees with behaviour of other shells. Approved by: ed (mentor) (implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-20T23:38:21.383235Z K 7 svn:log V 103 Implement socket delivery MAC checks for IPX/SPX. Obtained from: TrustedBSD Project MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-21T00:21:33.735751Z K 7 svn:log V 171 Strive for greater consistency among the places that implement real, fictious, and contiguous page allocation. Eliminate unnecessary reinitialization of a page's fields. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-21T01:17:38.470337Z K 7 svn:log V 22 fix !x86 cxgb compile END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-06-21T01:54:47.027967Z K 7 svn:log V 154 Compile static gcov library with -fPIC to match what stock GCC builds are doing. This is required for libgcov.a to be usable on amd64. Reported by: stas END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-21T02:45:23.395583Z K 7 svn:log V 477 MFC of 194146 Add missing termcap entry for rxvt-unicode. The termcap database does not have an entry for rxvt-unicode. This means that programs that need an entry such as vi fail to work when connecting via ssh using this terminal emulator. The added data is not the same as the PR submitted by Richard, it uses the :tc=xxx: option to inherit everything from rxvt-mono. PR: conf/117323 Submitted by: Richard Bradshaw END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-21T02:46:56.332339Z K 7 svn:log V 387 MFC of 194152 Add missing terminal definition for Wyse 120 in termcap Although the PR contains also the definitions of the Wyse 60, they are not copied into it since there are already definition for them in the termcap file since 1997. Also, the PR didn't use the :tc=xxx: feature, so I've imploded them. PR: conf/81882 Submitted by: Meister des Chaos END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-21T02:48:16.645141Z K 7 svn:log V 228 MFC of 194172 Termcap updates for screen and linux console: screen entry: F11-F20 keys added linux entry: F10-F20 keys added, ACS line graphics added PR: kern/108899 Submitted by: Joseph Terner END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-21T02:49:21.407727Z K 7 svn:log V 426 Add missing passthrough printing entries for VT100 and workalikes in /etc/termcap: VT100 spec indicates that passthrough printing can be enabled by sending ESC[5i and disabled by sending ESC[4i These entries should be listed as po and pf in /etc/termcap, but are absent. See http://www.vt100.net/docs/vt102-ug/chapter5.html#S5.5.2.23 PR: conf/71549 Submitted by: Andrew Webster END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-21T06:06:43.669164Z K 7 svn:log V 593 Introduce Rx mbuf dma tag and use it in Rx path. Previously it used common mbuf dma tag for both Tx and Rx path but Rx buffer should have single DMA segment and maximum buffer size of the segment should be less than MCLBYTES. fxp(4) also have to check Tx completion status which was updated by DMA so we need BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE synchronization in Tx path. Fix all misuse of bus_dmamap_sync(9) in fxp(4). I guess this change shall fix occasional driver breakage in PAE environments. While I'm here add error messages of dma tag/buffer creation and correct messages. END