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

2009-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 19:23:59 2009 New Revision: 190598 URL: http://svn.freebsd.org/changeset/base/190598 Log: Add additional data on the MIIBUS WTF that I committed earlier. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ===

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

2009-04-02 Thread Warner Losh
Author: imp Date: Thu Apr 2 16:58:45 2009 New Revision: 190643 URL: http://svn.freebsd.org/changeset/base/190643 Log: Force an autonegotiation at attach time for all the attached PHYs for ed cards. There's a number of minor nits in a lot of the PHYs on the PC Cards that use the Axis AX8819

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

2009-04-02 Thread Warner Losh
Author: imp Date: Thu Apr 2 17:08:54 2009 New Revision: 190644 URL: http://svn.freebsd.org/changeset/base/190644 Log: The AX88190 has 64k of external SRAM, of which 62k can be used for packet data. However, the AX88190A moves this on-chip and reduces it to the more traditional 16k from 16k

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

2009-04-02 Thread Warner Losh
Author: imp Date: Thu Apr 2 17:15:49 2009 New Revision: 190645 URL: http://svn.freebsd.org/changeset/base/190645 Log: Minor DLINK DL100xx support tweaks: The DIROUT bit difference between the 19 and 22 is annoying. We can set both bits on both parts without ill effect. Use this trick t

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

2009-04-02 Thread Warner Losh
Author: imp Date: Thu Apr 2 18:02:00 2009 New Revision: 190650 URL: http://svn.freebsd.org/changeset/base/190650 Log: Minor tweaks in the names to match the chips more closely. Modified: head/sys/dev/ed/dl100xxreg.h head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/dl100xxreg.h ===

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

2009-04-02 Thread Warner Losh
Author: imp Date: Thu Apr 2 18:11:21 2009 New Revision: 190651 URL: http://svn.freebsd.org/changeset/base/190651 Log: Kill debug that crept in. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

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

2009-04-02 Thread Warner Losh
Author: imp Date: Thu Apr 2 19:27:56 2009 New Revision: 190654 URL: http://svn.freebsd.org/changeset/base/190654 Log: Retire two flags that haven't been used since OLDCARD was retired (well, since before OLDCARD was retired, since I removed their use somewhat before that). Modified: head

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

2009-04-02 Thread Warner Losh
Author: imp Date: Fri Apr 3 02:28:11 2009 New Revision: 190664 URL: http://svn.freebsd.org/changeset/base/190664 Log: Remove more debug... Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

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

2009-04-02 Thread Warner Losh
Author: imp Date: Fri Apr 3 03:04:26 2009 New Revision: 190665 URL: http://svn.freebsd.org/changeset/base/190665 Log: Merge 190488 from head: Fix shared memory packet movement. Approved by: re@ (kostik) Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props

svn commit: r190706 - head

2009-04-04 Thread Warner Losh
Author: imp Date: Sun Apr 5 00:24:49 2009 New Revision: 190706 URL: http://svn.freebsd.org/changeset/base/190706 Log: Revert c190007 at the request of Ruslan. It was not correct because ar had been moved from cross tools to bootstrap tools when bsd ar was introduced. Submitted by: ru@

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

2009-04-06 Thread Warner Losh
Author: imp Date: Tue Apr 7 05:41:38 2009 New Revision: 190794 URL: http://svn.freebsd.org/changeset/base/190794 Log: Provide a generic ifmedia set of routines as a fallback. The DP8390-based cards have no generic way of reporting status of the link or setting the media type. Some specifi

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

2009-04-06 Thread Warner Losh
Author: imp Date: Tue Apr 7 05:57:56 2009 New Revision: 190795 URL: http://svn.freebsd.org/changeset/base/190795 Log: Another GlobalVillage card. Modified: head/sys/dev/pccard/pccarddevs Modified: head/sys/dev/pccard/pccarddevs ===

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 15:34:26 2009 New Revision: 190801 URL: http://svn.freebsd.org/changeset/base/190801 Log: Minor fixes to comments about media autoselect. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ===

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 15:36:02 2009 New Revision: 190802 URL: http://svn.freebsd.org/changeset/base/190802 Log: Apply generic media stuff to pccard case too, when we aren't using miibus for this. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 15:40:38 2009 New Revision: 190803 URL: http://svn.freebsd.org/changeset/base/190803 Log: The DL100xx cards have 24k of packet memory, not 16k. Use it for them and update comments about original patches doing this and it not working. It works for both the DL100

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 15:43:34 2009 New Revision: 190804 URL: http://svn.freebsd.org/changeset/base/190804 Log: Move tick to end of file for better code references. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 15:44:50 2009 New Revision: 190805 URL: http://svn.freebsd.org/changeset/base/190805 Log: Remove DL10019 workaround, since the code it calls isn't quite ready. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 16:15:59 2009 New Revision: 190807 URL: http://svn.freebsd.org/changeset/base/190807 Log: Fix a comment to match the code. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

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

2009-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 17:06:06 2009 New Revision: 190811 URL: http://svn.freebsd.org/changeset/base/190811 Log: More chip types, and fix a comment. Modified: head/sys/dev/ed/if_edreg.h Modified: head/sys/dev/ed/if_edreg.h ===

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 15:01:48 2009 New Revision: 190896 URL: http://svn.freebsd.org/changeset/base/190896 Log: Updates based on my testing of the cards. Modified: head/share/man/man4/ed.4 Modified: head/share/man/man4/ed.4 =

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 15:18:03 2009 New Revision: 190897 URL: http://svn.freebsd.org/changeset/base/190897 Log: No need to check for chip type here. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 15:30:19 2009 New Revision: 190898 URL: http://svn.freebsd.org/changeset/base/190898 Log: Fix some comments. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 15:33:47 2009 New Revision: 190899 URL: http://svn.freebsd.org/changeset/base/190899 Log: The D-Link DE-650 isn't tagged as a network card, so allow it to attach anyway. Add a comment about a 'common' mfg/prod pair that's used in a very large array of different

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 16:12:00 2009 New Revision: 190900 URL: http://svn.freebsd.org/changeset/base/190900 Log: Improvements for TC5299J MII support. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 17:34:30 2009 New Revision: 190901 URL: http://svn.freebsd.org/changeset/base/190901 Log: Fix comment Submitted by: danfe@ Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c =

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

2009-04-10 Thread Warner Losh
Author: imp Date: Fri Apr 10 18:46:46 2009 New Revision: 190902 URL: http://svn.freebsd.org/changeset/base/190902 Log: Don't specify a hint, since it isn't needed. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

svn commit: r190907 - head/sys/dev/ep

2009-04-10 Thread Warner Losh
Author: imp Date: Sat Apr 11 02:47:03 2009 New Revision: 190907 URL: http://svn.freebsd.org/changeset/base/190907 Log: o Report ethernet status for at least 10BaseT media. Since I don't have other media to test against, I've left that media reporting unchanged. o Enable the TX_PLL whe

svn commit: r190908 - head/sys/dev/ep

2009-04-10 Thread Warner Losh
Author: imp Date: Sat Apr 11 04:30:38 2009 New Revision: 190908 URL: http://svn.freebsd.org/changeset/base/190908 Log: Two refinements to the 3c1 support: 1) Flag it and only access that command on the 3c1 2) The TX PLL appears to power down when not in use, so we have to power it back

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

2009-04-13 Thread Warner Losh
Author: imp Date: Tue Apr 14 03:13:05 2009 New Revision: 191036 URL: http://svn.freebsd.org/changeset/base/191036 Log: Another NE-2000 clone. The GVC NIC-2000P Ethernet adapter. Based on the MN5017 chipset. There's no vendor/product pair on this card, so it needs to be matched by the CIS

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

2009-04-18 Thread Warner Losh
Author: imp Date: Sat Apr 18 03:02:44 2009 New Revision: 191233 URL: http://svn.freebsd.org/changeset/base/191233 Log: Remove debug write accidentally left in. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

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

2009-04-18 Thread Warner Losh
Author: imp Date: Sat Apr 18 03:10:28 2009 New Revision: 191234 URL: http://svn.freebsd.org/changeset/base/191234 Log: Establish the interrupt handler AFTER we successfully attach. We need to do this in case we have a shared interrupt that fires during the attach process Modified: he

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

2009-04-18 Thread Warner Losh
Author: imp Date: Sat Apr 18 04:21:04 2009 New Revision: 191236 URL: http://svn.freebsd.org/changeset/base/191236 Log: This turns out to be wrong... Modified: head/share/man/man4/ed.4 Modified: head/share/man/man4/ed.4 =

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

2009-04-18 Thread Warner Losh
Author: imp Date: Sat Apr 18 04:37:53 2009 New Revision: 191237 URL: http://svn.freebsd.org/changeset/base/191237 Log: Add GVP NIC 2000P and New Media Livewire. Also New Media LanSurfer doesn't have a function type of network, so add a quirk for that... Modified: head/sys/dev/ed/if_ed_pcca

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

2009-04-18 Thread Warner Losh
Author: imp Date: Sat Apr 18 04:45:02 2009 New Revision: 191238 URL: http://svn.freebsd.org/changeset/base/191238 Log: Make sure that the data in the ROM with a valid signature isn't all 0's. At least one PC Card ASIC does this... Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sy

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

2009-04-19 Thread Warner Losh
Author: imp Date: Mon Apr 20 01:19:59 2009 New Revision: 191299 URL: http://svn.freebsd.org/changeset/base/191299 Log: Cleanup resource allocation code a bit. Store the rids on the resources rather than on the softc. When we allocate resources for PC Card, if we only get 16 ports, try agai

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

2009-04-20 Thread Warner Losh
Author: imp Date: Mon Apr 20 15:19:54 2009 New Revision: 191321 URL: http://svn.freebsd.org/changeset/base/191321 Log: Sometimes we can call ed_detach() before the mtx has been initialized. Avoid it if it hasn't been initialized. Modified: head/sys/dev/ed/if_ed.c Modified: head/sys/dev/ed/

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

2009-04-21 Thread Warner Losh
Author: imp Date: Wed Apr 22 06:30:24 2009 New Revision: 191370 URL: http://svn.freebsd.org/changeset/base/191370 Log: Turns out the code improvements I did for the TC5299J support were anti-improvements and broke support for this part. Revert the part of the improvement at fault. Modified

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

2009-04-21 Thread Warner Losh
Author: imp Date: Wed Apr 22 06:33:26 2009 New Revision: 191371 URL: http://svn.freebsd.org/changeset/base/191371 Log: Kill stray bootverbose debug tool. Submitted by: juli@ Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ===

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
ard.c == --- head/sys/dev/ed/if_ed_pccard.c Wed Apr 22 14:20:21 2009 (r191383) +++ head/sys/dev/ed/if_ed_pccard.c Wed Apr 22 15:01:08 2009 (r191384) @@ -1,3 +1,4 @@ + /*- * Copyright (c) 2005, M. Warner Losh * Copyrig

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: 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
== --- head/sys/dev/ed/if_ed_pccard.c Wed Apr 22 16:50:44 2009 (r191393) +++ head/sys/dev/ed/if_ed_pccard.c Wed Apr 22 16:51:01 2009 (r191394) @@ -1,4 +1,3 @@ - /*- * Copyright (c) 2005, M. Warner Losh * Copyright

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

2009-04-24 Thread Warner Losh
Author: imp Date: Fri Apr 24 17:27:45 2009 New Revision: 191468 URL: http://svn.freebsd.org/changeset/base/191468 Log: Another PC Card that needs the CIS strings for the Surecom EP-427X, which really is just a rebadged OEM card... Plus a tiny whitespace nit. Modified: head/sys/dev/pccard

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

2009-04-24 Thread Warner Losh
Author: imp Date: Fri Apr 24 17:28:12 2009 New Revision: 191469 URL: http://svn.freebsd.org/changeset/base/191469 Log: Add Surecom EP-427X. Modified: head/sys/dev/ed/if_ed_pccard.c Modified: head/sys/dev/ed/if_ed_pccard.c ==

svn commit: r191670 - head/bin/rm

2009-04-29 Thread Warner Losh
Author: imp Date: Wed Apr 29 18:08:18 2009 New Revision: 191670 URL: http://svn.freebsd.org/changeset/base/191670 Log: Implement ^T support for rm: now it will report the next file it removes when you hit ^T. This is similar to what's done for cp. The signal handler and type definitions fo

svn commit: r191677 - head/usr.bin/du

2009-04-29 Thread Warner Losh
Author: imp Date: Thu Apr 30 01:24:53 2009 New Revision: 191677 URL: http://svn.freebsd.org/changeset/base/191677 Log: Report the next directory being scanned when a ^T is pressed (or any SIGINFO). Provides some progress report for the impatient. This won't report that we're blocking in ou

svn commit: r191762 - in head/sys: conf dev/bwi modules/bwi

2009-05-02 Thread Warner Losh
Author: imp Date: Sun May 3 04:01:43 2009 New Revision: 191762 URL: http://svn.freebsd.org/changeset/base/191762 Log: Bring in Andrew Thompson's port of Sepherosa Ziehau's bwi driver for Broadcom BCM43xx chipsets. This driver uses the v3 firmware that needs to be fetched separately. A por

Re: svn commit: r263424 - head/sys/arm/conf

2014-03-22 Thread Warner Losh
On Mar 22, 2014, at 12:01 PM, John-Mark Gurney wrote: > Ian Lepore wrote this message on Sat, Mar 22, 2014 at 07:25 -0600: >> On Fri, 2014-03-21 at 12:04 -0700, John-Mark Gurney wrote: >>> Ian Lepore wrote this message on Fri, Mar 21, 2014 at 08:27 -0600: On Fri, 2014-03-21 at 09:43 +,

Re: svn commit: r263424 - head/sys/arm/conf

2014-03-22 Thread Warner Losh
On Mar 22, 2014, at 7:25 AM, Ian Lepore wrote: > On Fri, 2014-03-21 at 12:04 -0700, John-Mark Gurney wrote: >> Ian Lepore wrote this message on Fri, Mar 21, 2014 at 08:27 -0600: >>> On Fri, 2014-03-21 at 09:43 +, Andrew Turner wrote: On Thu, 20 Mar 2014 17:01:21 + (UTC) Ruslan

Re: svn commit: r263424 - head/sys/arm/conf

2014-03-23 Thread Warner Losh
On Mar 23, 2014, at 5:51 AM, Andrew Turner wrote: > On Sat, 22 Mar 2014 07:25:55 -0600 > Ian Lepore wrote: >> Last time I tried to put something into arm/conf/DEFAULTS I got my >> hand slapped, but... putting the diagnostic options in there on head >> and not on stable branches would make the "

Re: svn commit: r263692 - head

2014-03-24 Thread Warner Losh
Makes we wonder why we didn’t put this in kmod.mk… Is there any reason not do? Warner On Mar 24, 2014, at 1:21 PM, Dimitry Andric wrote: > Author: dim > Date: Mon Mar 24 19:21:14 2014 > New Revision: 263692 > URL: http://svnweb.freebsd.org/changeset/base/263692 > > Log: > Add a note to UPDAT

Re: svn commit: r263692 - head

2014-03-24 Thread Warner Losh
On Mar 24, 2014, at 2:01 PM, Ian Lepore wrote: > On Mon, 2014-03-24 at 20:47 +0100, Dimitry Andric wrote: >> On 24 Mar 2014, at 20:36, Warner Losh wrote: >>> On Mar 24, 2014, at 1:21 PM, Dimitry Andric wrote: >>>> Author: dim >>>> Date: Mon Mar

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

2014-03-25 Thread Warner Losh
On Mar 24, 2014, at 9:28 PM, Mateusz Guzik wrote: > Author: mjg > Date: Tue Mar 25 03:28:58 2014 > New Revision: 263704 > URL: http://svnweb.freebsd.org/changeset/base/263704 > > Log: > Make /dev/devctl mpsafe. > > MFC after: 1 week > > Modified: > head/sys/kern/subr_bus.c > > Modified:

svn commit: r263749 - in head: . sys/amd64/conf sys/conf sys/i386/conf sys/sparc64/conf

2014-03-25 Thread Warner Losh
Author: imp Date: Tue Mar 25 22:08:31 2014 New Revision: 263749 URL: http://svnweb.freebsd.org/changeset/base/263749 Log: Rather than require a makeoptions DEBUG to get debug correct, add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in t

svn commit: r263750 - head/sys/conf

2014-03-25 Thread Warner Losh
Author: imp Date: Tue Mar 25 22:32:13 2014 New Revision: 263750 URL: http://svnweb.freebsd.org/changeset/base/263750 Log: Add a '*' to the M modifier string so we match any -gdwarf string (even though it works w/o it for some reason, contrary to our reading of make(1)). Also add a comment ex

svn commit: r263752 - head/sys/powerpc/include

2014-03-25 Thread Warner Losh
Author: imp Date: Tue Mar 25 22:49:33 2014 New Revision: 263752 URL: http://svnweb.freebsd.org/changeset/base/263752 Log: Define PSL_SRR1_MASK for BOOK-E too so MPC85XX compiles again. Modified: head/sys/powerpc/include/psl.h Modified: head/sys/powerpc/include/psl.h =

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Warner Losh
Why not have this ‘opt out’ rather than ‘opt in’ like it is now? Are there any known bad dependencies this introduces? Warner On Mar 26, 2014, at 4:30 PM, Dimitry Andric wrote: > Author: dim > Date: Wed Mar 26 22:30:38 2014 > New Revision: 263778 > URL: http://svnweb.freebsd.org/changeset/base

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

2014-03-27 Thread Warner Losh
On Mar 27, 2014, at 2:37 AM, Mateusz Guzik wrote: > On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: >> I think the async process pointer can be cleared when a process exits >> by registering an event handler. please see attached patch. >> > > Sure, but I'm not very fond of this solut

svn commit: r263881 - head

2014-03-28 Thread Warner Losh
Author: imp Date: Fri Mar 28 16:31:12 2014 New Revision: 263881 URL: http://svnweb.freebsd.org/changeset/base/263881 Log: Only set XDDESTDIR if it wasn't already set to allow people to override it. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

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

2014-03-28 Thread Warner Losh
Author: imp Date: Fri Mar 28 23:20:56 2014 New Revision: 263890 URL: http://svnweb.freebsd.org/changeset/base/263890 Log: Dump default media size to 1GB to reflect a fatter environment and larger base media. Submitted by: Michael Dexter Modified: head/tools/tools/nanobsd/nanobsd.sh Mo

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

2014-03-29 Thread Warner Losh
On Mar 29, 2014, at 6:31 AM, David Xu wrote: > > On 2014/03/29 15:52, Don Lewis wrote: >> On 29 Mar, Mateusz Guzik wrote: >>> On Sat, Mar 29, 2014 at 11:52:09AM +0800, David Xu wrote: > If fsetown handling like this is insecure this would bite us in that > scenario (and few others). In

svn commit: r263949 - head

2014-03-30 Thread Warner Losh
Author: imp Date: Sun Mar 30 22:24:37 2014 New Revision: 263949 URL: http://svnweb.freebsd.org/changeset/base/263949 Log: When building g++, we need to build libsupc earlier to avoid a race with libproc. Not sure why people didn't see this before now, but I get it often for higher (20-30) -j

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

2014-03-30 Thread Warner Losh
Author: imp Date: Sun Mar 30 22:24:45 2014 New Revision: 263950 URL: http://svnweb.freebsd.org/changeset/base/263950 Log: Allow the build system to safely set MK_FOO to avoid the ambiguity when both WITH_FOO and WITHOUT_FOO are set. Use this where possible. Only disallow setting of MK_FOO on

svn commit: r263952 - head

2014-03-30 Thread Warner Losh
Author: imp Date: Sun Mar 30 22:25:01 2014 New Revision: 263952 URL: http://svnweb.freebsd.org/changeset/base/263952 Log: Move stray targets out of the xdev section. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

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

2014-03-30 Thread Warner Losh
Author: imp Date: Sun Mar 30 22:24:53 2014 New Revision: 263951 URL: http://svnweb.freebsd.org/changeset/base/263951 Log: Kill NO_TESTS and use MK_TESTS=no when we want to skip them. Modified: head/Makefile.inc1 head/share/mk/bsd.own.mk Modified: head/Makefile.inc1

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

2014-03-30 Thread Warner Losh
Author: imp Date: Sun Mar 30 23:43:30 2014 New Revision: 263953 URL: http://svnweb.freebsd.org/changeset/base/263953 Log: There's no need to guess at the COMPILER_TYPE to pass it down. We guess wrong for buildkernel when CC=gcc49, say. Eliminate all the guessing. COMPILER_TYPE propigates pro

svn commit: r263954 - in head/sys: cam/scsi compat/freebsd32 dev/aacraid dev/acpica dev/advansys dev/aic7xxx sys

2014-03-30 Thread Warner Losh
Author: imp Date: Sun Mar 30 23:43:36 2014 New Revision: 263954 URL: http://svnweb.freebsd.org/changeset/base/263954 Log: Remove instances of variables that were set, but never used. gcc 4.9 warns about these by default. Modified: head/sys/cam/scsi/scsi_da.c head/sys/cam/scsi/scsi_enc_ses

svn commit: r263975 - head/sys/dev/acpica

2014-03-31 Thread Warner Losh
Author: imp Date: Mon Mar 31 19:37:39 2014 New Revision: 263975 URL: http://svnweb.freebsd.org/changeset/base/263975 Log: Turns out name was used here when ACPI_DEBUG was defined, so refine my previous patch. Modified: head/sys/dev/acpica/acpi_resource.c Modified: head/sys/dev/acpica/acpi_

svn commit: r263991 - in head: . gnu/lib

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:23:58 2014 New Revision: 263991 URL: http://svnweb.freebsd.org/changeset/base/263991 Log: It is possible that MK_GNUCXX is "yes" but MK_CXX is "no" so make sure MK_CXX isn't "no" before building these libraries. Modified: head/Makefile.inc1 head/gnu/lib/Mak

svn commit: r263993 - head/share/mk

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:24:08 2014 New Revision: 263993 URL: http://svnweb.freebsd.org/changeset/base/263993 Log: Eliminate FDT being treated specially. When the BSDL DTC was introduced, the meaning of WITH_FDT changed from 'do FDT in boot loader and build dtc compiler' to be simply

svn commit: r263992 - head/sys/conf

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:24:03 2014 New Revision: 263992 URL: http://svnweb.freebsd.org/changeset/base/263992 Log: Test MK_ARM_ABI rather than if WITHOUT_ARM_ABI is defined. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm =

svn commit: r263995 - head/sys/conf

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:24:20 2014 New Revision: 263995 URL: http://svnweb.freebsd.org/changeset/base/263995 Log: Remove check for clang and expand the comment. Newer versions of gcc generate dwarf4 by default as well, so always force dwarf2 when generating debugging data. It is harm

svn commit: r263994 - head/share/mk

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:24:15 2014 New Revision: 263994 URL: http://svnweb.freebsd.org/changeset/base/263994 Log: There's no need to set the default for GNUCXX based on WITHOUT_CXX being defined. The system works fine without it (because GNUCXX isn't built when WITHOUT_CXX is defined

svn commit: r263996 - head

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:24:25 2014 New Revision: 263996 URL: http://svnweb.freebsd.org/changeset/base/263996 Log: Remove support for legacy mips*eb names. Remove tests for TARGET_BIG_ENDIAN. Modified: head/Makefile Modified: head/Makefile ===

svn commit: r263997 - in head: share/mk usr.bin/grep

2014-04-01 Thread Warner Losh
Author: imp Date: Tue Apr 1 14:24:32 2014 New Revision: 263997 URL: http://svnweb.freebsd.org/changeset/base/263997 Log: Don't test WITHOUT_FOO in program makefiles, test MK_FOO instead. Modified: head/share/mk/bsd.own.mk head/usr.bin/grep/Makefile Modified: head/share/mk/bsd.own.mk =

svn commit: r264044 - head/share/mk

2014-04-02 Thread Warner Losh
Author: imp Date: Wed Apr 2 16:33:02 2014 New Revision: 264044 URL: http://svnweb.freebsd.org/changeset/base/264044 Log: FreeBSD make (aka fmake) doesn't grok .MAKE.LEVEL. Failsafe and assume that it is OK to set MK_xxx flags. Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd

svn commit: r264045 - head/share/mk

2014-04-02 Thread Warner Losh
Author: imp Date: Wed Apr 2 16:33:10 2014 New Revision: 264045 URL: http://svnweb.freebsd.org/changeset/base/264045 Log: Move setting of the MK_xxx variables based on NO_xxx to avoid triggering the "you aren't allowed to set this" warning when building stand alone in directories whose Makef

Re: svn commit: r264042 - in head: include lib/libc/gen lib/libc/include lib/libc/stdlib

2014-04-04 Thread Warner Losh
On Apr 4, 2014, at 6:55 AM, David Chisnall wrote: > If we could build base with gcc47 from ports, that would be okay, because > then we'd have a modern C/C++ compiler in the base system and a modern(ish - > 4.8 / 4.9 would be better, but 4.7 is a reasonable baseline) C/C++ compiler > in ports

Re: svn commit: r264042 - in head: include lib/libc/gen lib/libc/include lib/libc/stdlib

2014-04-04 Thread Warner Losh
On Apr 4, 2014, at 7:44 AM, Jordan Hubbard wrote: >> For embedded uses, we'd also like to build FreeBSD with >> vendor's-ugly-hacked-up-gcc-of-the-week. This is less of an issue now for >> ARM, but MIPS vendors still hack up gcc in such a way that there's no way >> that they can get their ch

Re: svn commit: r264042 - in head: include lib/libc/gen lib/libc/include lib/libc/stdlib

2014-04-04 Thread Warner Losh
On Apr 4, 2014, at 8:03 AM, David Chisnall wrote: > On 4 Apr 2014, at 14:44, Jordan Hubbard wrote: > >> Ah, OK. And I’m guessing there’s been no interest in forward-porting the >> blocks support to 4.7? That’s kind of… a bummer. > > I don't think so. Warner has been forward-porting some

svn commit: r264155 - in head: lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/ia64/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/powerpc64/sys lib/libc/sparc64/sys lib/libc/sy...

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:43 2014 New Revision: 264155 URL: http://svnweb.freebsd.org/changeset/base/264155 Log: Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. Modified: head/lib/libc/amd64/sys/Makefile.inc head/lib/libc/arm/sys/Makefile.inc head/lib/libc/i386/sys/Make

svn commit: r264156 - in head: kerberos5 tools/bsdbox

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:50 2014 New Revision: 264156 URL: http://svnweb.freebsd.org/changeset/base/264156 Log: use MK_KERBEROS=no in preference to WITHOUT_KERBEROS Modified: head/kerberos5/Makefile head/tools/bsdbox/Makefile.telnetd Modified: head/kerberos5/Makefile

svn commit: r264157 - head/secure

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:55 2014 New Revision: 264157 URL: http://svnweb.freebsd.org/changeset/base/264157 Log: Use MK_CRYPT=no in preference to WITHOUT_CRYPT here. Modified: head/secure/Makefile Modified: head/secure/Makefile ===

svn commit: r264154 - in head: lib/libproc lib/libproc/test/t1-bkpt lib/libproc/test/t2-name2map lib/libproc/test/t3-name2sym share/mk

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:36 2014 New Revision: 264154 URL: http://svnweb.freebsd.org/changeset/base/264154 Log: The proper way to request no man pages currently is NO_MAN=xxx. Use it in preference to the user WITHOUT_MAN knob, which should never be set in normal src Makefiles. Mod

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

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 18:00:45 2014 New Revision: 264158 URL: http://svnweb.freebsd.org/changeset/base/264158 Log: Document upcoming build option WITH_SORT_THREADS Added: head/tools/build/options/WITH_SORT_THREADS (contents, props changed) Added: head/tools/build/options/WITH_SORT_T

svn commit: r264159 - in head: share/mk usr.bin/sort

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 18:01:49 2014 New Revision: 264159 URL: http://svnweb.freebsd.org/changeset/base/264159 Log: Convert sort to using newer MK_ convention. Modified: head/share/mk/bsd.own.mk head/usr.bin/sort/Makefile Modified: head/share/mk/bsd.own.mk ===

svn commit: r264177 - in head/sys/dev/hyperv: netvsc storvsc

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 22:42:00 2014 New Revision: 264177 URL: http://svnweb.freebsd.org/changeset/base/264177 Log: Make some unwise casts. On i386 these casts wind up being safe. Rather than disturb the API, go with these casts to shut gcc up. Modified: head/sys/dev/hyperv/netvsc/hv_

svn commit: r264179 - in head/sys/amd64/vmm: . intel io

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 22:43:23 2014 New Revision: 264179 URL: http://svnweb.freebsd.org/changeset/base/264179 Log: Make the vmm code compile with gcc too. Not entirely sure things are correct for the pirbase test (since I'd have thought we'd need to do something even when the offset i

svn commit: r264178 - in head/sys: i386/xen x86/xen xen

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 22:43:18 2014 New Revision: 264178 URL: http://svnweb.freebsd.org/changeset/base/264178 Log: Make this compile with gcc. Submitted by: royger@ Modified: head/sys/i386/xen/xen_machdep.c head/sys/x86/xen/pv.c head/sys/xen/xen-os.h Modified: head/sys/i386/x

svn commit: r264199 - head/sys/boot/ficl

2014-04-06 Thread Warner Losh
Author: imp Date: Sun Apr 6 19:51:57 2014 New Revision: 264199 URL: http://svnweb.freebsd.org/changeset/base/264199 Log: Fix the mips64el build: mips64el should use the mips64 directory, not the mips64el directory. Modified: head/sys/boot/ficl/Makefile Modified: head/sys/boot/ficl/Makefile

svn commit: r264230 - in head/sys/boot/fdt/dts: arm powerpc

2014-04-07 Thread Warner Losh
Author: imp Date: Mon Apr 7 16:38:31 2014 New Revision: 264230 URL: http://svnweb.freebsd.org/changeset/base/264230 Log: These were bogusly placed in the arm directory. Move them to their proper location in powerpc directory. Added: head/sys/boot/fdt/dts/powerpc/p1020rdb.dts - copied,

Re: svn commit: r263749 - in head: . sys/amd64/conf sys/conf sys/i386/conf sys/sparc64/conf

2014-04-07 Thread Warner Losh
On Apr 7, 2014, at 1:05 PM, John Baldwin wrote: > On Tuesday, March 25, 2014 6:08:31 pm Warner Losh wrote: >> Author: imp >> Date: Tue Mar 25 22:08:31 2014 >> New Revision: 263749 >> URL: http://svnweb.freebsd.org/changeset/base/263749 >> >> Log: >>

svn commit: r264239 - head/share/mk

2014-04-07 Thread Warner Losh
Author: imp Date: Mon Apr 7 21:16:51 2014 New Revision: 264239 URL: http://svnweb.freebsd.org/changeset/base/264239 Log: Need to test .MAKE.LEVEL everywhere before using it for bootstrapping issues between fmake and bmake. Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own

svn commit: r264270 - head/sys/conf

2014-04-08 Thread Warner Losh
Author: imp Date: Tue Apr 8 20:10:57 2014 New Revision: 264270 URL: http://svnweb.freebsd.org/changeset/base/264270 Log: Put proper ${} around variable expansion. This fixes the build on 9.2 with fmake (which complained). Not sure why bmake didn't complain though... Modified: head/sys/con

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

2014-04-08 Thread Warner Losh
Author: imp Date: Tue Apr 8 21:58:04 2014 New Revision: 264281 URL: http://svnweb.freebsd.org/changeset/base/264281 Log: Also ignore files from Murcirial (.hg) and git (.git) when copying file trees. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.

Re: svn commit: r264345 - in head: . contrib/llvm/tools/clang/lib/Driver

2014-04-11 Thread Warner Losh
On Apr 11, 2014, at 11:12 AM, Steve Kargl wrote: > On Fri, Apr 11, 2014 at 04:51:36PM +, Dimitry Andric wrote: >> Author: dim >> Date: Fri Apr 11 16:51:35 2014 >> New Revision: 264345 >> URL: http://svnweb.freebsd.org/changeset/base/264345 >> >> Log: >> Amend r263891, by making clang defa

svn commit: r264399 - head/share/mk

2014-04-12 Thread Warner Losh
Author: imp Date: Sun Apr 13 05:21:48 2014 New Revision: 264399 URL: http://svnweb.freebsd.org/changeset/base/264399 Log: Don't apply ctf conversions in POSIX mode. These can't happen there because they pollute the POSIX environment, which doens't allow for these extentions. ctf conversions

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