Bruce,
* Bruce Evans , 20111214 04:26:
> And using inline instead of __inline breaks C90 compilers. Unline const
> and signed, inline is new in C99, and there are still usable C90 compilers
> (e.g., c89, gcc -std=c89 and old(?) versions of TenDRA) which will break
> if it is spelled inline. C90
Author: np
Date: Wed Dec 14 05:34:23 2011
New Revision: 228491
URL: http://svn.freebsd.org/changeset/base/228491
Log:
Do not clobber the ingress queue's congestion setting.
MFC after:1 month
Modified:
head/sys/dev/cxgbe/t4_sge.c
Modified: head/sys/dev/cxgbe/t4_sge.c
On Tue, 13 Dec 2011, Stefan Farfeleder wrote:
Log:
Replace `inline static' by `static inline'.
If I interpret the C standard correctly, the storage specifier should be
placed before the inline keyword. While at it, replace __inline by
inline in the files affected.
No, declaration-spec
Author: obrien
Date: Wed Dec 14 02:31:32 2011
New Revision: 228487
URL: http://svn.freebsd.org/changeset/base/228487
Log:
Match other formatting.
Modified:
head/sys/kern/kern_shutdown.c
Modified: head/sys/kern/kern_shutdown.c
==
On 2011-Jun-28 11:57:25 +, "Bjoern A. Zeeb" wrote:
>Author: bz
>Date: Tue Jun 28 11:57:25 2011
>New Revision: 223637
>URL: http://svn.freebsd.org/changeset/base/223637
>
>Log:
> Update packet filter (pf) code to OpenBSD 4.5.
This is very belated but I've just found the following preprocessor
Author: hselasky
Date: Wed Dec 14 01:03:07 2011
New Revision: 228485
URL: http://svn.freebsd.org/changeset/base/228485
Log:
Use usbd_transfer_unsetup() instead of usbd_transfer_stop() so that
we don't have to worry about locking.
MFC after:1 weeks
Modified:
head/sys/dev/sound/usb/u
Author: hselasky
Date: Wed Dec 14 00:48:20 2011
New Revision: 228484
URL: http://svn.freebsd.org/changeset/base/228484
Log:
Stop USB audio transfers early so that any audio applications
will time out and close opened /dev/dspX.Y device(s), if
any. This is a workaround because we cannot unreg
Author: hselasky
Date: Wed Dec 14 00:28:54 2011
New Revision: 228483
URL: http://svn.freebsd.org/changeset/base/228483
Log:
Implement better support for USB controller suspend and resume.
This patch should remove the need for kldunload of USB
controller drivers at suspend and kldload of U
Author: ed
Date: Tue Dec 13 21:26:33 2011
New Revision: 228481
URL: http://svn.freebsd.org/changeset/base/228481
Log:
Change targ(4) to use cdevpriv, instead of multiple character devices.
Also update the manpage and the scsi_target example program accordingly.
Discussed on: scsi@
Te
Author: yongari
Date: Tue Dec 13 20:31:57 2011
New Revision: 228480
URL: http://svn.freebsd.org/changeset/base/228480
Log:
Destroy DMA tag for jumbo RX buffer in device detach.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
===
Author: yongari
Date: Tue Dec 13 20:26:46 2011
New Revision: 228479
URL: http://svn.freebsd.org/changeset/base/228479
Log:
BCM5720 performance tweak from Broadcom.
o Allow multiple outstanding read requests from non-LSO read DMA engine.
o Allow 4KB burst length reads for non-LSO frames.
* Bjoern A. Zeeb , 20111213 21:06:
> Cool, can we have a second variant with a custom error message?
Yes; just use _Static_assert for that! It won't print the custom error
message right now, but as soon as compilers implement C1X, it will work
for you.
--
Ed Schouten
WWW: http://
On Tue, 13 Dec 2011, Ed Schouten wrote:
Author: ed
Date: Tue Dec 13 19:39:24 2011
New Revision: 228478
URL: http://svn.freebsd.org/changeset/base/228478
Log:
Reimplement CTASSERT() using _Static_assert().
Cool, can we have a second variant with a custom error message?
Not having file:line an
On Tue, Dec 13, 2011 at 2:34 PM, Ivan Klymenko wrote:
> Hi all!
> I have uname -a
> FreeBSD nonamehost 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r228473M: Tue Dec 13
> 20:09:45 EET 2011 ivan@nonamehost:/usr/obj/usr/src/sys/mk9 amd64
> After update source code from r228377 to r228473 "top" stopped
Author: ed
Date: Tue Dec 13 19:39:24 2011
New Revision: 228478
URL: http://svn.freebsd.org/changeset/base/228478
Log:
Reimplement CTASSERT() using _Static_assert().
Modified:
head/sys/sys/systm.h
Modified: head/sys/sys/systm.h
=
Author: ed
Date: Tue Dec 13 19:37:27 2011
New Revision: 228477
URL: http://svn.freebsd.org/changeset/base/228477
Log:
Make support for C1X keywords more complete.
- _Alignof(), which returns the aligment of a certain type.
- _Static_assert(), which can be used to check compile-time assert
Hi all!
I have uname -a
FreeBSD nonamehost 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r228473M: Tue Dec 13
20:09:45 EET 2011 ivan@nonamehost:/usr/obj/usr/src/sys/mk9 amd64
After update source code from r228377 to r228473 "top" stopped working
# top
top: sysctl(vm.stats.vm.v_active_count...) failed
Author: yongari
Date: Tue Dec 13 18:11:25 2011
New Revision: 228476
URL: http://svn.freebsd.org/changeset/base/228476
Log:
Rework link state tracking and remove superfluous link UP/DOWN
messages.
o Add check for actually resolved speed in miibus_statchg callback
instead of blindly repr
Author: obrien
Date: Tue Dec 13 17:59:16 2011
New Revision: 228475
URL: http://svn.freebsd.org/changeset/base/228475
Log:
Disallow various debug.kdb sysctl's when securelevel is raised.
PR: 161350
Modified:
head/sys/kern/kern_shutdown.c
Modified: head/sys/kern/kern_shutdown.c
Author: ed
Date: Tue Dec 13 17:34:47 2011
New Revision: 228474
URL: http://svn.freebsd.org/changeset/base/228474
Log:
Add support for __COUNTER__.
__COUNTER__ allows one to obtain incrementing (read: unique) numbers
from the C preprocesor. This is useful when implementing things like a
On Tue, Dec 13, 2011 at 02:00:28PM +, Eitan Adler wrote:
> Author: eadler (ports committer)
> Date: Tue Dec 13 14:00:27 2011
> New Revision: 228470
> URL: http://svn.freebsd.org/changeset/base/228470
>
> Log:
> - Add a sysctl to allow non-root users the ability to set idle
> priorities.
[.
Author: ed
Date: Tue Dec 13 14:53:26 2011
New Revision: 228473
URL: http://svn.freebsd.org/changeset/base/228473
Log:
Don't use __P().
The rest of the file doesn't use it either and according to style(9), it
should not be used.
Modified:
head/lib/libedit/histedit.h
Modified: head/lib/
On Tue, Dec 13, 2011 at 02:06:01PM +, Ed Schouten wrote:
> Author: ed
> Date: Tue Dec 13 14:06:01 2011
> New Revision: 228471
> URL: http://svn.freebsd.org/changeset/base/228471
>
> Log:
> Replace `inline static' by `static inline'.
>
> If I interpret the C standard correctly, the stora
Author: glebius
Date: Tue Dec 13 14:36:04 2011
New Revision: 228472
URL: http://svn.freebsd.org/changeset/base/228472
Log:
Add compatibility support for specifing IPv4 aliases in
rc.conf without the "inet" keyword.
Obtained from:hrs
Modified:
head/etc/network.subr
Modified: he
Author: ed
Date: Tue Dec 13 14:06:01 2011
New Revision: 228471
URL: http://svn.freebsd.org/changeset/base/228471
Log:
Replace `inline static' by `static inline'.
If I interpret the C standard correctly, the storage specifier should be
placed before the inline keyword. While at it, replace
On Tue, Dec 13, 2011, Ed Schouten wrote:
> Author: ed
> Date: Tue Dec 13 13:38:03 2011
> New Revision: 228469
> URL: http://svn.freebsd.org/changeset/base/228469
>
> Log:
> Replace __signed by signed.
>
> The signed keyword is an integral part of the C syntax. There's no need
> to use __s
Author: eadler (ports committer)
Date: Tue Dec 13 14:00:27 2011
New Revision: 228470
URL: http://svn.freebsd.org/changeset/base/228470
Log:
- Add a sysctl to allow non-root users the ability to set idle
priorities.
- While here fix up some style nits.
Discussed with: cperciva (breifl
Author: ed
Date: Tue Dec 13 13:38:03 2011
New Revision: 228469
URL: http://svn.freebsd.org/changeset/base/228469
Log:
Replace __signed by signed.
The signed keyword is an integral part of the C syntax. There's no need
to use __signed.
Modified:
head/sys/amd64/include/_types.h
head/sy
Author: ed
Date: Tue Dec 13 13:32:56 2011
New Revision: 228468
URL: http://svn.freebsd.org/changeset/base/228468
Log:
Replace __const by const in all non-contributed source code.
As C1X is close to being released, there is no need to wrap around a
feature that is already part of C90. Most
On Sat, Sep 12, 2009 at 10:13:41PM +, Hiroki Sato wrote:
> Author: hrs
> Date: Sat Sep 12 22:13:41 2009
> New Revision: 197139
> URL: http://svn.freebsd.org/changeset/base/197139
>
> Log:
> Integrate rc.d/network_ipv6 into rc.d/netif:
>
> - Add rc.d/stf and rc.d/faith for stf(4) and fai
Author: glebius
Date: Tue Dec 13 11:54:51 2011
New Revision: 228463
URL: http://svn.freebsd.org/changeset/base/228463
Log:
dhclient-script relied on incorrect behavior of SIOCAIFADDR ioctl,
that changed 0.0.0.0/0.0.0.0 prefix to 0.0.0.0/255.0.0.0.
In the r228313 this behavior was fixed, a
Author: mav
Date: Tue Dec 13 11:13:28 2011
New Revision: 228462
URL: http://svn.freebsd.org/changeset/base/228462
Log:
- Fix different variable types use in different files after r121184,
causing problems on amd64.
- s/%lud/%lu/.
MFC after:1 month
Modified:
head/share/examples/
Author: mav
Date: Tue Dec 13 09:58:05 2011
New Revision: 228461
URL: http://svn.freebsd.org/changeset/base/228461
Log:
Fix few bugs in isp(4) target mode support:
- in destroy_lun_state() assert hold == 1 instead of 0, as it should
receive hold taken by the create_lun_state() or get_lun_sta
Author: ed
Date: Tue Dec 13 09:01:44 2011
New Revision: 228458
URL: http://svn.freebsd.org/changeset/base/228458
Log:
Staticify dumpfs.
This tool only consists of a single C file, so we can simply mark
everything except main() static. This seems to shave off about 8% of the
binary size.
On Tue, Dec 13, 2011 at 08:23:03AM +, Ruslan Ermilov wrote:
R> Author: ru
R> Date: Tue Dec 13 08:23:03 2011
R> New Revision: 228457
R> URL: http://svn.freebsd.org/changeset/base/228457
R>
R> Log:
R> The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory for
R> IPv4 aliases to work sin
Author: ru
Date: Tue Dec 13 08:23:03 2011
New Revision: 228457
URL: http://svn.freebsd.org/changeset/base/228457
Log:
The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory for
IPv4 aliases to work since network.subr@197139.
MFC after:3 days
Modified:
head/share/man/man5/rc.co
36 matches
Mail list logo