Re: svn commit: r187251 - head/sys/mips/malta

2009-01-15 Thread M. Warner Losh
In message: <496fc32f.3040...@freebsd.org> Maxim Sobolev writes: : Christoph Mallon wrote: : > Alexey Dokuchaev schrieb: : >> On Wed, Jan 14, 2009 at 07:05:27PM -0700, M. Warner Losh wrote: : >>> In message: <20090115020752.52566769.s...@freebsd.org> : >>> Stanislav Sedov

Re: svn commit: r186187 - head/sys/net

2009-01-15 Thread Max Laier
Thank you for getting back to this ... On Thursday 15 January 2009 22:59:35 John Baldwin wrote: > So the usual model would be to do something like this: > > LIST(foo, ) foo_list; > > foo_add(foo *p) > { > > /* Construct foo, but don't lock it. */ > WLOCK(foo_list); > LIST_I

svn commit: r187322 - in head/tools/tools/ath: . athrd

2009-01-15 Thread Sam Leffler
Author: sam Date: Thu Jan 15 23:38:21 2009 New Revision: 187322 URL: http://svn.freebsd.org/changeset/base/187322 Log: add athrd tool that dumps ath hal regulatory info; note this is soon to obsolete but commit now so it's available for anyone that's interested Added: head/tools/tools/ath/a

Re: svn commit: r187301 - in head/sys/mips: include mips

2009-01-15 Thread Alan Cox
Oleksandr Tymoshenko wrote: Alan Cox wrote: You should not be reintroducing pmap_track_modified(). See revision 1.2 of this file. My bad :(. Should have checked history. Thanks for pointing out. Fixed You are welcome. Did you see the e-mail that I send a couple days ago about get_pv_en

svn commit: r187321 - head/sys/dev/iicbus

2009-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jan 15 23:14:59 2009 New Revision: 187321 URL: http://svn.freebsd.org/changeset/base/187321 Log: Revert revision 186833 and try a different strategy to allow this device to work when the bus attaches its own children. Instead of hardcoding a unit number and retur

Re: svn commit: r187251 - head/sys/mips/malta

2009-01-15 Thread Maxim Sobolev
Christoph Mallon wrote: Alexey Dokuchaev schrieb: On Wed, Jan 14, 2009 at 07:05:27PM -0700, M. Warner Losh wrote: In message: <20090115020752.52566769.s...@freebsd.org> Stanislav Sedov writes: : > +shift = 8 * (reg & 3); : > : : Would it make sense to replace this with : >

Re: svn commit: r187301 - in head/sys/mips: include mips

2009-01-15 Thread Oleksandr Tymoshenko
Alan Cox wrote: You should not be reintroducing pmap_track_modified(). See revision 1.2 of this file. My bad :(. Should have checked history. Thanks for pointing out. Fixed Oleksandr Tymoshenko wrote: Author: gonzo Date: Thu Jan 15 18:31:36 2009 New Revision: 187301 URL: http://svn.freeb

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

2009-01-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 15 23:03:27 2009 New Revision: 187319 URL: http://svn.freebsd.org/changeset/base/187319 Log: - pmap_track_modified was retired in r178606. Reintroducing it was a mistake. Spotted by: alc@ Modified: head/sys/mips/mips/pmap.c Modified: head/sys/mips/mips/pmap.c

Re: svn commit: r186187 - head/sys/net

2009-01-15 Thread John Baldwin
On Wednesday 17 December 2008 3:09:55 pm Max Laier wrote: > As the upper half of this thread has turned into a style(9) bikeshed, let me > replay the lower half and add more locking folks. > > The change in question is here: > http://svn.freebsd.org/viewvc/base/head/sys/net/pfil.c?r1=173904&r2=1

Re: svn commit: r187156 - head/tools/sched

2009-01-15 Thread John Baldwin
On Tuesday 13 January 2009 11:44:18 am John Baldwin wrote: > Author: jhb > Date: Tue Jan 13 16:44:18 2009 > New Revision: 187156 > URL: http://svn.freebsd.org/changeset/base/187156 > > Log: > Add support for two new event source types: > - Callwheels traced via KTR_CALLOUT. Each CPU is assign

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

2009-01-15 Thread Xin LI
Author: delphij Date: Thu Jan 15 22:41:48 2009 New Revision: 187318 URL: http://svn.freebsd.org/changeset/base/187318 Log: Reflect newly added PCI IDs to bce(4). MFC after:2 months Modified: head/share/man/man4/bce.4 Modified: head/share/man/man4/bce.4 ==

Re: svn commit: r187301 - in head/sys/mips: include mips

2009-01-15 Thread Alan Cox
You should not be reintroducing pmap_track_modified(). See revision 1.2 of this file. Oleksandr Tymoshenko wrote: Author: gonzo Date: Thu Jan 15 18:31:36 2009 New Revision: 187301 URL: http://svn.freebsd.org/changeset/base/187301 Log: MFp4: - Add debug output - Fix pmap_zero_page an

svn commit: r187317 - head/sys/dev/bce

2009-01-15 Thread Xin LI
Author: delphij Date: Thu Jan 15 22:28:05 2009 New Revision: 187317 URL: http://svn.freebsd.org/changeset/base/187317 Log: Changes to match "Marketing Description" from Broadcom for HP servers. Submitted by: davidch MFC after:2 months Modified: head/sys/dev/bce/if_bce.c Modified:

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

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 22:06:53 2009 New Revision: 187316 URL: http://svn.freebsd.org/changeset/base/187316 Log: Don't cross-reference gem(4) and hme(4); maybe this made some sense back when these two were the only two NIC drivers working on sparc64 but it no longer does nowadays.

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

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 22:00:22 2009 New Revision: 187315 URL: http://svn.freebsd.org/changeset/base/187315 Log: Sync the description of jumbo frame support with reality as of r185812; it's also supported with BCM5702 (matched by BGE_ASICREV_BCM5703) but bge(4) currently doesn't wit

svn commit: r187314 - in stable/6/sys: . dev/esp

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 21:23:44 2009 New Revision: 187314 URL: http://svn.freebsd.org/changeset/base/187314 Log: MFC: r180692 o Fix style(9) bugs and similar nits. o Merge ncr53c9x.c from NetBSD: 1.115: fix variable shadowing 1.118: __inline -> inline 1.121: fix empty

svn commit: r187313 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/le

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:49:17 2009 New Revision: 187313 URL: http://svn.freebsd.org/changeset/base/187313 Log: MFC: r183337 - Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9) etc and take advantage of rman_get_rid(9) in order to save some softc members.

svn commit: r187312 - head/lib/libc/locale

2009-01-15 Thread Roman Divacky
Author: rdivacky Date: Thu Jan 15 20:45:59 2009 New Revision: 187312 URL: http://svn.freebsd.org/changeset/base/187312 Log: Change dstp to be const and remove bogus cast. Submitted by: christoph.mallon at gmx.de Approved by: kib (mentor) Modified: head/lib/libc/locale/wcsftime.c Modi

svn commit: r187311 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/sym

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:30:38 2009 New Revision: 187311 URL: http://svn.freebsd.org/changeset/base/187311 Log: MFC: r183895 Use xpt_register_async() in order to remove code duplication. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) st

svn commit: r187310 - in stable/6/sys: . dev/bge

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:23:44 2009 New Revision: 187310 URL: http://svn.freebsd.org/changeset/base/187310 Log: MFC: r184380 Do as the Linux tg3 driver does and enable MSI support also for the BCM5714 revision A0 when in a multi-port configuration and unconditionally for the r

svn commit: r187309 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/bge dev/cxgb

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:23:38 2009 New Revision: 187309 URL: http://svn.freebsd.org/changeset/base/187309 Log: MFC: r184380 Do as the Linux tg3 driver does and enable MSI support also for the BCM5714 revision A0 when in a multi-port configuration and unconditionally for the r

svn commit: r187308 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/bge dev/cxgb

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:19:53 2009 New Revision: 187308 URL: http://svn.freebsd.org/changeset/base/187308 Log: MFC: r183896 Use bus_{read,write}_4(9) instead of bus_space_{read,write}_4(9) in order to get rid of the bus space handle and tag in the softc. Modified: stable/7/s

svn commit: r187307 - in stable/6/sys: . dev/bge

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:13:50 2009 New Revision: 187307 URL: http://svn.freebsd.org/changeset/base/187307 Log: MFC: r183281 - Don't read the identifier string from the VPD if there's no chip containing an Ethernet address fitted as this is yet another thing that fails in

svn commit: r187306 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/bge dev/cxgb

2009-01-15 Thread Marius Strobl
Author: marius Date: Thu Jan 15 20:13:22 2009 New Revision: 187306 URL: http://svn.freebsd.org/changeset/base/187306 Log: MFC: r183281 - Don't read the identifier string from the VPD if there's no chip containing an Ethernet address fitted as this is yet another thing that fails in

Re: svn commit: r186878 - head/sys/dev/mpt

2009-01-15 Thread Marius Strobl
On Thu, Jan 15, 2009 at 10:31:42AM -0500, John Baldwin wrote: > On Wednesday 07 January 2009 4:52:47 pm Marius Strobl wrote: > > Author: marius > > Date: Wed Jan 7 21:52:47 2009 > > New Revision: 186878 > > URL: http://svn.freebsd.org/changeset/base/186878 > > > > Log: > > Make the whole initiat

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

2009-01-15 Thread Warner Losh
Author: imp Date: Thu Jan 15 19:57:45 2009 New Revision: 187305 URL: http://svn.freebsd.org/changeset/base/187305 Log: Reduce diffs to p4 that were the result of a mismerge on my part. Modified: head/sys/mips/mips/machdep.c Modified: head/sys/mips/mips/machdep.c =

svn commit: r187304 - head/sys/netinet/libalias

2009-01-15 Thread Paolo Pisati
Author: piso Date: Thu Jan 15 19:35:23 2009 New Revision: 187304 URL: http://svn.freebsd.org/changeset/base/187304 Log: Silent userland warnings about missing prototypes. Submitted by: Roman Divacky Modified: head/sys/netinet/libalias/alias_ftp.c head/sys/netinet/libalias/alias_irc.c

svn commit: r187301 - in head/sys/mips: include mips

2009-01-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 15 18:31:36 2009 New Revision: 187301 URL: http://svn.freebsd.org/changeset/base/187301 Log: MFp4: - Add debug output - Fix pmap_zero_page and related places: use uncached segments and invalidate cache after zeroing memory. - Do not test for modified bi

svn commit: r187302 - in head/lib/libc: locale stdio

2009-01-15 Thread Roman Divacky
Author: rdivacky Date: Thu Jan 15 18:53:52 2009 New Revision: 187302 URL: http://svn.freebsd.org/changeset/base/187302 Log: Introduce a local variable and use it instead of passed in parameter to get rid of restrict qualifier discarding. This lets libc compile cleanly in gnu99 mode. Sug

svn commit: r187300 - stable/7/usr.sbin/fifolog/fifolog_create

2009-01-15 Thread David E. O'Brien
Author: obrien Date: Thu Jan 15 17:15:03 2009 New Revision: 187300 URL: http://svn.freebsd.org/changeset/base/187300 Log: Don't claim to be FreeBSD 8.0 when installed on FreeBSD 7.1. Modified: stable/7/usr.sbin/fifolog/fifolog_create/fifolog.1 Modified: stable/7/usr.sbin/fifolog/fifolog_crea

Re: svn commit: r186833 - head/sys/dev/iicbus

2009-01-15 Thread Nathan Whitehorn
John Baldwin wrote: On Tuesday 06 January 2009 12:23:37 pm Nathan Whitehorn wrote: Modified: head/sys/dev/iicbus/iic.c === === --- head/sys/dev/iicbus/iic.c Tue Jan 6 17:05:44 2009 (r186832) +++ head/sys/de

svn commit: r187299 - head/sys/dev/usb2/serial

2009-01-15 Thread Takanori Watanabe
Author: takawata Date: Thu Jan 15 16:04:11 2009 New Revision: 187299 URL: http://svn.freebsd.org/changeset/base/187299 Log: Name the items of xfer array. Modified: head/sys/dev/usb2/serial/ufoma2.c Modified: head/sys/dev/usb2/serial/ufoma2.c ==

Re: svn commit: r186878 - head/sys/dev/mpt

2009-01-15 Thread John Baldwin
On Wednesday 07 January 2009 4:52:47 pm Marius Strobl wrote: > Author: marius > Date: Wed Jan 7 21:52:47 2009 > New Revision: 186878 > URL: http://svn.freebsd.org/changeset/base/186878 > > Log: > Make the whole initiator mode part of mpt(4) endian-clean, > specifically SPI controllers now also

Re: svn commit: r186833 - head/sys/dev/iicbus

2009-01-15 Thread John Baldwin
On Tuesday 06 January 2009 12:23:37 pm Nathan Whitehorn wrote: > Modified: head/sys/dev/iicbus/iic.c > === >=== --- head/sys/dev/iicbus/iic.c Tue Jan 6 17:05:44 2009 >(r186832) > +++ head/sys/dev/iicbus/iic.c Tue

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

2009-01-15 Thread John Baldwin
On Tuesday 30 December 2008 7:51:56 am Konstantin Belousov wrote: > Author: kib > Date: Tue Dec 30 12:51:56 2008 > New Revision: 186601 > URL: http://svn.freebsd.org/changeset/base/186601 > > Log: > Clear the pointers to the file in the struct filedesc before file is > closed in fdfree. Otherwise

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

2009-01-15 Thread John Baldwin
On Tuesday 30 December 2008 7:51:15 am Konstantin Belousov wrote: > Author: kib > Date: Tue Dec 30 12:51:14 2008 > New Revision: 186600 > URL: http://svn.freebsd.org/changeset/base/186600 > > Log: > In r185557, the check for existing negative entry for the given name > did not compared nc_dvp w

Re: svn: head/usr.sbin/mergemaster

2009-01-15 Thread John Baldwin
On Friday 02 January 2009 1:58:29 am Ken Smith wrote: > On Thu, 2009-01-01 at 22:44 -0800, Maxim Sobolev wrote: > > Doug Barton wrote: > > > Given that this is a situation that comes up very infrequently > > > (usually only for a major version upgrade) and can usually be handled > > > simply enou

svn commit: r187298 - head/sys/kern

2009-01-15 Thread Konstantin Belousov
Author: kib Date: Thu Jan 15 12:15:46 2009 New Revision: 187298 URL: http://svn.freebsd.org/changeset/base/187298 Log: Lock the semaphore identifier lock during semaphore initialization to guarantee atomicity of the operation for other semaphore consumers. In particular, this should guard ag

Re: svn commit: r187251 - head/sys/mips/malta

2009-01-15 Thread Christoph Mallon
Alexey Dokuchaev schrieb: On Wed, Jan 14, 2009 at 07:05:27PM -0700, M. Warner Losh wrote: In message: <20090115020752.52566769.s...@freebsd.org> Stanislav Sedov writes: : > +shift = 8 * (reg & 3); : > : : Would it make sense to replace this with : > +

svn commit: r187297 - head/sys/pc98/conf

2009-01-15 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Jan 15 11:54:31 2009 New Revision: 187297 URL: http://svn.freebsd.org/changeset/base/187297 Log: MFi386: 187144 Documentation-only change: - add a reference to the config(5) manpage; - hopefully clarify the format of the 'env FILENAME' directive. Modifie

Re: svn commit: r187251 - head/sys/mips/malta

2009-01-15 Thread Alexey Dokuchaev
On Wed, Jan 14, 2009 at 07:05:27PM -0700, M. Warner Losh wrote: > In message: <20090115020752.52566769.s...@freebsd.org> > Stanislav Sedov writes: > : > + shift = 8 * (reg & 3); > : > > : > : Would it make sense to replace this with > : > + shift = (reg & 3) << 3; >

Re: svn commit: r187130 - head/sbin/mount

2009-01-15 Thread Yoshihiro Ota
While you are working on mount, can you take a look at this patch? http://lists.freebsd.org/pipermail/freebsd-current/2007-February/068980.html The problem is that all mount_XXX programs that are not in the base system fail; i.e. everything from the ports or all mount_XXX programs anyone creates o

svn commit: r187296 - svnadmin/conf

2009-01-15 Thread Philip Paeps
Author: philip Date: Thu Jan 15 09:12:41 2009 New Revision: 187296 URL: http://svn.freebsd.org/changeset/base/187296 Log: Restore Martin Cracauer's src commit bit per his request to core. Approved by: core Modified: svnadmin/conf/access Modified: svnadmin/conf/access ==

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

2009-01-15 Thread Warner Losh
Author: imp Date: Thu Jan 15 08:01:50 2009 New Revision: 187295 URL: http://svn.freebsd.org/changeset/base/187295 Log: MFp4: Remove Maxmem. It isn't used elsewhere in the system at this point... realmem is used instead. Modified: head/sys/mips/mips/machdep.c Modified: head/sys/mips/m