svn commit: r224506 - in head/sys: dev/re pci

2011-07-29 Thread Pyun YongHyeon
Author: yongari Date: Sat Jul 30 01:06:12 2011 New Revision: 224506 URL: http://svn.freebsd.org/changeset/base/224506 Log: Add new device id of D-Link DGE-530T Rev. C controller. DGE-503T Rev A1 and B1 is supported by sk(4) but the DGE-530T Rev. C controller is re-branded RealTek 8169 contr

svn commit: r224505 - head/sys/powerpc/powermac

2011-07-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 30 00:52:13 2011 New Revision: 224505 URL: http://svn.freebsd.org/changeset/base/224505 Log: Fix an error that could cause sysctl -a to enter an infinite loop in the event of a broken or busy fan due to returning incorrect error codes from the FCU sysctl hand

svn commit: r224504 - in head/release: amd64 i386 powerpc

2011-07-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 30 00:51:36 2011 New Revision: 224504 URL: http://svn.freebsd.org/changeset/base/224504 Log: Mount memsticks read-only by default to prevent them being filled by user modifications and subsequently preventing a functioning installation. Approved by: re (k

svn commit: r224503 - in head: sbin/mount sys/ufs/ffs sys/ufs/ufs

2011-07-29 Thread Kirk McKusick
Author: mckusick Date: Sat Jul 30 00:43:18 2011 New Revision: 224503 URL: http://svn.freebsd.org/changeset/base/224503 Log: Update to -r224294 to ensure that only one of MNT_SUJ or MNT_SOFTDEP is set so that mount can revert back to using MNT_NOWAIT when doing getmntinfo. Approved by: r

svn commit: r224502 - head/sys/dev/ath

2011-07-29 Thread Adrian Chadd
Author: adrian Date: Fri Jul 29 23:55:17 2011 New Revision: 224502 URL: http://svn.freebsd.org/changeset/base/224502 Log: Reset the NIC if ANI is enabled or disabled. Although this may not be what the original sysctl was designed to do, it feels a bit more "expected". Before, if ANI

svn commit: r224499 - head/sys/dev/usb/input

2011-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 20:38:06 2011 New Revision: 224499 URL: http://svn.freebsd.org/changeset/base/224499 Log: Make ums(4) driver more picky, not attaching to "mouses" with absolute coordinates, such as digitizers and touch-screens, leaving these devices to uhid(4) and user-level. Sp

svn commit: r224498 - head/sys/dev/ahci

2011-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 20:35:23 2011 New Revision: 224498 URL: http://svn.freebsd.org/changeset/base/224498 Log: In some cases, at least on Marvell 88SE912x controllers, Current Command Slot field of the PxCMD register may point to an empty command slot. That breaks command timeout det

svn commit: r224497 - head/sys/cam/ata

2011-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 20:32:27 2011 New Revision: 224497 URL: http://svn.freebsd.org/changeset/base/224497 Log: Add control for ATA disk read-ahead, alike to the previously added write cache control. Some controller BIOS'es tend to disable read-ahead, that dramatically reduces read pe

svn commit: r224496 - head/sys/cam

2011-07-29 Thread Alexander Motin
Author: mav Date: Fri Jul 29 20:30:28 2011 New Revision: 224496 URL: http://svn.freebsd.org/changeset/base/224496 Log: In some cases failed SATA disks may report their presence, but don't respond to any commands. I've found that because of multiple command retries, each of which cause 30s ti

svn commit: r224495 - head/usr.sbin/mfiutil

2011-07-29 Thread John Baldwin
Author: jhb Date: Fri Jul 29 20:24:04 2011 New Revision: 224495 URL: http://svn.freebsd.org/changeset/base/224495 Log: Properly initialize an error variable to avoid returning uninitialized data when 'show drives' succeeds, often resulting in a failing exit code even though the command worke

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-29 Thread Attilio Rao
2011/7/29 Andreas Tobler : > On 28.07.11 04:59, Attilio Rao wrote: >> >> I think that the following patch may better reflect the definition of >> size_t: >> http://www.freebsd.org/~attilio/sintrcnt-fixup32.diff >> >> Do you think you can test it out? > > PowerPC 32-bit built, booted and completed a

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-29 Thread Andreas Tobler
On 28.07.11 04:59, Attilio Rao wrote: I think that the following patch may better reflect the definition of size_t: http://www.freebsd.org/~attilio/sintrcnt-fixup32.diff Do you think you can test it out? PowerPC 32-bit built, booted and completed a buildworld. Thanks, Andreas ___

svn commit: r224494 - head/sys/dev/mpt

2011-07-29 Thread Marius Strobl
Author: marius Date: Fri Jul 29 18:38:31 2011 New Revision: 224494 URL: http://svn.freebsd.org/changeset/base/224494 Log: - Send the RELSIM_ADJUST_OPENINGS in response to a MPI_EVENT_QUEUE_FULL using the right SIM in case the HBA is RAID-capable but the target in question is not a hot sp

svn commit: r224493 - head/sys/dev/mpt

2011-07-29 Thread Marius Strobl
Author: marius Date: Fri Jul 29 18:35:10 2011 New Revision: 224493 URL: http://svn.freebsd.org/changeset/base/224493 Log: - Staticize functions as appropriate and comment out unused ones. - Sprinkle some const where appropriate. - Consistently use target_id_t for the target parameter of mpt_