svn commit: r241393 - head/sys/dev/bge

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 05:43:04 2012 New Revision: 241393 URL: http://svn.freebsd.org/changeset/base/241393 Log: Remove unnecessary delay. I don't see any comments in data sheet that requires 10ms delay after device reset. Because that code was there from day 1, I guess it was add

svn commit: r241392 - head/sys/dev/bge

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 04:38:29 2012 New Revision: 241392 URL: http://svn.freebsd.org/changeset/base/241392 Log: Fix a long standing VCPU reset sequence bug on BCM5906. The VCPU(Virtual CPU) of BCM5906 is used to provide a mechanism to control the bootcode execution and to pick up

svn commit: r241391 - head/sys/dev/bge

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 02:35:10 2012 New Revision: 241391 URL: http://svn.freebsd.org/changeset/base/241391 Log: Do not force PCIe 1.0a mode in device reset on BCM5717 and newer controllers. BCM5785 does not require PCI 1.0a mode as well during reset. Modified: head/sys/dev/bge/

svn commit: r241390 - head/sys/dev/bge

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 02:21:36 2012 New Revision: 241390 URL: http://svn.freebsd.org/changeset/base/241390 Log: Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ===

svn commit: r241389 - head/sys/dev/bge

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 01:59:53 2012 New Revision: 241389 URL: http://svn.freebsd.org/changeset/base/241389 Log: On PHY write error use hex number to show the value. Add more comments. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ===

svn commit: r241388 - head/sys/dev/bge

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 01:24:02 2012 New Revision: 241388 URL: http://svn.freebsd.org/changeset/base/241388 Log: If the maximum payload size is 256 bytes or more, set the DMA write water mark to 256 bytes. Otherwise controller will encounter DMA write under run errors and would re

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

2012-10-09 Thread Neel Natu
Author: neel Date: Wed Oct 10 00:06:31 2012 New Revision: 241386 URL: http://svn.freebsd.org/changeset/base/241386 Log: Grab the softc from the ACPI host-pci bridge device instead of from the pci endpoint device. Reviewed by: jhb Modified: head/sys/dev/acpica/acpi_pcib_acpi.c Modifie

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Steve Kargl
On Tue, Oct 09, 2012 at 06:06:55PM -0400, Eitan Adler wrote: > On 9 October 2012 17:25, Steve Kargl > wrote: > > ... yes, I was misreading the text. > > > Clang has no way of determining if 'a' is initialized or not. > > If David is correct that 'junk' is optimized out by clang/llvm, > > then i

Security Update.

2012-10-09 Thread Westpac Bank
[westpac-logo.png] You are receiving this e-mail because of our latest update on Wednesday, 10 October 2012. Due to our latest fraud attempts, we updated our security system to a more complex system that will improve security for all Westpac accounts. We are currently perfo

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
On 9 October 2012 18:06, Eitan Adler wrote: > On 9 October 2012 17:25, Steve Kargl > wrote: > > ... yes, I was misreading the text. > >> Clang has no way of determining if 'a' is initialized or not. >> If David is correct that 'junk' is optimized out by clang/llvm, >> then it seems that clang vi

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
On 9 October 2012 17:25, Steve Kargl wrote: ... yes, I was misreading the text. > Clang has no way of determining if 'a' is initialized or not. > If David is correct that 'junk' is optimized out by clang/llvm, > then it seems that clang violates footnote 116. Yes, I know > it is non-normative t

Welcome to our booth 5E-G37, HKTDC Hong Kong International Lighting Fair 2012(Autumn Edition).

2012-10-09 Thread vicky
Hello, This is vicky from goldsuno.we are the professional LED interior lighting supplier in China. We are desirous to enter into business relations with your company. Our homepage is www.downlights-led.com you can browse it to get more information. Here I sent you an E-invitation of the "HKT

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Steve Kargl
On Tue, Oct 09, 2012 at 04:23:59PM -0400, Eitan Adler wrote: > On 9 October 2012 14:24, Andrey Chernov wrote: > > I don't have ISO9899 nearby, could you directly quote mentioned > > sections, please? > > Accesses to volatile object (a) produce side effects (b) have > implementation defined values

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
On 9 October 2012 14:24, Andrey Chernov wrote: > I don't have ISO9899 nearby, could you directly quote mentioned > sections, please? Accesses to volatile object (a) produce side effects (b) have implementation defined values. A more careful re-reading of the relevant section leads me to believe

svn commit: r241385 - stable/7/sys/dev/pci

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 20:07:24 2012 New Revision: 241385 URL: http://svn.freebsd.org/changeset/base/241385 Log: MFC r240695: Add constants for programming interfaces for NVM/solid state storage controller sub-class code. Reference: PCI Code and ID Assignment Specificati

svn commit: r241384 - stable/8/sys/dev/pci

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 20:06:16 2012 New Revision: 241384 URL: http://svn.freebsd.org/changeset/base/241384 Log: MFC r240695: Add constants for programming interfaces for NVM/solid state storage controller sub-class code. Reference: PCI Code and ID Assignment Specificati

svn commit: r241383 - stable/9/sys/dev/pci

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 20:05:19 2012 New Revision: 241383 URL: http://svn.freebsd.org/changeset/base/241383 Log: MFC r240695: Add constants for programming interfaces for NVM/solid state storage controller sub-class code. Reference: PCI Code and ID Assignment Specificati

svn commit: r241382 - stable/8/sys/dev/tws

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 19:59:22 2012 New Revision: 241382 URL: http://svn.freebsd.org/changeset/base/241382 Log: MFC r240901: Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or LUNs respectively. This removes a huge number of error messages from CAM duri

svn commit: r241381 - stable/8/sys/dev/tws

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 19:57:18 2012 New Revision: 241381 URL: http://svn.freebsd.org/changeset/base/241381 Log: MFC r240900: Specify MTX_RECURSE for the controller's io_lock. Without it, tws(4) immediately panics on boot with INVARIANTS enabled. The driver already clearly

svn commit: r241380 - stable/9/sys/dev/tws

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 19:55:12 2012 New Revision: 241380 URL: http://svn.freebsd.org/changeset/base/241380 Log: MFC r240901: Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or LUNs respectively. This removes a huge number of error messages from CAM duri

svn commit: r241379 - stable/9/sys/dev/tws

2012-10-09 Thread Jim Harris
Author: jimharris Date: Tue Oct 9 19:53:15 2012 New Revision: 241379 URL: http://svn.freebsd.org/changeset/base/241379 Log: MFC r240900: Specify MTX_RECURSE for the controller's io_lock. Without it, tws(4) immediately panics on boot with INVARIANTS enabled. The driver already clearly

Re: svn commit: r241378 - in stable/8/sys/dev: cardbus pci

2012-10-09 Thread John Baldwin
On Tuesday, October 09, 2012 2:45:08 pm John Baldwin wrote: > Author: jhb > Date: Tue Oct 9 18:45:08 2012 > New Revision: 241378 > URL: http://svn.freebsd.org/changeset/base/241378 > > Log: > MFC 201279,201280,201286,213907,214146,220195,222753,223371,225515,235833: > Various fixes to managin

svn commit: r241378 - in stable/8/sys/dev: cardbus pci

2012-10-09 Thread John Baldwin
Author: jhb Date: Tue Oct 9 18:45:08 2012 New Revision: 241378 URL: http://svn.freebsd.org/changeset/base/241378 Log: MFC 201279,201280,201286,213907,214146,220195,222753,223371,225515,235833: Various fixes to managing PCI BARs including proper support for managing PCI ROM BARs: - Teach t

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Andrey Chernov
On 09.10.2012 21:47, Eitan Adler wrote: > On 9 October 2012 12:33, Andrey Chernov wrote: >> Do you check assembler output for _both_ cases? > > Yes. ... > http://blog.eitanadler.com/2012/10/reduced-entropy-in-rand-and-random.html At this URL I see only already known buggy assembler without 'vola

svn commit: r241376 - stable/8/sys/dev/e1000

2012-10-09 Thread Sean Bruno
Author: sbruno Date: Tue Oct 9 18:02:05 2012 New Revision: 241376 URL: http://svn.freebsd.org/changeset/base/241376 Log: MFC r240879 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritte

svn commit: r241377 - stable/7/sys/dev/e1000

2012-10-09 Thread Sean Bruno
Author: sbruno Date: Tue Oct 9 18:02:09 2012 New Revision: 241377 URL: http://svn.freebsd.org/changeset/base/241377 Log: MFC r240879 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritte

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
On 9 October 2012 13:27, wrote: > The original behavior can be recovered by using inline assembly to > fetch the value from a register into a local C variable; this would at > least not rely on undefined behavior. But I agree it's of dubious > value anyways. I proposed this (with a patch). We w

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
On 9 October 2012 13:16, David Chisnall wrote: > On 9 Oct 2012, at 17:33, Andrey Chernov wrote: > >> Do you check assembler output for _both_ cases? >> In my testing clang and gcc xor's 'junk' properly in case it have >> 'volatile' keyword (as in srandomdev()) and elide it without 'volatile'. >> I

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
On 9 October 2012 12:33, Andrey Chernov wrote: > Do you check assembler output for _both_ cases? Yes. > In my testing clang and gcc xor's 'junk' properly in case it have > 'volatile' keyword (as in srandomdev()) and elide it without 'volatile'. volatile is still undefined: see 5.1.2.2.3 and 6.7

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread mdf
On Tue, Oct 9, 2012 at 10:16 AM, David Chisnall wrote: > On 9 Oct 2012, at 17:33, Andrey Chernov wrote: > >> Do you check assembler output for _both_ cases? >> In my testing clang and gcc xor's 'junk' properly in case it have >> 'volatile' keyword (as in srandomdev()) and elide it without 'volatil

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread David Chisnall
On 9 Oct 2012, at 17:33, Andrey Chernov wrote: > Do you check assembler output for _both_ cases? > In my testing clang and gcc xor's 'junk' properly in case it have > 'volatile' keyword (as in srandomdev()) and elide it without 'volatile'. > IMHO this change should be backed out for srandomdev() a

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

2012-10-09 Thread Alexander Motin
Author: mav Date: Tue Oct 9 17:06:31 2012 New Revision: 241375 URL: http://svn.freebsd.org/changeset/base/241375 Log: Cast vendor-specific spell on VIA VT1818S codecs alike to VT1708S to make analog input loopback and dual-stream playback work by enabling signal mixing by nid 22, as it shou

Re: svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Andrey Chernov
Do you check assembler output for _both_ cases? In my testing clang and gcc xor's 'junk' properly in case it have 'volatile' keyword (as in srandomdev()) and elide it without 'volatile'. IMHO this change should be backed out for srandomdev() and adding 'volatile' for sranddev() instead. On 09.10.2

Re: svn commit: r241370 - in head: share/examples/kld/dyn_sysctl share/examples/kld/firmware/fwconsumer share/man/man9 sys/amd64/linux32 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/svr4

2012-10-09 Thread Rui Paulo
On 9 Oct 2012, at 01:27, Kevin Lo wrote: > Author: kevlo > Date: Tue Oct 9 08:27:40 2012 > New Revision: 241370 > URL: http://svn.freebsd.org/changeset/base/241370 > > Log: > Prefer NULL over 0 for pointers Very dubious benefit and no one review this...? Did you even check if the MD5/SHA-1 c

svn commit: r241374 - in head/sys: amd64/include gnu/fs/xfs/FreeBSD i386/include kern mips/include pc98/include sparc64/include sys x86/include

2012-10-09 Thread Attilio Rao
Author: attilio Date: Tue Oct 9 14:32:30 2012 New Revision: 241374 URL: http://svn.freebsd.org/changeset/base/241374 Log: Add an unified macro to deny ability from the compiler to reorder instruction loads/stores at its will. The macro __compiler_membar() is currently supported for both gcc

svn commit: r241373 - head/lib/libc/stdlib

2012-10-09 Thread Eitan Adler
Author: eadler Date: Tue Oct 9 14:25:14 2012 New Revision: 241373 URL: http://svn.freebsd.org/changeset/base/241373 Log: Remove undefined behavior from sranddev() and srandomdev(). This doesn't actually work with any modern C compiler: In particular, both clang and modern gcc verison

svn commit: r241372 - in stable/7: tools/regression/usr.bin/make tools/regression/usr.bin/make/variables/modifier_t tools/regression/usr.bin/make/variables/opt_V usr.bin/make

2012-10-09 Thread David E. O'Brien
Author: obrien Date: Tue Oct 9 13:21:08 2012 New Revision: 241372 URL: http://svn.freebsd.org/changeset/base/241372 Log: MF8: r241368: MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977 * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L" (to

svn commit: r241371 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98 sparc64/include sparc64/sparc64 x86/x86

2012-10-09 Thread Attilio Rao
Author: attilio Date: Tue Oct 9 12:22:43 2012 New Revision: 241371 URL: http://svn.freebsd.org/changeset/base/241371 Log: Reverts r234074,234105,234564,234723,234989,235231-235232 and part of r234247. Use, instead, the static intializer introduced in r239923 for x86 and sparc64 intr_cpus,

svn commit: r241365 - head/sys/boot/forth

2012-10-09 Thread Devin Teske
Author: dteske Date: Tue Oct 9 03:11:15 2012 New Revision: 241365 URL: http://svn.freebsd.org/changeset/base/241365 Log: Fix an oversight that cyclic menu items actually are zero-based and can accommodate 10 different states. Reviewed by: eadler, adrian (co-mentor) Approved by: adria

svn commit: r241366 - stable/9/sys/dev/e1000

2012-10-09 Thread Sean Bruno
Author: sbruno Date: Tue Oct 9 03:41:59 2012 New Revision: 241366 URL: http://svn.freebsd.org/changeset/base/241366 Log: MFC r240879 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritte

svn commit: r241367 - head/sys/boot/forth

2012-10-09 Thread Devin Teske
Author: dteske Date: Tue Oct 9 03:54:53 2012 New Revision: 241367 URL: http://svn.freebsd.org/changeset/base/241367 Log: Fix a typo (s/prefix/suffix/) and comment. NOTE: This is in an unused portion of the menu framework. Reviewed by: eadler, adrian (co-mentor) Approved by: adrian

svn commit: r241368 - in stable/8: tools/regression/usr.bin/make tools/regression/usr.bin/make/variables/modifier_t tools/regression/usr.bin/make/variables/opt_V usr.bin/make

2012-10-09 Thread David E. O'Brien
Author: obrien Date: Tue Oct 9 05:06:30 2012 New Revision: 241368 URL: http://svn.freebsd.org/changeset/base/241368 Log: MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977 * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L" (to-lower case) modifiers

svn commit: r241369 - in head/sys: dev/arcmsr netgraph/netflow netpfil/ipfw

2012-10-09 Thread Kevin Lo
Author: kevlo Date: Tue Oct 9 06:15:16 2012 New Revision: 241369 URL: http://svn.freebsd.org/changeset/base/241369 Log: Fix typo: s/unknow/unknown Modified: head/sys/dev/arcmsr/arcmsr.c head/sys/netgraph/netflow/ng_netflow.c head/sys/netpfil/ipfw/ip_dn_glue.c Modified: head/sys/dev/arcm

svn commit: r241359 - head/sys/netpfil/ipfw

2012-10-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 8 22:58:28 2012 New Revision: 241359 URL: http://svn.freebsd.org/changeset/base/241359 Log: Catch up with r241245 and do not return packet back in host byte order. Modified: head/sys/netpfil/ipfw/ip_fw_pfil.c Modified: head/sys/netpfil/ipfw/ip_fw_pfil.c ===

svn commit: r241361 - head/sys/boot/forth

2012-10-09 Thread Devin Teske
Author: dteske Date: Mon Oct 8 23:02:35 2012 New Revision: 241361 URL: http://svn.freebsd.org/changeset/base/241361 Log: Add an echo to say we're "Booting..." when the overloaded "boot" Ficl word is executed to better differentiate between loader-specific errors and kernel- specific errors

svn commit: r241364 - stable/9/usr.bin/make

2012-10-09 Thread David E. O'Brien
Author: obrien Date: Tue Oct 9 02:52:56 2012 New Revision: 241364 URL: http://svn.freebsd.org/changeset/base/241364 Log: Update MAKE_VERSION for r237100. Modified: stable/9/usr.bin/make/Makefile Modified: stable/9/usr.bin/make/Makefile ===

svn commit: r241360 - head/sys/netpfil/pf

2012-10-09 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 8 23:02:32 2012 New Revision: 241360 URL: http://svn.freebsd.org/changeset/base/241360 Log: Any pfil(9) hooks should be called with already set VNET context. Reviewed by: bz Modified: head/sys/netpfil/pf/pf_ioctl.c Modified: head/sys/netpfil/pf/pf_ioctl.c