Re: svn commit: r191369 - in head/sys: arm/conf dev/iicbus

2009-04-22 Thread Alexander Leidinger
Quoting "M. Warner Losh" (from Wed, 22 Apr 2009 00:26:43 -0600 (MDT)): In message: <200904212248.n3lmmcbu027...@svn.freebsd.org> Stanislav Sedov writes: : Author: stas : Date: Tue Apr 21 22:48:12 2009 : New Revision: 191369 : URL: http://svn.freebsd.org/changeset/base/191369 : :

Re: svn commit: r191330 - head/usr.bin/ncal

2009-04-22 Thread Roman Divacky
I like your idea about using strcat() things but it wont help here because the problem is with the overal design. in detail - the short patch highlights " XY" instead of just "XY" where some sort of hackery is needed... the pointer magic there is for exactly this purpose.. I'll see if I can imp

svn commit: r191372 - stable/7/usr.sbin/ppp

2009-04-22 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 22 08:22:16 2009 New Revision: 191372 URL: http://svn.freebsd.org/changeset/base/191372 Log: MFC r191305: Back out r186308 (r191014 in stable/7): In case of AF_LINK, which the kernel still returns for an RTAX_GATEWAY as an empty sockaddr_dl in the classic

svn commit: r191373 - releng/7.2/usr.sbin/ppp

2009-04-22 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 22 08:37:02 2009 New Revision: 191373 URL: http://svn.freebsd.org/changeset/base/191373 Log: MFC r191305: Back out r186308 (r191014 in stable/7): In case of AF_LINK, which the kernel still returns for an RTAX_GATEWAY as an empty sockaddr_dl in the classic

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

2009-04-22 Thread Bruce Simpson
Robert Watson wrote: ... Log: Start to address a number of races relating to use of ifnet pointers after the corresponding interface has been destroyed: (1) Add an ifnet refcount, ifp->if_refcount. Initialize it to 1 in if_alloc(), and modify if_free_type() to decrement and check

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

2009-04-22 Thread Robert Watson
On Wed, 22 Apr 2009, Bruce Simpson wrote: Start to address a number of races relating to use of ifnet pointers after the corresponding interface has been destroyed: (1) Add an ifnet refcount, ifp->if_refcount. Initialize it to 1 in if_alloc(), and modify if_free_type() to decreme

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

2009-04-22 Thread Bruce Simpson
Robert Watson wrote: ... (3) Some consumers of ifnets need to be taught to register the ifnet removal event and properly detach themselves. For example, DUMMYNET is a well-known component that likes to hold onto mbufs for a long time, increasing the chances of the "oh, my ifnet is

Re: svn commit: r191330 - head/usr.bin/ncal

2009-04-22 Thread David Schultz
On Wed, Apr 22, 2009, Roman Divacky wrote: > > I like your idea about using strcat() things but it wont > help here because the problem is with the overal design. > in detail - the short patch highlights " XY" instead of > just "XY" where some sort of hackery is needed... the pointer > magic the

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

2009-04-22 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Apr 22 12:52:12 2009 New Revision: 191374 URL: http://svn.freebsd.org/changeset/base/191374 Log: Turns out rtm_use does still exist, just under different name - for a long time (since 6.1) it was #defined as rtm_fmask. Update manual page. While here, sync some const

svn commit: r191375 - in head/sys/powerpc: booke include

2009-04-22 Thread Rafal Jaworowski
Author: raj Date: Wed Apr 22 13:11:38 2009 New Revision: 191375 URL: http://svn.freebsd.org/changeset/base/191375 Log: Centralize setting HID0/1 for E500. Rename HID defines which are specific to E500 rather than shared within Book-E family. Obtained from:Freescale, Semihalf Modi

svn commit: r191376 - head/sys/powerpc/booke

2009-04-22 Thread Rafal Jaworowski
Author: raj Date: Wed Apr 22 13:13:34 2009 New Revision: 191376 URL: http://svn.freebsd.org/changeset/base/191376 Log: Provide cpu_throw() for Book-E. Adjust cpu_switch() towards ULE support. Obtained from:Freescale, Semihalf Modified: head/sys/powerpc/booke/swtch.S head/sys/po

svn commit: r191377 - stable/7/usr.sbin/sysinstall

2009-04-22 Thread Ollivier Robert
Author: roberto Date: Wed Apr 22 13:17:47 2009 New Revision: 191377 URL: http://svn.freebsd.org/changeset/base/191377 Log: MFH of changeset r191200: Add an entry for the French macbook keyboard layout. Approved by: re (kensmith) Modified: stable/7/usr.sbin/sysinstall/ (props chan

svn commit: r191378 - head/sys/powerpc/booke

2009-04-22 Thread Rafal Jaworowski
Author: raj Date: Wed Apr 22 13:18:04 2009 New Revision: 191378 URL: http://svn.freebsd.org/changeset/base/191378 Log: Minor style consistency fix. Modified: head/sys/powerpc/booke/swtch.S Modified: head/sys/powerpc/booke/swtch.S ==

svn commit: r191379 - releng/7.2/usr.sbin/sysinstall

2009-04-22 Thread Ollivier Robert
Author: roberto Date: Wed Apr 22 13:18:13 2009 New Revision: 191379 URL: http://svn.freebsd.org/changeset/base/191379 Log: MFH of changeset r191200: Add an entry for the French macbook keyboard layout. Approved by:re (kensmith) Modified: releng/7.2/usr.sbin/sysinstall/ (props

Re: svn commit: r191330 - head/usr.bin/ncal

2009-04-22 Thread Roman Divacky
On Wed, Apr 22, 2009 at 08:47:58AM -0400, David Schultz wrote: > On Wed, Apr 22, 2009, Roman Divacky wrote: > > > > I like your idea about using strcat() things but it wont > > help here because the problem is with the overal design. > > in detail - the short patch highlights " XY" instead of >

svn commit: r191380 - head/sys/powerpc/powerpc

2009-04-22 Thread Rafal Jaworowski
Author: raj Date: Wed Apr 22 13:31:52 2009 New Revision: 191380 URL: http://svn.freebsd.org/changeset/base/191380 Log: Eliminate redundant setting of HID0_EMCP. Modified: head/sys/powerpc/powerpc/cpu.c Modified: head/sys/powerpc/powerpc/cpu.c =

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt BMPStrin

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt BMPStrin

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
2009(r191381) @@ -8,6 +8,13 @@ Items affecting the ports and packages s /usr/ports/UPDATING. Please read that file before running portupgrade. +20090422: p10 FreeBSD-SA-09:07.libc, FreeBSD-SA-09:08.openssl + Don't leak information via uninitialized space in db(

svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/6...

2009-04-22 Thread Colin Percival
Author: cperciva Date: Wed Apr 22 14:07:14 2009 New Revision: 191381 URL: http://svn.freebsd.org/changeset/base/191381 Log: Don't leak information via uninitialized space in db(3) records. [09:07] Sanity-check string lengths in order to stop OpenSSL crashing when printing corrupt BMPStrin

svn commit: r191382 - svnadmin/conf

2009-04-22 Thread Robert Watson
Author: rwatson Date: Wed Apr 22 14:19:21 2009 New Revision: 191382 URL: http://svn.freebsd.org/changeset/base/191382 Log: Exempt myself from size limit policy for pnet integration. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r191385 - head/sys/dev/pccard

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 15:11:27 2009 New Revision: 191385 URL: http://svn.freebsd.org/changeset/base/191385 Log: Add AmbiCom AMB8002, AMB8010 (2 variants) and AMB8610. These were inferred from data in the linux driver. Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/

svn commit: r191386 - head/sys/dev/ed

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 15:13:20 2009 New Revision: 191386 URL: http://svn.freebsd.org/changeset/base/191386 Log: Add a few more models of AMBICOM cards from data from linux driver and pccard.conf. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

svn commit: r191384 - head/sys/dev/ed

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 15:01:08 2009 New Revision: 191384 URL: http://svn.freebsd.org/changeset/base/191384 Log: These were a placeholder and don't belong here. Remove them. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

svn commit: r191387 - head/share/man/man4/man4.powerpc

2009-04-22 Thread Rafal Jaworowski
Author: raj Date: Wed Apr 22 15:25:00 2009 New Revision: 191387 URL: http://svn.freebsd.org/changeset/base/191387 Log: Provide manual page for the tsec(4) device driver. Obtained from:Semihalf Added: head/share/man/man4/man4.powerpc/tsec.4 (contents, props changed) Modified:

svn commit: r191388 - head/lib/libbluetooth

2009-04-22 Thread Maksim Yevmenkin
Author: emax Date: Wed Apr 22 15:50:03 2009 New Revision: 191388 URL: http://svn.freebsd.org/changeset/base/191388 Log: Implement low-level Bluetooth HCI API. This should make it easier to make Linux BlueZ libhci port. Reviewed by: Iain Hibbert < plunky -at- rya-online -dot- net > of Net

svn commit: r191389 - in head: . sys/sys

2009-04-22 Thread Maksim Yevmenkin
malloc debugging, run ln -s aj /etc/malloc.conf.) +20090422 + Implement low-level Bluetooth HCI API. + Bump __FreeBSD_version to 800083. + 20090415: Anticipate overflowing inp_flags - add inp_flags2. This changes most offsets in inpcb, so checking v4 connection

svn commit: r191390 - head/sys/dev/pccard

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 15:56:00 2009 New Revision: 191390 URL: http://svn.freebsd.org/changeset/base/191390 Log: Add Billionton LNT-10TB variant Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/pccard/pccarddevs ===

svn commit: r191391 - head/sys/dev/ed

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 15:57:22 2009 New Revision: 191391 URL: http://svn.freebsd.org/changeset/base/191391 Log: Add Billionton LNT10TB Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c

svn commit: r191392 - head/usr.sbin/sysinstall

2009-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Apr 22 16:06:46 2009 New Revision: 191392 URL: http://svn.freebsd.org/changeset/base/191392 Log: Add bm(4) to the built-in ethernet devices list. Modified: head/usr.sbin/sysinstall/devices.c Modified: head/usr.sbin/sysinstall/devices.c ===

svn commit: r191393 - head/sys/dev/pccard

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 16:50:44 2009 New Revision: 191393 URL: http://svn.freebsd.org/changeset/base/191393 Log: A couple of older Melco cards that missed the transition to newcard Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/pccard/pccarddevs ===

svn commit: r191394 - head/sys/dev/ed

2009-04-22 Thread Warner Losh
Author: imp Date: Wed Apr 22 16:51:01 2009 New Revision: 191394 URL: http://svn.freebsd.org/changeset/base/191394 Log: A couple of older Melco cards that missed the transition to newcard Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ===

svn commit: r191395 - in head/sys/dev/usb: . controller

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:07:53 2009 New Revision: 191395 URL: http://svn.freebsd.org/changeset/base/191395 Log: MFp4 //depot/projects/u...@160413 Use direct reference to parent high-speed HUB instead of indirect, due to pointer clearing race at detach of parent USB HUB. Re

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

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:07:56 2009 New Revision: 191396 URL: http://svn.freebsd.org/changeset/base/191396 Log: MFp4 //depot/projects/u...@160485 Fix a bug in the USB power daemon code where connection of multiple HUBs in series would result in incorrect device suspend. Re

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

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:07:59 2009 New Revision: 191397 URL: http://svn.freebsd.org/changeset/base/191397 Log: MFp4 //depot/projects/u...@160614 Fix errornous printout. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/

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

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:08:04 2009 New Revision: 191398 URL: http://svn.freebsd.org/changeset/base/191398 Log: MFp4 //depot/projects/u...@160655 Fix possible issue with clear-stall and set-config happening at the same time. Submitted by: Hans Petter Selasky Modified: hea

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

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:08:07 2009 New Revision: 191399 URL: http://svn.freebsd.org/changeset/base/191399 Log: MFp4 //depot/projects/u...@160678 Remove unused field. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/at91dci.h head/sys/dev/usb/cont

svn commit: r191400 - in head/sys/dev/usb: . controller

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:08:10 2009 New Revision: 191400 URL: http://svn.freebsd.org/changeset/base/191400 Log: MFp4 //depot/projects/u...@160706 Resolve possible device side mode deadlock by creating another thread. Submitted by: Hans Petter Selasky Modified: head/sys/de

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

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:08:13 2009 New Revision: 191401 URL: http://svn.freebsd.org/changeset/base/191401 Log: MFp4 //depot/projects/u...@160708 Need to check Read/Write allowed before writing any data for non-control transfers. Submitted by: Hans Petter Selasky Modified

svn commit: r191402 - in head/sys/dev/usb: . controller template

2009-04-22 Thread Andrew Thompson
Author: thompsa Date: Wed Apr 22 17:08:16 2009 New Revision: 191402 URL: http://svn.freebsd.org/changeset/base/191402 Log: MFp4 //depot/projects/u...@160930 Change the roothub exec functions to take the usb request and data pointers directly rather than placing them on the parent bus stru

Re: svn commit: r191369 - in head/sys: arm/conf dev/iicbus

2009-04-22 Thread Stanislav Sedov
On Wed, 22 Apr 2009 09:05:46 +0200 Alexander Leidinger mentioned: > Quoting "M. Warner Losh" (from Wed, 22 Apr 2009 > 00:26:43 -0600 (MDT)): > > > In message: <200904212248.n3lmmcbu027...@svn.freebsd.org> > > Stanislav Sedov writes: > > : Author: stas > > : Date: Tue Apr 21 22:48

Re: svn commit: r191369 - in head/sys: arm/conf dev/iicbus

2009-04-22 Thread M. Warner Losh
In message: <20090422231511.ca92fb9f.s...@freebsd.org> Stanislav Sedov writes: : On Wed, 22 Apr 2009 09:05:46 +0200 : Alexander Leidinger mentioned: : : > Quoting "M. Warner Losh" (from Wed, 22 Apr 2009 : > 00:26:43 -0600 (MDT)): : > : > > In message: <200904212248.n3lmmcbu027...

svn commit: r191403 - head/sys/kern

2009-04-22 Thread Bjoern A. Zeeb
Author: bz Date: Wed Apr 22 20:49:54 2009 New Revision: 191403 URL: http://svn.freebsd.org/changeset/base/191403 Log: Correct a comment: the function name given had never existed in any (relevant) version of this file orany of my patches. MFC after:1 month Modified: head/sys/kern/k

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

2009-04-22 Thread Robert Noland
Author: rnoland Date: Wed Apr 22 20:58:23 2009 New Revision: 191404 URL: http://svn.freebsd.org/changeset/base/191404 Log: Merge 191274. Don't try to setup interrupts for drivers that don't support them. This causes sis and probably a couple of other driver to panic and fail. Test

Re: svn commit: r191060 - in head/sys/dev: twa twe

2009-04-22 Thread Stanislav Sedov
On Tue, 14 Apr 2009 14:02:43 + (UTC) Ed Schouten mentioned: > Author: ed > Date: Tue Apr 14 14:02:43 2009 > New Revision: 191060 > URL: http://svn.freebsd.org/changeset/base/191060 > > Log: > Use si_drv1 instead of dev2unit() in twe(4) and twa(4) > > Reviewed by:scottl > > Mo

svn commit: r191405 - in head/sys: amd64/amd64 i386/i386

2009-04-22 Thread John Baldwin
Author: jhb Date: Wed Apr 22 21:40:37 2009 New Revision: 191405 URL: http://svn.freebsd.org/changeset/base/191405 Log: Adjust the way we number CPUs on x86 so that we attempt to "group" all logical CPUs in a package. We do this by numbering the non-boot CPUs by starting with the first CPU w

svn commit: r191406 - in releng/7.2/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/drm

2009-04-22 Thread Robert Noland
Author: rnoland Date: Wed Apr 22 21:50:32 2009 New Revision: 191406 URL: http://svn.freebsd.org/changeset/base/191406 Log: Merge 191274. Don't try to setup interrupts for drivers that don't support them. This causes sis and probably a couple of other driver to panic and fail. Test

Re: svn commit: r191405 - in head/sys: amd64/amd64 i386/i386

2009-04-22 Thread John Baldwin
On Wednesday 22 April 2009 5:40:37 pm John Baldwin wrote: > Author: jhb > Date: Wed Apr 22 21:40:37 2009 > New Revision: 191405 > URL: http://svn.freebsd.org/changeset/base/191405 > > Log: > Adjust the way we number CPUs on x86 so that we attempt to "group" all > logical CPUs in a package. We

Re: svn commit: r191405 - in head/sys: amd64/amd64 i386/i386

2009-04-22 Thread Ceri Davies
On Wed, Apr 22, 2009 at 05:59:04PM -0400, John Baldwin wrote: > On Wednesday 22 April 2009 5:40:37 pm John Baldwin wrote: > > Author: jhb > > Date: Wed Apr 22 21:40:37 2009 > > New Revision: 191405 > > URL: http://svn.freebsd.org/changeset/base/191405 > > > > Log: > > Adjust the way we number CP

Re: svn commit: r191405 - in head/sys: amd64/amd64 i386/i386

2009-04-22 Thread Ivan Voras
2009/4/22 John Baldwin : > On Wednesday 22 April 2009 5:40:37 pm John Baldwin wrote: >> Author: jhb >> Date: Wed Apr 22 21:40:37 2009 >> New Revision: 191405 >> URL: http://svn.freebsd.org/changeset/base/191405 >> >> Log: >>   Adjust the way we number CPUs on x86 so that we attempt to "group" all >

Re: svn commit: r191060 - in head/sys/dev: twa twe

2009-04-22 Thread Ed Schouten
* Stanislav Sedov wrote: > Any reason to have two tabs here? Yes. I think the ioctl() function in the same file also used this line, so I just literally copy/pasted it into open()/close(). -- Ed Schouten WWW: http://80386.nl/ pgpxTr4MiFdRC.pgp Description: PGP signature

svn commit: r191408 - head/sys/arm/at91

2009-04-22 Thread Stanislav Sedov
Author: stas Date: Wed Apr 22 23:54:41 2009 New Revision: 191408 URL: http://svn.freebsd.org/changeset/base/191408 Log: - Add the driver for AT91RM9200 CompactFlash controller. The driver operates in the common memory mode and use polling mode to control the status of operations as I don

svn commit: r191410 - head/sys/arm/at91

2009-04-22 Thread Stanislav Sedov
Author: stas Date: Thu Apr 23 00:00:57 2009 New Revision: 191410 URL: http://svn.freebsd.org/changeset/base/191410 Log: - Whitespace nitpicking. Modified: head/sys/arm/at91/at91_cfata.c Modified: head/sys/arm/at91/at91_cfata.c =

svn commit: r191411 - releng/7.2/sys/conf

2009-04-22 Thread Ken Smith
Author: kensmith Date: Thu Apr 23 02:30:44 2009 New Revision: 191411 URL: http://svn.freebsd.org/changeset/base/191411 Log: Get ready for 7.2-RC2 builds. Approved by: re (implicit) Modified: releng/7.2/sys/conf/newvers.sh Modified: releng/7.2/sys/conf/newvers.sh ===

Re: svn commit: r191060 - in head/sys/dev: twa twe

2009-04-22 Thread Alexey Dokuchaev
On Thu, Apr 23, 2009 at 01:02:10AM +0200, Ed Schouten wrote: > * Stanislav Sedov wrote: > > Any reason to have two tabs here? > > Yes. I think the ioctl() function in the same file also used this line, > so I just literally copy/pasted it into open()/close(). But it looks like style bug which is