svn commit: r223386 - head/sys/dev/cardbus

2011-06-21 Thread Warner Losh
Author: imp Date: Tue Jun 21 22:45:31 2011 New Revision: 223386 URL: http://svn.freebsd.org/changeset/base/223386 Log: Minor cleanup: o Consider No CIS a normal event and stop whining about it so much (too many cards are like this, espeically usb/firewire cards). o Add comments to the ci

Re: svn commit: r223307 - head/sys/vm

2011-06-21 Thread Warner Losh
On Jun 21, 2011, at 5:29 PM, Bruce Evans wrote: > On Tue, 21 Jun 2011, Attilio Rao wrote: > >> 2011/6/21 Bruce Evans : vm_page.o: In function `vm_page_clear_dirty': /sys/vm/vm_page.c:(.text+0x18d0): undefined reference to `atomic_clear_8' /sys/vm/vm_page.c:(.text+0x18d0): relocati

Re: svn commit: r223307 - head/sys/vm

2011-06-21 Thread Warner Losh
On Jun 21, 2011, at 5:27 PM, Alan Cox wrote: > On 06/21/2011 16:09, Attilio Rao wrote: >> 2011/6/21 Bruce Evans: >>> On Tue, 21 Jun 2011, Bjoern A. Zeeb wrote: >>> On Jun 19, 2011, at 7:13 PM, Alan Cox wrote: Hi Alan, > Author: alc > Date: Sun Jun 19 19:13:24 2011 >

Re: svn commit: r223307 - head/sys/vm

2011-06-21 Thread Warner Losh
On Jun 21, 2011, at 5:27 PM, Alan Cox wrote: > On 06/21/2011 16:09, Attilio Rao wrote: >> 2011/6/21 Bruce Evans: >>> On Tue, 21 Jun 2011, Bjoern A. Zeeb wrote: >>> On Jun 19, 2011, at 7:13 PM, Alan Cox wrote: Hi Alan, > Author: alc > Date: Sun Jun 19 19:13:24 2011 >

Re: svn commit: r223307 - head/sys/vm

2011-06-21 Thread Warner Losh
On Jun 21, 2011, at 9:27 PM, Julian Elischer wrote: > On 6/21/11 7:27 PM, Warner Losh wrote: >> >> >> On Jun 21, 2011, at 5:27 PM, Alan Cox wrote: >> >>> On 06/21/2011 16:09, Attilio Rao wrote: >>>> 2011/6/21 Bruce Evans: >>>>>

Re: svn commit: r223307 - head/sys/vm

2011-06-22 Thread Warner Losh
On Jun 22, 2011, at 3:26 AM, Attilio Rao wrote: > 2011/6/22 Warner Losh : >> >> On Jun 21, 2011, at 5:27 PM, Alan Cox wrote: >> >> On 06/21/2011 16:09, Attilio Rao wrote: >> >> 2011/6/21 Bruce Evans: >> >> On Tue, 21 Jun 2011, Bjoern A. Z

Re: svn commit: r223464 - head/sys/vm

2011-06-23 Thread Warner Losh
On Jun 23, 2011, at 2:17 AM, Bjoern A. Zeeb wrote: > > On Jun 23, 2011, at 5:24 AM, Alan Cox wrote: > >> Author: alc >> Date: Thu Jun 23 05:23:59 2011 >> New Revision: 223464 >> URL: http://svn.freebsd.org/changeset/base/223464 >> >> Log: >> Revert to using the page queues lock in vm_page_clea

Re: svn commit: r223464 - head/sys/vm

2011-06-23 Thread Warner Losh
On Jun 23, 2011, at 2:03 PM, Alan Cox wrote: > On 6/23/2011 1:30 PM, Warner Losh wrote: >> On Jun 23, 2011, at 2:17 AM, Bjoern A. Zeeb wrote: >> >>> On Jun 23, 2011, at 5:24 AM, Alan Cox wrote: >>> >>>> Author: alc >>>> Date: Thu Jun

Re: svn commit: r223519 - head/etc/devd

2011-06-26 Thread Warner Losh
On Jun 26, 2011, at 3:33 AM, Ronald Klop wrote: > Is this part of the auto-detect hardware discussion I read on one of the > mailinglists lately? About having less drivers in GENERIC and more > auto-loaded? > If it is... Looks like a nice feature. Not in GENERIC. 9.0 is getting ready to featu

Re: svn commit: r223519 - head/etc/devd

2011-06-28 Thread Warner Losh
On Jun 28, 2011, at 2:45 AM, Alexey Dokuchaev wrote: > On Sun, Jun 26, 2011 at 10:14:13PM -0600, Warner Losh wrote: >> Not in GENERIC. 9.0 is getting ready to feature freeze any minute, so >> there's no time to do the testing that a radical change like that would >>

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

2011-06-29 Thread Warner Losh
Author: imp Date: Thu Jun 30 05:20:02 2011 New Revision: 223688 URL: http://svn.freebsd.org/changeset/base/223688 Log: Add detection for the Marvel 88E1149R and treat it just like the 88E1149. Modified: head/sys/dev/mii/e1000phy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/e1000

Re: svn commit: r223519 - head/etc/devd

2011-07-06 Thread Warner Losh
On Jul 3, 2011, at 7:15 AM, Ronald Klop wrote: > On Tue, 28 Jun 2011 18:01:37 +0200, Warner Losh wrote: > >> >> On Jun 28, 2011, at 2:45 AM, Alexey Dokuchaev wrote: >> >>> On Sun, Jun 26, 2011 at 10:14:13PM -0600, Warner Losh wrote: >>>> Not

Re: svn commit: r223854 - head/lib/libstand

2011-07-08 Thread Warner Losh
On Jul 8, 2011, at 2:25 AM, Craig Rodrigues wrote: > Hi, > > While not ideal, would it be possible consider setting WARNS to set different > levels > depending on what the value of ${MACHINE_ARCH} is? > > Something like: > > .if ${MACHINE_ARCH} != "sparc64" (or whatever the correct value is)

Re: svn commit: r223885 - head/sys/dev/pci

2011-07-09 Thread Warner Losh
Should't this be called 'pci_find_first_class()"? Also, can you add a man page for it, or at least document what it is supposed to be used for in the code? Warenr On Jul 9, 2011, at 8:30 AM, Konstantin Belousov wrote: > Author: kib > Date: Sat Jul 9 14:30:13 2011 > New Revision: 223885 > URL:

Re: svn commit: r223854 - head/lib/libstand

2011-07-09 Thread Warner Losh
On Jul 9, 2011, at 11:01 PM, Doug Barton wrote: > On 07/08/2011 15:29, Warner Losh wrote: >> >> On Jul 8, 2011, at 2:25 AM, Craig Rodrigues wrote: >> >>> Hi, >>> >>> While not ideal, would it be possible consider setting WARNS to set >>

Re: svn commit: r223854 - head/lib/libstand

2011-07-10 Thread Warner Losh
On Jul 9, 2011, at 11:50 PM, Doug Barton wrote: > On 07/09/2011 22:25, Warner Losh wrote: >> Having the low WARNS= today motivates people to fix stuff... > > I see absolutely no evidence of that, but it's clear that your opinion > is not likely to change, so I'll lea

Re: svn commit: r223604 - head/etc/devd

2011-07-12 Thread Warner Losh
On Jul 12, 2011, at 2:16 AM, Hans Petter Selasky wrote: > On Monday 27 June 2011 22:32:19 Hans Petter Selasky wrote: >> Author: hselasky >> Date: Mon Jun 27 20:32:19 2011 >> New Revision: 223604 >> URL: http://svn.freebsd.org/changeset/base/223604 >> >> Log: >> Regenerate usb.conf after r223566

Re: svn commit: r219578 - head/etc

2011-03-17 Thread Warner Losh
On 03/12/2011 16:08, Jilles Tjoelker wrote: On Sat, Mar 12, 2011 at 09:13:08PM +, Doug Barton wrote: Author: dougb Date: Sat Mar 12 21:13:08 2011 New Revision: 219578 URL: http://svn.freebsd.org/changeset/base/219578 Log: Use the allexport option in load_rc_config() in order to avoid havi

Re: svn commit: r219700 - head/sys/x86/x86

2011-03-24 Thread Warner Losh
On 03/23/2011 06:34, John Baldwin wrote: On Thursday, March 17, 2011 5:06:09 pm Jung-uk Kim wrote: On Thursday 17 March 2011 04:01 pm, Peter Jeremy wrote: On 2011-Mar-16 16:44:08 +, Jung-uk Kim wrote: Log: Revert r219676. Thanks also. For extra kudos, how about adding a similar functi

Re: svn commit: r220059 - head/usr.sbin/pc-sysinstall/backend

2011-03-27 Thread Warner Losh
On Mar 27, 2011, at 11:22 AM, Doug Barton wrote: > On 03/27/2011 09:57, Josh Paetzel wrote: >> Replace "$?" = "0" with $? -eq 0 in tests > > Excellent! Most of the time I've found that moving the command up to the if makes the code clearer too. At jobs I've had in the past when I've written

Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread Warner Losh
On Mar 31, 2011, at 5:40 AM, John Baldwin wrote: > On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: >> Author: adrian >> Date: Thu Mar 31 08:07:13 2011 >> New Revision: 220185 >> URL: http://svn.freebsd.org/changeset/base/220185 >> >> Log: >> Break out the ath PCI logic into a separat

Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread Warner Losh
On Mar 31, 2011, at 1:58 PM, John Baldwin wrote: > On Thursday, March 31, 2011 3:29:11 pm Warner Losh wrote: >> >> On Mar 31, 2011, at 5:40 AM, John Baldwin wrote: >> >>> On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: >>>> Author: adrian &g

Re: svn commit r220401- in head: lib/libc/gen sys/kern sys/sys

2011-04-01 Thread Warner Losh
Great commit. Just one nit. See below... On Apr 1, 2011, at 4:19 AM, Andriy Gapon wrote: > --- sys/sys/errno.h (revision 220181) > +++ sys/sys/errno.h (working copy) > @@ -175,13 +175,17 @@ __END_DECLS > > #ifndef _POSIX_SOURCE > #define ENOTCAPABLE 93 /* Capabilitie

svn commit: r220240 - head/share/man/man4/man4.i386

2011-04-01 Thread Warner Losh
Author: imp Date: Fri Apr 1 11:39:13 2011 New Revision: 220240 URL: http://svn.freebsd.org/changeset/base/220240 Log: Minor tweaks to the man page: o Remove bogus ordering info o 3C1 actually works, so remove that o Add warning about making sure BIOS is configured properly for PnP con

svn commit: r220359 - in head: . share/mk

2011-04-05 Thread Warner Losh
Author: imp Date: Tue Apr 5 08:49:47 2011 New Revision: 220359 URL: http://svn.freebsd.org/changeset/base/220359 Log: Make clang default on x86 and powerpc, but not on other architectures. Make fdt default on arm and powerpc. This now includes cross compiled targets, where before we trie

Re: svn commit: r220401 - in head: . share/mk tools/build/mk tools/build/options

2011-04-06 Thread Warner Losh
On Apr 6, 2011, at 3:41 PM, Alexander Best wrote: > On Wed Apr 6 11, Juli Mallett wrote: >> On Wed, Apr 6, 2011 at 14:04, Alexander Best wrote: >>> On Wed Apr 6 11, Ulrich Spoerlein wrote: Author: uqs Date: Wed Apr 6 20:08:23 2011 New Revision: 220401 URL: http://svn.freeb

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Warner Losh
On Apr 7, 2011, at 3:00 PM, Garrett Cooper wrote: > On Thu, Apr 7, 2011 at 12:03 PM, Alexander Best wrote: >> On Thu Apr 7 11, Alexander Motin wrote: >>> Author: mav >>> Date: Thu Apr 7 08:17:53 2011 >>> New Revision: 220412 >>> URL: http://svn.freebsd.org/changeset/base/220412 >>> >>> Log: >

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Warner Losh
On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: > please mark this in src/UPDATING, maybe bump freebsd_version too? Please do not bump freebsd_version just for this. Ports wishing to know can go off the last bump, if there are any. Every freebsd_version bump forces rebuilding all modules an

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Warner Losh
On Apr 18, 2011, at 12:18 PM, Doug Barton wrote: > On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: >> On Mon, Apr 18, 2011 at 11:06:42AM -0600, Warner Losh wrote: >>> >>> On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: >>> >>>> please mark this

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-18 Thread Warner Losh
On Apr 18, 2011, at 12:48 PM, John Baldwin wrote: > On Monday, April 18, 2011 1:06:42 pm Warner Losh wrote: >> >> On Apr 18, 2011, at 1:01 AM, Roman Divacky wrote: >> >>> please mark this in src/UPDATING, maybe bump freebsd_version too? >> >> Please

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread Warner Losh
On Apr 19, 2011, at 6:40 AM, John Baldwin wrote: > On Monday, April 18, 2011 3:59:45 pm Warner Losh wrote: >> >> On Apr 18, 2011, at 12:18 PM, Doug Barton wrote: >> >>> On 04/18/2011 11:14, Pawel Jakub Dawidek wrote: >>>> On Mon, Apr 18, 2

Re: svn commit: r220755 - in head: . contrib/gcc/doc contrib/gcc/objc contrib/libobjc etc/mtree gnu/lib gnu/lib/libobjc gnu/usr.bin/cc gnu/usr.bin/cc/cc1obj gnu/usr.bin/cc/cc_tools gnu/usr.bin/cc/doc

2011-04-19 Thread Warner Losh
On Apr 19, 2011, at 9:29 AM, John Baldwin wrote: > On Tuesday, April 19, 2011 10:28:23 am m...@freebsd.org wrote: >> Trimming since I have a mostly-unrelated question... >> >> On Tue, Apr 19, 2011 at 5:40 AM, John Baldwin wrote: >>> On Monday, April 18, 201

Re: svn commit: r220983 - head

2011-04-24 Thread Warner Losh
On Apr 24, 2011, at 11:34 AM, Daniel O'Connor wrote: > > On 24/04/2011, at 18:19, Andrey Chernov wrote: >> On Sun, Apr 24, 2011 at 09:23:08AM +, Alexander Motin wrote: >>> ATA device names in /etc/fstab or other places, make sure to update >>> them respectively (adX -> adaY, acdX ->

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-24 Thread Warner Losh
Now that the horse is out of the barn, the following might be a little late (unless we unpull the trigger for a month). But what if we warned that / was on a device name, and not on a 'named' device. Complain if it was on /dev/da0, but not if it was on /dev/ufs/fred-root. Users would see this

Re: svn commit: r220983 - head

2011-04-25 Thread Warner Losh
On Apr 25, 2011, at 12:52 AM, Daniel O'Connor wrote: > > On 25/04/2011, at 6:55, Warner Losh wrote: >>> The best way is to change to use GPT IDs (/dev/gptid/xxx) if you are on a >>> GPT system) or UFS IDs (/dev/ufsid/xxx) if you can't. >> >> I&#

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-25 Thread Warner Losh
On Apr 25, 2011, at 7:45 AM, Pawel Jakub Dawidek wrote: > On Sun, Apr 24, 2011 at 06:59:40PM +, Bjoern A. Zeeb wrote: >> I had been pondering devfs "link"s myself, the problem is that from the rc >> framework they come too late. If you can add a simple .ko that does it >> programmatically on

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-25 Thread Warner Losh
On Apr 25, 2011, at 10:29 AM, Alexander Motin wrote: > Warner Losh wrote: >> On Apr 25, 2011, at 7:45 AM, Pawel Jakub Dawidek wrote: >>> On Sun, Apr 24, 2011 at 06:59:40PM +, Bjoern A. Zeeb wrote: >>>> I had been pondering devfs "link"s myself, the pr

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-25 Thread Warner Losh
On Apr 25, 2011, at 1:16 PM, Garrett Cooper wrote: > On Apr 25, 2011, at 9:29 AM, Alexander Motin wrote: > >> Warner Losh wrote: >>> On Apr 25, 2011, at 7:45 AM, Pawel Jakub Dawidek wrote: >>>> On Sun, Apr 24, 2011 at 06:59:40PM +, Bjoern A. Zeeb wrote:

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread Warner Losh
On Apr 26, 2011, at 3:57 AM, Gavin Atkinson wrote: > On Tue, 2011-04-26 at 04:09 +, David E. O'Brien wrote: >> Author: obrien >> Date: Tue Apr 26 04:09:20 2011 >> New Revision: 221053 >> URL: http://svn.freebsd.org/changeset/base/221053 >> >> Log: >> This builds OK using the parent dir's WA

Re: svn commit: r221088 - head/usr.bin/rlogin

2011-04-26 Thread Warner Losh
Actually, it looks like jhb fixed things so this isn't necessary. Warner On Apr 26, 2011, at 4:02 PM, Doug Barton wrote: > Author: dougb > Date: Tue Apr 26 22:02:51 2011 > New Revision: 221088 > URL: http://svn.freebsd.org/changeset/base/221088 > > Log: > Revert r221053 by replacing WARNS?= 3

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread Warner Losh
On Apr 26, 2011, at 4:26 PM, David O'Brien wrote: > On Tue, Apr 26, 2011 at 09:32:44AM -0400, John Baldwin wrote: >> On Tuesday, April 26, 2011 12:09:20 am David E. O'Brien wrote: >>> Author: obrien >>> Date: Tue Apr 26 04:09:20 2011 >>> New Revision: 221053 >>> URL: http://svn.freebsd.org/change

Re: svn commit: r220983 - head

2011-04-26 Thread Warner Losh
On Apr 26, 2011, at 9:00 PM, Nathan Whitehorn wrote: > On 04/26/11 18:48, Daniel O'Connor wrote: >> >> On 26/04/2011, at 1:31, Warner Losh wrote: >>>> This is why I prefer IDs since they are nominally unique (UFS >>>> ones, GPTs damn well better be :

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-27 Thread Warner Losh
see make tinderbox if you want first fail semantics. On Apr 27, 2011, at 1:35 PM, David O'Brien wrote: > On Wed, Apr 27, 2011 at 10:48:33AM -0400, John Baldwin wrote: >> For changing WARNS, 'make universe' works well > > I have to disagree. Due to its silent failing, it is only suitable for > w

svn commit: r221816 - head/usr.bin/fstat

2011-05-12 Thread Warner Losh
Author: imp Date: Thu May 12 17:02:56 2011 New Revision: 221816 URL: http://svn.freebsd.org/changeset/base/221816 Log: Fix printf int mismatch on 32-bit architectures... Modified: head/usr.bin/fstat/fstat.c Modified: head/usr.bin/fstat/fstat.c

svn commit: r221819 - head/usr.bin/fstat

2011-05-12 Thread Warner Losh
Author: imp Date: Thu May 12 19:10:00 2011 New Revision: 221819 URL: http://svn.freebsd.org/changeset/base/221819 Log: uintmax_t is a better type here... Submitted by: avg@ Modified: head/usr.bin/fstat/fstat.c Modified: head/usr.bin/fstat/fstat.c

svn commit: r221849 - in stable/8/sys/modules: cryptodev dtrace/lockstat mqueue sysvipc/sysvmsg sysvipc/sysvsem

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:20:24 2011 New Revision: 221849 URL: http://svn.freebsd.org/changeset/base/221849 Log: MFC: 197075, 209442, 213781: Various fixes for MODULES_WITH_WORLD r197075 | n_hibma | 2009-09-10 13:12:08 -0600 (Thu, 10 Sep 2009) | 4 lines Missing opt_*.h file

svn commit: r221850 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:28:25 2011 New Revision: 221850 URL: http://svn.freebsd.org/changeset/base/221850 Log: Copy symbolic links as files rather than recreating the links. PR: misc/151697 Submitted by: lev@ MFC after:2 weeks Modified: head/tools/tools/nanobsd/

svn commit: r221851 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:36:24 2011 New Revision: 221851 URL: http://svn.freebsd.org/changeset/base/221851 Log: Implement -f to inhibit copying s1 partition out for speed. (-z not taken from PR, it is no longer needed since we basically always do that now) PR: misc/151

svn commit: r221852 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 18:46:20 2011 New Revision: 221852 URL: http://svn.freebsd.org/changeset/base/221852 Log: Add ${} around variable dereference... Submitted by: garrett coopper Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh ===

svn commit: r221856 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Fri May 13 19:40:02 2011 New Revision: 221856 URL: http://svn.freebsd.org/changeset/base/221856 Log: If there's no package directory, don't try to install packages from it. Instead, report that 0 packages are reported. PR: misc/140436 Modified: head/tools/t

svn commit: r221877 - head/tools/tools/nanobsd

2011-05-13 Thread Warner Losh
Author: imp Date: Sat May 14 04:32:30 2011 New Revision: 221877 URL: http://svn.freebsd.org/changeset/base/221877 Log: Restore BOOT2CFG, accidentally removed in r212938. PR: 157020 Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh

Re: svn commit: r221993 - in head/sys: kern sys

2011-05-17 Thread Warner Losh
On May 17, 2011, at 7:44 AM, Kostik Belousov wrote: > On Tue, May 17, 2011 at 01:36:11PM +, Poul-Henning Kamp wrote: >> In message <20110516211954.gj48...@deviant.kiev.zoral.com.ua>, Kostik >> Belousov >> writes: >> >>> struct sbuf is exposed to the libsubf.so consumers. >>> I think that l

svn commit: r222072 - head

2011-05-18 Thread Warner Losh
Author: imp Date: Wed May 18 17:06:11 2011 New Revision: 222072 URL: http://svn.freebsd.org/changeset/base/222072 Log: Clean up a loose end from the conversion from gnu ar/ranlib to the BSD one. Without this, we don't have ar or randlib in the tool path, leading to much pain for some users.

svn commit: r222090 - in head: . gnu/usr.bin share/mk tools/build/options

2011-05-19 Thread Warner Losh
Author: imp Date: Thu May 19 05:13:25 2011 New Revision: 222090 URL: http://svn.freebsd.org/changeset/base/222090 Log: Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@

Re: svn commit: r222136 - head/usr.bin/top

2011-05-21 Thread Warner Losh
On May 21, 2011, at 12:53 PM, Doug Barton wrote: > On 05/20/2011 10:09, Sergey Kandaurov wrote: >> There's still a lot of warnings but all of them reside in contrib part. > > That doesn't mean that they shouldn't be fixed. :) The great thing about the > way that the contrib sources are arranged

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
On May 22, 2011, at 3:33 AM, Stefan Farfeleder wrote: > On Sun, May 15, 2011 at 08:03:55PM +, Andrey V. Elsukov wrote: >> Author: ae >> Date: Sun May 15 20:03:54 2011 >> New Revision: 221972 >> URL: http://svn.freebsd.org/changeset/base/221972 >> >> Log: >> Add a sysctl kern.geom.part.check

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
On May 22, 2011, at 7:03 AM, Adrian Chadd wrote: > This also bit me on embedded platform stuff. > > Is it possible to disable this by default for now and have it just warn > loudly? > And/or hide the default value behind a kernel configuration variable > so we can disable it > (but still get th

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
After carefully reviewing this code, we need to have it be *OFF* by default. It should also explain *WHY* it is rejecting the partition. It isn't clear to me at all that this is even useful. While different than Marcel's warnings, I think we need to take a very cautious approach here. Where

svn commit: r222185 - in head: share/mk sys/conf

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:01:52 2011 New Revision: 222185 URL: http://svn.freebsd.org/changeset/base/222185 Log: Start to usher INSTALL_NODEBUG hack out the door. Add new WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH). In the fullness of time, likely around 2020, INSTALL_NODEBUG will

svn commit: r222186 - head/sys/conf

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:09:51 2011 New Revision: 222186 URL: http://svn.freebsd.org/changeset/base/222186 Log: Backwards compatibility hacks to allow kernels to be built via config wihtout updating world (good transition aide for -current, but also allows kernels to be built on -stab

svn commit: r222188 - head/tools/build/options

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:12:59 2011 New Revision: 222188 URL: http://svn.freebsd.org/changeset/base/222188 Log: Add documentation for WITHOUT_KERNEL_SYMBOLS Added: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS (contents, props changed) Added: head/tools/build/options/WITHOUT_KERNE

svn commit: r222189 - head/tools/build/options

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:23:17 2011 New Revision: 222189 URL: http://svn.freebsd.org/changeset/base/222189 Log: Add the description properly... Modified: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS Modified: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS =

svn commit: r222190 - head/share/man/man5

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:34:11 2011 New Revision: 222190 URL: http://svn.freebsd.org/changeset/base/222190 Log: regen Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == --- he

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Warner Losh
On May 22, 2011, at 2:22 PM, Roman Divacky wrote: > The problem here is deeper in my opinion. What FreeBSD calls > amd64 the rest of the world (ie. linux) calls x86_64, I think > that instead of this we should teach llvm/clang about "amd64". > Maybe as a FreeBSD-only diff. > > The machine part of

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Warner Losh
On May 22, 2011, at 3:30 PM, Mark Linimon wrote: > On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: >> The problem here is deeper in my opinion. What FreeBSD calls >> amd64 the rest of the world (ie. linux) calls x86_64, I think >> that instead of this we should teach llvm/clang abo

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
On May 22, 2011, at 2:28 PM, Marcel Moolenaar wrote: > > On May 22, 2011, at 9:26 AM, Warner Losh wrote: > >> >> On May 22, 2011, at 7:03 AM, Adrian Chadd wrote: >> >>> This also bit me on embedded platform stuff. >>> >>> Is it possib

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Warner Losh
On May 22, 2011, at 11:29 PM, Andrey V. Elsukov wrote: > On 23.05.2011 6:29, Warner Losh wrote: >> Looking at one of my flash drives that shows the problem: >> >> da0: 15423MB (31588351 512 byte sectors: 255H 63S/T 1966C) GEOM_PART: >> partition 1 has end offset &

Re: svn commit: r221972 - head/sys/geom/part

2011-05-23 Thread Warner Losh
On May 23, 2011, at 12:44 PM, Doug Barton wrote: > I don't know enough about the topic to know what's "best," however what I > would like to add to the conversation is that it would be nice if we did it > the same way that windows and linux do it, because otherwise you end up with > messages li

svn commit: r222229 - head/sys/conf

2011-05-23 Thread Warner Losh
Author: imp Date: Mon May 23 21:32:45 2011 New Revision: 29 URL: http://svn.freebsd.org/changeset/base/29 Log: Test against "no" rather than "yes" for MK_KERNEL_SYMBOLS Also, change DEBUG back to DEBUG_FLAGS in kmod.mk. The latter accidentally snuck in with my backwards compat fix.

svn commit: r222534 - head/usr.bin/tftp

2011-05-31 Thread Warner Losh
Author: imp Date: Tue May 31 16:59:14 2011 New Revision: 222534 URL: http://svn.freebsd.org/changeset/base/222534 Log: Fix a couple of spelling errors. Submitted by: bcr@ Modified: head/usr.bin/tftp/main.c Modified: head/usr.bin/tftp/main.c ==

svn commit: r222535 - head/tools/tools/nanobsd

2011-05-31 Thread Warner Losh
Author: imp Date: Tue May 31 17:14:06 2011 New Revision: 222535 URL: http://svn.freebsd.org/changeset/base/222535 Log: Don't need (and can't use) -L to copy links here. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh ===

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

2011-06-04 Thread Warner Losh
Author: imp Date: Sat Jun 4 07:06:05 2011 New Revision: 222671 URL: http://svn.freebsd.org/changeset/base/222671 Log: Add support for True IDE mode to the Octeon CF driver. This mode is signalled when the attribute address for the CF is 0 in the octeon sysinfo structure. In this mode, the

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

2011-06-06 Thread Warner Losh
Author: imp Date: Mon Jun 6 16:27:38 2011 New Revision: 222764 URL: http://svn.freebsd.org/changeset/base/222764 Log: Make a couple of debug printfs DEVPRINTF. Modified: head/sys/dev/pccard/pccard.c Modified: head/sys/dev/pccard/pccard.c =

Re: svn commit: r222732 - in head: sys/netinet usr.sbin/rtadvd usr.sbin/rtsold

2011-06-06 Thread Warner Losh
On Jun 6, 2011, at 8:02 AM, Jaakko Heinonen wrote: > On 2011-06-06, Hiroki Sato wrote: >> di> > -WARNS?= 1 >> di> > +WARNS?= 6 > > Shouldn't you just remove the WARNS line because the default for > usr.sbin/ is 6? No, the change should be reverted, since it breaks ARM. Warner

Re: svn commit: r222813 - in head: . contrib/top gnu/usr.bin/gdb/kgdb lib/libkvm lib/libmemstat share/man/man4 share/mk sys/amd64/acpica sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include s

2011-06-09 Thread Warner Losh
On Jun 9, 2011, at 11:52 AM, John Baldwin wrote: > On Thursday, June 09, 2011 12:48:30 pm Attilio Rao wrote: >> 2011/6/9 John Baldwin : >>> On Tuesday, June 07, 2011 4:46:13 am Attilio Rao wrote: Author: attilio Date: Tue Jun 7 08:46:13 2011 New Revision: 222813 URL: http://s

svn commit: r189990 - in stable/7/sys: . conf contrib/pf dev/ath/ath_hal dev/cxgb dev/sis modules/sis pci

2009-03-18 Thread Warner Losh
Author: imp Date: Wed Mar 18 21:46:55 2009 New Revision: 189990 URL: http://svn.freebsd.org/changeset/base/189990 Log: MFC 181524: Move sis to sys/dev/sis for consistency. Added: stable/7/sys/dev/sis/ - copied from r181524, head/sys/dev/sis/ Deleted: stable/7/sys/pci/if_sis.c stab

svn commit: r190007 - head

2009-03-18 Thread Warner Losh
Author: imp Date: Thu Mar 19 00:44:22 2009 New Revision: 190007 URL: http://svn.freebsd.org/changeset/base/190007 Log: Add usr.bin/ar to the list of cross tools. Before, when we had gnu ar, it was built in the gnu/usr.bin/binutils tree. Now it isn't. Submitted by: John Hein Modified:

svn commit: r190104 - in stable/7/sys: . conf contrib/pf dev/ath/ath_hal dev/cxgb dev/pcn modules/pcn pci

2009-03-19 Thread Warner Losh
Author: imp Date: Thu Mar 19 20:40:11 2009 New Revision: 190104 URL: http://svn.freebsd.org/changeset/base/190104 Log: MFC: r181740 Move pcn. Added: stable/7/sys/dev/pcn/ - copied from r181740, head/sys/dev/pcn/ Deleted: stable/7/sys/pci/if_pcn.c stable/7/sys/pci/if_pcnreg.h Mod

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

2009-03-22 Thread Warner Losh
Author: imp Date: Sun Mar 22 13:17:46 2009 New Revision: 190263 URL: http://svn.freebsd.org/changeset/base/190263 Log: NO_INQUIRY is wrong for this device. Alternatively, if it is right, it is right for only a tiny fraction of these devices and this wild-card entry is too broad. # I ru

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

2009-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 07:26:24 2009 New Revision: 190408 URL: http://svn.freebsd.org/changeset/base/190408 Log: Another akihabra find: Mitsubishi B8895. Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/pccard/pccarddevs ==

svn commit: r190427 - head/sys/dev/fe

2009-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 22:12:07 2009 New Revision: 190427 URL: http://svn.freebsd.org/changeset/base/190427 Log: It appears that the TDK LAK CD011 works with fe driver. I don't have a dongle for the card, but it passes the sanity testsin the probe/attach routines and returns the corre

svn commit: r190428 - head/share/man/man4/man4.i386

2009-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 22:14:46 2009 New Revision: 190428 URL: http://svn.freebsd.org/changeset/base/190428 Log: Add recently added cards. Modified: head/share/man/man4/man4.i386/fe.4 Modified: head/share/man/man4/man4.i386/fe.4 =

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

2009-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 22:20:36 2009 New Revision: 190429 URL: http://svn.freebsd.org/changeset/base/190429 Log: RIOS Systems co was naughty and used a 'random' id. Use it with the PCCARD3 name to describe the RIOS PC Card III Ethernet that I have. Modified: head/sys/dev/pccard/pccar

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

2009-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 22:21:38 2009 New Revision: 190430 URL: http://svn.freebsd.org/changeset/base/190430 Log: Add RIOS PCCARD 3. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c

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

2009-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 22:21:53 2009 New Revision: 190431 URL: http://svn.freebsd.org/changeset/base/190431 Log: Tweak comments. Modified: head/sys/dev/ed/if_ed.c Modified: head/sys/dev/ed/if_ed.c == --- head/s

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

2009-03-26 Thread Warner Losh
Author: imp Date: Thu Mar 26 17:36:19 2009 New Revision: 190446 URL: http://svn.freebsd.org/changeset/base/190446 Log: Allow the attach routine to fail gracefully and not panic the system. Modified: head/sys/dev/ed/if_ed.c Modified: head/sys/dev/ed/if_ed.c ===

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

2009-03-27 Thread Warner Losh
Author: imp Date: Fri Mar 27 19:08:15 2009 New Revision: 190473 URL: http://svn.freebsd.org/changeset/base/190473 Log: Harvest a previously unknown Bromax design based on the AX88x90 from the Linux axnet driver. Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/pccard/pccardd

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

2009-03-27 Thread Warner Losh
Author: imp Date: Fri Mar 27 19:15:28 2009 New Revision: 190475 URL: http://svn.freebsd.org/changeset/base/190475 Log: Add bromax axnet based cards to the mix. This was harvested from the linux driver. Not sure who sold it/rebadged it. Add stub entries for Mitsubishi B8895 and Toshiba L

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

2009-03-27 Thread Warner Losh
Author: imp Date: Fri Mar 27 20:40:17 2009 New Revision: 190476 URL: http://svn.freebsd.org/changeset/base/190476 Log: Sort NECINFORTIA correctly. Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/pccard/pccarddevs ===

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

2009-03-27 Thread Warner Losh
Author: imp Date: Sat Mar 28 04:56:56 2009 New Revision: 190483 URL: http://svn.freebsd.org/changeset/base/190483 Log: It turns out that the Toshiba LANCT00A PC Card is really like the Toshiba PCETC ISA card, and even has the same board type code in the card ID (0x14). So, for this card, ca

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

2009-03-27 Thread Warner Losh
Author: imp Date: Sat Mar 28 06:22:11 2009 New Revision: 190488 URL: http://svn.freebsd.org/changeset/base/190488 Log: When reading via memory, read in (amount + 1) / 2 (to properly round up) rather than amount + 1 / 2, which is the same as amount, or 2x too many words which leads to data co

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

2009-03-28 Thread Warner Losh
Author: imp Date: Sat Mar 28 20:59:25 2009 New Revision: 190512 URL: http://svn.freebsd.org/changeset/base/190512 Log: Update to include Toshiba LANCT00A card being supported, as well as a caution that while the Mitsubishi M8895 has a DP83902, its ASIC is undocumented and doens't work with e

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

2009-03-29 Thread Warner Losh
Author: imp Date: Mon Mar 30 01:47:32 2009 New Revision: 190538 URL: http://svn.freebsd.org/changeset/base/190538 Log: Add PHY entry for the ASIX 88x90 internal PHYs. Modified: head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/miidevs ===

svn commit: r190558 - in head/sys: conf dev/mii modules/mii

2009-03-30 Thread Warner Losh
2009(r190558) @@ -0,0 +1,207 @@ +/*- + * Copyright (c) 2009, M. Warner Losh + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source

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

2009-03-30 Thread Warner Losh
Author: imp Date: Mon Mar 30 16:15:06 2009 New Revision: 190559 URL: http://svn.freebsd.org/changeset/base/190559 Log: This is a major reworking of the AX88x90 support. o Introduce new chip_type AX88790. There's a few places we need to know the exact chip for workaronds. o Explain th

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

2009-03-30 Thread Warner Losh
Author: imp Date: Mon Mar 30 17:25:56 2009 New Revision: 190562 URL: http://svn.freebsd.org/changeset/base/190562 Log: Two fixes: (1) Delete all children when detaching to keep from adding a phy each driver reload. (2) All AX88x90 chips have the RST issue. Modified: head/sys/dev/ed/

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

2009-03-30 Thread Warner Losh
Author: imp Date: Tue Mar 31 01:59:47 2009 New Revision: 190583 URL: http://svn.freebsd.org/changeset/base/190583 Log: H... This can't be right... But it looks like the DL100xx chips don't have one of the clock cycles (the turn cycle) that the AX88x90 chips have. Make this conditional

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

2009-03-30 Thread Warner Losh
Author: imp Date: Tue Mar 31 02:50:41 2009 New Revision: 190586 URL: http://svn.freebsd.org/changeset/base/190586 Log: Go back to filtering all PHY addresses above 16 since at least two cards still have issues with them. Maybe this is a silicon rev? In any case, doing the filtering only fo

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

2009-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 18:25:09 2009 New Revision: 190596 URL: http://svn.freebsd.org/changeset/base/190596 Log: o Minor tweaks to the AX88x90 probe routine, mostly related to comments. o Don't run through the register initialization in the read mac routine for the AX88x90. It dupli

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

2009-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 19:20:03 2009 New Revision: 190597 URL: http://svn.freebsd.org/changeset/base/190597 Log: It turns out that the initialization is required since it sets up the readout of the MAC address. The 10ms delay was really needed. Ooops. Modified: head/sys/dev/ed/if_e

<    1   2   3   4   5   6   7   8   9   10   >