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

2008-10-24 Thread Nick Hibma
Author: n_hibma Date: Fri Oct 24 07:08:42 2008 New Revision: 184218 URL: http://svn.freebsd.org/changeset/base/184218 Log: - Bugfix: Only claim interface after having checked all endpoints. This might make Qualcomm and Option cards (which have all endpoints in 1 interface) work. - Chan

svn commit: r184219 - head/sys/i386/conf

2008-10-24 Thread Nick Hibma
Author: n_hibma Date: Fri Oct 24 07:12:05 2008 New Revision: 184219 URL: http://svn.freebsd.org/changeset/base/184219 Log: Remove the entry from the i386 specific NOTES as it is in the generic NOTES file as well. This avoids one of the warnings from make LINT && config LINT Modifie

svn commit: r184220 - in head/sys: conf dev/usb

2008-10-24 Thread Nick Hibma
Author: n_hibma Date: Fri Oct 24 07:16:13 2008 New Revision: 184220 URL: http://svn.freebsd.org/changeset/base/184220 Log: Add U3G_DEBUG to LINT Modified: head/sys/conf/NOTES head/sys/conf/options head/sys/dev/usb/u3g.c Modified: head/sys/conf/NOTES ==

svn commit: r184221 - head/sys/modules/u3g

2008-10-24 Thread Nick Hibma
Author: n_hibma Date: Fri Oct 24 07:19:09 2008 New Revision: 184221 URL: http://svn.freebsd.org/changeset/base/184221 Log: After adding U3G_DEBUG to LINT we need to create the opt_u3g.h file when building the module. Modified: head/sys/modules/u3g/Makefile Modified: head/sys/modules/u3g/Ma

svn commit: r184222 - head/lib/libfetch

2008-10-24 Thread Ruslan Ermilov
Author: ru Date: Fri Oct 24 07:56:01 2008 New Revision: 184222 URL: http://svn.freebsd.org/changeset/base/184222 Log: Don't fail mistakenly with -r when we already have the whole file. Reviewed by: des Modified: head/lib/libfetch/http.c Modified: head/lib/libfetch/http.c ==

svn commit: r184223 - head/sys/xen/evtchn

2008-10-24 Thread Kip Macy
Author: kmacy Date: Fri Oct 24 07:57:48 2008 New Revision: 184223 URL: http://svn.freebsd.org/changeset/base/184223 Log: Fix evtchn initialization on SMP Modified: head/sys/xen/evtchn/evtchn.c Modified: head/sys/xen/evtchn/evtchn.c

svn commit: r184224 - in head/sys/i386: include xen

2008-10-24 Thread Kip Macy
Author: kmacy Date: Fri Oct 24 07:58:38 2008 New Revision: 184224 URL: http://svn.freebsd.org/changeset/base/184224 Log: Fix general issues with IPI support Modified: head/sys/i386/include/apicvar.h head/sys/i386/include/smp.h head/sys/i386/xen/mp_machdep.c Modified: head/sys/i386/includ

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Bruce M. Simpson
Warner Losh wrote: Add mips/conf/DEFAULTS and populate it with: machine arm device mem device uart_ns8250 options GEOM_BSD options GEOM_MBR Remove the first three from all kernel configuration files (sometimes commented-out) and change g

Re: svn commit: r184205 - in head: . share/man/man9 sys/arm/arm sys/cam/scsi sys/compat/linux sys/contrib/altq/altq sys/contrib/ipfilter/netinet sys/dev/ar sys/dev/ce sys/dev/hwpmc sys/dev/lmc sys/dev

2008-10-24 Thread Bruce Evans
On Thu, 23 Oct 2008, [utf-8] Dag-Erling Sm??rgrav wrote: Jaakko Heinonen <[EMAIL PROTECTED]> writes: This change introduces some bad formatting. Many statements would now fit to 80 columns and don't need to be wrapped. You're right, and I'd appreciate a patch, if you feel like it - but not ri

svn commit: r184225 - stable/7/lib/libfetch

2008-10-24 Thread Ruslan Ermilov
Author: ru Date: Fri Oct 24 13:23:54 2008 New Revision: 184225 URL: http://svn.freebsd.org/changeset/base/184225 Log: Don't fail mistakenly with -r when we already have the whole file. Approved by: re (kib) Modified: stable/7/lib/libfetch/ (props changed) stable/7/lib/libfetch/http.

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Alexey Dokuchaev
On Fri, Oct 24, 2008 at 03:26:43AM +0200, Dag-Erling Sm??rgrav wrote: > Warner Losh <[EMAIL PROTECTED]> writes: > > We already have a better mechanism for including config files. We > > should be using that instead of poluting another port with the > > DEFAULTS file. > > Should we even have DEFAU

svn commit: r184226 - head/lib/libc/sys

2008-10-24 Thread Alan Cox
Author: alc Date: Fri Oct 24 14:40:13 2008 New Revision: 184226 URL: http://svn.freebsd.org/changeset/base/184226 Log: Finish what revision 1.40 started. Revision 1.40 removed a false statement from the description but not the errors section. This revision removes it from the errors statem

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

2008-10-24 Thread John Baldwin
On Thursday 23 October 2008 09:09:25 pm David Xu wrote: > Author: davidxu > Date: Fri Oct 24 01:09:24 2008 > New Revision: 184217 > URL: http://svn.freebsd.org/changeset/base/184217 > > Log: > Don't rearm callout if the process is exiting, it may leak a callout > because callout_drain() only w

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread John Baldwin
On Friday 24 October 2008 09:27:03 am Alexey Dokuchaev wrote: > On Fri, Oct 24, 2008 at 03:26:43AM +0200, Dag-Erling Sm??rgrav wrote: > > Warner Losh <[EMAIL PROTECTED]> writes: > > > We already have a better mechanism for including config files. We > > > should be using that instead of poluting a

Re: svn commit: r184208 - head/sys/dev/uart

2008-10-24 Thread Ed Schouten
* John Baldwin <[EMAIL PROTECTED]> wrote: > On Friday 24 October 2008 12:50:12 am Ed Schouten wrote: > > * John Baldwin <[EMAIL PROTECTED]> wrote: > > > Perhaps have tty drivers sleep in detach until the tty is completely > > > gone? > > > Either that or free the unit number in the tty layer whe

Re: svn commit: r184208 - head/sys/dev/uart

2008-10-24 Thread John Baldwin
On Friday 24 October 2008 12:50:12 am Ed Schouten wrote: > * John Baldwin <[EMAIL PROTECTED]> wrote: > > Perhaps have tty drivers sleep in detach until the tty is completely gone? > > Either that or free the unit number in the tty layer when the tty is > > abandoned. > > Well, I could add a rou

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

2008-10-24 Thread Attilio Rao
2008/10/24 David Xu <[EMAIL PROTECTED]>: > Author: davidxu > Date: Fri Oct 24 01:03:31 2008 > New Revision: 184216 > URL: http://svn.freebsd.org/changeset/base/184216 > > Log: > partly revert revision 184199, because TDF_NEEDSIGCHK is persitent > when thread is in kernel mode, it can cause dead l

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Sam Leffler
Warner Losh wrote: From: Marcel Moolenaar <[EMAIL PROTECTED]> Subject: svn commit: r184193 - in head/sys: arm/conf conf Date: Thu, 23 Oct 2008 01:51:55 + (UTC) Author: marcel Date: Thu Oct 23 01:51:55 2008 New Revision: 184193 URL: http://svn.freebsd.org/changeset/base/184193 Log: Add

svn commit: r184227 - head/sys/kern

2008-10-24 Thread Doug Rabson
Author: dfr Date: Fri Oct 24 16:04:10 2008 New Revision: 184227 URL: http://svn.freebsd.org/changeset/base/184227 Log: Don't rely on the value of *statep without first taking the vnode interlock. Reviewed by: Mike Tancsa MFC after:2 weeks Modified: head/sys/kern/kern_lockf.c Modi

Re: svn commit: r184108 - head/sys/i386/i386

2008-10-24 Thread Attilio Rao
2008/10/23 Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > "Attilio Rao" <[EMAIL PROTECTED]> writes: >> I think it is silly we have different quirks flag states for TSC. We >> should just having a table assuming that the TSC is safe to use in SMP >> environments and gets rid of any other flag (in this

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Sam Leffler
Marcel Moolenaar wrote: On Oct 24, 2008, at 9:01 AM, Sam Leffler wrote: We already have a better mechanism for including config files. We should be using that instead of poluting another port with the DEFAULTS file. More importantly this change forces GEOM_BSD and GEOM_MBR on every target p

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Marcel Moolenaar
On Oct 24, 2008, at 9:14 AM, Sam Leffler wrote: This is just wrong and clearly Marvel never discussed it with anyone working on arm systems or he'd have gotten an earful. Get your facts straight. I checked with folks and you never asked for review of this change. What you mean to say is:

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Sam Leffler
Marcel Moolenaar wrote: On Oct 24, 2008, at 9:14 AM, Sam Leffler wrote: This is just wrong and clearly Marvel never discussed it with anyone working on arm systems or he'd have gotten an earful. Get your facts straight. I checked with folks and you never asked for review of this change.

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Marcel Moolenaar
On Oct 24, 2008, at 1:50 AM, Bruce M. Simpson wrote: Warner Losh wrote: Add mips/conf/DEFAULTS and populate it with: machine arm device mem device uart_ns8250 options GEOM_BSD options GEOM_MBR Remove the first three from all kernel configuratio

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Marcel Moolenaar
On Oct 24, 2008, at 9:01 AM, Sam Leffler wrote: We already have a better mechanism for including config files. We should be using that instead of poluting another port with the DEFAULTS file. More importantly this change forces GEOM_BSD and GEOM_MBR on every target platform. geom_bsd and

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

2008-10-24 Thread Alexander Motin
Author: mav Date: Fri Oct 24 18:28:52 2008 New Revision: 184228 URL: http://svn.freebsd.org/changeset/base/184228 Log: Add hint.hdac.%d.msi description. Modified: head/share/man/man4/snd_hda.4 Modified: head/share/man/man4/snd_hda.4 ===

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

2008-10-24 Thread Alexander Motin
Author: mav Date: Fri Oct 24 18:57:11 2008 New Revision: 184229 URL: http://svn.freebsd.org/changeset/base/184229 Log: Fix month mistake. Again. Sorry. :) Modified: head/share/man/man4/snd_hda.4 Modified: head/share/man/man4/snd_hda.4 =

svn commit: r184230 - head/sys/dev/sound/pci/hda

2008-10-24 Thread Alexander Motin
Author: mav Date: Fri Oct 24 19:29:07 2008 New Revision: 184230 URL: http://svn.freebsd.org/changeset/base/184230 Log: Add some special handeling for AD1981HD codec. It has very unusual design with several points unappropriate for the present parser. This patch disables input-to-output analo

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Bruce M. Simpson
Marcel Moolenaar wrote: I have no problem reverting, but the reasons you put forward don't hold. uart(4) is not enabled by default so there's no change to the SENTRY5 configuration at all in that respect. OK, most of the uarts I've seen, but not all, on the MIPS boards, are 16C550 style UARTs

svn commit: r184231 - head/sys/dev/sound/pci/hda

2008-10-24 Thread Alexander Motin
Author: mav Date: Fri Oct 24 19:36:28 2008 New Revision: 184231 URL: http://svn.freebsd.org/changeset/base/184231 Log: Bump the revision after the latest commits. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c =

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Marcel Moolenaar
On Oct 24, 2008, at 12:32 PM, Bruce M. Simpson wrote: Please provide other grounds for reversal. I didn't point this out in my original message, but my concern with the commit as a whole, was more to do with the fact that GEOM_MBR and GEOM_BSD were being enabled by default. *sigh* They

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Bruce M. Simpson
Marcel Moolenaar wrote: ... They were enabled by default and they were non-optional by virtue of being standard. My change *only* made them optional so that people can opt-out (by using nooption, rather than editing sys/conf/files.mips). I didn't change the status-quo WRT having them compiled-in

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

2008-10-24 Thread Ken Smith
Author: kensmith Date: Fri Oct 24 20:10:22 2008 New Revision: 184232 URL: http://svn.freebsd.org/changeset/base/184232 Log: MFC r183921 and r184180 When we notice the INDEX had volume numbers (so the media the packages are coming from has multiple volumes) walk through the dependency tree

svn commit: r184233 - head/sys/dev/iwn

2008-10-24 Thread Alexander Motin
Author: mav Date: Fri Oct 24 21:21:43 2008 New Revision: 184233 URL: http://svn.freebsd.org/changeset/base/184233 Log: Add MSI support. Tested on:Acer TravelMate 6292 with 0x4229 chip. Reviewed by: sam@ Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2008-10-24 Thread Nick Hibma
Author: n_hibma Date: Fri Oct 24 21:52:50 2008 New Revision: 184234 URL: http://svn.freebsd.org/changeset/base/184234 Log: Make the driver compile on FBSD6 as well. Up the speed on the E220 ID as it is a part which is used in other devices that are capable of HSPA speeds. Modified: head/s

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Warner Losh
From: John Baldwin <[EMAIL PROTECTED]> Subject: Re: svn commit: r184193 - in head/sys: arm/conf conf Date: Fri, 24 Oct 2008 10:31:07 -0400 > On Friday 24 October 2008 09:27:03 am Alexey Dokuchaev wrote: > > On Fri, Oct 24, 2008 at 03:26:43AM +0200, Dag-Erling Sm??rgrav wrote: > > > Warner Losh <[E

Re: svn commit: r184193 - in head/sys: arm/conf conf

2008-10-24 Thread Warner Losh
From: Marcel Moolenaar <[EMAIL PROTECTED]> Subject: Re: svn commit: r184193 - in head/sys: arm/conf conf Date: Fri, 24 Oct 2008 09:09:18 -0700 > > On Oct 24, 2008, at 9:01 AM, Sam Leffler wrote: > > >> We already have a better mechanism for including config files. We > >> should be using that i

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Warner Losh
From: Marcel Moolenaar <[EMAIL PROTECTED]> Subject: Re: svn commit: r184194 - in head/sys: conf mips/conf Date: Fri, 24 Oct 2008 09:04:32 -0700 > > On Oct 24, 2008, at 1:50 AM, Bruce M. Simpson wrote: > > > Warner Losh wrote: > >>> Add mips/conf/DEFAULTS and populate it with: > >>> mac

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Warner Losh
From: "Bruce M. Simpson" <[EMAIL PROTECTED]> Subject: Re: svn commit: r184194 - in head/sys: conf mips/conf Date: Fri, 24 Oct 2008 20:53:13 +0100 > Marcel Moolenaar wrote: > > ... > > They were enabled by default and they were non-optional by > > virtue of being standard. My change *only* made the

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Marcel Moolenaar
On Oct 24, 2008, at 3:50 PM, Warner Losh wrote: Please provide other grounds for reversal. (1) You didn't ask us first. This is no grounds for reversal. (2) Others have said this is a bad idea. People were confused about the change. (3) There's appears to be a conensus that we should m

svn commit: r184237 - stable/6/usr.sbin/sysinstall

2008-10-24 Thread Ken Smith
Author: kensmith Date: Sat Oct 25 01:21:28 2008 New Revision: 184237 URL: http://svn.freebsd.org/changeset/base/184237 Log: MFS r184232: > MFC r183921 and r184180 > When we notice the INDEX had volume numbers (so the media the packages > are coming from has multiple volumes) walk throug

svn commit: r184238 - releng/6.4/usr.sbin/sysinstall

2008-10-24 Thread Ken Smith
Author: kensmith Date: Sat Oct 25 01:25:29 2008 New Revision: 184238 URL: http://svn.freebsd.org/changeset/base/184238 Log: MFS r184237 (which was MFS of r184232): > MFC r183921 and r184180 > When we notice the INDEX had volume numbers (so the media the packages > are coming from has mu

svn commit: r184239 - in releng/6.4: lib/libthr lib/libthr/thread sys sys/kern

2008-10-24 Thread Alfred Perlstein
Author: alfred Date: Sat Oct 25 01:46:29 2008 New Revision: 184239 URL: http://svn.freebsd.org/changeset/base/184239 Log: Merge r184172 (pthread condvar race fix) into 6.4-release. Reviewed by: re, davidxu Approved by: re Modified: releng/6.4/lib/libthr/ (props changed) releng/6.

svn commit: r184240 - head/sys/pci

2008-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 25 02:36:08 2008 New Revision: 184240 URL: http://svn.freebsd.org/changeset/base/184240 Log: Various bus_dma(9) fixes. - The hardware does not support DAC so limit DMA address space to 4GB. - Removed BUS_DMA_ALLOC_NOW flag. - Created separated Tx buffe

svn commit: r184241 - head/sys/pci

2008-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 25 02:41:11 2008 New Revision: 184241 URL: http://svn.freebsd.org/changeset/base/184241 Log: Don't rearm watchdog timer in rl_txeof(). The watchdog timer was already set in rl_start_locked(). Touching the watchdog timer in other places will hide the root cause o

svn commit: r184242 - head/sys/pci

2008-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 25 02:52:06 2008 New Revision: 184242 URL: http://svn.freebsd.org/changeset/base/184242 Log: Make rl_init_locked() call rl_reset. This will put hardware into sane state after resume/watchdog timeouts. Modified: head/sys/pci/if_rl.c Modified: head/sys/pci/if_rl

svn commit: r184243 - head/sys/pci

2008-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 25 03:06:47 2008 New Revision: 184243 URL: http://svn.freebsd.org/changeset/base/184243 Log: After sending stop command to MAC, give hardware chance to drain active DMA operation. Modified: head/sys/pci/if_rl.c Modified: head/sys/pci/if_rl.c ==

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

2008-10-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 25 03:36:21 2008 New Revision: 184244 URL: http://svn.freebsd.org/changeset/base/184244 Log: In mmu_booke_mapdev(), handle mappings that cannot be represented by a single TLB entry. The boot ROM on the MPC8CDS is 8MB, for example, and in order to map that we

svn commit: r184245 - head/sys/pci

2008-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 25 03:41:36 2008 New Revision: 184245 URL: http://svn.freebsd.org/changeset/base/184245 Log: Implement miibus_statchg handler. It detects whether rl(4) established a valid link or not. In rl_start_locked, don't try to send packets unless we have valid link. Wh

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Warner Losh
From: Marcel Moolenaar <[EMAIL PROTECTED]> Subject: Re: svn commit: r184194 - in head/sys: conf mips/conf Date: Fri, 24 Oct 2008 16:04:44 -0700 > On Oct 24, 2008, at 3:50 PM, Warner Losh wrote: > > >> Please provide other grounds for reversal. > > > > (1) You didn't ask us first. > > This is no

Re: svn commit: r184194 - in head/sys: conf mips/conf

2008-10-24 Thread Marcel Moolenaar
On Oct 24, 2008, at 8:54 PM, Warner Losh wrote: (3) There's appears to be a conensus that we should move the other way from what you are doing. Ok, this I buy. If people agree, we can discuss the scope and impact of the new route. If it's not too big a job I'll do the back-out by implement

svn commit: r184248 - head/sys/i386/xen

2008-10-24 Thread Kip Macy
Author: kmacy Date: Sat Oct 25 04:46:02 2008 New Revision: 184248 URL: http://svn.freebsd.org/changeset/base/184248 Log: handle case where eflags represents actual flags value when restoring interrupts Modified: head/sys/i386/xen/xen_machdep.c Modified: head/sys/i386/xen/xen_machdep.c

svn commit: r184249 - head/sys/powerpc/mpc85xx

2008-10-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 25 05:57:36 2008 New Revision: 184249 URL: http://svn.freebsd.org/changeset/base/184249 Log: Assign 0xff80-0x to the LBC controller. That's where the NOR flash lives by default. Modified: head/sys/powerpc/mpc85xx/ocpbus.c Modified: head/sys/powerpc/

svn commit: r184250 - in head/sys: conf powerpc/mpc85xx

2008-10-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 25 06:03:40 2008 New Revision: 184250 URL: http://svn.freebsd.org/changeset/base/184250 Log: Add a driver for the Local Bus Controller. Obtained from:Juniper Networks, Inc. Added: head/sys/powerpc/mpc85xx/lbc.c (contents, props changed) head/sys/p

svn commit: r184251 - in head/sys: conf dev/cfi sys

2008-10-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 25 06:18:12 2008 New Revision: 184251 URL: http://svn.freebsd.org/changeset/base/184251 Log: Add a driver for flash memory that implements to the Common Flash Memory Interface (CFI). The flash memory can be read and written to through /dev/cfi# and an ioctl() exi

svn commit: r184252 - head/sys/powerpc/conf

2008-10-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 25 06:25:15 2008 New Revision: 184252 URL: http://svn.freebsd.org/changeset/base/184252 Log: Enable the cfi(4) driver. Modified: head/sys/powerpc/conf/MPC85XX Modified: head/sys/powerpc/conf/MPC85XX

svn commit: r184253 - head/sys/dev/mii

2008-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 25 06:39:17 2008 New Revision: 184253 URL: http://svn.freebsd.org/changeset/base/184253 Log: Use auto-negotiation for manual media type selection. This fixes establishment of 10/100Mbps link on Atheros AR8121(L1E). Modified: head/sys/dev/mii/atphy.c Modified: