ƒœ179543 184 329 135 174 155 237 144 123 338 247 122 561 420 139 139 137 224 407 359 166 246 192 223 167 317 637 369 144 126 251 132 151 145 139 200 162 126 209 320 222 122 163 163 259 178 150 149 229 157 325 743 174 146 544 285 480 304 239 139 190 237 512 154 148 148 192 229 229 156 152 205 174 161 251 865 155 129 284 724 196 265 1992 250 714 118 307 607 289 244 633 251 150 251 189 321 202 122 177 248 249 280 620 314 224 193 585 178 536 250 243 119 116 302 800 145 143 251 448 260 361 315 123 122 213 236 592 736 250 447 165 165 141 141 164 164 319 327 231 161 128 141 154 187 150 150 559 151 246 137 119 126 302 236 444 286 157 139 267 174 180 215 215 260 209 481 186 186 186 279 128 186 144 122 262 385 220 181 699 272 256 395 2249 122 196 1109 K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-04T15:19:58.920302Z K 7 svn:log V 236 - Split the interrupt handler up into separate subroutines for rx, tx, and MAC events. - Use bus_*() rather than bus_space_*() and remove the bus space tag and handle from the softc. - Retire unused macros for examining CIS tuples. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-06-04T15:38:28.862535Z K 7 svn:log V 42 MFC cvs revision 1.19 Plug a memory leak END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-06-04T15:58:52.411086Z K 7 svn:log V 81 Back out previous commit. These entry point names are not valid in this branch. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-06-04T16:13:12.692386Z K 7 svn:log V 62 MFC revision 1.19 with some tweaks to the entry point naming. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-06-04T19:16:54.523190Z K 7 svn:log V 139 Fix a strict aliasing warning - I think it is really telling us that the way char * and void * pointers may not be stored in the same way. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-04T19:33:23.723044Z K 7 svn:log V 52 Gah, always reset the timer for the watchdog check. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-06-04T19:50:34.393324Z K 7 svn:log V 26 De-register declarations. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-04T20:07:59.464233Z K 7 svn:log V 242 Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSES and define STATIC_GEOM_CLASSES when building the rescue binary. This way geom can more easily be part of other crunched binaries, as it requires only a Makefile change. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-04T20:26:57.271730Z K 7 svn:log V 154 Style(9) xe(4). The MD5 sums are different, but comparing the dissassemblies the only changes are from gcc moving some global variables around slightly. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-06-04T23:31:53.458222Z K 7 svn:log V 27 Add a newline after usage. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-05T05:51:19.688835Z K 7 svn:log V 468 Fix the media auto code by breaking it :-). Auto now just means 'use 10BaseT' since it required 10BaseT to have carrier to switch to it. This chip makes it hard to do proper auto, so we don't do it. We can't test carrier on things easily. Don't insist on carrier when we set the media. Don't report failures. Remove a 1s! delay that appears to not be needed. With these patches, and John Baldwin's patches, I'm able to pass packets on my IBM EtherJet card again. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-05T09:15:47.914122Z K 7 svn:log V 327 When devfs_allocv() committed to create new vnode, since de_vnode is NULL, the dm_lock is held while the newly allocated vnode is locked. Since no other threads may try to lock the new vnode yet, the LOR there cannot result in the deadlock. Shut down the witness warning to note this fact. Tested by: pho Prodded by: attilio END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-06-05T10:50:22.405680Z K 7 svn:log V 44 MFC: Recode the colemak keymap to ISO-8859. END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-06-05T10:53:01.356825Z K 7 svn:log V 44 MFC: Recode the colemak keymap to ISO-8859. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-06-05T13:37:40.297450Z K 7 svn:log V 43 - ncurses has been updated to 5.6-20080503 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-05T14:43:55.731410Z K 7 svn:log V 131 - Fix two calls to ieinit() in ieioctl() to call ieinit_locked() instead to avoid recursing on the lock. - Use IFQ_SET_MAXLEN(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-05T14:45:32.785772Z K 7 svn:log V 314 Rename the ie_EE16 module to just 'ie' so that at least one of the modules for this driver is called 'ie'. Otherwise, ifconfig(8) doesn't recognize any of the modules as being the ie(4) driver and will always try to kldload the driver even when it is already present in the kernel. Reported by: Thierry Herbelot END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-05T14:49:35.909059Z K 7 svn:log V 266 Make the cs(4) driver MPSAFE: - Add a mutex to the softc to protect the softc and the device hardware. - Add a private timer to manage transmit watchdogs rather than using if_timer/if_watchdog. - Setup the interrupt handler after ether_ifattach(). Tested by: imp END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-05T15:09:53.363570Z K 7 svn:log V 71 Optimize the CVS bug #17168 fix by relaxing the conditions for update. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-05T15:24:10.317268Z K 7 svn:log V 150 Allow building a static geom(8) for release related crunched binaries. In particular, this allows geom to be added to the boot_crunch binary on ia64. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-05T15:32:05.742887Z K 7 svn:log V 97 Obsolete gpt(8) by replacing it with geom(8). Add the glabel and gpart symlinks for easy access. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-06-05T16:56:56.493561Z K 7 svn:log V 126 Add the support for the Globetrotter Max 3.6 HSDPA Modem. PR: usb/118374 Submitted by: Greg Rivers END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-06-05T17:07:33.149401Z K 7 svn:log V 71 Add the missing option LK_NOWITNESS for vn_lock / VOP_LOCK operations. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-06-05T17:26:47.486249Z K 7 svn:log V 221 Fix the wait for default route change I made a few weeks ago by creating a new defaultroute script that just does the wait. The previous attempt created a circular dependency through network_ipv6. Pointy hat to: brooks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-05T17:44:18.709417Z K 7 svn:log V 545 Fix faulty character to control-character conversion for CTRL(). The CTRL() macro seems to perform character to control-character conversion (i.e. 'A' to 0x01) to lowercase characters. This is actually not valid. If we use lowercase characters, conversions such as CTRL('\\') and CTRL('?') will result to invalid conversions. Because we must still support old source code that uses CTRL() (bad!), we make CTRL() accept both forms. When the character is a lowercase character, we perform the old style conversion. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-05T17:46:32.013670Z K 7 svn:log V 277 Make ppp use , not . ppp's physical.c is filled with calls to termios. For some reason, it includes , not . Even though this works with the current version of FreeBSD, we'd better follow the standards. Approved by: philip (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T19:01:31.684523Z K 7 svn:log V 50 Snapshot approvers file, converted to new syntax. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-06-05T19:30:20.230436Z K 7 svn:log V 31 Fix range check for rtable id. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T19:35:34.761511Z K 7 svn:log V 156 Initial shot at svn-ified version of cvs approvecheck script. It is simplified due to not having to deal with tags or modules. svnlook gives us plain paths END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T19:37:44.815801Z K 7 svn:log V 38 Turn on approved-by checking. *gulp* END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T19:47:22.654646Z K 7 svn:log V 57 Print error messages to stderr, or svn won't display it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T19:47:58.519375Z K 7 svn:log V 51 Update LOCKS syntax. Approved by: core (implicit) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T19:52:51.592254Z K 7 svn:log V 45 svnadmin/conf/approvers has two columns now. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T20:10:35.356239Z K 7 svn:log V 105 Add an inclusive list of paths that can be committed to. Approval and access control happens elsewhere. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T20:36:38.332485Z K 7 svn:log V 68 Check paths being touched against whitelist in svnadmin/conf/paths. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T20:37:55.841598Z K 7 svn:log V 32 Turn on pre-commit path checks. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T21:13:40.002836Z K 7 svn:log V 114 Import CVSROOT/access, as of rev 1.878. (Sorry, I missed this in the cvs2svn work) Approved by: core (implicit) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T22:25:23.336041Z K 7 svn:log V 225 Turn off authz. svnadmin/conf/paths and svnadmin/conf/approvers replaces this along with svnadmin/conf/access (and /home/{pcvs,dcvs}/CVSROOT/access). (Ports and Doc folk should be able to commit on the same terms as before) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T22:29:28.961999Z K 7 svn:log V 127 snapshot CVSROOT/access,v file. If we have to redo the the cvs2svn run for some reason, I'll include this file for next time. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T22:33:45.399012Z K 7 svn:log V 28 Snapshot ssh shell wrapper. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-06-05T22:35:07.901929Z K 7 svn:log V 68 MFC r179024: Change a use of u_int32_t to uint32_t. PR: bin/93172 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-06-05T22:35:58.513208Z K 7 svn:log V 68 MFC r179024: Change a use of u_int32_t to uint32_t. PR: bin/93172 END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T22:38:20.369369Z K 7 svn:log V 164 Fail earlier, gracefully if no commit bit. (The process would have failed messily due to no permission, so here's our chance to explain nicely what the problem is) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-05T23:14:56.658942Z K 7 svn:log V 84 Note non-src committers, like on cvs. Works in conjunction with the wrapper shell. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T00:01:22.997339Z K 7 svn:log V 56 Remove versioned property cvs2svn:cvs-rev (test-commit) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T03:11:08.163767Z K 7 svn:log V 55 Begin requiring incremental removal of cvs2svn:cvs-rev END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T03:21:59.476498Z K 7 svn:log V 134 Checkpoint what I've been running for the last year. Tidy up a bunch of loose ends that "can't happen" any more, if they ever could. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T03:23:34.458344Z K 7 svn:log V 63 Add more card state dump routines. Decode more bitfields etc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T04:56:27.363570Z K 7 svn:log V 232 Remove unused fields in softc. If they are ever really needed again, they can re-added. Remove CS_NAME. Don't whine when there's an ignored checksum error: User has said STFU, so we should S the FU. (remove mandated properties). END K 10 svn:author V 5 benno K 8 svn:date V 27 2008-06-06T05:00:49.069121Z K 7 svn:log V 648 This is a rewritten driver for the SMSC LAN91C111. It's based in part on the sn(4) driver and also looking at newer drivers. The reason for the rewrite is to support MII and to try and resolve some performance issues found when trying to use the sn(4) driver on the Gumstix network boards. For reference, the SMSC LAN91C111 is a non-PCI ethernet part whose lineage dates back to Ye Olde Days of ISA. It seems to get some use in the embedded space these days on parts lacking on-board MACs or on-board PCI controllers, such as the XScale PXA line of ARM CPUs. This also includes a driver for the SMSC LAN83C183 10/100 PHY. Man page to follow. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T05:02:01.882699Z K 7 svn:log V 82 cs has detach, remove bogus ifdef. Remove dedundant initialization of error to 0. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T05:02:36.065561Z K 7 svn:log V 54 Simplify error checking when reading the function.... END K 10 svn:author V 5 benno K 8 svn:date V 27 2008-06-06T05:08:09.378326Z K 7 svn:log V 449 Support for the XScale PXA255 SoC as found on the Gumstix Basix and Connex boards. This is enough to net-boot to multiuser. Also supported is the SMSC LAN91C111 parts used on the netCF, netDUO and netMMC add-on boards. I'll be putting some instructions on how to boot this on the Gumstix boards online soon. This is still fairly rough and will be refined over time but I felt it was better to get this out there where other people can help out. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-06T05:14:16.024563Z K 7 svn:log V 189 Update the manpage to reflect reality: o The BSD, PC98 and VTOC8 schemes are supported. o The bootcode command was added to allow installing bootstrap code into the scheme's metadata. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T05:25:24.444814Z K 7 svn:log V 387 Minor clean up to shave about 1.5k off the size of the driver: o remove unused fields from softc and args from cs_alloc_irq o remove some commented code that will never be implemented. o Don't try to send a packet and see if it worked. We don't need this anymore, and it doesn't add any value. o tweaks for BNC and AUI. o limit possible time hung in the kernel to 4s rather than 40s. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-06-06T07:17:04.016175Z K 7 svn:log V 206 Tweak rc.firewall to allow incoming limited broadcast traffic, when configured to run in 'client' mode. PR: conf/15010 Submitted by: Bill Trost, trost at cloud.rain.com Reviewed by: bz MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T07:33:49.681450Z K 7 svn:log V 144 By popular request, indent log messages the same way as cvs. Limit diffs to (approximately) 1000 lines to avoid blowing out mail system limits. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T07:38:14.918068Z K 7 svn:log V 45 Oops. Fix stray (low) diff limit reference. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T08:18:36.750270Z K 7 svn:log V 96 Quick hack. Gather environment strings that svn discards from the caller. Derived from svnssh.c END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T08:20:41.318327Z K 7 svn:log V 142 Call checkacl. It is cosmetic, but allows the mail scripts and pre-commit scripts to do the right thing. I'll redo this in script sometime. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-06-06T08:27:59.801664Z K 7 svn:log V 414 Add a -w warning flag to ln(1). When the -w option is enabled, ln(1) checks to see if the source of a symlink, i.e. the file it should point to actually exists. The default is the old ln behavior, that does not check, to avoid surprising people who may be using ln(1) in scripts or other non-interactive places. PR: bin/7265 Submitted by: Joel Ray Holveck, detlev!joelh at mail.camalott.com MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T08:28:44.154140Z K 7 svn:log V 60 It might help to actually export the environment variables. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-06T08:54:19.683818Z K 7 svn:log V 56 MFC: r179425 - cope better when client NLM port changes END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-06T08:54:51.543798Z K 7 svn:log V 56 MFC: r179425 - cope better when client NLM port changes END K 10 svn:author V 5 brian K 8 svn:date V 27 2008-06-06T08:59:55.918292Z K 7 svn:log V 98 Don't abend if we get ENOMEM from sysctl(3). The data returned is sufficient MFC after: 2 weeks END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-06T09:09:37.909167Z K 7 svn:log V 136 MFC: r179358,179434 - make libc's fcntl symbol weak and extend the limited forward ABI compatibility for fcntl to the thread libraries. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-06T09:13:43.810337Z K 7 svn:log V 136 MFC: r179358,179434 - make libc's fcntl symbol weak and extend the limited forward ABI compatibility for fcntl to the thread libraries. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-06-06T09:35:08.254503Z K 7 svn:log V 63 MFC rev. 1.22. - Don't return 0xffff if PHY id isn't equal 0. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-06-06T09:59:34.889212Z K 7 svn:log V 59 MFC rev. 1.28. - Fix a typo in comment. Approved by: kib END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-06-06T10:02:43.370181Z K 7 svn:log V 111 MFC rev. 1.51 - Add quirk for the TrendNet TU-S9 adapter, which uses new version of PL2303. Approved by: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-06T11:19:54.064274Z K 7 svn:log V 82 MFC rev. 179513. Add note about a reason to use mount(8) instead of mount_somefs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-06T11:25:03.769471Z K 7 svn:log V 69 MFC rev. 179514 (committed by ru). Fix markup after the rev. 179513. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-06T12:04:31.568725Z K 7 svn:log V 158 MFC rev. 1.197 AKA r179242: The pipe_peer that has the knote for write shall be present. Ignore the pipe_present value for EVFILT_WRITE in filt_pipedetach(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-06T12:17:28.147740Z K 7 svn:log V 772 MFC rev. 1.198 of sys/kern/sys_pipe.c, rev. 1.30 of sys/sys/pipe.h AKA r179243. Another problem caused by the knlist_cleardel() potentially dropping PIPE_MTX(). Since the pipe_present is cleared before (potentially) sleeping, the second thread may enter the pipeclose() for the reciprocal pipe end. The test at the end of the pipeclose() for the pipe_present == 0 would succeed, allowing the second thread to free the pipe memory. First threads then accesses the freed memory after being woken up. Properly track the closing state of the pipe in the pipe_present. Introduce the intermediate state that marks the pipe as mostly dismantled but might be sleeping waiting for the knote list to be cleared. Free the pipe pair memory only when both ends pass that point. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-06T12:28:33.558910Z K 7 svn:log V 63 Put the svn:mergeinfo on the directory instead of the mount.8. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T16:10:10.894955Z K 7 svn:log V 37 Forgot to commit these files too :-( END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-06T16:16:44.055536Z K 7 svn:log V 188 Optimize the CVS bug #17168 fix by relaxing the conditions for update with respect to sticky options. (r179561 was WRT sticky and branch tags) Consulted with: Mark Baushke END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T17:22:07.575376Z K 7 svn:log V 631 o Remove unused cs_debug tunable. I think I added it and then nothing with it. Bad imp. Removing us dips us under 10,000 in size too. o Replace an unconditional 30ms DELAY (yes, busy wait) with a check of the SIBUSY bit in the SelfST register before accessing the eeprom. This changes the time to read the EEPROM from 2 * 20 * 30ms (1.2s) to < 20*25us (.0005s) and make the attach of the card tolerable when ethernet media is present. Include data from the datasheet about why this works. While this is a 2500x speed increase, it doesn't really matter at all once the card is probed... o set dev earlier in softc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-06T17:27:19.300728Z K 7 svn:log V 103 Tweak a comment and a constant to restore old 30ms upper bound. cs_readreg takes ~2us not ~1us to run. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-06T18:29:56.407443Z K 7 svn:log V 172 - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle from softc. - Mark interrupt handlers MPSAFE as these drivers have been locked for a while. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-06T18:38:43.814582Z K 7 svn:log V 1898 Essentially, neither madvise(..., MADV_DONTNEED) nor madvise(..., MADV_FREE) work. (Moreover, I don't believe that they have ever worked as intended.) The explanation is fairly simple. Both MADV_DONTNEED and MADV_FREE perform vm_page_dontneed() on each page within the range given to madvise(). This function moves the page to the inactive queue. Specifically, if the page is clean, it is moved to the head of the inactive queue where it is first in line for processing by the page daemon. On the other hand, if it is dirty, it is placed at the tail. Let's further examine the case in which the page is clean. Recall that the page is at the head of the line for processing by the page daemon. The expectation of vm_page_dontneed()'s author was that the page would be transferred from the inactive queue to the cache queue by the page daemon. (Once the page is in the cache queue, it is, in effect, free, that is, it can be reallocated to a new vm object by vm_page_alloc() if it isn't reactivated quickly enough by a user of the old vm object.) The trouble is that nowhere in the execution of either MADV_DONTNEED or MADV_FREE is either the machine-independent reference flag (PG_REFERENCED) or the reference bit in any page table entry (PTE) mapping the page cleared. Consequently, the immediate reaction of the page daemon is to reactivate the page because it is referenced. In effect, the madvise() was for naught. The case in which the page was dirty is not too different. Instead of being laundered, the page is reactivated. Note: The essential difference between MADV_DONTNEED and MADV_FREE is that MADV_FREE clears a page's dirty field. So, MADV_FREE is always executing the clean case above. This revision changes vm_page_dontneed() to clear both the machine- independent reference flag (PG_REFERENCED) and the reference bit in all PTEs mapping the page. MFC after: 6 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-06T18:40:38.282309Z K 7 svn:log V 157 Explicitly lock Giant in smbus_if methods in the bktr_i2c and iicsmb drivers for now. This can be replaced with driver locks when these drivers are locked. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-06T18:45:32.395017Z K 7 svn:log V 621 - Store the device_t of the smbX device in the softc. - Store the softc of the device in the 'si_drv1' of the cdev. - Lookup the softc via 'si_drv1' in cdev methods rather than using the minor number as a unit for devclass_get_softc(). - Lookup the device_t via the softc field in cdev methods rather than using the minor number as a unit for devclass_get_device(). - Add a mutex to the softc to protect 'sc_opened'. - Remove D_NEEDGIANT as all the smbus drivers are now MPSAFE and this driver is now MPSAFE. - Remove some checks for NULL softc pointers that can't happen and don't bzero the softc during attach. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-06T21:32:01.414475Z K 7 svn:log V 24 Update description text END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-06-06T21:57:28.192739Z K 7 svn:log V 210 MFC r174749, r175396, r175419, r175432 - Simplify the error handling - Nuke licence clause 3 & 4 - Drop frames to any of the reserved multicast addresses - Remove duplicated code for testing local packets. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-06T22:44:03.755058Z K 7 svn:log V 511 Add two support functions: o gctl_delete_param() -- intended for parameters that are consumed by geom(8) itself and which should not be passed to the kernel. o gctl_has_param() -- intended to check if optional parameters are present. Both are needed by gpart(8) to process the optional parameter for writing bootcode to a partition (as part of the bootcode verb). However, the kernel is itself not involved in this matter and the parameter needs to be removed from the request destined for the kernel. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-06T23:58:29.215523Z K 7 svn:log V 193 Enhance the bootcode command to also allow bootcode to be written to a partition. This avoids that users need to use dd(1) to install boot code (as is needed for VTOC8 and booting GPT on PCs). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-07T00:14:06.086567Z K 7 svn:log V 148 Document the new -p and -i options for writing bootstrap code into a partition. Make it clear that the -b option embeds boot code in the meta-data. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-07T03:07:32.906448Z K 7 svn:log V 540 Workaround a bug in the BIOS of Dell R900 machines. Specifically, each entry in the SMAP is a 20 byte structure and they are queried from the BIOS via sucessive BIOS calls. Due to an apparent bug in the R900's BIOS, for some SMAP requests the BIOS overflows the 20 byte buffer trashing a few bytes of memory immediately after the SMAP structure. As a workaround, add 8 bytes of padding after the SMAP structure used in the loader for SMAP queries. PR: i386/122668 Submitted by: Mike Hibler mike flux.utah.edu, silby MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-07T05:42:22.185524Z K 7 svn:log V 158 Fix the incorrect calculation of a block address within a single indirect block. PR: 108215 Submitted by: Yuichiro Goto, y7goto gmail com MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-07T05:47:24.726475Z K 7 svn:log V 58 Revert the r179632, it was committed to the wrong branch. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-07T05:49:24.993416Z K 7 svn:log V 158 Fix the incorrect calculation of a block address within a single indirect block. PR: 108215 Submitted by: Yuichiro Goto, y7goto gmail com MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2008-06-07T09:35:41.355060Z K 7 svn:log V 94 USB is disabled in RELENG_7 PAE; don't try to build USB related devices. PR: kern/123619 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-06-07T09:37:30.026018Z K 7 svn:log V 223 Unbreak last commit to ln for amd64. Cast string precision to `int'. amd64 systems warn about the field precision being `long int' if we don't, and pathnames are normally short enough to fit in an `int'. Noticed by: pav END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-06-07T09:49:57.375288Z K 7 svn:log V 109 If we can find it, include SVN version number in kernel version strings. See also: http://www.bikeshed.org/ END K 10 svn:author V 3 rse K 8 svn:date V 27 2008-06-07T16:19:28.490072Z K 7 svn:log V 30 remove an unnecessary include END K 10 svn:author V 3 rse K 8 svn:date V 27 2008-06-07T16:28:20.818078Z K 7 svn:log V 85 use 'const' for the parameters of the two static functions unalias() and hashalias() END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-06-07T17:43:41.129022Z K 7 svn:log V 155 correct code returned in AsssocResp; the previous code is spec'd for use only in deauth+disassoc frames Submitted by: Chris Zimmermann MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-06-07T17:50:24.969587Z K 7 svn:log V 156 Fix node cleanup issues when the last reference is held by the driver (e.g. in the tx q); ni_vap may not be valid, we must carefully check before using it. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-06-07T17:51:41.351648Z K 7 svn:log V 187 Split ieee80211_notify_erp into locked and unlocked variants and use the locked version to handle the hostap input path case where the com lock is not already held. Noticed by: Jared Go END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-06-07T18:38:02.444059Z K 7 svn:log V 527 Change the calling convention for ic_node_alloc to deal with some longstanding issues: o pass the vap since it's now the "coin of the realm" and required to do things like set initial tx parameters in private node state for use prior to association o pass the mac address as cards that maintain outboard station tables require this to create an entry (e.g. in ibss mode) o remove the node table reference, we only have one node table and it's unlikely this will change so this is not needed to find the com structure END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-07T21:56:48.548634Z K 7 svn:log V 218 Add support for Apple's Descriptor-Based DMA (DBDMA) engine. The DMA engine is usful to various existing drivers, such as ata(4) and scc(4), and is used bhy the soon to be added bm(4). Submitted by: Nathan Whitehorn END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-07T22:58:32.368289Z K 7 svn:log V 128 Add support for the Apple Big Mac (BMAC) Ethernet controller, found on various Apple G3 models. Submitted by: Nathan Whitehorn END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-08T01:58:11.165547Z K 7 svn:log V 98 Move bm(4) from the sys/conf/NOTES to sys/powerpc/conf/NOTES. The driver applies to PowerPC only. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-06-08T02:52:26.465866Z K 7 svn:log V 488 Ethernet hardware address stored in DC_AL_PAR0/DC_AL_PAR1 register is in little endian form. Likewise setting DC_AL_PAR0/DC_AL_PAR1 register expect the address to be in little endian form. For big endian architectures the address should be swapped to get correct one. Change setting/getting ethernet hardware address to big endian architecture frendly. Reported by: Robert Murillo ( billypilgrim782001 at yahoo dot com ) Tested by: Robert Murillo ( billypilgrim782001 at yahoo dot com ) END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-08T08:56:46.363955Z K 7 svn:log V 82 Fix spelling of "virtual". There should be no visible change. Reviewed by: rink END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-06-08T09:06:45.313054Z K 7 svn:log V 440 MFC r179474: Try to detect a Synaptics touchpad before IntelliMouse. Some touchpads will pretend to be IntelliMouse (which have a few more features than generic mice) causing the IntelliMouse probe to work and the Synaptics code never to be called. This should not break "real" IntelliMouse because the Synaptics detection code is fairly specific. PR: kern/120833 Submitted by: Eygene Ryabinkin END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-08T09:09:08.919986Z K 7 svn:log V 153 Bring more commands to the ddb(4) manual page. This should be considered "complete" list, but some commands might be still missing. Reviewed by: julian END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-06-08T11:09:25.348582Z K 7 svn:log V 145 d_ino member of linux_dirent structure should be unsigned long. Submitted by: Chagin Dmitry Approved by: kib (mentor) END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-08T12:43:02.339033Z K 7 svn:log V 23 Make usage() 'static'. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-06-08T14:42:43.331832Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-06-08T19:35:47.108623Z K 7 svn:log V 209 Fixed the output grammar to properly speak non-terminal dits. Updated Lyndon Nerenberg's radio callsign and E-mail address. PR: bin/7868 Submitted by: Lyndon Nerenberg MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-06-08T19:46:23.886258Z K 7 svn:log V 705 The change to add subversion ID has two problems. The first is that when newvers.sh is run pwd is actually the obj directory, so "../../.svn" doesn't exist and the test always fails. The second is that buildkernel is executed with a restrictive PATH, so unless you have svnversion in /bin or /usr/bin it can't run. Fix this by looking for svnversion in /bin, /usr/bin, and /usr/local/bin in that order. If found, store the location and derive the value of the source directory. Then run svnversion in the appropriate directory. There is one possible refinement which would be to add a test for LOCALBASE!=/usr/local if we don't find svnversion the first time, but IMO that's not necessary at this time. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-06-08T19:48:41.208881Z K 7 svn:log V 52 - Display '-C' option in usage(). Approved by: kib END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-06-08T19:59:15.018744Z K 7 svn:log V 46 I missed some "register"s in non-dot-C files. END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-08T20:43:27.859753Z K 7 svn:log V 154 Remove checks against DDB, which isn't used in this file. My intention is to bring no functional change. Discussion on: IRC Reviewed by: ed, kan, rink, END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-06-08T21:00:25.863854Z K 7 svn:log V 350 MFC: Sync restore in RELENG_7 with -current. Fix remaining nits from PR bin/39905. Check for write failure while building temp files. Correctly set file group when restore is run by a user other than root. Use safer string handling. Fixes the "getfile: lost data" panic when restoring older dumps. Fix spurious "Header with wrong dumpdate" message. END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-08T21:01:39.090561Z K 7 svn:log V 163 Fix the way the date must be specified (leading 0 is redundant). Fix several spelling mistakes brought by my earlier commit. Trim whitespace. Submitted by: maxim END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-08T21:08:20.012352Z K 7 svn:log V 264 Change header file references from .h to path relative to /usr/include. It looks much better anyway. Instead of referencing "socket", which is bogus, reference 'sys/socket.h', which is what should be placed here from the beggining. Suggested by: maxim END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-06-09T01:14:10.938263Z K 7 svn:log V 218 Make pthread_cleanup_push() and pthread_cleanup_pop() as a pair of macros, use stack space to keep cleanup information, this eliminates overhead of calling malloc() and free() in thread library. Discussed on: thread@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-06-09T05:50:42.284932Z K 7 svn:log V 29 Unify arminit() and clean up END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-06-09T05:53:04.077155Z K 7 svn:log V 28 Remove sa1_cache_clean_addr END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-06-09T06:31:17.683714Z K 7 svn:log V 121 Remove some sparc-specific stuff from my earlier sun4v work in p4. It never belonged in current. Pointed out by: marius END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-06-09T06:33:26.227148Z K 7 svn:log V 144 Change the CTF conversion makefile code to use a new line to avoid spawning another shell. Requested by: Ed Schouten M config/mkmakefile.c END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-06-09T07:53:16.603154Z K 7 svn:log V 494 MFC: Sync restore with the version in -current. Fix remaining nits from PR bin/39905. Check for write failure while building temp files. Correctly set file group when restore is run by a user other than root. Use safer string handling. Fixes the "getfile: lost data" panic when restoring older dumps. Fix spurious "Header with wrong dumpdate" message. Add -D for degraded mode, which tries harder to read corrupted backups. Remove a diagnostic message from man page that is no longer printed. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-09T08:43:27.037752Z K 7 svn:log V 644 Remove sicontrol(8)'s "ttystat". In the FreeBSD base system, there are only two utilities that use struct tty, namely pstat and sicontrol. The sicontrol utility calls the TCSI_TTY ioctl(), which copies struct tty back to userspace. sicontrol should not have this functionality. The same data is already provided by pstat. If we really want to be able to export these numbers through a file descriptor to userspace, we can export struct xtty, which should provide a better abstraction. The ttystat option was only used as a debugging aid. This makes sicontrol compile in the mpsafetty branch. Reviewed by: peter Approved by: philip (mentor) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-09T09:07:58.473325Z K 7 svn:log V 157 Document the misleading nature of the REQUIRE line. The patch in the PR has been heavily edited for style(9) and clarity. Mistakes are mine. PR: bin/124251 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-09T10:31:38.930030Z K 7 svn:log V 354 Provide the mutual exclusion between the nfs export list modifications and nfs requests processing. Lockmgr lock provides the shared locking for nfs requests, while exclusive mode is used for modifications. The writer starvation is handled by lockmgr too. Reported by: kris, pho, many Based on the submission by: mohan Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-09T10:51:43.685111Z K 7 svn:log V 73 MFC: r179488 - check for client reboot before executing the lock request END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-09T10:52:43.933078Z K 7 svn:log V 73 MFC: r179488 - check for client reboot before executing the lock request END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-09T10:54:55.458115Z K 7 svn:log V 49 MFC: r179489 - add a missing call to init_nsm(). END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-09T10:55:59.275446Z K 7 svn:log V 49 MFC: r179489 - add a missing call to init_nsm(). END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-09T12:10:43.444847Z K 7 svn:log V 72 MFC: r179510 - nlm_global_lock doesn't exist (yet) Pointed out by: kib END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-06-09T12:11:27.763378Z K 7 svn:log V 72 MFC: r179510 - nlm_global_lock doesn't exist (yet) Pointed out by: kib END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-06-09T14:03:55.465396Z K 7 svn:log V 221 Rework code to avoid using a pointer after freeing it. Aside from the possibility of memory becoming undereferenceable when it is freed, this change should have no effect on bsdtar behaviour. Found by: Coverity Prevent END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-06-09T14:41:28.345793Z K 7 svn:log V 229 Make one-bit fields unsigned instead of signed. This has no effect, since they are only tested for zero/nonzero; but it's arguably a bad idea to set a {-1, 0} variable to 1 (as happens in this code). Found by: Coverity Prevent END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-06-09T14:44:56.698493Z K 7 svn:log V 133 Don't store a pointer in "next" if we're never going to use it. Fix typo in checking results of strchr. Found by: Coverity Prevent END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T16:42:55.909907Z K 7 svn:log V 66 Disconnect gpt(8) from the build. gpt(8) is replaced by gpart(8). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T17:59:44.334299Z K 7 svn:log V 33 MFC rev 177509: Add g_retaste(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T18:03:48.071741Z K 7 svn:log V 46 MFC rev 177681: Wither GEOMs while retasting. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T18:15:35.207125Z K 7 svn:log V 59 Update merge information: Upto rev 174499 has been merged. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T18:28:02.441371Z K 7 svn:log V 92 Update merge information to include revisions upto the branch-point (i.e. revision 177222). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-06-09T18:41:37.219246Z K 7 svn:log V 57 MFC: r179497 Fix a crash when Arctic Ocean is selected. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-06-09T18:45:21.702413Z K 7 svn:log V 57 MFC: r179497 Fix a crash when Arctic Ocean is selected. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T18:51:30.463135Z K 7 svn:log V 463 MFC r177223 through r179684: o Redefine G_PART_SCHEME_DECLARE() from populating a private linker set to declaring a proper module. o Add support for PC-9800 partition tables. o Change the order from SI_ORDER_FIRST to SI_ORDER_ANY (within SI_SUB_DRIVERS) to avoid loading schemes before all the GEOM classes have been loaded and initialized. o Add the bootcode verb for installing boot code. o Implement the G_PART_DUMPCONF method for all 6 schemes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T19:25:04.914941Z K 7 svn:log V 56 MFC r176724 through r179687 (geom_part): Module support END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-06-09T20:03:35.716907Z K 7 svn:log V 150 Use the -n flag to route(8) when calling "route get". Otherwise we hang for a long time if we get a lease, but DNS isn't working. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T21:30:40.877571Z K 7 svn:log V 42 Remove gpt(8). It's replaced by gpart(8). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T21:33:57.556279Z K 7 svn:log V 24 Note removal of gpt(8). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-09T21:36:46.235553Z K 7 svn:log V 31 Removal of gpt(8) and manpage. END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-09T21:51:48.254219Z K 7 svn:log V 205 Since we create a DMA tag "mtag" for TX map with bus_dmamap_create(), we must synchronize such a map against "mtag" with bus_dmamap_sync(), not the tag designated for RX map. Fix it. Approved by: cognet END K 10 svn:author V 7 wkoszek K 8 svn:date V 27 2008-06-09T22:13:14.374448Z K 7 svn:log V 139 Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA". Fix spelling mistage found by rodrigc@. Reviewed by: rodrigc, danger END K 10 svn:author V 7 davidch K 8 svn:date V 27 2008-06-10T02:19:11.972730Z K 7 svn:log V 347 - Fixed kern/123696 by increasing firmware timeout value from 100 to 1000. - Fixed a problem on i386 architecture when using split header/jumbo frame firmware caused by hardware alignment requirements. - Added #define BCE_USE_SPLIT_HEADER to allow the feature to be enabled/ disabled. Enabled by default. PR: kern/123696 MFC after: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-06-10T02:41:36.507619Z K 7 svn:log V 191 >From NetBSD: Remove the code which disables port status change interrupts for 1s when one occured -- this makes that events get lost or delayed until the next change. Obtained from: NetBSD END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-10T03:02:51.193270Z K 7 svn:log V 62 MFC rev 179628: Add gctl_delete_param() and gctl_has_param(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-10T03:13:26.434619Z K 7 svn:log V 44 Update merge info to include revision 17285 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-10T03:19:33.668430Z K 7 svn:log V 171 MFC revisions 172857 through 179688: o Allow building a rescue version (not applicable yet) o Add the bootcode verb for installing bootcode. o Various manpage updates. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-06-10T03:44:14.654855Z K 7 svn:log V 80 Pull all the code to deal with bus space methods into a shared set of routines. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-06-10T06:06:15.302520Z K 7 svn:log V 86 Add the pxa_teardown_intr() bus method function to de-associate the interrupt handler END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-06-10T09:55:25.501716Z K 7 svn:log V 122 Synchronize pkg_install with HEAD (20080530) r179352,179366: don't regenerate packages r179433: add long options END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-06-10T09:56:11.836814Z K 7 svn:log V 122 Synchronize pkg_install with HEAD (20080530) r179352,179366: don't regenerate packages r179433: add long options END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-06-10T15:46:18.635939Z K 7 svn:log V 164 In the error path through base_alloc(), release base_mtx [1]. Fix bit vector initialization for run headers. Submitted by: [1] Mike Schuster END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-06-10T17:51:51.267816Z K 7 svn:log V 117 Add support for the P212, P410, P410i, P411, and P812 HP Smart Array controllers. Submitted by: Scott Benesh at HP END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-10T17:59:43.788834Z K 7 svn:log V 388 Make tx(4) MPSAFE - Add a mutex to the softc to protect the softc and device hardware. - Use a private timer to implement a watchdog for tx timeouts and drive the timer for auto negotiation. - Use bus_foo() rather than bus_space_foo() and remove the bus space tag & handle from the softc. - Call bus_setup_intr() after ether_ifattach(). Tested by: Florian Smeets flo of kasimir.com END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-06-10T18:11:14.810530Z K 7 svn:log V 95 MFC: r179705 Add support for the P212, P410, P410i, P411, and P812 HP Smart Array controllers. END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-06-10T18:31:19.883992Z K 7 svn:log V 95 MFC: r179705 Add support for the P212, P410, P410i, P411, and P812 HP Smart Array controllers. END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-06-10T18:40:38.235133Z K 7 svn:log V 95 MFC: r179705 Add support for the P212, P410, P410i, P411, and P812 HP Smart Array controllers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-10T18:47:43.405032Z K 7 svn:log V 186 Use sysctl to fetch stats from the kernel instead of reading variables directly via libkvm. PR: kern/122875, bin/123014 Tested by: Danny Braniss danny cs.huji.ac.il MFC after: 1 week END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-06-10T18:50:14.226118Z K 7 svn:log V 37 Add the missing support for the P800 END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-06-10T18:51:05.071258Z K 7 svn:log V 95 MFC: r179705 Add support for the P212, P410, P410i, P411, and P812 HP Smart Array controllers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-10T19:31:09.027100Z K 7 svn:log V 52 Add Belkin F5U257 to the mix. Submitted by: wilko@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-06-10T19:33:31.131503Z K 7 svn:log V 30 Add Belkin F5U257 to the mix. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-06-10T20:05:32.447313Z K 7 svn:log V 167 When the file-system containing the audit log file is running low on disk space a warning is printed. Make this warning a bit more informative. Approved by: rwatson END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-06-10T20:55:10.682486Z K 7 svn:log V 290 Keep proper track of nsegs counter: sem_free is called for all allocated semaphores, so it's wrong to increase it conditionally, in this case for every over-the-limit semaphore nsegs is decreased without being previously increased. PR: kern/123685 Approved by: cognet (mentor) END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-06-11T06:44:58.568065Z K 7 svn:log V 127 Rearrange how to call dma.alloc() so that we have resources alloc'd when need but also late enough to know how many to create. END K 10 svn:author V 5 benno K 8 svn:date V 27 2008-06-11T06:53:55.301768Z K 7 svn:log V 87 Convert bus_space_{read,write}_* calls to bus_{read,write}_* calls. Suggested by: jhb END K 10 svn:author V 5 benno K 8 svn:date V 27 2008-06-11T07:26:02.462666Z K 7 svn:log V 604 Switch to using a normal mutex instead of a spin mutex. We still use the interrupt filter due to performance problems that show up if we don't. The main problem seen is that, due to the interrupt being edge triggered, we occasionally miss interrupts which leads us to not notice that we can transmit more packets. Using the new approach, which just schedules a task on a taskqueue, we are guaranteed to have the task run even if the interrupt arrived while we were already executing. If we were to use an ithread the system would mask the interrupt while the handler is run and we'd miss interrupts. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-06-11T07:55:07.495684Z K 7 svn:log V 175 fix a page fault that it occurred during ifp is NULL. This bug happens when NDIS driver's initialization is failed and NDIS driver's trying to call NdisWriteErrorLogEntry(). END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-06-11T08:48:25.769900Z K 7 svn:log V 163 Wait up to 1S for the TFD data to signal un-busy before fetching the signature. This at least helps a few slow devices out there. Submitted by: Andrey V. Elsukov END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-11T12:46:09.269169Z K 7 svn:log V 302 In cd9660_readdir vop, always initialize the idp->uio_off member. The while loop that is assumed to initialize the uio_off later, may be not entered at all, causing uninitialized value to be returned in uio->uio_offset. PR: 122925 Submitted by: Jaakko Heinonen MFC after: 1 weeks END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-06-11T13:40:15.872154Z K 7 svn:log V 2152 Convert ndis_spinlock to ndis_mtx and start using the sleepable mtx interface for NDIS_LOCK/UNLOCK. This should result in less CPU utilization on behalf of the ndis driver. Additionally, this commit also fixes a potential LOR in the ndis_tick code, by not locking inside the ndis_tick function, but instead delegating that work to the helpers called through IoQueueWorkItem. The way that this is currently set up for NDIS prevents us from simply implementing a callout_init_mtx mechanism. However, the helper functions that handle the various timeout cases implement fine-grained locking using the spinlocks provided by the NDIS-compat layer, and using the mtx that is added with this commit. This leaves the following ndis_softc members operated on in ndis_tick in an unlocked context: * ndis_hang_timer - Only modified outside of ndis_tick once, before the first callout_reset to schedule ndis_tick * ifp->if_oerrors - Only incremented in two places, which should be an atomic op * ndis_tx_timer - Assigned to 5 (when guaranteed to be 0) or 0 (in txeof), to indicate to ndis_tick what to do. This is the only member of which I was suspicious for needing the NDIS_LOCK here. My testing (and another's) have been fine so far. * ndis_stat_callout - Only uses a simple set of callout routines, callout_reset only called by ndis_tick after the initial reset, and then callout_drain is used exactly once in shutdown code. The benefit is that ndis_tick doesn't acquire NDIS_LOCK unless one of the timeout conditions is flagged, and it still obeys the locking order semantics that are dictated by the NDIS layer at the moment. I have been investigating a more thorough s/spinlock/mtx/ of the NDIS layer, but the simplest naive approach (replace KeAcquireSpinLock with an mtx implementation) has anti-succeeded for me so far. This is a good first step though. Tested by: onemda@gmail.com Reviewed by: current@, jhb, thompsa Proposed by: jhb END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-06-11T18:49:55.679410Z K 7 svn:log V 30 Add man page for ixgbe driver END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-06-11T18:54:06.641880Z K 7 svn:log V 101 Document the AUTO_UPGRADE (-U) knob for .mergemasterrc Submitted by: mezz No Cookie For: gordon :) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-11T18:55:19.586401Z K 7 svn:log V 1016 Don't enforce unique device minor number policy anymore. Except for the case where we use the cloner library (clone_create() and friends), there is no reason to enforce a unique device minor number policy. There are various drivers in the source tree that allocate unr pools and such to provide minor numbers, without using them themselves. Because we still need to support unique device minor numbers for the cloner library, introduce a new flag called D_NEEDMINOR. All cdevsw's that are used in combination with the cloner library should be marked with this flag to make the cloning work. This means drivers can now freely use si_drv0 to store their own flags and state, making it effectively the same as si_drv1 and si_drv2. We still keep the minor() and dev2unit() routines around to make drivers happy. The NTFS code also used the minor number in its hash table. We should not do this anymore. If the si_drv0 field would be changed, it would no longer end up in the same list. Approved by: philip (mentor) END