svn commit: r203855 - stable/8/sys/dev/wpi

2010-02-14 Thread Gavin Atkinson
Author: gavin Date: Sun Feb 14 09:34:27 2010 New Revision: 203855 URL: http://svn.freebsd.org/changeset/base/203855 Log: Merge r200530 from head: Don't panic on failure to attach if we fail before or during the if_alloc() of ifp. This fixes the panic reported in the PRs, but no

svn commit: r203856 - stable/8/share/man/man9

2010-02-14 Thread Gavin Atkinson
Author: gavin Date: Sun Feb 14 09:37:13 2010 New Revision: 203856 URL: http://svn.freebsd.org/changeset/base/203856 Log: Merge r203636 from head: Correct arguments to free_unr(), "item" was missing. Modified: stable/8/share/man/man9/alloc_unr.9 Directory Properties: stable/8/share/ma

svn commit: r203857 - stable/8/share/man/man4

2010-02-14 Thread Gavin Atkinson
Author: gavin Date: Sun Feb 14 09:40:58 2010 New Revision: 203857 URL: http://svn.freebsd.org/changeset/base/203857 Log: Merge r203620,203621 from head: Document support for the D-Link DFE520-TX card (supported with the vr(4) driver) PR: kern/135989 Submitted by: "Ras

svn commit: r203858 - stable/8/sbin/sysctl

2010-02-14 Thread Gavin Atkinson
Author: gavin Date: Sun Feb 14 09:48:53 2010 New Revision: 203858 URL: http://svn.freebsd.org/changeset/base/203858 Log: Merge r203310,203547,203717 from head: Implement the "-i" option to sysctl(8), to ignore failures while retrieving individual OIDs. This allows the same list of OI

svn commit: r203859 - head/sys/conf

2010-02-14 Thread Rui Paulo
Author: rpaulo Date: Sun Feb 14 11:04:52 2010 New Revision: 203859 URL: http://svn.freebsd.org/changeset/base/203859 Log: Also build ah_eeprom_v4k.c when ar9280 is selected. Modified: head/sys/conf/files Modified: head/sys/conf/files ==

svn commit: r203860 - stable/8/sys/dev/sound/pcm

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 11:53:51 2010 New Revision: 203860 URL: http://svn.freebsd.org/changeset/base/203860 Log: MFC r202150, r202170: Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P', as different nearby ones, and was grabbed by MIXER_xxx() handler. While there, r

svn commit: r203861 - stable/8/sys/dev/mpt

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 12:00:23 2010 New Revision: 203861 URL: http://svn.freebsd.org/changeset/base/203861 Log: MFC r203484: Do not release device, when changing number of openings. Modified: stable/8/sys/dev/mpt/mpt_cam.c stable/8/sys/dev/mpt/mpt_raid.c Directory Properties: sta

svn commit: r203862 - head/sys/sys

2010-02-14 Thread Ed Schouten
Author: ed Date: Sun Feb 14 12:00:42 2010 New Revision: 203862 URL: http://svn.freebsd.org/changeset/base/203862 Log: Make work without including . According to the last POSIX specification that contained , this header should also typedef time_t properly. Also add a proper comment to t

svn commit: r203863 - stable/8/sys/dev/ciss

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 12:03:04 2010 New Revision: 203863 URL: http://svn.freebsd.org/changeset/base/203863 Log: MFC r203489: Return CAM_RELEASE_SIMQ flag only when it is needed, when SIM really was frozen before and should be released. Modified: stable/8/sys/dev/ciss/ciss.c Directo

svn commit: r203864 - stable/8/sys/dev/ciss

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 12:04:25 2010 New Revision: 203864 URL: http://svn.freebsd.org/changeset/base/203864 Log: MFC r203524: When hacking INQUIRY result, make sure that it is right INQUIRY and there is enough of result to hack. Modified: stable/8/sys/dev/ciss/ciss.c Directory Prope

svn commit: r203865 - head/usr.bin/find

2010-02-14 Thread Gavin Atkinson
Author: gavin Date: Sun Feb 14 12:08:44 2010 New Revision: 203865 URL: http://svn.freebsd.org/changeset/base/203865 Log: The -newerXB option was being interpreted the same as the -newerXm option as a check for F_TIME2_B was missing. Fix this. PR: bin/138245 Submitted by: "Dav

svn commit: r203866 - head/sys/fs/msdosfs

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:10:49 2010 New Revision: 203866 URL: http://svn.freebsd.org/changeset/base/203866 Log: Invalid filesystem might cause the bp to be never read. Noted by: Pedro F. Giffuni Obtanined from: NetBSD MFC after:1 week Modified: head/sys/fs/msdos

svn commit: r203867 - stable/8/sys/dev/siis

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 12:24:12 2010 New Revision: 203867 URL: http://svn.freebsd.org/changeset/base/203867 Log: MFp4: After last running command completed, give commands in timeout state second time. Modified: stable/8/sys/dev/siis/siis.c Modified: stable/8/sys/dev/siis/siis.c ===

svn commit: r203868 - head/sbin/newfs_msdos

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:25:03 2010 New Revision: 203868 URL: http://svn.freebsd.org/changeset/base/203868 Log: Some cleanups from NetBSD: - C99 initializers. - Change the default volume label from "NO NAME" to "NO_NAME". - Set OEM String to "BSD4.4 " following the unnamed spacing c

svn commit: r203869 - head/sbin/newfs_msdos

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:25:39 2010 New Revision: 203869 URL: http://svn.freebsd.org/changeset/base/203869 Log: Rename variables to match msdosfs headers. Submitted by: Pedro F. Giffuni Reviewed by: bde MFC after:2 weeks Modified: head/sbin/newfs_msdos/newfs_msdos.8 he

svn commit: r203870 - head/sys/dev/siis

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 12:27:49 2010 New Revision: 203870 URL: http://svn.freebsd.org/changeset/base/203870 Log: MFp4: After last running command completed, give commands in timeout state second time. Modified: head/sys/dev/siis/siis.c Modified: head/sys/dev/siis/siis.c ===

svn commit: r203871 - head/sbin/fsck_msdosfs

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:28:43 2010 New Revision: 203871 URL: http://svn.freebsd.org/changeset/base/203871 Log: License changes from NetBSD. Move to 2 clause license, approved by Wolfgang Solfrank. Submitted by: Pedro F. Giffuni MFC after:2 weeks Modified: head/sbin/fsck_

svn commit: r203872 - head/sbin/fsck_msdosfs

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:30:30 2010 New Revision: 203872 URL: http://svn.freebsd.org/changeset/base/203872 Log: Bug fixes from NetBSD - fix sign-compare issues. - ANSIfy a couple of functions. - Remove more duplicate #includes. - Memory leak found by Coverity on NetBSD. Submi

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

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 12:30:35 2010 New Revision: 203873 URL: http://svn.freebsd.org/changeset/base/203873 Log: MFp4: With FBS enabled, we have no idea what command caused timeout. Implement same logic as in siis(4) - wait for other commands complete or timeout and then give some mo

svn commit: r203874 - head/sbin/fsck_msdosfs

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 12:31:28 2010 New Revision: 203874 URL: http://svn.freebsd.org/changeset/base/203874 Log: Rename fields to match better the msdosfs headers. This work is still incomplete as some info doesn't really belong to the structs where it is defined. Submitted by: Pe

svn commit: r203875 - head/sys/kern

2010-02-14 Thread Konstantin Belousov
Author: kib Date: Sun Feb 14 13:59:01 2010 New Revision: 203875 URL: http://svn.freebsd.org/changeset/base/203875 Log: Do not leak process lock when current thread is not allowed to see target. Bumped into by: ed MFC after:3 days Modified: head/sys/kern/kern_event.c Modified

svn commit: r203876 - head/release/picobsd/tinyware/login

2010-02-14 Thread Luigi Rizzo
Author: luigi Date: Sun Feb 14 15:51:36 2010 New Revision: 203876 URL: http://svn.freebsd.org/changeset/base/203876 Log: a minimal set of changes to adapt to the utmp->utmpx changes. lastlog still not implemented, i am hoping that Ed or someone has some idea on how to fix this, but it is rea

svn commit: r203877 - head/release/picobsd/build

2010-02-14 Thread Luigi Rizzo
Author: luigi Date: Sun Feb 14 15:55:30 2010 New Revision: 203877 URL: http://svn.freebsd.org/changeset/base/203877 Log: use log instead of logverbose in three places so the build won't need input to run to completion MFC after:3 days Modified: head/release/picobsd/build/picobsd M

svn commit: r203882 - head/sys/dev/ath/ath_hal/ar5416

2010-02-14 Thread Rui Paulo
Author: rpaulo Date: Sun Feb 14 16:26:32 2010 New Revision: 203882 URL: http://svn.freebsd.org/changeset/base/203882 Log: Revert part of the 9285 support because it breaks the 9280 support. I'll try to do the 9285 support without interfering with any other chipset revisions support. Modifie

svn commit: r203883 - in head/sys/ia64: acpica ia64 include

2010-02-14 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 14 16:56:24 2010 New Revision: 203883 URL: http://svn.freebsd.org/changeset/base/203883 Log: Some code churn: o Eliminate IA64_PHYS_TO_RR6 and change all places where the macro is used by calling either bus_space_map() or pmap_mapdev(). o Implement bus_

svn commit: r203884 - head/sys/ia64/include

2010-02-14 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 14 17:03:20 2010 New Revision: 203884 URL: http://svn.freebsd.org/changeset/base/203884 Log: Some code cleanups: o s/u_int32_t/uint32_t/g o Add multiple-inclusion protection. o Break long lines. Modified: head/sys/ia64/include/pci_cfgreg.h Modified: h

svn commit: r203885 - head/sys/dev/aac

2010-02-14 Thread Ed Maste
Author: emaste Date: Sun Feb 14 17:14:11 2010 New Revision: 203885 URL: http://svn.freebsd.org/changeset/base/203885 Log: Diff reduction with Adaptec's vendor driver. Driver version 2.1.9 chosen as that Adaptec version roughly corresponds with the current feature set merged to the in-tree

svn commit: r203887 - stable/8/sys/dev/ata

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:23:05 2010 New Revision: 203887 URL: http://svn.freebsd.org/changeset/base/203887 Log: MFC r202699: Make ata_getrev() an optional method by implementing ata_null_getrev(). This fixes a bogus '???' boot message on Cambria boards with a CompactFlash card. Mod

svn commit: r203888 - in stable/8/sys/dev: ahci ata ata/chipsets

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:28:45 2010 New Revision: 203888 URL: http://svn.freebsd.org/changeset/base/203888 Log: MFC r203030: Add support for SATA part of Marvell 88SE912x controllers to ahci(4). Limit early revisions from 6Gb/s to 3Gb/s by default, or they negotiate only 1.5Gb/s, wh

svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:38:27 2010 New Revision: 203889 URL: http://svn.freebsd.org/changeset/base/203889 Log: MFC r203108: Large set of CAM improvements: - Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows t

svn commit: r203890 - in stable/8: . contrib/top lib/libusb sbin/camcontrol sys/cam sys/cam/ata sys/dev/ahci sys/dev/ata sys/dev/siis tools/regression/lib/msun tools/regression/usr.bin/pkill tools/...

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:44:48 2010 New Revision: 203890 URL: http://svn.freebsd.org/changeset/base/203890 Log: MFC r203376, r203384: - Give ATA/SATA SIMs info about ATAPI packet size, supported by device. - Make ATA XPT to reject longer SCSI CDBs then supported by device, or any SC

svn commit: r203891 - stable/8/sys/cam/ata

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:46:54 2010 New Revision: 203891 URL: http://svn.freebsd.org/changeset/base/203891 Log: MFC r203385: - Use separate buffer for identify data fetching. We can't use main buffer here if device already running, as data need to be formatted before use. - Remove s

svn commit: r203892 - stable/8/sys/cam

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:48:53 2010 New Revision: 203892 URL: http://svn.freebsd.org/changeset/base/203892 Log: MFC r203386: Change the way in which fake async events generated. Do not use taskqueue for lock decoupling, as it causes unwanted races. Modified: stable/8/sys/cam/cam_xp

svn commit: r203893 - in stable/8/sys: cam/ata sys

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:50:33 2010 New Revision: 203893 URL: http://svn.freebsd.org/changeset/base/203893 Log: MFC r203421: Add Power Up In Stand-by feature support. Device with PUIS enabled require explicit command to do initial spin-up. Mark that command with CAM_HIGH_POWER flag,

svn commit: r203894 - stable/8/sys/cam/ata

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:51:39 2010 New Revision: 203894 URL: http://svn.freebsd.org/changeset/base/203894 Log: MFC r203499: On probe error, if restart requested, skip any retries and recovery. Just restart probe from the beginning immediately. Modified: stable/8/sys/cam/ata/ata_xp

svn commit: r203895 - stable/8/sys/dev/ata

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:53:09 2010 New Revision: 203895 URL: http://svn.freebsd.org/changeset/base/203895 Log: MFC r203445: Report to CAM unit number of underlying ataX bus device, instead of this atapicamX. It is more apropriate and useful together with "ata" name. Modified: stab

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

2010-02-14 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 14 19:53:45 2010 New Revision: 203896 URL: http://svn.freebsd.org/changeset/base/203896 Log: Detect when we are polling from kernel via cngetc() in the boot process and reserve the keypresses so they do not get passed to syscons. Submitted by: Hans Petter Sel

svn commit: r203897 - stable/8/sys/dev/ata/chipsets

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:54:16 2010 New Revision: 203897 URL: http://svn.freebsd.org/changeset/base/203897 Log: MFC r203525: Report SATA300 chips also as SATA. Modified: stable/8/sys/dev/ata/chipsets/ata-siliconimage.c Directory Properties: stable/8/sys/ (props changed) stable/

svn commit: r203898 - stable/8/sys/dev/ata/chipsets

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:55:41 2010 New Revision: 203898 URL: http://svn.freebsd.org/changeset/base/203898 Log: MFC r203347: NetCell is a PCI hardware RAID without cable and mode setting. Modified: stable/8/sys/dev/ata/chipsets/ata-netcell.c Directory Properties: stable/8/sys/ (p

svn commit: r203899 - head/sys/dev/usb/quirk

2010-02-14 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 14 19:56:05 2010 New Revision: 203899 URL: http://svn.freebsd.org/changeset/base/203899 Log: Add UQ_KBD_BOOTPROTO quirk needed in r203896 Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/quirk/usb_quirk.h Modified: head/sys/dev/usb/quirk/usb_quirk

svn commit: r203900 - stable/8/sys/dev/ata

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:56:42 2010 New Revision: 203900 URL: http://svn.freebsd.org/changeset/base/203900 Log: MFC r203449: Implement poll method for atapicam. It is not perfect, but better then nothing. Modified: stable/8/sys/dev/ata/atapi-cam.c Directory Properties: stable/8/s

svn commit: r203901 - stable/8/sys/dev/ahci

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:57:54 2010 New Revision: 203901 URL: http://svn.freebsd.org/changeset/base/203901 Log: MFC r203123: Add FIS-based switching support. If controller supports FBS, it allows several devices beyond Port Multiplier to work simultaneously, substantially increasing

svn commit: r203902 - in stable/8/sys/dev: ahci siis

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 19:59:06 2010 New Revision: 203902 URL: http://svn.freebsd.org/changeset/base/203902 Log: MFC r203165: Reset port on disconnect event, to abort any running requests. Modified: stable/8/sys/dev/ahci/ahci.c stable/8/sys/dev/siis/siis.c Directory Properties: st

svn commit: r203903 - head/sys/dev/usb/serial

2010-02-14 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 14 19:59:19 2010 New Revision: 203903 URL: http://svn.freebsd.org/changeset/base/203903 Log: Make umodem more tolerant for devices which modem descriptors are misplaced. Reported by: Erick Wales Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb

svn commit: r203904 - stable/8/sys/dev/ahci

2010-02-14 Thread Alexander Motin
Author: mav Date: Sun Feb 14 20:00:21 2010 New Revision: 203904 URL: http://svn.freebsd.org/changeset/base/203904 Log: MFC r203426: Disable PHY of unconnected ports when interface power management enabled. It allows to save a bit more power (about 0.5W on 2 unused ports of ICH8M). Modified:

svn commit: r203905 - in head/sys/dev/usb: . serial

2010-02-14 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 14 20:05:12 2010 New Revision: 203905 URL: http://svn.freebsd.org/changeset/base/203905 Log: Add support for the E1752 3G modem and the required eject command. Submitted by: Milan Obuch Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usb_msctest.c

svn commit: r203906 - in head/sys/dev/usb: . serial

2010-02-14 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 14 20:10:41 2010 New Revision: 203906 URL: http://svn.freebsd.org/changeset/base/203906 Log: Add device ID for the FTDI 4232H. PR: usb/143832 Submitted by: UEMURA Tetsuya Modified: head/sys/dev/usb/serial/uftdi.c head/sys/dev/usb/usbdevs Modif