Ħ201713 156 403 149 224 134 204 129 244 175 258 279 3310 143 143 294 143 127 109 110 135 155 140 170 826 149 151 220 151 307 117 271 153 312 123 146 456 142 527 197 119 228 136 190 190 362 129 206 147 150 152 122 250 316 446 122 321 232 152 194 317 128 389 151 159 102 280 298 299 130 496 248 389 143 165 117 170 152 113 663 137 111 170 198 223 145 143 131 127 138 175 170 166 128 111 334 172 124 112 153 215 202 665 489 535 132 221 135 390 214 113 135 1319 1319 311 198 311 198 198 141 174 3622 134 3622 201 251 1022 200 1022 1122 1122 122 110 128 154 171 125 223 301 247 511 374 290 110 304 370 411 314 371 1569 1569 220 135 270 220 736 736 1756 K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-07T01:57:13.216537Z K 7 svn:log V 306 MFC r176575: In pass1(), cap inosused to fs_ipg rather than allowing arbitrary number read from cylinder group. Chances that we read a smarshed cylinder group, and we can not 100% trust information it has supplied. fsck_ffs(8) will crash otherwise for some cases. PR: bin/138043 Reminded by: mckusick END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-01-07T02:25:19.787987Z K 7 svn:log V 53 Fix debug printf on 64bit arches. Spotted by: b. f. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-07T04:15:49.097268Z K 7 svn:log V 127 Don't forget to use fourth argument if O_CREAT is set in argument oflag. The fourth specifies initial value for the semaphore. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-01-07T04:47:09.457494Z K 7 svn:log V 42 Eliminate unused variables (see r137912). END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-01-07T06:20:07.561981Z K 7 svn:log V 106 KASSERT that condition raised by Coverity cannot happen. Found by: Coverity Prevent (tm) KASSERT by: sam END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-01-07T06:59:16.037288Z K 7 svn:log V 35 Add support for phase of the moon. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-07T09:02:30.938183Z K 7 svn:log V 151 MFC r200353: Limit maximum I/O size, depending on command set supported by device. It is required to suppot non-LBA48 devices with MAXPHYS above 128K. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-07T09:07:51.188197Z K 7 svn:log V 83 MFC rev. 198487: Round timeout up when converting CAM milliseconds to ATA seconds. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-07T09:21:13.664586Z K 7 svn:log V 165 MFC r200668: Remove duplicate devstat_start_transaction_bio() call. It is already called from geom_disk. Dulicate call causes wrong queue depth and busy accounting. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T09:28:17.314857Z K 7 svn:log V 184 put ip_len in correct order for ip_output(). This prevents a panic when ipfw generates packets on its own (such as reject or keepalives for dynamic rules). Reported by: Chagin Dmitry END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-01-07T09:37:59.495466Z K 7 svn:log V 3211 MFC several ZFS related commits: r197459: ---snip--- Before calling vflush(FORCECLOSE) mark file system as unmounted so the following vnops will fail. This is very important, because without this change vnode could be reclaimed at any point, even if we increased usecount. The only way to ensure that vnode won't be reclaimed was to lock it, which would be very hard to do in ZFS without changing a lot of code. With this change simply increasing usecount is enough to be sure vnode won't be reclaimed from under us. To be precise it can still be reclaimed but we won't be able to see it, because every try to enter ZFS through VFS will result in EIO. The only function that cannot return EIO, because it is needed for vflush() is zfs_root(). Introduce ZFS_ENTER_NOERROR() macro that only locks z_teardown_lock and never returns EIO. ---snip--- r197512: ---snip--- - Don't depend on value returned by gfs_*_inactive(), it doesn't work well with forced unmounts when GFS vnodes are referenced. - Make other preparations to GFS for forced unmounts. PR: kern/139062 Reported by: trasz ---snip--- r197513: ---snip--- Use traverse() function to find and return mount point's vnode instead of cov ered vnode when snapshot is already mounted. ---snip--- r197513: ---snip--- Handle cases where virtual (GFS) vnodes are referenced when doing forced unmount. In that case we cannot depend on the proper order of invalidating vnodes, so we have to free resources when we have a chance. PR: kern/139062 Reported by: trasz ---snip--- r197683: ---snip--- Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old format ZFS, as defined in the manual page. Submitted by: pjd (response of my original patch but bugs are mine) ---snip--- r198703: ---snip--- - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call zfs_access() instead of vaccess() in this case as well. - If VADMIN is specified with another V* flag (unlikely) call both zfs_access() and vaccess() after spliting V* flags. This fixes "dirtying snapshot!" panic. PR: kern/139806 Reported by: Carl Chave In co-operation with: jh ---snip--- While I'm here: fix two comments regarding the members of vop_access_args to comply what is in RELENG_7. r199156: ---snip--- Avoid passing invalid mountpoint to getnewvnode(). Reported by: rwatson Tested by: rwatson ---snip--- r200724: ---snip--- Apply fix Solaris bug 6462803 zfs snapshot -r failed because filesystem was busy. (onnv-gate revision 8989) Submitted by: mm Approved by: pjd ---snip--- r200726: ---snip--- Apply fix for Solaris bug 6801979: zfs recv can fail with E2BIG (onnv revision 8986) Requested by: mm Submitted by: pjd Obtained from: OpenSolaris ---snip--- r200727 (following is the corrected commit log): ---snip--- Apply fix for Solaris bug 6764159: restore_object() makes a call that can block while having a tx open but not yet committed (onnv revision 7994) Submitted by: mm Obtained from: OpenSolaris ---snip--- END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2010-01-07T09:40:34.734853Z K 7 svn:log V 46 This now passes a make universe with WARNS=6. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2010-01-07T09:45:15.007775Z K 7 svn:log V 46 This now passes a make universe with WARNS=6. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-07T09:45:17.517768Z K 7 svn:log V 201 MFC r196837: Remove artificial MAX_IO_SIZE constant, equal to DFLTPHYS * 2. Use MAXPHYS instead. It is NULL change for GENERIC kernel, but allows 'fast' mode to work on systems with increased MAXPHYS. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2010-01-07T09:47:05.847463Z K 7 svn:log V 46 This now passes a make universe with WARNS=6. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T09:54:31.336515Z K 7 svn:log V 33 add some temporary documentation END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T09:54:59.915047Z K 7 svn:log V 15 sync with HEAD END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T09:56:07.647762Z K 7 svn:log V 16 shuffle headers END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T10:06:09.772090Z K 7 svn:log V 41 snapshot to decouple ip_divert from ipfw END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T10:08:05.591279Z K 7 svn:log V 61 some header shuffling to help decoupling ip_divert from ipfw END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T10:23:07.349439Z K 7 svn:log V 46 missing header shuffling to make this compile END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T10:27:52.380795Z K 7 svn:log V 76 put ip_var before ip_fw_private.h as this will be needed in the near future END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T10:39:15.742601Z K 7 svn:log V 731 Following up on a request from Ermal Luci to make ip_divert work as a client of pf(4), make ip_divert not depend on ipfw. This is achieved by moving to ip_var.h the struct ipfw_rule_ref (which is part of the mtag for all reinjected packets) and other declarations of global variables, and moving to raw_ip.c global variables for filter and divert hooks. Note that names and locations could be made more generic (ipfw_rule_ref is really a generic reference robust to reconfigurations; the packet filter is not necessarily ipfw; filters and their clients are not necessarily limited to ipv4), but _right now_ most of this stuff works on ipfw and ipv4, so i don't feel like doing a gratuitous renaming, at least for the time being. END K 10 svn:author V 6 danger K 8 svn:date V 27 2010-01-07T11:30:54.471670Z K 7 svn:log V 54 - s/unsecure/insecure/ as this is the correct keyword END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-07T11:33:57.104010Z K 7 svn:log V 59 MFC r201504: PG_NOSYNC is called VPO_NOSYNC for long time. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-07T11:41:47.541627Z K 7 svn:log V 127 MFC r201347: Allow swap out of the kernel stack for the thread with priority greater or equial then PSOCK, not less or equial. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-07T11:54:36.217204Z K 7 svn:log V 59 MFC r201504: PG_NOSYNC is called VPO_NOSYNC for long time. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T12:00:54.216707Z K 7 svn:log V 212 check that we have an ipv4 packet before swapping ip_len and ip_off. This should fix the handling of ipv6 packets which i broke when i made ipfw operate on packets in network format. Reported by: Hajimu UMEMOTO END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T12:06:32.909221Z K 7 svn:log V 23 some patches from HEAD END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-07T12:58:03.135937Z K 7 svn:log V 179 After adding an SDT provider for opencrypto in r199884 we should also depend on opt_kdtrace.h for the module build. Submitted by: (Andre.Albsmeier siemens.com) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-07T13:31:00.832615Z K 7 svn:log V 61 Give some information on SF_MNOWAIT flag. MFC after: 3 days END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-01-07T13:42:28.441049Z K 7 svn:log V 214 Diff reduction to 8-stable: - whitespace - fix harmless mismerges - comments or (harmless) code which was there twice - fix not so harmless mismerges (mem leak - double mtx_init) MFC r197842: whitespace fix END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T13:53:47.228132Z K 7 svn:log V 29 we don't use dummynet_drain! END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T14:05:40.896738Z K 7 svn:log V 52 snapshot -- split I/O from configuration functions. END K 10 svn:author V 3 bms K 8 svn:date V 27 2010-01-07T14:15:34.996907Z K 7 svn:log V 363 MFC r200871: Use ALLOW_NEW_SOURCES and BLOCK_OLD_SOURCES to signal a join or leave with SSM MLDv2 by default. This is current practice and complies with RFC 4604, as well as being required by production IPv6 networks in Japan. The behaviour may be disabled by setting the net.inet6.mld.use_allow sysctl/tunable to 0. Requested by: Hideki Yamamoto, dikshie END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T14:23:19.323730Z K 7 svn:log V 48 ip_var.h now needs to be before ip_fw_private.h END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-07T16:18:46.149925Z K 7 svn:log V 435 Bump __FreeBSD_version to 800500 which should have happened already after r198460 but was missed. Note: that 800108 should have been 800501 with that but as there is no functional problem here, it'll just stay as is. [1] This will make pkg_add -r use packages-8-stable for stable/8 rather than packages-8.0-release. Reported by: Paride Legovini (pl ninthfloor.org) on stable@, (pluknet gmail.com), jhb Discussed with: rwatson [1] END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-07T16:52:00.097777Z K 7 svn:log V 102 Remove BUGS section that no longer applies after recent changes to semaphore code. OK-ed by: davidxu END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-01-07T17:34:45.081472Z K 7 svn:log V 27 Make pmap_set_pg() static. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-01-07T17:46:25.158927Z K 7 svn:log V 135 Since the IPv4 rule allows ICMP_TIMXCEED, allow ICMP6_TIME_EXCEEDED as well for workstation type firewall. It makes traceroute6 work. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T18:11:03.207619Z K 7 svn:log V 42 snapshot of today's changes (not working) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-07T19:37:21.414375Z K 7 svn:log V 94 MFC r200129 to stable/8: Remove trailing ";" in UMA_HASH_INSERT and UMA_HASH_REMOVE macros. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-01-07T19:40:11.956052Z K 7 svn:log V 94 MFC r200129 to stable/7: Remove trailing ";" in UMA_HASH_INSERT and UMA_HASH_REMOVE macros. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-07T20:10:22.981007Z K 7 svn:log V 265 Re-apply onnv-gate revisions 7994 and 8986 (corresponds to FreeBSD revision 200726 and 200727). It looks like that the two revisions were not applied in the right sequence, I found this when comparing with the OpenSolaris code. MFC after: 3 days Reviewed by: mm@ END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T20:40:38.756918Z K 7 svn:log V 35 add header to implement schedulers END K 10 svn:author V 3 mbr K 8 svn:date V 27 2010-01-07T21:01:37.821097Z K 7 svn:log V 113 Remove extraneous semicolons, no functional changes. Submitted by: Marc Balmer MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-07T21:08:22.411482Z K 7 svn:log V 50 Fix a typo and bump date for the previous commit. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-07T21:14:46.866580Z K 7 svn:log V 58 Further fix grammar. Suggested by: alc MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-07T22:59:08.436730Z K 7 svn:log V 61 Remove the pts(4) device limit now that utmpx supports more. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-07T23:17:48.666521Z K 7 svn:log V 28 snapshot of current version END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-07T23:28:58.594362Z K 7 svn:log V 158 Put conversion between futx and utmpx in a separate file. This allows me to get the return value of pututxline() working without excessive code duplication. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-07T23:30:10.893425Z K 7 svn:log V 221 For the now-infamous Rumsfeld quote: Change "there're" to "there are" which is consistent with the vast majority of on line references. Remove a spurious trailing " Update the citation text with a suggestion from des. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-08T00:05:10.157554Z K 7 svn:log V 351 Update copyright date Update delete_temproot() to include the error message if it fails, and clean up the places where it's called. If there are no files left in temproot when the comparison is done delete it without prompting. This should make "automated" runs of mergemaster without -a a little easier. Document the new behavior in the man page. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-01-08T01:41:58.168510Z K 7 svn:log V 26 Remove unneeded includes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T02:39:53.555749Z K 7 svn:log V 224 Fix EEPROM access code to return data in host byte order. EEPROM on ST201 always returns 16bits data with little endian format so conversion to host order is required. This change fixes inversed ethernet address on sparc64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T02:43:20.073973Z K 7 svn:log V 135 Make sure to store dma address of RX buffer in little endian form. This fixes the last bug which keeps ste(4) from working on sparc64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T02:46:34.422094Z K 7 svn:log V 56 Enable ste(4). ste(4) should work on all architectures. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-01-08T05:53:11.299819Z K 7 svn:log V 100 Add a DDB command "show pcb" to dump out the contents of a thread's PCB. Approved by: imp (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T07:29:51.703239Z K 7 svn:log V 225 Also add an upgrade path for lastlogin. Right now we only have one version of the file format, so there's nothing to do here, except truncating it. Future versions of the implementation should have some conversion routines. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T07:42:01.651568Z K 7 svn:log V 37 Let /etc use the proper utmpx files. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-01-08T07:57:43.687849Z K 7 svn:log V 297 - Change the type of size_max to u_quad_t because its value is converted with vfs_scanopt(9) using the "%qu" format string. - Limit the maximum value of size_max to (SIZE_MAX - PAGE_SIZE) to prevent overflow in howmany() macro. PR: kern/141194 Approved by: trasz (mentor) MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-01-08T09:16:37.399602Z K 7 svn:log V 59 Catch up with r183101 that added "device acpi" to GENERIC. END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-01-08T09:31:18.867917Z K 7 svn:log V 67 Fix for hostname not set. Fix style while here. Reported by: jeff END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-08T09:31:19.911233Z K 7 svn:log V 9 snapshot END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-01-08T09:59:13.671198Z K 7 svn:log V 182 MFC r197816: ---snip--- Prevent paging pressure from draining arc too much - always drain arc if above arc_c_max - never drain arc if arc is below arc_c_max ---snip--- END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-08T10:13:27.232286Z K 7 svn:log V 203 MFC r200994: Set the locally-assigned bit in the randomly generated Ethernet address if we end up having to generate one. PR: kern/133239 Discussed with: yongari Approved by: ed (mentor, implicit) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-08T10:14:27.267366Z K 7 svn:log V 204 MFC r200994: Set the locally-assigned bit in the randomly generated Ethernet address if we end up having to generate one. PR: kern/133239 Discussed with: yongari Approved by: ed (mentor, implicit) END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T10:15:11.195884Z K 7 svn:log V 39 Document the definitions in . END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-08T10:32:27.573630Z K 7 svn:log V 401 If we fail to read the Ethernet address from the card, just print an warning message and attach without setting the Ethernet address to a random address. It is not believed that this code can actually be executed, and if it does, we're better off printing an error message than faking up an Ethernet address. PR: kern/133239 Reviewed by: yongari (earlier version of patch) Approved by: ed (mentor) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2010-01-08T10:54:15.066418Z K 7 svn:log V 151 Allow comment (#) to be placed anywhere in the line, not only at the beginning, so it's consistent with other configuration files. MFC after: 3 weeks END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-01-08T11:06:13.664924Z K 7 svn:log V 291 MFC r197514: ---snip--- On lookup error VFS expects *vpp to be set to NULL, be sure to do that. ---snip--- r197816: ---snip--- Prevent paging pressure from draining arc too much - always drain arc if above arc_c_max - never drain arc if arc is below arc_c_max ---snip--- END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2010-01-08T11:16:58.295124Z K 7 svn:log V 46 This now passes a make universe with WARNS=6. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-01-08T11:45:47.733745Z K 7 svn:log V 69 Merge r198335 through r201781 from stable/8 to capabilities8 branch. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T12:08:41.083652Z K 7 svn:log V 26 Also use utx.active here. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-01-08T14:30:03.376138Z K 7 svn:log V 75 MFC r201354: sh(1): Correct two places where "$@" lacked necessary quotes. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-01-08T14:33:03.267269Z K 7 svn:log V 57 MFC r201355: sh(1): document ulimit -w (swapuse rlimit). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-08T14:55:10.636357Z K 7 svn:log V 19 snapshot for today END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-01-08T14:55:11.016711Z K 7 svn:log V 566 - Fix a bug in sched_4bsd where the timestamp for the sleeping operation is not cleaned up on the wakeup but reset. This is harmless mostly because td_slptick (and ki_slptime from userland) should be analyzed only with the assumption that the thread is actually sleeping (thus while the td_slptick is correctly set) but without this invariant the number is nomore consistent. - Move td_slptick from u_int to int in order to follow 'ticks' signedness and wrap up accordingly [0] [0] Submitted by: emaste Sponsored by: Sandvine Incorporated MFC 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T15:18:57.566669Z K 7 svn:log V 46 Already add a stub manpage to document utmpx. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-01-08T15:28:22.575383Z K 7 svn:log V 15 Fix merge bug. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:41:24.003524Z K 7 svn:log V 76 Fix #ifdefs so that GCC 4.4 doesn't complain about it. Reviewed by: rpaulo END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:44:49.449374Z K 7 svn:log V 103 Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order to silence newer GCC versions. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:46:27.765001Z K 7 svn:log V 128 Put mly_timeout() under MLY_DEBUG, so that newer GCC versions don't complain about unused static function. Reviewed by: scottl END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:47:23.221127Z K 7 svn:log V 51 Remove unused iir_watchdog(). Reviewed by: scottl END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:52:06.742594Z K 7 svn:log V 49 Remove unused uhci_dump_qhs(). Reviewed by: hps END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:53:07.199798Z K 7 svn:log V 37 Remove unused smbfs_smb_qpathinfo(). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T15:57:56.171563Z K 7 svn:log V 33 One more #ifdef fix for GCC 4.4. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T16:07:39.230825Z K 7 svn:log V 47 Already add the first part of the manual page. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-08T16:14:41.694799Z K 7 svn:log V 84 Complete the swap of carp(4) log levels and document the change. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-01-08T16:28:17.259148Z K 7 svn:log V 75 MFC r201354: sh(1): Correct two places where "$@" lacked necessary quotes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T16:44:33.924850Z K 7 svn:log V 72 Stop GCC from complaining about lagg_port_checkstacking() being unused. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-08T16:56:11.390540Z K 7 svn:log V 37 Unbreak the XEN build after r201751. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-08T16:58:37.544479Z K 7 svn:log V 17 add missing file END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-08T16:59:28.273679Z K 7 svn:log V 242 Switch traceroute over to make use of proper in-kernel source address selection. Reviewed by: rwatson, fenner MFC after: 1 week X-MFCable to: stable/8, stable/7 (after r183571). PR: kern/139454 Tested by: Frank Steinborn (steinex nognu.de) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T17:20:41.847827Z K 7 svn:log V 78 Get rid of #ident, GCC 4.4 warns about it being deprecated. OK-ed by: scottl END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T17:21:56.877413Z K 7 svn:log V 33 Document utmpx a little further. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-08T17:46:27.754381Z K 7 svn:log V 18 some more changes END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-08T17:47:37.845074Z K 7 svn:log V 56 Remove ste(4), it should work on all architectures now. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-01-08T17:49:24.601147Z K 7 svn:log V 119 Ensure an address is removed from the interface address list when the installation of that address fails. PR: 139559 END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T18:29:04.707044Z K 7 svn:log V 110 Fix a small typo. Indentifies -> Identifies. Spotted by: Alexander Schrijver END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-08T18:57:31.753251Z K 7 svn:log V 573 In sys//conf/Makefile set TARGET to . That allows sys/conf/makeLINT.mk to only do certain things for certain architectures. Note that neither arm nor mips have the Makefile there, thus essentially not (yet) supporting LINT. This would enable them do add special treatment to sys/conf/makeLINT.mk as well chosing one of the many configurations as LINT. This is a hack of doing this and keeping it in a separate commit will allow us to more easily identify and back it out. Discussed on/with: arch, jhb (as part of the LINT-VIMAGE thread) MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-08T19:00:20.269196Z K 7 svn:log V 397 Generate a second LINT configuration for i386 and amd64 in sys/conf/makeLINT.mk, which includes LINT and sets options VIMAGE so that we will have VIMAGE LINT builds[1]. For now only do it for those two architectures to avoid massive universe times for archs, where people will less likely use VIMAGE or not at all. Requested by: jhb [1] Discussed on/with: arch, jhb, rwatson MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-08T19:01:50.924143Z K 7 svn:log V 443 To avoid hardcoding further kernel configuration names for make universe, split the logic into two parts: - 1st to build worlds and generate kernel configs like LINT. - 2nd to build kernels for a given TARGET architecture correctly finding all newly generated configs, not knowing anything about LINT anymore. (*) (*) If you know better/cleaner/... ways to do this, let me know. Discussed on/with: arch, jhb, rwatson MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T19:10:39.762391Z K 7 svn:log V 41 Add the missing sections to the manpage. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T19:40:29.896397Z K 7 svn:log V 129 Bump the version of libutil, because we removed some functions there. Also update ObsoleteFiles to not remove our new manpages. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T19:56:37.333374Z K 7 svn:log V 41 Fix array overflow. Reviewed by: philip END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-01-08T20:25:59.439677Z K 7 svn:log V 292 MFC: r200999 Modify the experimental server so that it uses VOP_ACCESSX(). This is necessary in order to enable NFSv4 ACL support. The argument to nfsvno_accchk() was changed to an accmode_t and the function nfsrv_aclaccess() was no longer needed and, therefore, deleted. Reviewed by: trasz END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-08T20:38:41.132155Z K 7 svn:log V 116 sk(4), stge(4) and vge(4) should work on all architectures, snd_t4dwave(4) works on sparc64. Submitted by: yongari END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T20:40:28.431933Z K 7 svn:log V 19 Get rid of #ident. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-01-08T21:02:12.656548Z K 7 svn:log V 41 Fix array overflow. Reviewed by: rpaulo END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T21:15:09.570172Z K 7 svn:log V 1221 MFC r198987,199414,199543,200422 Partial merge r198987: Use device_printf() and if_printf() instead of printf() with an explicit unit number and remove 'unit' members from softc. Partial merge r199414: Use the bus_*() routines rather than bus_space_*() for register operations. r199543: Several fixes to this driver: - Overhaul the locking to avoid recursion and add missing locking in a few places. - Don't schedule a task to call vge_start() from contexts that are safe to call vge_start() directly. Just invoke the routine directly instead (this is what all of the other NIC drivers I am familiar with do). Note that vge(4) does not use an interrupt filter handler which is the primary reason some other drivers use tasks. - Add a new private timer to drive the watchdog timer instead of using if_watchdog and if_timer. - Fixup detach by calling ether_ifdetach() before stopping the interface. r200422: Remove driver lock assertion in MII register access. This change was made in r199543 to remove MTX_RECURSE. These routines can be called in device attach phase(e.g. mii_phy_probe()) so checking assertion here is not right as caller does not hold a driver lock. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T21:19:41.458080Z K 7 svn:log V 1221 MFC r198987,199414,199543,200422 Partial merge r198987: Use device_printf() and if_printf() instead of printf() with an explicit unit number and remove 'unit' members from softc. Partial merge r199414: Use the bus_*() routines rather than bus_space_*() for register operations. r199543: Several fixes to this driver: - Overhaul the locking to avoid recursion and add missing locking in a few places. - Don't schedule a task to call vge_start() from contexts that are safe to call vge_start() directly. Just invoke the routine directly instead (this is what all of the other NIC drivers I am familiar with do). Note that vge(4) does not use an interrupt filter handler which is the primary reason some other drivers use tasks. - Add a new private timer to drive the watchdog timer instead of using if_watchdog and if_timer. - Fixup detach by calling ether_ifdetach() before stopping the interface. r200422: Remove driver lock assertion in MII register access. This change was made in r199543 to remove MTX_RECURSE. These routines can be called in device attach phase(e.g. mii_phy_probe()) so checking assertion here is not right as caller does not hold a driver lock. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T21:25:52.298135Z K 7 svn:log V 214 MFC r200519-200522 r200519: Remove register keyword. r200520: Prefer device_printf(9) to printf(9). r200521: Fix spelling in comment. r200522: Prefer bus_alloc_resource_any(9) to bus_alloc_resource(9). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T21:27:09.805265Z K 7 svn:log V 102 MFC r201349: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T21:27:35.177406Z K 7 svn:log V 214 MFC r200519-200522 r200519: Remove register keyword. r200520: Prefer device_printf(9) to printf(9). r200521: Fix spelling in comment. r200522: Prefer bus_alloc_resource_any(9) to bus_alloc_resource(9). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T21:28:10.029010Z K 7 svn:log V 102 MFC r201349: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T21:28:20.056963Z K 7 svn:log V 102 MFC r201349: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T21:32:04.104843Z K 7 svn:log V 50 Order SEE ALSO by category. Spotted by: brueffer END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T21:35:03.066292Z K 7 svn:log V 83 Make this sentence a bit easier to read. Spotted by: Bram Geron END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T21:37:16.227321Z K 7 svn:log V 3524 MFC r200525: Overhaul bus_dma(9) usage and fix various things. o Separate TX/RX buffer DMA tag from TX/RX descriptor ring DMA tag. o Separate RX buffer DMA tag from common buffer DMA tag. RX DMA tag has different restriction compared to TX DMA tag. o Add 40bit DMA address support. o Adjust TX/RX descriptor ring alignment to 64 bytes from 256 bytes as documented in datasheet. o Added check to ensure TX/RX ring reside within a 4GB boundary. Since TX/RX ring shares the same high address register they should have the same high address. o TX/RX side bus_dmamap_load_mbuf_sg(9) support. o Add lock assertion to vge_setmulti(). o Add RX spare DMA map to recover from DMA map load failure. o Add optimized RX buffer handler, vge_discard_rxbuf which is activated when vge(4) sees bad frames. o Don't blindly update VGE_RXDESC_RESIDUECNT register. Datasheet says the register should be updated only when number of available RX descriptors are multiple of 4. o Use __NO_STRICT_ALIGNMENT instead of defining VGE_FIXUP_RX which is only set for i386 architecture. Previously vge(4) also performed expensive copy operation to align IP header on amd64. This change should give RX performance boost on amd64 architecture. o Don't reinitialize controller if driver is already running. This should reduce number of link state flipping. o Since vge(4) drops a driver lock before passing received frame to upper layer, make sure vge(4) is still running after re-acquiring driver lock. o Add second argument count to vge_rxeof(). The argument will limit number of packets could be processed in RX handler. o Rearrange vge_rxeof() not to allocate RX buffer if received frame was bad packet. o Removed if_printf that prints DMA map failure. This type of message shouldn't be used in fast path of driver. o Reduce number of allowed TX buffer fragments to 6 from 7. A TX descriptor allows 7 fragments of a frame. However the CMZ field of descriptor has just 3bits and the controller wants to see fragment + 1 in the field. So if we have 7 fragments the field value would be 0 which seems to cause unexpected results under certain conditions. This change should fix occasional TX hang observed on vge(4). o Simplify vge_stat_locked() and add number of available TX descriptor check. o vge(4) controllers lack padding short frames. Make sure to fill zero for the padded bytes. This closes unintended information disclosure. o Don't set VGE_TDCTL_JUMBO flag. Datasheet is not clear whether this bit should be set by driver or write-back status bit after transmission. At least vendor's driver does not set this bit so remove it. Without this bit vge(4) still can send jumbo frames. o Don't start driver when vge(4) know there are not enough RX buffers. o Remove volatile keyword in RX descriptor structure. This should be handled by bus_dma(9). o Collapse two 16bits member of TX/RX descriptor into single 32bits member. o Reduce number of RX descriptors to 252 from 256. The VGE_RXDESCNUM is 16bits register but only lower 8bits are valid. So the maximum number of RX descriptors would be 255. However the number of should be multiple of 4 as controller wants to update 4 RX descriptors at a time. This limits the maximum number of RX descriptor to be 252. PR: kern/141276, kern/141414 END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T21:42:00.329104Z K 7 svn:log V 43 Remove unneeded `a'. Spotted by: brueffer END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T21:55:44.134322Z K 7 svn:log V 3524 MFC r200525: Overhaul bus_dma(9) usage and fix various things. o Separate TX/RX buffer DMA tag from TX/RX descriptor ring DMA tag. o Separate RX buffer DMA tag from common buffer DMA tag. RX DMA tag has different restriction compared to TX DMA tag. o Add 40bit DMA address support. o Adjust TX/RX descriptor ring alignment to 64 bytes from 256 bytes as documented in datasheet. o Added check to ensure TX/RX ring reside within a 4GB boundary. Since TX/RX ring shares the same high address register they should have the same high address. o TX/RX side bus_dmamap_load_mbuf_sg(9) support. o Add lock assertion to vge_setmulti(). o Add RX spare DMA map to recover from DMA map load failure. o Add optimized RX buffer handler, vge_discard_rxbuf which is activated when vge(4) sees bad frames. o Don't blindly update VGE_RXDESC_RESIDUECNT register. Datasheet says the register should be updated only when number of available RX descriptors are multiple of 4. o Use __NO_STRICT_ALIGNMENT instead of defining VGE_FIXUP_RX which is only set for i386 architecture. Previously vge(4) also performed expensive copy operation to align IP header on amd64. This change should give RX performance boost on amd64 architecture. o Don't reinitialize controller if driver is already running. This should reduce number of link state flipping. o Since vge(4) drops a driver lock before passing received frame to upper layer, make sure vge(4) is still running after re-acquiring driver lock. o Add second argument count to vge_rxeof(). The argument will limit number of packets could be processed in RX handler. o Rearrange vge_rxeof() not to allocate RX buffer if received frame was bad packet. o Removed if_printf that prints DMA map failure. This type of message shouldn't be used in fast path of driver. o Reduce number of allowed TX buffer fragments to 6 from 7. A TX descriptor allows 7 fragments of a frame. However the CMZ field of descriptor has just 3bits and the controller wants to see fragment + 1 in the field. So if we have 7 fragments the field value would be 0 which seems to cause unexpected results under certain conditions. This change should fix occasional TX hang observed on vge(4). o Simplify vge_stat_locked() and add number of available TX descriptor check. o vge(4) controllers lack padding short frames. Make sure to fill zero for the padded bytes. This closes unintended information disclosure. o Don't set VGE_TDCTL_JUMBO flag. Datasheet is not clear whether this bit should be set by driver or write-back status bit after transmission. At least vendor's driver does not set this bit so remove it. Without this bit vge(4) still can send jumbo frames. o Don't start driver when vge(4) know there are not enough RX buffers. o Remove volatile keyword in RX descriptor structure. This should be handled by bus_dma(9). o Collapse two 16bits member of TX/RX descriptor into single 32bits member. o Reduce number of RX descriptors to 252 from 256. The VGE_RXDESCNUM is 16bits register but only lower 8bits are valid. So the maximum number of RX descriptors would be 255. However the number of should be multiple of 4 as controller wants to update 4 RX descriptors at a time. This limits the maximum number of RX descriptor to be 252. PR: kern/141276, kern/141414 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T21:58:12.677518Z K 7 svn:log V 105 MFC r201352 If a filter has already been added, actually return EEXIST when trying at add it again. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-08T22:02:42.809880Z K 7 svn:log V 153 Remove unnecessary quoting and markup, add missing punctuation. PR: 140494 Submitted by: Jeremy Huddleston , bde MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T22:08:18.544920Z K 7 svn:log V 925 MFC r200526-200527,200529,200531-200533,200536 r200526: Use PCIR_BAR instead of hard-coded value. r200527: Fix typo in register definition. r200529: Clear VGE_TXDESC_Q bit for transmitted frames. The VGE_TXDESC_Q bit seems to work like a tag that indicates 'not list end' of queued frames. Without having a VGE_TXDESC_Q bit indicates 'list end'. So the last frame of multiple queued frames has no VGE_TXDESC_Q bit. The hardware has peculiar behavior for VGE_TXDESC_Q bit handling. If the VGE_TXDESC_Q bit of descriptor was set the controller would fetch next descriptor. However if next descriptor's OWN bit was cleared but VGE_TXDESC_Q was set, it could confuse controller. Clearing VGE_TXDESC_Q bit for transmitted frames ensure correct behavior. r200531: Use ANSI function definations. r200532: Remove unnecessary return statement. r200533: s/u_intXX_t/uintXX_t/g r200536: style(9). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T22:13:15.570418Z K 7 svn:log V 104 MFC r201352 If a filter has already been added, actually return EEXIST when trying at add it again. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T22:18:15.178262Z K 7 svn:log V 925 MFC r200526-200527,200529,200531-200533,200536 r200526: Use PCIR_BAR instead of hard-coded value. r200527: Fix typo in register definition. r200529: Clear VGE_TXDESC_Q bit for transmitted frames. The VGE_TXDESC_Q bit seems to work like a tag that indicates 'not list end' of queued frames. Without having a VGE_TXDESC_Q bit indicates 'list end'. So the last frame of multiple queued frames has no VGE_TXDESC_Q bit. The hardware has peculiar behavior for VGE_TXDESC_Q bit handling. If the VGE_TXDESC_Q bit of descriptor was set the controller would fetch next descriptor. However if next descriptor's OWN bit was cleared but VGE_TXDESC_Q was set, it could confuse controller. Clearing VGE_TXDESC_Q bit for transmitted frames ensure correct behavior. r200531: Use ANSI function definations. r200532: Remove unnecessary return statement. r200533: s/u_intXX_t/uintXX_t/g r200536: style(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T22:26:24.708218Z K 7 svn:log V 1024 MFC r200538,200540-200541,200543,200545,200548 r200538: Introduce vge_flags member in softc. The vge_flags member will record device specific bits. Remove vge_link and use vge_flags. While here, move clearing link state before mii_mediachg() as mii_mediachg() may affect link state. r200540: Save PHY address by reading VGE_MIICFG register. For PCIe controllers(VT613x), we assume the PHY address is 1. Use the saved PHY address in MII register access routines and remove accessing VGE_MIICFG register. While I'm here save PCI express capability register which will be used in near future. r200541: Add MSI support for VT613x controllers. r200543: Increase output queue size from 64 to 255. r200545: We don't have to reload EEPROM in vge_reset(). Because vge_reset() is called in vge_init_lock(), vge(4) always used to reload EEPROM. Also add more comment why vge(4) clears VGE_CHIPCFG0_PACPI bit. While I'm here add missing new line in vge_reset(). r200548: Sort function prototyes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-08T22:28:54.756000Z K 7 svn:log V 1024 MFC r200538,200540-200541,200543,200545,200548 r200538: Introduce vge_flags member in softc. The vge_flags member will record device specific bits. Remove vge_link and use vge_flags. While here, move clearing link state before mii_mediachg() as mii_mediachg() may affect link state. r200540: Save PHY address by reading VGE_MIICFG register. For PCIe controllers(VT613x), we assume the PHY address is 1. Use the saved PHY address in MII register access routines and remove accessing VGE_MIICFG register. While I'm here save PCI express capability register which will be used in near future. r200541: Add MSI support for VT613x controllers. r200543: Increase output queue size from 64 to 255. r200545: We don't have to reload EEPROM in vge_reset(). Because vge_reset() is called in vge_init_lock(), vge(4) always used to reload EEPROM. Also add more comment why vge(4) clears VGE_CHIPCFG0_PACPI bit. While I'm here add missing new line in vge_reset(). r200548: Sort function prototyes. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-08T22:31:42.633638Z K 7 svn:log V 28 pass parameters for profile END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T22:34:17.994300Z K 7 svn:log V 15 MFC at r201841 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-08T22:37:52.890246Z K 7 svn:log V 34 partial processing of 'configure' END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T22:48:21.151445Z K 7 svn:log V 62 Centralize initialization of pcpu, and set curthread early... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T22:52:02.475727Z K 7 svn:log V 79 Revert r199758. It pointed out that we were calling pcpu_init way too late... END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-08T22:56:46.913274Z K 7 svn:log V 31 fix ZFS build with ZIO_USE_UMA END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-08T22:58:50.337426Z K 7 svn:log V 125 Free allocated sbufs before returning ENOMEM. PR: 128335 Submitted by: Mateusz Guzik MFC after: 2 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:02:17.823787Z K 7 svn:log V 208 Back-merge (by hand) r195668: r195668 | gonzo | 2009-07-13 17:01:12 -0600 (Mon, 13 Jul 2009) | 3 lines - Get rid of ugly TARGET_CPU_DEFAULT default. 16 is MASK_DSP and was set there due to my ignroance. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:06:56.314743Z K 7 svn:log V 154 Merge from project/mips r195021: r195021 | gonzo | 2009-06-25 18:44:23 -0600 (Thu, 25 Jun 2009) | 2 lines - Add MIPS to the list of 32-bit architectures END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:09:11.236407Z K 7 svn:log V 418 Merge r195575 and 195530 from projects/mips to head by hand: r195575 | imp | 2009-07-10 12:24:02 -0600 (Fri, 10 Jul 2009) | 2 lines quick hack for the problem gonzo is seeing. r195530 | imp | 2009-07-10 01:18:30 -0600 (Fri, 10 Jul 2009) | 5 lines Always build all 4 emulators into the mips toolchain. # I think we have a gcc spec file issue with abi=64 since I have to do other # hacks to get it mostly kinda right. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:11:23.938756Z K 7 svn:log V 281 Merge r195030 from project/mips into head by hand: r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines - Switch to libc softfloat from libgcc implementation. The problem with latter is that it is not complete, fpsetXXX/fpgetXXX functions are missing. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T23:26:10.797719Z K 7 svn:log V 194 Make options KGSSAPI build and add it to NOTES. rpcsec_gss_prot.c: Use kernel printf and headers. vc_rpcsec_gss.c: Use a local RPCAUTH_UNIXGIDS definition for 16 instead of using NGROUPS. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-08T23:30:43.019745Z K 7 svn:log V 15 MFC at r201853 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:37:30.646564Z K 7 svn:log V 211 Merge r194519 from projects/mips to head by hand: r194519 | gonzo | 2009-06-19 17:28:26 -0600 (Fri, 19 Jun 2009) | 3 lines - set -mabicalls and -msoft-float as a default in order to simplify building ports END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:50:39.549476Z K 7 svn:log V 277 Merge r195025 from projects/mips to head by hand: r195025 | gonzo | 2009-06-25 19:01:50 -0600 (Thu, 25 Jun 2009) | 4 lines - Move fpgetXXX.c/fpsetXXX.c sources to hardfloat subdir/ to prevenmt them from being mixed up with lib/libc/softfloat files with the same names END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-08T23:57:30.634362Z K 7 svn:log V 319 Last-minute ABI change. I was thinking: if we use the same layout for struct utmpx as we do for the futx, it is a lot easier to retain ABI compatibility. ut_type is just stored at the beginning of the structure, which means we can always first read the value of ut_type and cast it to an entirely different structure. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-08T23:59:04.310854Z K 7 svn:log V 221 Merge r197800 from projects/mips to head by hand: r197800 | gonzo | 2009-10-06 00:35:52 -0600 (Tue, 06 Oct 2009) | 3 lines - curbrk variable for sbrk and brk should be the same - Add correct variable names to Symbol.map END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T00:01:35.464102Z K 7 svn:log V 278 Merge r195030 from project/mips to head by hand r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines - Switch to libc softfloat from libgcc implementation. The problem with latter is that it is not complete, fpsetXXX/fpgetXXX functions are missing. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:02:40.716887Z K 7 svn:log V 1471 MFC r200551-200552,200555,200558,200609,200613 r200551: Whenever link state change interrupt is raised, vge_tick() is called and vge(4) used to drive auto-negotiation timer(mii_tick) in vge_tick(). Therefore the mii_tick was not called for every hz such that auto-negotiation complete was never handled in vge(4). Use mii_pollstat to extract current negotiated speed/duplex instead of mii_tick. The latter is valid only for auto-negotiation case. While I'm here change the confusing function name vge_tick() to vge_link_statchg(). r200552: Report media change result to caller instead of returning success without regard to the result. r200555: Don't report current link status if interface is not UP. If interface is not UP, the current link status wouldn't reflect the negotiated status. r200558: Tell upper layer vge(4) supports long frames. This should be done after ether_ifattach(), as ether_ifattach() initializes it with ETHER_HDR_LEN. While I'm here remove setting if_mtu, it's already handled in ether_ifattach(). r200609: All vge(4) controllers support RX/TX checksum offloading for VLAN tagged frames so add checksum offloading capabilities. Also add missing VLAN hardware tagging control in ioctl handler and let upper stack know current VLAN capabilities. r200613: Rewrite RX filter setup and simplify code. Now promiscuous mode and multicast handling is performed in single function, vge_rxfilter(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:05:02.778235Z K 7 svn:log V 1471 MFC r200551-200552,200555,200558,200609,200613 r200551: Whenever link state change interrupt is raised, vge_tick() is called and vge(4) used to drive auto-negotiation timer(mii_tick) in vge_tick(). Therefore the mii_tick was not called for every hz such that auto-negotiation complete was never handled in vge(4). Use mii_pollstat to extract current negotiated speed/duplex instead of mii_tick. The latter is valid only for auto-negotiation case. While I'm here change the confusing function name vge_tick() to vge_link_statchg(). r200552: Report media change result to caller instead of returning success without regard to the result. r200555: Don't report current link status if interface is not UP. If interface is not UP, the current link status wouldn't reflect the negotiated status. r200558: Tell upper layer vge(4) supports long frames. This should be done after ether_ifattach(), as ether_ifattach() initializes it with ETHER_HDR_LEN. While I'm here remove setting if_mtu, it's already handled in ether_ifattach(). r200609: All vge(4) controllers support RX/TX checksum offloading for VLAN tagged frames so add checksum offloading capabilities. Also add missing VLAN hardware tagging control in ioctl handler and let upper stack know current VLAN capabilities. r200613: Rewrite RX filter setup and simplify code. Now promiscuous mode and multicast handling is performed in single function, vge_rxfilter(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:07:03.176763Z K 7 svn:log V 123 MFC 200615: Add hardware MAC statistics support. This statistics could be extracted from dev.vge.%d.stats sysctl node. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-09T00:07:46.182781Z K 7 svn:log V 44 Make it a little easier to read the struct. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-09T00:07:47.909995Z K 7 svn:log V 177 Merge r195129 from project/mips to head by hand: r195129 | gonzo | 2009-06-27 17:28:56 -0600 (Sat, 27 Jun 2009) | 2 lines - Use sysarch(2) in MIPS version of _tcb_set/_tcb_get END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:08:15.751539Z K 7 svn:log V 123 MFC 200615: Add hardware MAC statistics support. This statistics could be extracted from dev.vge.%d.stats sysctl node. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:12:59.898876Z K 7 svn:log V 639 MFC r200616-200617,200635,200639,200644 r200616: Add new flag VGE_FLAG_SUSPENDED to mark suspended state and remove suspended member in softc. r200617: Add "Velocity" to probe message which will make it clearer which ethernet controller was recognized. VIA consistently calls "Velocity" family for gigabit ethernet controllers. For fast ethernet controllers they uses "Rhine" family(vr(4) controllers)) and vr(4) already shows "Rhine" in probe message. r200635: Remove unused VGE_ETHER_ALIGN definition. r200639: Actually clear interrupts. Writing 0 has no effect. r200644: Remove unused member variable of softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:14:50.527752Z K 7 svn:log V 639 MFC r200616-200617,200635,200639,200644 r200616: Add new flag VGE_FLAG_SUSPENDED to mark suspended state and remove suspended member in softc. r200617: Add "Velocity" to probe message which will make it clearer which ethernet controller was recognized. VIA consistently calls "Velocity" family for gigabit ethernet controllers. For fast ethernet controllers they uses "Rhine" family(vr(4) controllers)) and vr(4) already shows "Rhine" in probe message. r200635: Remove unused VGE_ETHER_ALIGN definition. r200639: Actually clear interrupts. Writing 0 has no effect. r200644: Remove unused member variable of softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-09T00:17:43.907145Z K 7 svn:log V 1658 MFC r200638: Implement interrupt moderation scheme supported by VT61xx controllers. TX/RX interrupt mitigation is controlled by VGE_TXSUPPTHR and VGE_RXSUPPTHR register. These registers suppress generation of interrupts until the programmed frames counter equals to the registers. VT61xx also supports interrupt hold off timer register. If this interrupt hold off timer is active all interrupts would be disabled until the timer reaches to 0. The timer value is reloaded whenever VGE_ISR register written. The timer resolution is about 20us. Previously vge(4) used single shot timer to reduce Tx completion interrupts. This required VGE_CRS1 register access in Tx start/completion handler to rearm new timeout value and it did not show satisfactory result(more than 50k interrupts under load). Rx interrupts was not moderated at all such that vge(4) used to generate too many interrupts which in turn made polling(4) better approach under high network load. This change activates all interrupt moderation mechanism and initial values were tuned to generate interrupt less than 8k per second. That number of interrupts wouldn't add additional packet latencies compared to polling(4). These interrupt parameters could be changed with sysctl. dev.vge.%d.int_holdoff dev.vge.%d.rx_coal_pkt dev.vge.%d.tx_coal_pkt Interface has be brought down and up again before change take effect. With interrupt moderation there is no more need to loop in interrupt handler. This loop always added one more register access. While I'm here remove dead code which tried to implement subset of interrupt moderation. END