ƒ³227169 171 130 132 130 130 134 128 128 131 128 133 132 131 130 129 131 130 130 131 129 128 131 128 131 134 130 131 138 135 134 129 127 130 128 134 188 145 131 215 580 163 140 140 254 226 226 121 596 199 175 219 324 261 195 375 265 214 344 871 848 271 936 523 200 846 280 239 236 240 238 238 237 235 234 237 239 239 237 237 236 585 238 243 240 242 241 245 240 241 243 244 238 243 240 134 208 501 501 161 274 332 285 218 143 137 137 137 152 130 1655 1633 1645 193 137 138 183 188 172 159 177 396 282 363 254 386 224 190 160 146 392 211 307 369 369 2682 2659 2659 639 617 617 330 338 574 172 352 175 412 167 288 272 221 205 188 268 312 296 151 158 220 171 613 99 115 566 149 463 99 351 473 143 855 171 K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:15:48.171538Z K 7 svn:log V 39 Add missing static keywords to lock(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:15:53.723664Z K 7 svn:log V 41 Add missing static keywords to logger(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:15:59.864100Z K 7 svn:log V 39 Add missing static keywords to look(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:06.155867Z K 7 svn:log V 39 Add missing static keywords to make(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:11.833027Z K 7 svn:log V 43 Add missing static keywords to ministat(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:18.100945Z K 7 svn:log V 37 Add missing static keywords to mt(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:24.116541Z K 7 svn:log V 37 Add missing static keywords to pr(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:29.729086Z K 7 svn:log V 40 Add missing static keywords to quota(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:35.987916Z K 7 svn:log V 37 Add missing static keywords to rs(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:41.737443Z K 7 svn:log V 42 Add missing static keywords to ruptime(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:47.730013Z K 7 svn:log V 41 Add missing static keywords to rusers(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:53.863281Z K 7 svn:log V 40 Add missing static keywords to rwall(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:16:59.765795Z K 7 svn:log V 39 Add missing static keywords to rwho(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:05.926250Z K 7 svn:log V 38 Add missing static keywords to seq(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:11.883409Z K 7 svn:log V 40 Add missing static keywords to split(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:17.982196Z K 7 svn:log V 39 Add missing static keywords to tail(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:23.769792Z K 7 svn:log V 39 Add missing static keywords to talk(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:29.787294Z K 7 svn:log V 40 Add missing static keywords to tcopy(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:35.816271Z K 7 svn:log V 38 Add missing static keywords to tee(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:42.256752Z K 7 svn:log V 37 Add missing static keywords to tr(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:47.873063Z K 7 svn:log V 40 Add missing static keywords to tsort(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:53.767706Z K 7 svn:log V 37 Add missing static keywords to ul(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:17:59.784388Z K 7 svn:log V 40 Add missing static keywords to uname(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:05.755587Z K 7 svn:log V 43 Add missing static keywords to unexpand(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:11.719879Z K 7 svn:log V 39 Add missing static keywords to uniq(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:17.747052Z K 7 svn:log V 40 Add missing static keywords to units(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:23.900077Z K 7 svn:log V 47 Add missing static keywords to usbhidaction(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:30.045702Z K 7 svn:log V 44 Add missing static keywords to usbhidctl(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:35.762591Z K 7 svn:log V 43 Add missing static keywords to uuencode(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:42.048609Z K 7 svn:log V 38 Add missing static keywords to vis(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:47.837471Z K 7 svn:log V 36 Add missing static keywords to w(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:18:55.053331Z K 7 svn:log V 39 Add missing static keywords to wall(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:19:00.999613Z K 7 svn:log V 37 Add missing static keywords to wc(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T08:19:07.016701Z K 7 svn:log V 43 Add missing static keywords to xinstall(1) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T09:09:45.046009Z K 7 svn:log V 97 Correct the change made in r227166. This function is only compiled in when building WITH_AUDIT. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-11-06T09:17:48.665963Z K 7 svn:log V 49 Fix the typo made in r157474. MFC after: 3 days END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2011-11-06T09:27:40.290437Z K 7 svn:log V 38 Fix the build with KLD_DEBUG defined. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-11-06T09:29:52.267495Z K 7 svn:log V 118 Before dereferencing intotw() check for NULL, the same way as it is done for in_pcb (see r157474). MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-11-06T10:47:20.488090Z K 7 svn:log V 483 Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid inp_socket->so_options dereference when we may not acquire the lock on the inpcb. This fixes the crash due to NULL pointer dereference in in_pcbbind_setup() when inp_socket->so_options in a pcb returned by in_pcblookup_local() was checked. Reported by: dave jones , Arnaud Lacombe Suggested by: rwatson Glanced by: rwatson Tested by: dave jones END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-11-06T12:37:44.558364Z K 7 svn:log V 66 MFC: r226937 Fix a misplaced parenthesis. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-11-06T13:02:33.320131Z K 7 svn:log V 43 MFC: r226937 Fix a misplaced parenthesis. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-11-06T13:03:59.569295Z K 7 svn:log V 43 MFC: r226937 Fix a misplaced parenthesis. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-11-06T13:06:31.919435Z K 7 svn:log V 161 MFC r227062: Fix kernel panic when d_fdopen csw method is called for NULL fp. This may happen when kernel consumer calls VOP_OPEN(). Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-11-06T13:17:37.246185Z K 7 svn:log V 133 MFC r227062: Fix kernel panic when d_fdopen csw method is called for NULL fp. This may happen when kernel consumer calls VOP_OPEN(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-11-06T13:35:55.888568Z K 7 svn:log V 133 MFC r227062: Fix kernel panic when d_fdopen csw method is called for NULL fp. This may happen when kernel consumer calls VOP_OPEN(). END K 10 svn:author V 7 antoine K 8 svn:date V 27 2011-11-06T14:00:18.853618Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-11-06T14:07:23.121551Z K 7 svn:log V 503 When one attempts to compile the tree with -march=i386, which also used to be gcc's default before r198344, calls to atomic builtins will not be expanded inline. Instead, they will be generated as calls to external functions (e.g. __sync_fetch_and_add_N), leading to linking errors later on. Put in a seatbelt that disables use of atomic builtins in libstdc++ and llvm, when tuning specifically for the real i386 CPU. This does not protect against all possible issues, but it is better than nothing. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-11-06T15:06:04.485276Z K 7 svn:log V 101 MFC r227075: Fix for panic at USB controller attach failure during cold boot. Approved by: re (kib) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-11-06T15:13:01.871632Z K 7 svn:log V 78 MFC r227075: Fix for panic at USB controller attach failure during cold boot. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-11-06T15:51:55.547669Z K 7 svn:log V 121 Fix my previous commit and honor both, the HVTERM1 and the HVTERMPROT buffer size correctly when calling the phyp_hcall. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-11-06T15:58:56.296348Z K 7 svn:log V 226 MFC 227118: Roll up several patches used by PC-BSD. - Fix an issue with gmirror. - Allow IPv4 DHCP and IPv6 SLAAC concurrently. - Fix zpool options using the wrong device name. Approved by: re Obtained from: kris@pcbsd.org END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-11-06T16:36:54.787515Z K 7 svn:log V 160 MFC r226439: Place quotes around the output of kbdmap(1), designed to be pasted into /etc/rc.conf. PR: bin/161711 Submitted by: manolis Approved by: re (kib) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T16:37:15.663386Z K 7 svn:log V 103 Simplify inclusion of the tsptype array a bit. We don't need this array in timed.c -- only readmsg.c. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-11-06T16:37:50.200039Z K 7 svn:log V 274 MFC r226666,226739,226741: Avoid showing the user some spurious error messages from GEOM [1] and do provide error messages instead of silent failure if there are no disks or no network interfaces in the system [2]. PR: bin/161926 [1], bin/161926 [2] Approved by: re (kib) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T16:40:17.133167Z K 7 svn:log V 173 Eliminate global variables. There is no reason why these three variables should be declared as global variables, while the others aren't. They are only used inside main(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T16:47:50.748206Z K 7 svn:log V 122 Mark all global variables static for mptable(1). While there, remove basetableEntryTypes, which became unused in r71209. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T16:52:26.522525Z K 7 svn:log V 252 Make all functions and global variables static for cdcontrol(8). While there, replace __const by const, which seems to be our preference nowadays. Also fix some style(9) bugs by adding newlines and removing unneeded spaces from function declarations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-11-06T16:54:23.504659Z K 7 svn:log V 778 MFC r226985: Workaround the problem introduced by combination of r162200 and r215687. r162200 delays provider orphanization until all running requests complete, to workaround broken orphan() method implementation in some classes. r215687 removes persistent periodic (10Hz) event thread wake ups. Together these changes can indefinitely delay orphanization until some other event wake up the event thread. One consequence of this is inability of CAM to destroy device disconnected when busy and, as consequence, create new one after reconnection. While the best solution would be to revert r162200, it is not easy, as some classes still broken in that way. Instead conditionally wake up event thread if there are some providers waiting for orphanization. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-11-06T16:58:17.287909Z K 7 svn:log V 755 MFC r226985: Workaround the problem introduced by combination of r162200 and r215687. r162200 delays provider orphanization until all running requests complete, to workaround broken orphan() method implementation in some classes. r215687 removes persistent periodic (10Hz) event thread wake ups. Together these changes can indefinitely delay orphanization until some other event wake up the event thread. One consequence of this is inability of CAM to destroy device disconnected when busy and, as consequence, create new one after reconnection. While the best solution would be to revert r162200, it is not easy, as some classes still broken in that way. Instead conditionally wake up event thread if there are some providers waiting for orphanization. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T17:20:44.718839Z K 7 svn:log V 179 Mark the structure fields as const. This allows us to simply place these strings as constants in the table itself, letting the compiler decide to simply merge duplicate strings. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T17:23:49.712008Z K 7 svn:log V 840 MFC: r226154, r226165 - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHY drivers that only ever attach to a particular MAC driver, i.e. inphy(4), ruephy(4) and xlphy(4), to the directory where the respective MAC driver lives and only compile it into the kernel when the latter is also there, also removing it from miibus.ko and moving it into the module of the respective MAC driver. - While at it, rename exphy.c, which comes from NetBSD where the MAC driver it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD actually identifies itself as xlphy(4), and its function names accordingly for consistency. - Additionally while at it, fix some minor style issues like whitespace in the register headers and add multi-inclusion protection to inphyreg.h. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T17:25:22.935241Z K 7 svn:log V 427 MFC: r227001 Increase the IOC port initialization timeouts by ten times to what the corresponding Linux driver uses. This allows mpt(4) to still recognize all good SATA devices in presence of a defective one, which takes about 45 seconds. In the long term we probably should implement the logic used by mpt2sas(4) allowing IOC port initialization to complete at a later time. Submitted by: Andrew Boyer Approved by: re (kib) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T17:30:32.471336Z K 7 svn:log V 108 To be in sync with GEOM_PART_BSD limit the maximum number of supported partitions to 20. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-11-06T17:31:57.174339Z K 7 svn:log V 754 MFC r227085: Always use the opt_*.h options for ipfw.ko, not just when compiled into the kernel. Do not try to build the module in case of no INET support but keep #error calls for now in case we would compile it into the kernel. This should fix an issue where the module would fail to enable IPv6 support from the rc framework, but also other INET and INET6 parts being silently compiled out without giving a warning in the module case. While here garbage collect unneeded opt_*.h includes. opt_ipdn.h is not used anywhere but we need to leave the DUMMYNET entry in options for conditional inclusion in kernel so keep the file with the same name. Reported by: pluknet Reviewed by: plunket, jhb Approved by: re (kib) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T17:32:29.773629Z K 7 svn:log V 188 Add missing static keywords to at(1). While there, tidy up the privs.h part, where at.c has to #define to declare some globals. Also group static and non-static global variables in at.c. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:03.814051Z K 7 svn:log V 147 Mark global functions and/or variables in checknr(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:10.165685Z K 7 svn:log V 144 Mark global functions and/or variables in comm(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:16.014097Z K 7 svn:log V 148 Mark global functions and/or variables in compress(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:23.972454Z K 7 svn:log V 146 Mark global functions and/or variables in enigma(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:30.071522Z K 7 svn:log V 146 Mark global functions and/or variables in expand(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:36.063258Z K 7 svn:log V 145 Mark global functions and/or variables in fstat(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:41.884114Z K 7 svn:log V 143 Mark global functions and/or variables in lam(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:48.043823Z K 7 svn:log V 142 Mark global functions and/or variables in m4(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:49:53.747268Z K 7 svn:log V 145 Mark global functions and/or variables in paste(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:50:00.146678Z K 7 svn:log V 147 Mark global functions and/or variables in unifdef(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:50:19.917284Z K 7 svn:log V 147 Mark global functions and/or variables in whereis(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:50:26.750717Z K 7 svn:log V 145 Mark global functions and/or variables in which(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:50:33.178683Z K 7 svn:log V 145 Mark global functions and/or variables in whois(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T18:50:39.026947Z K 7 svn:log V 144 Mark global functions and/or variables in xstr(1) static where possible. This allows compilers and static analyzers to more thorough analysis. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T18:59:42.915954Z K 7 svn:log V 493 bsdlabel(8) could automatically fill many of disklabel's deprecated fields, but user could specify some of those fields when edits disklabel with `bsdlabel -e`. But without -A flag these fields might be overwritten with default values from the virgin disklabel. So, don't overwrite such fields if they are not zero. Also add checks to prevent creating disklabel with less than DEFPARTITIONS and more than MAXPARTITIONS partitions. PR: bin/162332 Tested by: Eugene Grosbein MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:01:30.174018Z K 7 svn:log V 146 Mark global functions and/or variables in apm(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:01:35.866037Z K 7 svn:log V 151 Mark global functions and/or variables in boot0cfg(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:01:41.829748Z K 7 svn:log V 148 Mark global functions and/or variables in chown(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:01:48.091175Z K 7 svn:log V 150 Mark global functions and/or variables in devinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:01:54.032264Z K 7 svn:log V 149 Mark global functions and/or variables in fdread(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:01:59.890861Z K 7 svn:log V 153 Mark global functions and/or variables in memcontrol(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:13.616180Z K 7 svn:log V 148 Mark global functions and/or variables in mixer(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:20.080459Z K 7 svn:log V 149 Mark global functions and/or variables in moused(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:25.922111Z K 7 svn:log V 151 Mark global functions and/or variables in pwd_mkdb(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:31.855203Z K 7 svn:log V 152 Mark global functions and/or variables in rip6query(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:37.891810Z K 7 svn:log V 146 Mark global functions and/or variables in rmt(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:43.867052Z K 7 svn:log V 151 Mark global functions and/or variables in snapinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T19:02:49.956268Z K 7 svn:log V 148 Mark global functions and/or variables in spray(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T19:03:07.333757Z K 7 svn:log V 43 Remove unneeded checks. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-11-06T19:05:42.241022Z K 7 svn:log V 107 Register a per-CPU virtual processor area with the hypervisor telling it not to do things behind our back. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T19:57:14.603437Z K 7 svn:log V 405 MFC: r227001 Increase the IOC port initialization timeouts by ten times to what the corresponding Linux driver uses. This allows mpt(4) to still recognize all good SATA devices in presence of a defective one, which takes about 45 seconds. In the long term we probably should implement the logic used by mpt2sas(4) allowing IOC port initialization to complete at a later time. Submitted by: Andrew Boyer END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T19:57:17.524253Z K 7 svn:log V 405 MFC: r227001 Increase the IOC port initialization timeouts by ten times to what the corresponding Linux driver uses. This allows mpt(4) to still recognize all good SATA devices in presence of a defective one, which takes about 45 seconds. In the long term we probably should implement the logic used by mpt2sas(4) allowing IOC port initialization to complete at a later time. Submitted by: Andrew Boyer END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-11-06T20:09:22.993169Z K 7 svn:log V 66 Initialize all components of the sent COOKIE. MFC after: 3 days. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T20:16:50.409546Z K 7 svn:log V 182 Remove MALLOC_DECLAREs of nonexisting malloc-pools. After careful grepping, it seems none of these pools can be found in our source tree. They are not in use, nor are they defined. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-11-06T20:29:18.279642Z K 7 svn:log V 240 MFC r227064: Add QLogic 10 Gigabit Ethernet & CNA Adapter Driver version 1.30 for 3200 and 8200 series cards. Submitted by: David C Somayajulu (david.somayajulu@qlogic.com), Qlogic Corporation Approved by: re (kib) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-06T20:30:21.667200Z K 7 svn:log V 193 Partially revert r227233. The privs.h header is not only used by at(1), it's also used by atrun(8). Just let the code the way it used to be (for now). Reported by: kwm, tinderbox Hat to: me END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T20:32:55.113322Z K 7 svn:log V 126 Add recommendation to use gpart(8) when user tries write disklabel or bootcode to already opened provider. MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-11-06T20:37:17.568658Z K 7 svn:log V 46 Write QLogic consistently. MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T20:38:27.912628Z K 7 svn:log V 46 Add reference to gpart(8). MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T20:39:35.440154Z K 7 svn:log V 46 Add reference to gpart(8). MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T20:42:32.038026Z K 7 svn:log V 46 Add reference to gpart(8). MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-11-06T20:49:17.028047Z K 7 svn:log V 55 Add qlxgb(4) to the hardware notes. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-11-06T20:59:07.618576Z K 7 svn:log V 33 Add qlxgb(4). MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T21:09:10.474746Z K 7 svn:log V 1558 MFC: r226995, r227042 - Import the common MII bitbang'ing code from NetBSD and convert drivers to take advantage of it instead of duplicating it. This reduces the size of the i386 GENERIC kernel by about 8k. The only potential in-tree users left unconverted are ed(4) and xe(4). Xe(4) generally should be changed to use miibus(4) instead of implementing PHY handling on its own, as otherwise it makes not much sense to add a dependency on miibus(4)/mii_bitbang(4) to it just for the MII bitbang'ing code. Ed(4) has some chip specific things interwinded with the MII bitbang'ing code and it's unclear whether it can be converted to common code, at least not without thorough testing of all the various chips supported by ed(4). The common MII bitbang'ing code also is useful in the embedded space for using GPIO pins to implement MII access. - Based on lessons learnt with dc(4) (see r185750), add bus barriers to the MII bitbang read and write functions of the other drivers converted in order to ensure the intended ordering. Given that register access via an index register as well as register bank/window switching is subject to the same problem, also add bus barriers to the respective functions of smc(4), tl(4) and xl(4). - Sprinkle some const. Thanks to the following testers: Andrew Bliznak (nge(4)), nwhitehorn@ (bm(4)), yongari@ (sis(4) and ste(4)) Thanks to Hans-Joerg Sirtl for supplying hardware to test stge(4). Reviewed by: yongari (subset of drivers) Approved by: re (kib) Obtained from: NetBSD (partially) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T21:09:23.779519Z K 7 svn:log V 1536 MFC: r226995, r227042 - Import the common MII bitbang'ing code from NetBSD and convert drivers to take advantage of it instead of duplicating it. This reduces the size of the i386 GENERIC kernel by about 8k. The only potential in-tree users left unconverted are ed(4) and xe(4). Xe(4) generally should be changed to use miibus(4) instead of implementing PHY handling on its own, as otherwise it makes not much sense to add a dependency on miibus(4)/mii_bitbang(4) to it just for the MII bitbang'ing code. Ed(4) has some chip specific things interwinded with the MII bitbang'ing code and it's unclear whether it can be converted to common code, at least not without thorough testing of all the various chips supported by ed(4). The common MII bitbang'ing code also is useful in the embedded space for using GPIO pins to implement MII access. - Based on lessons learnt with dc(4) (see r185750), add bus barriers to the MII bitbang read and write functions of the other drivers converted in order to ensure the intended ordering. Given that register access via an index register as well as register bank/window switching is subject to the same problem, also add bus barriers to the respective functions of smc(4), tl(4) and xl(4). - Sprinkle some const. Thanks to the following testers: Andrew Bliznak (nge(4)), nwhitehorn@ (bm(4)), yongari@ (sis(4) and ste(4)) Thanks to Hans-Joerg Sirtl for supplying hardware to test stge(4). Reviewed by: yongari (subset of drivers) Obtained from: NetBSD (partially) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T21:11:22.113803Z K 7 svn:log V 1548 MFC: r226995 (partially), r227042 - Import the common MII bitbang'ing code from NetBSD and convert drivers to take advantage of it instead of duplicating it. This reduces the size of the i386 GENERIC kernel by about 8k. The only potential in-tree users left unconverted are ed(4) and xe(4). Xe(4) generally should be changed to use miibus(4) instead of implementing PHY handling on its own, as otherwise it makes not much sense to add a dependency on miibus(4)/mii_bitbang(4) to it just for the MII bitbang'ing code. Ed(4) has some chip specific things interwinded with the MII bitbang'ing code and it's unclear whether it can be converted to common code, at least not without thorough testing of all the various chips supported by ed(4). The common MII bitbang'ing code also is useful in the embedded space for using GPIO pins to implement MII access. - Based on lessons learnt with dc(4) (see r185750), add bus barriers to the MII bitbang read and write functions of the other drivers converted in order to ensure the intended ordering. Given that register access via an index register as well as register bank/window switching is subject to the same problem, also add bus barriers to the respective functions of smc(4), tl(4) and xl(4). - Sprinkle some const. Thanks to the following testers: Andrew Bliznak (nge(4)), nwhitehorn@ (bm(4)), yongari@ (sis(4) and ste(4)) Thanks to Hans-Joerg Sirtl for supplying hardware to test stge(4). Reviewed by: yongari (subset of drivers) Obtained from: NetBSD (partially) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-06T21:12:52.375908Z K 7 svn:log V 101 Initialize "acc" value inside the loop to reset failed attempts. PR: misc/162262 MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T21:33:50.902298Z K 7 svn:log V 42 Commit man page update missed in r227006. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T21:54:27.263075Z K 7 svn:log V 43 Add missing comma. Submitted by: brueffer END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-11-06T21:57:12.278288Z K 7 svn:log V 88 Add check-password.4th and screen.4th to the boot image. They are needed by the loader. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-06T22:28:13.784214Z K 7 svn:log V 93 Freeze the device queue if a request didn't complete without error and isn't already frozen. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-11-06T23:11:30.725819Z K 7 svn:log V 75 Add support for new USB modem protocol. PR: usb/159919 MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-11-06T23:26:26.033119Z K 7 svn:log V 62 Fix build breakage for 8-stable and older. MFC after: 0 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-11-06T23:34:40.613774Z K 7 svn:log V 80 MFC r227286: Fix kernel build breakage of 8-stable. Reported by: Marius Strobl END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-11-07T00:12:16.703600Z K 7 svn:log V 300 - Ooops, we should check PGA_WRITEABLE agains aflags, not flags. - in pmap_fault_fixup(), don't assume the mapping as to be a user mapping only because the fault comes from userland. If we were faulting from copyin/copyout or friends, we would remove the userland access, and bad thing would happen. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-11-07T00:27:25.689984Z K 7 svn:log V 186 In pmap_modify_pv(), if we're removing the PVF_WRITE flag, don't forget to check if there's any writable mapping left for the page, and remove the PGA_WRITEABLE flag if there's not any. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2011-11-07T01:53:25.854484Z K 7 svn:log V 267 Fix the DTrace pid return trap interrupt vector. Previously we were using 31, but that vector is reserved. Without this fix, running dtrace -p would either cause the target process to crash or the kernel to page fault. Obtained from: rpaulo MFC after: 3days END K 10 svn:author V 6 rstone K 8 svn:date V 27 2011-11-07T01:55:58.211803Z K 7 svn:log V 158 Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to write to the .text section of a process. Obtained from: rpaulo MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-07T06:24:35.641790Z K 7 svn:log V 294 Improve error reporting when MBR can not be written. Remove obsolete code which uses DIOCSMBR ioctl. When writing MBR first check that GEOM_MBR is available, if it is not available, then try write MBR directly to provider. If both are failed, then recommend to use gpart(8). MFC after: 2 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-07T06:44:47.863363Z K 7 svn:log V 132 Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-07T07:09:38.863549Z K 7 svn:log V 99 SDT's struct sdt_argtype can be marked static everywhere. It is only passed to SYSINIT/SYSUNINIT. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-07T07:50:35.853596Z K 7 svn:log V 69 Fix multi-line comment formatting. Pointed by: jh MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-07T07:51:10.782305Z K 7 svn:log V 55 Fix multi-line comment formatting. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-07T09:21:18.079404Z K 7 svn:log V 300 Reorganize write_mbr() function to be able write bootcode with different ways. Improve error reporting and also fix indenting. Now we are trying to write bootcode: 1. Directly to provider (if we can open it for writing); 2. Via GEOM_PART (if it is available); 3. Via GEOM_MBR. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-11-07T09:29:10.761561Z K 7 svn:log V 119 Remove a note about disabling of GEOM protection mechanism. boot0cfg should work without such hack. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-07T09:42:22.629882Z K 7 svn:log V 215 Remove unneeded CFLAGS. Such optimisations should not be performed in this Makefile. Also, uqs@ suggested they have no effect, because the checksum of the resulting binary is unchanged. Discussed with: gabor, uqs END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T11:31:14.360604Z K 7 svn:log V 273 Automatically compile in mii_bitbang.c if one of the drivers depending on it since r227278 is compiled into the kernel. This restores POLA for people that don't use "options miibus" but "options mii" and individual PHY drivers instead. This is a direct commit to stable/8. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T11:31:37.410288Z K 7 svn:log V 273 Automatically compile in mii_bitbang.c if one of the drivers depending on it since r227279 is compiled into the kernel. This restores POLA for people that don't use "options miibus" but "options mii" and individual PHY drivers instead. This is a direct commit to stable/7. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T13:16:51.008589Z K 7 svn:log V 2585 MFC: r226947, r226949, r227284 - Use device_t rather than the NetBSDish struct device. - Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends to use it. - Use KOBJMETHOD_END. - Remove the gl_clear_latched_intr hook as it's not needed for any of the chips nor the front-ends supported in FreeBSD and likely never will be. - Correct the DMA constraints and only limit the tag used for the transfer buffers to 32-bit DMA as that address is written into a 32-bit register. - The ESP200 also only supports up to 64k transfers. - Don't let the DMA and SBus front-end supply a maximum transfer size larger than MAXPHYS as that's the maximum the upper layers use and we otherwise just waste resources unnecessarily. - Initialize the ECB callout and don't zero the handle when returning ECBs to the free list so that ncr53c9x_callout() actually is called with the driver lock held. - On detach the driver lock should be held across cam_sim_free() according to isp(4) and a panic received. - Check the return value of NCRDMA_SETUP(), i.e. bus_dmamap_load(9), and try to handle failures gracefully. - In ncr53c9x_action() replace N calls to xpt_done() in a switch with just one at the end. - On XPT_PATH_INQ report "NCR" rather than "Sun" as the vendor as the former is somewhat more correct as well as the maximum supported transfer size via maxio in order to take advantage of controllers that that can handle more than DFLTPHYS. - Freeze the device queue if a request didn't complete without error and isn't already frozen. - Print the number of MESSAGE (EXTENDED) rejected. - Fix the path encoded in the multiple inclusion protection of ncr53c9xvar.h. - Correct the DMA constraints used in the LSI64854 core to not exceed the maximum supported transfer size and include the boundary so we don't need to check on every setup of a DMA transfer. - Let the bus DMA map callbacks do nothing in case of an error. - Correctly handle > 64k transfers for FAS366 in the LSI64854. A new feature flag NCR_F_LARGEXFER was introduced so we just need to check for this one and not for individual controllers supporting large transfers in several places. - Let the LSI64854 core load transfer buffers using BUS_DMA_NOWAIT as the NCR53C9x core can't handle EINPROGRESS. Due to lack of bounce buffers support, sparc64 doesn't actually use EINPROGRESS and likely never will, as an example for writing additional front-ends for the NCR53C9x core it makes sense to set BUS_DMA_NOWAIT anyway though. - Some minor cleanup. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T13:17:40.191859Z K 7 svn:log V 2562 MFC: r226947, r226949, r227284 - Use device_t rather than the NetBSDish struct device. - Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends to use it. - Use KOBJMETHOD_END. - Remove the gl_clear_latched_intr hook as it's not needed for any of the chips nor the front-ends supported in FreeBSD and likely never will be. - Correct the DMA constraints and only limit the tag used for the transfer buffers to 32-bit DMA as that address is written into a 32-bit register. - The ESP200 also only supports up to 64k transfers. - Don't let the DMA and SBus front-end supply a maximum transfer size larger than MAXPHYS as that's the maximum the upper layers use and we otherwise just waste resources unnecessarily. - Initialize the ECB callout and don't zero the handle when returning ECBs to the free list so that ncr53c9x_callout() actually is called with the driver lock held. - On detach the driver lock should be held across cam_sim_free() according to isp(4) and a panic received. - Check the return value of NCRDMA_SETUP(), i.e. bus_dmamap_load(9), and try to handle failures gracefully. - In ncr53c9x_action() replace N calls to xpt_done() in a switch with just one at the end. - On XPT_PATH_INQ report "NCR" rather than "Sun" as the vendor as the former is somewhat more correct as well as the maximum supported transfer size via maxio in order to take advantage of controllers that that can handle more than DFLTPHYS. - Freeze the device queue if a request didn't complete without error and isn't already frozen. - Print the number of MESSAGE (EXTENDED) rejected. - Fix the path encoded in the multiple inclusion protection of ncr53c9xvar.h. - Correct the DMA constraints used in the LSI64854 core to not exceed the maximum supported transfer size and include the boundary so we don't need to check on every setup of a DMA transfer. - Let the bus DMA map callbacks do nothing in case of an error. - Correctly handle > 64k transfers for FAS366 in the LSI64854. A new feature flag NCR_F_LARGEXFER was introduced so we just need to check for this one and not for individual controllers supporting large transfers in several places. - Let the LSI64854 core load transfer buffers using BUS_DMA_NOWAIT as the NCR53C9x core can't handle EINPROGRESS. Due to lack of bounce buffers support, sparc64 doesn't actually use EINPROGRESS and likely never will, as an example for writing additional front-ends for the NCR53C9x core it makes sense to set BUS_DMA_NOWAIT anyway though. - Some minor cleanup. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T13:18:09.127290Z K 7 svn:log V 2562 MFC: r226947, r226949, r227284 - Use device_t rather than the NetBSDish struct device. - Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends to use it. - Use KOBJMETHOD_END. - Remove the gl_clear_latched_intr hook as it's not needed for any of the chips nor the front-ends supported in FreeBSD and likely never will be. - Correct the DMA constraints and only limit the tag used for the transfer buffers to 32-bit DMA as that address is written into a 32-bit register. - The ESP200 also only supports up to 64k transfers. - Don't let the DMA and SBus front-end supply a maximum transfer size larger than MAXPHYS as that's the maximum the upper layers use and we otherwise just waste resources unnecessarily. - Initialize the ECB callout and don't zero the handle when returning ECBs to the free list so that ncr53c9x_callout() actually is called with the driver lock held. - On detach the driver lock should be held across cam_sim_free() according to isp(4) and a panic received. - Check the return value of NCRDMA_SETUP(), i.e. bus_dmamap_load(9), and try to handle failures gracefully. - In ncr53c9x_action() replace N calls to xpt_done() in a switch with just one at the end. - On XPT_PATH_INQ report "NCR" rather than "Sun" as the vendor as the former is somewhat more correct as well as the maximum supported transfer size via maxio in order to take advantage of controllers that that can handle more than DFLTPHYS. - Freeze the device queue if a request didn't complete without error and isn't already frozen. - Print the number of MESSAGE (EXTENDED) rejected. - Fix the path encoded in the multiple inclusion protection of ncr53c9xvar.h. - Correct the DMA constraints used in the LSI64854 core to not exceed the maximum supported transfer size and include the boundary so we don't need to check on every setup of a DMA transfer. - Let the bus DMA map callbacks do nothing in case of an error. - Correctly handle > 64k transfers for FAS366 in the LSI64854. A new feature flag NCR_F_LARGEXFER was introduced so we just need to check for this one and not for individual controllers supporting large transfers in several places. - Let the LSI64854 core load transfer buffers using BUS_DMA_NOWAIT as the NCR53C9x core can't handle EINPROGRESS. Due to lack of bounce buffers support, sparc64 doesn't actually use EINPROGRESS and likely never will, as an example for writing additional front-ends for the NCR53C9x core it makes sense to set BUS_DMA_NOWAIT anyway though. - Some minor cleanup. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T13:40:54.817876Z K 7 svn:log V 543 MFC: r227006, r227281, r227282 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel configuration files. Besides duplicating functionality, amd(4), which previously also supported the AMD Am53C974, unlike esp(4) is no longer maintained and has accumulated enough bit rot over time to always cause a panic during boot as long as at least one target is attached to it (see PR 124667). PR: 124667 Approved by: re (kib) Obtained from: NetBSD (based on) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T13:45:18.340668Z K 7 svn:log V 521 MFC: r227006, r227281, r227282 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel configuration files. Besides duplicating functionality, amd(4), which previously also supported the AMD Am53C974, unlike esp(4) is no longer maintained and has accumulated enough bit rot over time to always cause a panic during boot as long as at least one target is attached to it (see PR 124667). PR: 124667 Obtained from: NetBSD (based on) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T13:46:16.000916Z K 7 svn:log V 521 MFC: r227006, r227281, r227282 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel configuration files. Besides duplicating functionality, amd(4), which previously also supported the AMD Am53C974, unlike esp(4) is no longer maintained and has accumulated enough bit rot over time to always cause a panic during boot as long as at least one target is attached to it (see PR 124667). PR: 124667 Obtained from: NetBSD (based on) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-11-07T14:22:18.293403Z K 7 svn:log V 233 In icmp6_redirect_input: - Assert that we got a valid mbuf with rcvif pointer. [1] - Use __func__ in logging. Submitted by: prabhakar lakhera [1] Submitted by: Kristof Provost [1] END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-07T15:43:11.273872Z K 7 svn:log V 246 Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-11-07T16:21:50.205209Z K 7 svn:log V 478 Don astbestos garment and remove the warning about TMPFS being experimental -- highly experimental even. So far the closest to a bug in TMPFS that people have gotten to relates to how ZFS can take away from the memory that TMPFS needs. One can argue that such is not a bug in TMPFS. Irrespective, even if there is a bug here and there in TMPFS, it's not in our own advantage to scare people away from using TMPFS. I for one have been using it, even with ZFS, very successfully. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T18:19:20.652423Z K 7 svn:log V 76 Remove ti_unit member variable in softc. While I'm here use PCIR_BAR macro. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T18:26:38.006095Z K 7 svn:log V 255 o Remove unnecessary controller reinitialization. o Do not blindly UP controller when MTU is changed. Reinitialize controller only if driver is running. o Remove useless ti_stop() in ti_watchdog() since ti_init_locked() always invokes ti_stop(). END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-11-07T19:53:20.834570Z K 7 svn:log V 80 Allow the paravirtualized debug port to override others. Obtained from: NetApp END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-07T19:57:42.059493Z K 7 svn:log V 320 Ensure pam_lastlog removes the /dev/ component of the TTY name. Some consumers of PAM remove the /dev/ component (i.e. login), while others don't (i.e. su). We must ensure that the /dev/ component is removed to ensure that the utmpx entries properly work with tools such as w(1). Discussed with: des MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-11-07T21:09:04.620562Z K 7 svn:log V 71 In lim_fork() assert that processes locks are held. Suggested by: kib END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-11-07T21:13:19.262793Z K 7 svn:log V 191 Add KVME_FLAG_SUPER and use it in sysctl_kern_proc_vmmap for marking entries with superpages. Submitted by: Mel Flynn Reviewed by: alc, rwatson END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-11-07T21:16:19.862985Z K 7 svn:log V 175 When displaying process virtual memory mappings print superpage mapping flag. Submitted by: Mel Flynn Reviewed by: alc, rwatson END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T22:11:38.577497Z K 7 svn:log V 124 Track which ring was updated in RX handler and update only modified ring. This should reduce unnecessary register accesses. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T22:17:44.947200Z K 7 svn:log V 108 Mini ring is not available on Tigon 1 so do not create DMA maps for mini ring on Tigon 1 to save resources. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-11-07T22:30:19.494767Z K 7 svn:log V 93 When loading addresses from INITs, always use the correct local address. MFC after: 3 days. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-11-07T22:34:07.384501Z K 7 svn:log V 172 Partially disable r227304 as stable/7 doesn't support reporting the maximum supported transfer size, yet. Reported by: Scott Allendorf This is a direct commit to stable/7. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T22:47:25.420722Z K 7 svn:log V 215 Show RX buffer allocation failure and do not blindly send alive message to firmware. Probably the correct way for this error is to send a TI_CMD_CODE_STACK_DOWN message to firmware and let firmware handle the rest. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T22:53:06.481016Z K 7 svn:log V 199 If ti_chipinit() fails in ti_stop(), ignore the error and release all allocated TX/RX buffer resources. If the interface is brought to up again after the error, we will leak allocated TX/RX buffers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-11-07T22:58:49.545183Z K 7 svn:log V 55 Do not allow changing MTU to be less than the minimum. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-11-07T23:09:18.428743Z K 7 svn:log V 66 MFC r226967, r226971: Added missing cache purge of from argument. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T01:35:05.234728Z K 7 svn:log V 124 Merge in ath rate flags and ath_rc_series from my 11n TX branch. This is in preparation for 802.11n TX aggregation support. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T01:35:44.448054Z K 7 svn:log V 76 Bring over the 11n aggregation statistics struct from the if_ath_tx branch. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T02:12:11.328729Z K 7 svn:log V 517 Begin merging in some of my 802.11n TX aggregation driver changes. * Add a PCU lock, which isn't currently used but will eventually be used to serialise some of the driver access. * Add in all the software TX aggregation state, that's kept per-node and per-TID. * Add in the software and aggregation state to ath_buf. * Add in hooks to ath_softc for aggregation state and the (upcoming) aggregation TX state calls. * Add / fix the HAL access macros. Obtained from: Linux, ath9k Sponsored by: Hobnob, Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T02:53:11.303390Z K 7 svn:log V 5 IFC. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T02:54:08.423026Z K 7 svn:log V 20 Fix this mis-merge. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T04:00:24.834197Z K 7 svn:log V 470 Add 802.11h quiet time element support into net80211. This supports both station and hostap modes: * Station mode quiet time element support listens to quiet time IE's and modifies the local quiet time configuration as appropriate; * Hostap mode both obeys the locally configured quiet time period and includes it in beacon frames so stations also can obey as needed. Submitted by: Himali Patel Sponsored by: Sibridge Technologies END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-11-08T08:29:05.906311Z K 7 svn:log V 55 Enable PCI MMC/SD support by default on i386 and amd64 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-11-08T10:18:07.535175Z K 7 svn:log V 366 Introduce the option VFS_ALLOW_NONMPSAFE and turn it on by default on all the architectures. The option allows to mount non-MPSAFE filesystem. Without it, the kernel will refuse to mount a non-MPSAFE filesytem. This patch is part of the effort of killing non-MPSAFE filesystems from the tree. No MFC is expected for this patch. Tested by: gianni Reviewed by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-11-08T11:08:40.621698Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-11-08T11:36:46.886572Z K 7 svn:log V 259 Simplify getopt switch parsing. Only one of these flags can be set. Just add them together and check the value. Also, get rid of the listall variable. The code is already filled with direct *flag-comparisons. Obtained from: Alexander Best (though modified) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T14:22:40.686780Z K 7 svn:log V 377 Add quiet time element configuration support to ifconfig. This allows a hostap to specify to a set of stations that they should not transmit for a certain period of time after each beacon interval has expired. This is used when searching for radar pulses or general interference. Submitted by: Himali Patel Sponsored by: Sibridge Technologies END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-11-08T14:24:33.873516Z K 7 svn:log V 46 Start up 9.0-RC2. Approved by: re (implicit) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T14:28:33.300833Z K 7 svn:log V 759 Reject frames in STA mode which are not destined to the local STA address. Some hardware (eg the AR9160 in STA mode) seems to "leak" unicast FROMDS frames which aren't destined to itself. This angers the net80211 stack - the existing code would fail to find an address in the node table and try passing the frame up to each vap BSS. It would then be accepted in the input routine and its contents would update the local crypto and sequence number state. If the sequence number / crypto IV replay counters from the leaked frame were greater than the "real" state, subsequent "real" frames would be rejected due to out of sequence / IV replay conditions. This is also likely helpful if/when multi-STA modes are added to net80211. Sponsored by: Hobnob, Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-11-08T14:34:01.896835Z K 7 svn:log V 76 .. add missing include from an incorrect merge. Sponsored by: Hobnob, Inc. END