svn commit: r203152 - head/sys/mips/mips

2010-01-28 Thread Randall Stewart
Author: rrs Date: Fri Jan 29 05:38:41 2010 New Revision: 203152 URL: http://svn.freebsd.org/changeset/base/203152 Log: Follow Neel's suggestion and switch to using restoreint() in combination with saving off the old level. That way we don't blast out the old level. Modified: head/sys/mi

Re: svn commit: r203151 - head/sys/mips/mips

2010-01-28 Thread Neel Natu
Hi Randall, You should use restoreintr() instead of unconditionally enabling interrupts using enableintr(). Otherwise these functions may end up inadvertently enabling interrupts if they are called with interrupts disabled to begin with. best Neel On Thu, Jan 28, 2010 at 8:07 PM, Randall Stewar

Re: svn commit: r203151 - head/sys/mips/mips

2010-01-28 Thread Randall Stewart
Good point ;-) I will make some adjustments and fix it ;-) R On Jan 28, 2010, at 9:11 PM, Neel Natu wrote: Hi Randall, You should use restoreintr() instead of unconditionally enabling interrupts using enableintr(). Otherwise these functions may end up inadvertently enabling interrupts if the

Re: svn commit: r203134 - in head: share/man/man4 sys/conf sys/contrib/dev/run sys/dev/usb sys/dev/usb/wlan sys/modules sys/modules/runfw sys/modules/usb sys/modules/usb/run

2010-01-28 Thread pluknet
On 29 January 2010 01:24, Andrew Thompson wrote: > Author: thompsa > Date: Thu Jan 28 22:24:54 2010 > New Revision: 203134 > URL: http://svn.freebsd.org/changeset/base/203134 > > Log: >  Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn > devices. > >  This driver was written

svn commit: r203151 - head/sys/mips/mips

2010-01-28 Thread Randall Stewart
Author: rrs Date: Fri Jan 29 04:07:38 2010 New Revision: 203151 URL: http://svn.freebsd.org/changeset/base/203151 Log: For our memory re-mapping trick to work interrupts must be disabled through the page_zero's or copys etc. Note that the temporary mapping used by panic's may cause us pa

svn commit: r203150 - head/sys/mips/rmi

2010-01-28 Thread Randall Stewart
Author: rrs Date: Fri Jan 29 04:05:17 2010 New Revision: 203150 URL: http://svn.freebsd.org/changeset/base/203150 Log: Its possible that our RMI box has memory extending above 4Gig. If so when we add the base address with the size we will wrap. So for now we just ignore such memory and onl

svn commit: r203149 - head/sys/mips/rmi

2010-01-28 Thread Randall Stewart
Author: rrs Date: Fri Jan 29 04:03:36 2010 New Revision: 203149 URL: http://svn.freebsd.org/changeset/base/203149 Log: Move ID up into comment block.. per bsdimp Modified: head/sys/mips/rmi/pic.h Modified: head/sys/mips/rmi/pic.h ==

svn commit: r203148 - in head/sys: contrib/dev/run modules/runfw

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 03:35:01 2010 New Revision: 203148 URL: http://svn.freebsd.org/changeset/base/203148 Log: Uuencode the rt2870 firmware into ascii like the other firmware blobs. Added: head/sys/contrib/dev/run/rt2870.fw.uu Deleted: head/sys/contrib/dev/run/run-rt2870 Modifie

svn commit: r203147 - head/lib/libusb

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:44:06 2010 New Revision: 203147 URL: http://svn.freebsd.org/changeset/base/203147 Log: Add a function to check if the usb devices is still connected. Submitted by: Hans Petter Selasky Modified: head/lib/libusb/libusb20.3 head/lib/libusb/libusb20.c

svn commit: r203146 - head/sys/dev/usb/storage

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:38:34 2010 New Revision: 203146 URL: http://svn.freebsd.org/changeset/base/203146 Log: Rework cam error handling to fix Mitsumi floppy drives. Submitted by: mav Modified: head/sys/dev/usb/storage/umass.c Modified: head/sys/dev/usb/storage/umass.c

svn commit: r203145 - head/sys/dev/usb/storage

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:35:50 2010 New Revision: 203145 URL: http://svn.freebsd.org/changeset/base/203145 Log: Simplify attach for UMASS_PROTO_CBI_I mode and change some switch() returns into breaks. Submitted by: Hans Petter Selesky Modified: head/sys/dev/usb/storage/umass

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

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:33:50 2010 New Revision: 203144 URL: http://svn.freebsd.org/changeset/base/203144 Log: Add null check on quirk lookup and add a couple of umass quirks. Submitted by: Hans Petter Selesky Modified: head/sys/dev/usb/quirk/usb_quirk.c Modified: head/sys/d

svn commit: r203143 - head/sys/dev/usb/wlan

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:32:46 2010 New Revision: 203143 URL: http://svn.freebsd.org/changeset/base/203143 Log: Add the Netgear WPN111 Modified: head/sys/dev/usb/wlan/if_uath.c Modified: head/sys/dev/usb/wlan/if_uath.c ==

svn commit: r203142 - head/sys/dev/usb

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:32:18 2010 New Revision: 203142 URL: http://svn.freebsd.org/changeset/base/203142 Log: Sync usb products to perforce. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

svn commit: r203141 - head/sys/dev/usb/wlan

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 02:31:33 2010 New Revision: 203141 URL: http://svn.freebsd.org/changeset/base/203141 Log: Attempt to recover on a TX error rather than stopping all transfers. Submitted by: Hans Petter Selesky Modified: head/sys/dev/usb/wlan/if_rum.c head/sys/dev/usb/wl

svn commit: r203140 - head/sys/dev/usb/controller

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 01:30:13 2010 New Revision: 203140 URL: http://svn.freebsd.org/changeset/base/203140 Log: Optimise EHCI ISOC HS done check. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev/usb/controller/ehci.c ==

svn commit: r203139 - head/sys/dev/usb/wlan

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Fri Jan 29 01:27:54 2010 New Revision: 203139 URL: http://svn.freebsd.org/changeset/base/203139 Log: Add device ID. PR: usb/142427 Modified: head/sys/dev/usb/wlan/if_rum.c Modified: head/sys/dev/usb/wlan/if_rum.c ==

svn commit: r203138 - head/sys/dev/usb/wlan

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Thu Jan 28 22:54:01 2010 New Revision: 203138 URL: http://svn.freebsd.org/changeset/base/203138 Log: Use device_printf rather than printf + device_get_nameunit. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ===

svn commit: r203137 - head/sys/dev/usb/wlan

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Thu Jan 28 22:46:04 2010 New Revision: 203137 URL: http://svn.freebsd.org/changeset/base/203137 Log: Release the firmware after loading to the device. Modified: head/sys/dev/usb/wlan/if_run.c head/sys/dev/usb/wlan/if_runvar.h Modified: head/sys/dev/usb/wlan/if_run.c =

svn commit: r203136 - head/sys/conf

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Thu Jan 28 22:28:59 2010 New Revision: 203136 URL: http://svn.freebsd.org/changeset/base/203136 Log: Add run(4) to NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == --- head/

svn commit: r203135 - head/share/man/man4

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Thu Jan 28 22:28:01 2010 New Revision: 203135 URL: http://svn.freebsd.org/changeset/base/203135 Log: Hook run(4) to the build. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile =

svn commit: r203134 - in head: share/man/man4 sys/conf sys/contrib/dev/run sys/dev/usb sys/dev/usb/wlan sys/modules sys/modules/runfw sys/modules/usb sys/modules/usb/run

2010-01-28 Thread Andrew Thompson
Author: thompsa Date: Thu Jan 28 22:24:54 2010 New Revision: 203134 URL: http://svn.freebsd.org/changeset/base/203134 Log: Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices. This driver was written for OpenBSD by Damien Bergamini and ported over by Akinori Furu

svn commit: r203133 - stable/8

2010-01-28 Thread Jilles Tjoelker
Author: jilles Date: Thu Jan 28 22:15:29 2010 New Revision: 203133 URL: http://svn.freebsd.org/changeset/base/203133 Log: MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in head in r199953

svn commit: r203132 - head/sys/mips/atheros

2010-01-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 28 21:55:56 2010 New Revision: 203132 URL: http://svn.freebsd.org/changeset/base/203132 Log: - Increase timeouts to 100 milliseconds, 1 millisecond is definitely not enough for PCI controller to get into shape Thanks to: adrian@ Modified: head/sys/mips/a

svn commit: r203131 - head/share/man/man9

2010-01-28 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jan 28 21:14:12 2010 New Revision: 203131 URL: http://svn.freebsd.org/changeset/base/203131 Log: Cosmetic fixes. Modified: head/share/man/man9/locking.9 Modified: head/share/man/man9/locking.9 ===

svn commit: r203130 - in head/sys/mips/cavium: . dev/rgmii

2010-01-28 Thread Warner Losh
Author: imp Date: Thu Jan 28 20:46:40 2010 New Revision: 203130 URL: http://svn.freebsd.org/changeset/base/203130 Log: Add Cavium's standard copyright to those files that are currently lacking a copyright/license statement. All these files were in the Cavium FreeBSD source drop and appear t

svn commit: r203129 - head/sys/mips/cavium

2010-01-28 Thread Warner Losh
Author: imp Date: Thu Jan 28 20:39:50 2010 New Revision: 203129 URL: http://svn.freebsd.org/changeset/base/203129 Log: We make it to single user well, but not so well to multi-user. Force single user for the moment since that's a better experience for people trying this code out... Modifie

svn commit: r203128 - head/sys/mips/cavium

2010-01-28 Thread Warner Losh
Author: imp Date: Thu Jan 28 20:38:52 2010 New Revision: 203128 URL: http://svn.freebsd.org/changeset/base/203128 Log: trim unused members of the softc. Modified: head/sys/mips/cavium/obiovar.h Modified: head/sys/mips/cavium/obiovar.h =

svn commit: r203127 - head/share/man/man9

2010-01-28 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jan 28 19:57:24 2010 New Revision: 203127 URL: http://svn.freebsd.org/changeset/base/203127 Log: Add description of bounded sleep vs unbounded sleep (aka blocking). Move rules into their own section. Modified: head/share/man/man9/locking.9 Modified: head/share/man/

svn commit: r203126 - head/share/misc

2010-01-28 Thread Ulrich Sp�rlein
Author: uqs Date: Thu Jan 28 19:41:26 2010 New Revision: 203126 URL: http://svn.freebsd.org/changeset/base/203126 Log: Add myself. Approved by: philip (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r203125 - head/share/man/man4

2010-01-28 Thread Joerg Wunsch
Author: joerg Date: Thu Jan 28 19:12:40 2010 New Revision: 203125 URL: http://svn.freebsd.org/changeset/base/203125 Log: Fix typo in xref (it accidentally referenced itself). MFC after:1 day Modified: head/share/man/man4/gpib.4 Modified: head/share/man/man4/gpib.4 ==

Re: svn commit: r203113 - head/sys/mips/rmi

2010-01-28 Thread Randall Stewart
Thanks I will fix that when i get home ;-) R On Jan 28, 2010, at 10:12 AM, M. Warner Losh wrote: In message: <201001281401.o0se1lus058...@svn.freebsd.org> Randall Stewart writes: : Author: rrs : Date: Thu Jan 28 14:01:47 2010 : New Revision: 203113 : URL: http://svn.freebsd.org/cha

Re: svn commit: r203113 - head/sys/mips/rmi

2010-01-28 Thread M. Warner Losh
In message: <201001281401.o0se1lus058...@svn.freebsd.org> Randall Stewart writes: : Author: rrs : Date: Thu Jan 28 14:01:47 2010 : New Revision: 203113 : URL: http://svn.freebsd.org/changeset/base/203113 : : Log: : Make compilable.. i.e. the FreeBSD id I added must : be in comment

svn commit: r203124 - head/share/man/man4

2010-01-28 Thread Alexander Motin
Author: mav Date: Thu Jan 28 18:15:19 2010 New Revision: 203124 URL: http://svn.freebsd.org/changeset/base/203124 Log: Note added FIS-based switching support. Modified: head/share/man/man4/ahci.4 Modified: head/share/man/man4/ahci.4 ===

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

2010-01-28 Thread Alexander Motin
Author: mav Date: Thu Jan 28 17:54:47 2010 New Revision: 203123 URL: http://svn.freebsd.org/changeset/base/203123 Log: Add FIS-based switching support. If controller supports FBS, it allows several devices beyond Port Multiplier to work simultaneously, substantially increasing performance.

svn commit: r203122 - head/share/man/man9

2010-01-28 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jan 28 17:09:47 2010 New Revision: 203122 URL: http://svn.freebsd.org/changeset/base/203122 Log: Improve descriptions, remove turnstiles (since, from what I understand, they are only used to implement other synchronization primitives), tweak formatting. Modified: h

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

2010-01-28 Thread Christian Brueffer
Author: brueffer Date: Thu Jan 28 17:07:14 2010 New Revision: 203121 URL: http://svn.freebsd.org/changeset/base/203121 Log: MFC: r202317 Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4). Added: stable/8/share/man/man4/ipwfw.4 - copied unchanged from r202317, head/share/man/

svn commit: r203120 - in stable/8: sys/net sys/netinet usr.bin/netstat

2010-01-28 Thread George V. Neville-Neil
Author: gnn Date: Thu Jan 28 16:48:44 2010 New Revision: 203120 URL: http://svn.freebsd.org/changeset/base/203120 Log: MFC r196797: Add ARP statistics to the kernel and netstat. Modified: stable/8/sys/net/if_arp.h stable/8/sys/netinet/if_ether.c stable/8/usr.bin/netstat/inet.c stab

svn commit: r203119 - head/sys/fs/nfsclient

2010-01-28 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 28 16:17:24 2010 New Revision: 203119 URL: http://svn.freebsd.org/changeset/base/203119 Log: Patch the experimental NFS client in a manner analogous to r203072 for the regular NFS client. Also, delete two fields of struct nfsmount that are not used by the FreeB

svn commit: r203117 - stable/8/usr.bin/calendar

2010-01-28 Thread Alberto Villa
Author: avilla (ports committer) Date: Thu Jan 28 15:09:11 2010 New Revision: 203117 URL: http://svn.freebsd.org/changeset/base/203117 Log: - Record merge of r197788, r203040, r203045, r203048. Noticed by: gavin Approved by: tabthorpe (mentor) Modified: Directory Properties: stable/

svn commit: r203116 - head/sys/mips/conf

2010-01-28 Thread Olivier Houchard
Author: cognet Date: Thu Jan 28 14:59:16 2010 New Revision: 203116 URL: http://svn.freebsd.org/changeset/base/203116 Log: Comment out any reference to ALCHEMY.hints until it's committed, to unbreak make universe. Spotted out by: gahr Modified: head/sys/mips/conf/ALCHEMY Modified

svn commit: r203115 - head/sys/mips/mips

2010-01-28 Thread Randall Stewart
Author: rrs Date: Thu Jan 28 14:09:16 2010 New Revision: 203115 URL: http://svn.freebsd.org/changeset/base/203115 Log: Fix two of the extended memory hacks. The copy pages routine in one place was setting the valid2 bit to 2 not 1. This meant the PTE was NOT valid and so you would crash.

svn commit: r203114 - head/sys/mips/mips

2010-01-28 Thread Randall Stewart
Author: rrs Date: Thu Jan 28 14:03:06 2010 New Revision: 203114 URL: http://svn.freebsd.org/changeset/base/203114 Log: Adds additional hacks for proper bits so that the RMI/XLR has the COP0 and COP2 bits enabled Plus it needs SX too. Thanks again for JC in catching this ;-) Submitted

svn commit: r203113 - head/sys/mips/rmi

2010-01-28 Thread Randall Stewart
Author: rrs Date: Thu Jan 28 14:01:47 2010 New Revision: 203113 URL: http://svn.freebsd.org/changeset/base/203113 Log: Make compilable.. i.e. the FreeBSD id I added must be in comments. Modified: head/sys/mips/rmi/pic.h Modified: head/sys/mips/rmi/pic.h

svn commit: r203112 - head/sys/mips/rmi

2010-01-28 Thread Randall Stewart
Author: rrs Date: Thu Jan 28 14:01:16 2010 New Revision: 203112 URL: http://svn.freebsd.org/changeset/base/203112 Log: Changes the msg ring so its a filter not a handler. Somehow rrs missed this.. Thanks to JC for catching this ;-) Obtained from:JC (jayachandr...@netlogicmicro.c

svn commit: r203111 - svnadmin/conf

2010-01-28 Thread Philip Paeps
Author: philip Date: Thu Jan 28 10:50:09 2010 New Revision: 203111 URL: http://svn.freebsd.org/changeset/base/203111 Log: Add Ulrich Spörlein (uqs) as a src committer. I will be his mentor. Approved by: core Modified: svnadmin/conf/access svnadmin/conf/mentors Modified: svnadmin/con

Re: svn commit: r203108 - in head/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-01-28 Thread Bruce Simpson
I just tested this patch in -STABLE right now, and it's looking fine so far. Plugging the eSATA box in triggers: ada1 at ahcich3 bus 0 scbus3 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO size 8192bytes) ada1: Command Queueing enabled ada1: 476940MB

Re: svn commit: r202889 - head/sys/kern

2010-01-28 Thread Attilio Rao
2010/1/27 Marius Strobl : > On Tue, Jan 26, 2010 at 08:10:25AM +0100, Attilio Rao wrote: >> 2010/1/26 Rob Farmer : >> > On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao wrote: >> >> Author: attilio >> >> Date: Sat Jan 23 15:54:21 2010 >> >> New Revision: 202889 >> >> URL: http://svn.freebsd.org/change

svn commit: r203108 - in head/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-01-28 Thread Alexander Motin
Author: mav Date: Thu Jan 28 08:41:30 2010 New Revision: 203108 URL: http://svn.freebsd.org/changeset/base/203108 Log: MFp4: Large set of CAM inprovements. - Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows to remo