Navdeep Parhar | 1 Apr 02:25 2011
Picon

svn commit: r220231 - in head/sys/modules/cxgbe: . if_cxgbe

Author: np
Date: Fri Apr  1 00:25:32 2011
New Revision: 220231
URL: http://svn.freebsd.org/changeset/base/220231

Log:
  Allow multiple modules within sys/modules/cxgbe.  The first one is if_cxgbe.

  MFC after:	3 days

Added:
  head/sys/modules/cxgbe/if_cxgbe/
  head/sys/modules/cxgbe/if_cxgbe/Makefile
     - copied, changed from r220221, head/sys/modules/cxgbe/Makefile
Replaced:
  head/sys/modules/cxgbe/Makefile   (contents, props changed)

Added: head/sys/modules/cxgbe/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/cxgbe/Makefile	Fri Apr  1 00:25:32 2011	(r220231)
 <at>  <at>  -0,0 +1,7  <at>  <at> 
+#
+# $FreeBSD$
+#
+
+SUBDIR = if_cxgbe
+
+.include <bsd.subdir.mk>

(Continue reading)

Navdeep Parhar | 1 Apr 02:40 2011
Picon

svn commit: r220232 - in head/sys/dev/cxgbe: . common

Author: np
Date: Fri Apr  1 00:40:24 2011
New Revision: 220232
URL: http://svn.freebsd.org/changeset/base/220232

Log:
  Update header and related code for firmware 1.3.8

  MFC after:	3 days

Modified:
  head/sys/dev/cxgbe/common/common.h
  head/sys/dev/cxgbe/common/t4fw_interface.h
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/common/common.h
==============================================================================
--- head/sys/dev/cxgbe/common/common.h	Fri Apr  1 00:25:32 2011	(r220231)
+++ head/sys/dev/cxgbe/common/common.h	Fri Apr  1 00:40:24 2011	(r220232)
 <at>  <at>  -54,7 +54,7  <at>  <at>  enum {

 #define FW_VERSION_MAJOR 1
 #define FW_VERSION_MINOR 3
-#define FW_VERSION_MICRO 0
+#define FW_VERSION_MICRO 8

 struct port_stats {
 	u64 tx_octets;            /* total # of octets in good frames */

Modified: head/sys/dev/cxgbe/common/t4fw_interface.h
(Continue reading)

Ed Maste | 1 Apr 03:13 2011
Picon

svn commit: r220233 - head/share/examples

Author: emaste
Date: Fri Apr  1 01:13:30 2011
New Revision: 220233
URL: http://svn.freebsd.org/changeset/base/220233

Log:
  Unbreak installworld after r220205.

  Noticed by:	np
  Pointy hat to:	emaste

Modified:
  head/share/examples/Makefile

Modified: head/share/examples/Makefile
==============================================================================
--- head/share/examples/Makefile	Fri Apr  1 00:40:24 2011	(r220232)
+++ head/share/examples/Makefile	Fri Apr  1 01:13:30 2011	(r220233)
 <at>  <at>  -99,7 +99,7  <at>  <at>  XFILES=	BSD_daemon/FreeBSD.pfa \
 	kld/firmware/fwconsumer/Makefile \
 	kld/firmware/fwconsumer/fw_consumer.c \
 	kld/firmware/fwimage/Makefile \
-	kld/firmware/fwimage/firmware.img \
+	kld/firmware/fwimage/firmware.img.in \
 	kld/khelp/Makefile \
 	kld/khelp/README \
 	kld/khelp/h_example.c \
_______________________________________________
svn-src-all <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
(Continue reading)

Pyun YongHyeon | 1 Apr 03:30 2011
Picon

svn commit: r220234 - head/sys/dev/bxe

Author: yongari
Date: Fri Apr  1 01:30:21 2011
New Revision: 220234
URL: http://svn.freebsd.org/changeset/base/220234

Log:
  Make bxe(4) build with BXE_DEBUG.

Modified:
  head/sys/dev/bxe/if_bxe.c

Modified: head/sys/dev/bxe/if_bxe.c
==============================================================================
--- head/sys/dev/bxe/if_bxe.c	Fri Apr  1 01:13:30 2011	(r220233)
+++ head/sys/dev/bxe/if_bxe.c	Fri Apr  1 01:30:21 2011	(r220234)
 <at>  <at>  -15740,7 +15740,7  <at>  <at>  bxe_add_sysctls(struct bxe_softc *sc)
 	    CTLFLAG_RD, &sc->mbuf_alloc_failed, 0,
 	    "mbuf cluster allocation failures");

-	do() {
+	do {
 #define QUEUE_NAME_LEN 32
 		char namebuf[QUEUE_NAME_LEN];
 		struct sysctl_oid *queue_node;
 <at>  <at>  -15770,7 +15770,7  <at>  <at>  bxe_add_sysctls(struct bxe_softc *sc)
 			    "Mbuf defrag successes");
 		}

-	}
+	} while (0);
(Continue reading)

Kevin Lo | 1 Apr 05:27 2011
Picon

svn commit: r220235 - head/sys/dev/usb/wlan

Author: kevlo
Date: Fri Apr  1 03:27:55 2011
New Revision: 220235
URL: http://svn.freebsd.org/changeset/base/220235

Log:
  - Minor style(9) cleanup
  - Make functions static

Modified:
  head/sys/dev/usb/wlan/if_run.c

Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c	Fri Apr  1 01:30:21 2011	(r220234)
+++ head/sys/dev/usb/wlan/if_run.c	Fri Apr  1 03:27:55 2011	(r220235)
 <at>  <at>  -71,8 +71,8  <at>  <at>  __FBSDID("$FreeBSD$");
 #define USB_DEBUG_VAR run_debug
 #include <dev/usb/usb_debug.h>

-#include "if_runreg.h"
-#include "if_runvar.h"
+#include <dev/usb/wlan/if_runreg.h>
+#include <dev/usb/wlan/if_runvar.h>

 #define nitems(_a)      (sizeof((_a)) / sizeof((_a)[0]))

 <at>  <at>  -523,7 +523,7  <at>  <at>  static const struct usb_config run_confi
     }
 };
(Continue reading)

Kevin Lo | 1 Apr 05:41 2011
Picon

svn commit: r220236 - head/sys/conf

Author: kevlo
Date: Fri Apr  1 03:41:41 2011
New Revision: 220236
URL: http://svn.freebsd.org/changeset/base/220236

Log:
  Add 'mos' interface to NOTES

Modified:
  head/sys/conf/NOTES

Modified: head/sys/conf/NOTES
==============================================================================
--- head/sys/conf/NOTES	Fri Apr  1 03:27:55 2011	(r220235)
+++ head/sys/conf/NOTES	Fri Apr  1 03:41:41 2011	(r220236)
 <at>  <at>  -2711,6 +2711,9  <at>  <at>  device		rue
 # Davicom DM9601E USB to fast ethernet. Supports the Corega FEther USB-TXC.
 device		udav
 #
+# Moschip MCS7730/MCS7840 USB to fast ethernet. Supports the Sitecom LN030.
+device		mos
+#
 # HSxPA devices from Option N.V
 device		uhso

_______________________________________________
svn-src-all <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe <at> freebsd.org"

(Continue reading)

Lawrence Stewart | 1 Apr 08:28 2011
Picon

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

Author: lstewart
Date: Fri Apr  1 06:28:21 2011
New Revision: 220237
URL: http://svn.freebsd.org/changeset/base/220237

Log:
  Add a missing .El macro.

Modified:
  head/share/man/man4/cc_chd.4

Modified: head/share/man/man4/cc_chd.4
==============================================================================
--- head/share/man/man4/cc_chd.4	Fri Apr  1 03:41:41 2011	(r220236)
+++ head/share/man/man4/cc_chd.4	Fri Apr  1 06:28:21 2011	(r220237)
 <at>  <at>  -58,6 +58,7  <at>  <at>  do not cause cwnd to be reduced.
 .It
 CHD uses a shadow window to help regain lost transmission opportunities when
 competing with loss-based TCP flows.
+.El
 .Sh MIB Variables
 The algorithm exposes the following tunable variables in the
 .Va net.inet.tcp.cc.chd
_______________________________________________
svn-src-all <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe <at> freebsd.org"

Andriy Gapon | 1 Apr 12:19 2011
Picon

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

Author: avg
Date: Fri Apr  1 07:28:21 2011
New Revision: 220401
URL: http://svn.freebsd.org/changeset/base/220401

Log:
  errno: add a new error code EDAVE

  This error code should be used when a system, having a superior
  knowledge of its state and environment, has to deny a user action.
  Introduce the first usage of the new error code in vfs unmount to
  deny unmounting of root filesystem.

  Inspired by:	2001: The Space Odyssey
  Inspired by:	GDB 7
  Inspired by:	EDOOFUS
  MFC after:	Apr 1 2012

Modified:
  lib/libc/gen/errlst.c
  sys/kern/vfs_mount.c
  sys/sys/errno.h

Modified: lib/libc/gen/errlst.c
===================================================================
--- lib/libc/gen/errlst.c	(revision 220181)
+++ lib/libc/gen/errlst.c	(working copy)
 <at>  <at>  -152,5 +152,6  <at>  <at>  const char *const sys_errlist[] = {
 	"Protocol error",			/* 92 - EPROTO */
 	"Capabilities insufficient",		/* 93 - ENOTCAPABLE */
(Continue reading)

Warner Losh | 1 Apr 12:27 2011

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

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)
>  <at>  <at>  -175,13 +175,17  <at>  <at>  __END_DECLS
> 
> #ifndef _POSIX_SOURCE
> #define	ENOTCAPABLE	93		/* Capabilities insufficient */
> -#define	ECAPMODE		94		/* Not permitted in capability mode */
> +#define	ECAPMODE	94		/* Not permitted in capability mode */
> #endif /* _POSIX_SOURCE */

You really shouldn't mix functional changes with white-space changes like this.

Warner

_______________________________________________
svn-src-all <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe <at> freebsd.org"

Andriy Gapon | 1 Apr 12:36 2011
Picon

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

on 01/04/2011 13:27 Warner Losh said the following:
> 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)
>>  <at>  <at>  -175,13 +175,17  <at>  <at>  __END_DECLS
>>
>> #ifndef _POSIX_SOURCE
>> #define	ENOTCAPABLE	93		/* Capabilities insufficient */
>> -#define	ECAPMODE		94		/* Not permitted in capability mode */
>> +#define	ECAPMODE	94		/* Not permitted in capability mode */
>> #endif /* _POSIX_SOURCE */
> 
> You really shouldn't mix functional changes with white-space changes like this.

Oops, sorry, that was meant to be a separate commit.

--

-- 
Andriy Gapon
_______________________________________________
svn-src-all <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe <at> freebsd.org"


Gmane