svn commit: r281478 - head

2015-04-12 Thread Eitan Adler
Author: eadler
Date: Sun Apr 12 23:43:41 2015
New Revision: 281478
URL: https://svnweb.freebsd.org/changeset/base/281478

Log:
  README:
- the reference to 'ancient' LINT file was added in 2000 [r64047 | alex
  | 2000-07-31].   Remove the reference entirely now.
- add the tests directory

Modified:
  head/README

Modified: head/README
==
--- head/README Sun Apr 12 22:54:04 2015(r281477)
+++ head/README Sun Apr 12 23:43:41 2015(r281478)
@@ -34,9 +34,7 @@ The sample kernel configuration files re
 sub-directory (assuming that you've installed the kernel sources), the
 file named GENERIC being the one used to build your initial installation
 kernel.  The file NOTES contains entries and documentation for all possible
-devices, not just those commonly used.  It is the successor of the ancient
-LINT file, but in contrast to LINT, it is not buildable as a kernel but a
-pure reference and documentation file.
+devices, not just those commonly used.
 
 
 Source Roadmap:
@@ -77,6 +75,9 @@ share Shared resources.
 
 sysKernel sources.
 
+tests  Regression tests which can be run by Kyua.  See tests/README
+   for additional information.
+
 tools  Utilities for regression testing and miscellaneous tasks.
 
 usr.binUser commands.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281479 - head

2015-04-12 Thread Eitan Adler
Author: eadler
Date: Mon Apr 13 00:03:03 2015
New Revision: 281479
URL: https://svnweb.freebsd.org/changeset/base/281479

Log:
  Add GNU global, ncscope, and cscope to the global ignore list for the root.
  
  Approved by:  peter

Modified:
Directory Properties:
  head/   (props changed)
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281483 - head/sys/netinet6

2015-04-12 Thread Mark Johnston
Author: markj
Date: Mon Apr 13 01:55:42 2015
New Revision: 281483
URL: https://svnweb.freebsd.org/changeset/base/281483

Log:
  Fix a possible refcount leak in regen_tmpaddr().
  
  public_ifa6 may be set to NULL after taking a reference to a previous
  address list element. Instead, only take the reference after leaving the
  loop but before releasing the address list lock.
  
  Differential Revision:https://reviews.freebsd.org/D2253
  Reviewed by:  ae
  MFC after:2 weeks

Modified:
  head/sys/netinet6/nd6.c

Modified: head/sys/netinet6/nd6.c
==
--- head/sys/netinet6/nd6.c Mon Apr 13 01:42:24 2015(r281482)
+++ head/sys/netinet6/nd6.c Mon Apr 13 01:55:42 2015(r281483)
@@ -765,11 +765,10 @@ regen_tmpaddr(struct in6_ifaddr *ia6)
 * address with the prefix.
 */
if (!IFA6_IS_DEPRECATED(it6))
-   public_ifa6 = it6;
-
-   if (public_ifa6 != NULL)
-   ifa_ref(public_ifa6-ia_ifa);
+   public_ifa6 = it6;
}
+   if (public_ifa6 != NULL)
+   ifa_ref(public_ifa6-ia_ifa);
IF_ADDR_RUNLOCK(ifp);
 
if (public_ifa6 != NULL) {
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281451 - head/sys/vm

2015-04-12 Thread Dmitry Chagin
Author: dchagin
Date: Sun Apr 12 06:21:58 2015
New Revision: 281451
URL: https://svnweb.freebsd.org/changeset/base/281451

Log:
  Rework r281162. Indeed, the flexible array member is preferable here.
  
  Suggested by:   Justin T. Gibbs
  
  MFC after:3 days

Modified:
  head/sys/vm/uma_core.c
  head/sys/vm/uma_int.h

Modified: head/sys/vm/uma_core.c
==
--- head/sys/vm/uma_core.c  Sun Apr 12 06:18:24 2015(r281450)
+++ head/sys/vm/uma_core.c  Sun Apr 12 06:21:58 2015(r281451)
@@ -1822,7 +1822,7 @@ uma_startup(void *bootmem, int boot_page
 #endif
args.name = UMA Zones;
args.size = sizeof(struct uma_zone) +
-   (sizeof(struct uma_cache) * (mp_maxid));
+   (sizeof(struct uma_cache) * (mp_maxid + 1));
args.ctor = zone_ctor;
args.dtor = zone_dtor;
args.uminit = zero_init;

Modified: head/sys/vm/uma_int.h
==
--- head/sys/vm/uma_int.h   Sun Apr 12 06:18:24 2015(r281450)
+++ head/sys/vm/uma_int.h   Sun Apr 12 06:21:58 2015(r281451)
@@ -311,7 +311,7 @@ struct uma_zone {
 * This HAS to be the last item because we adjust the zone size
 * based on NCPU and then allocate the space for the zones.
 */
-   struct uma_cacheuz_cpu[1]; /* Per cpu caches */
+   struct uma_cacheuz_cpu[]; /* Per cpu caches */
 };
 
 /*
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281459 - head/sys/arm/conf

2015-04-12 Thread Andrew Turner
Author: andrew
Date: Sun Apr 12 08:10:18 2015
New Revision: 281459
URL: https://svnweb.freebsd.org/changeset/base/281459

Log:
  Switch to the new v6 pmap code to increase its testing. It will now be
  built as part of universe.

Modified:
  head/sys/arm/conf/VIRT

Modified: head/sys/arm/conf/VIRT
==
--- head/sys/arm/conf/VIRT  Sun Apr 12 07:24:10 2015(r281458)
+++ head/sys/arm/conf/VIRT  Sun Apr 12 08:10:18 2015(r281459)
@@ -57,6 +57,7 @@ options   KBD_INSTALL_CDEV# install a CD
 optionsPLATFORM
 optionsFREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
 optionsVFP # Enable floating point hardware support
+optionsARM_NEW_PMAP# Enable the new v6 pmap
 
 # Debugging for use in -current
 makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281461 - head/usr.bin/iscsictl

2015-04-12 Thread Edward Tomasz Napierala
Author: trasz
Date: Sun Apr 12 09:36:50 2015
New Revision: 281461
URL: https://svnweb.freebsd.org/changeset/base/281461

Log:
  Add libxo(3) support to iscsictl(8).
  
  PR:   198396
  Submitted by: Marie Helene Kvello-Aune marieheleneka at gmail.com
  MFC after:1 month
  Sponsored by: The FreeBSD Foundation

Modified:
  head/usr.bin/iscsictl/Makefile
  head/usr.bin/iscsictl/iscsictl.c
  head/usr.bin/iscsictl/parse.y
  head/usr.bin/iscsictl/periphs.c

Modified: head/usr.bin/iscsictl/Makefile
==
--- head/usr.bin/iscsictl/Makefile  Sun Apr 12 08:19:04 2015
(r281460)
+++ head/usr.bin/iscsictl/Makefile  Sun Apr 12 09:36:50 2015
(r281461)
@@ -6,6 +6,8 @@ CFLAGS+=-I${.CURDIR}
 CFLAGS+=   -I${.CURDIR}/../../sys/dev/iscsi
 MAN=   iscsi.conf.5 iscsictl.8
 
+LIBADD=xo
+
 YFLAGS+=   -v
 LFLAGS+=   -i
 CLEANFILES=y.tab.c y.tab.h y.output

Modified: head/usr.bin/iscsictl/iscsictl.c
==
--- head/usr.bin/iscsictl/iscsictl.cSun Apr 12 08:19:04 2015
(r281460)
+++ head/usr.bin/iscsictl/iscsictl.cSun Apr 12 09:36:50 2015
(r281461)
@@ -36,7 +36,6 @@ __FBSDID($FreeBSD$);
 #include sys/linker.h
 #include assert.h
 #include ctype.h
-#include err.h
 #include errno.h
 #include fcntl.h
 #include limits.h
@@ -44,6 +43,7 @@ __FBSDID($FreeBSD$);
 #include stdlib.h
 #include string.h
 #include unistd.h
+#include libxo/xo.h
 
 #include iscsi_ioctl.h
 #include iscsictl.h
@@ -55,7 +55,7 @@ conf_new(void)
 
conf = calloc(1, sizeof(*conf));
if (conf == NULL)
-   err(1, calloc);
+   xo_err(1, calloc);
 
TAILQ_INIT(conf-conf_targets);
 
@@ -83,7 +83,7 @@ target_new(struct conf *conf)
 
targ = calloc(1, sizeof(*targ));
if (targ == NULL)
-   err(1, calloc);
+   xo_err(1, calloc);
targ-t_conf = conf;
TAILQ_INSERT_TAIL(conf-conf_targets, targ, t_next);
 
@@ -110,12 +110,12 @@ default_initiator_name(void)
 
name = calloc(1, namelen + 1);
if (name == NULL)
-   err(1, calloc);
+   xo_err(1, calloc);
strcpy(name, DEFAULT_IQN);
error = gethostname(name + strlen(DEFAULT_IQN),
namelen - strlen(DEFAULT_IQN));
if (error != 0)
-   err(1, gethostname);
+   xo_err(1, gethostname);
 
return (name);
 }
@@ -158,7 +158,7 @@ valid_iscsi_name(const char *name)
int i;
 
if (strlen(name) = MAX_NAME_LEN) {
-   warnx(overlong name for \%s\; max length allowed 
+   xo_warnx(overlong name for \%s\; max length allowed 
by iSCSI specification is %d characters,
name, MAX_NAME_LEN);
return (false);
@@ -178,7 +178,7 @@ valid_iscsi_name(const char *name)
continue;
if (name[i] == '-' || name[i] == '.' || name[i] == ':')
continue;
-   warnx(invalid character \%c\ in iSCSI name 
+   xo_warnx(invalid character \%c\ in iSCSI name 
\%s\; allowed characters are letters, digits, 
'-', '.', and ':', name[i], name);
break;
@@ -188,12 +188,12 @@ valid_iscsi_name(const char *name)
 */
} else if (strncasecmp(name, eui., strlen(eui.)) == 0) {
if (strlen(name) != strlen(eui.) + 16)
-   warnx(invalid iSCSI name \%s\; the \eui.\ 
+   xo_warnx(invalid iSCSI name \%s\; the \eui.\ 
should be followed by exactly 16 hexadecimal 
digits, name);
for (i = strlen(eui.); name[i] != '\0'; i++) {
if (!valid_hex(name[i])) {
-   warnx(invalid character \%c\ in iSCSI 
+   xo_warnx(invalid character \%c\ in iSCSI 
name \%s\; allowed characters are 1-9 
and A-F, name[i], name);
break;
@@ -201,19 +201,19 @@ valid_iscsi_name(const char *name)
}
} else if (strncasecmp(name, naa., strlen(naa.)) == 0) {
if (strlen(name)  strlen(naa.) + 32)
-   warnx(invalid iSCSI name \%s\; the \naa.\ 
+   xo_warnx(invalid iSCSI name \%s\; the \naa.\ 
should be followed by at most 32 hexadecimal 
digits, name);
for (i = strlen(naa.); name[i] != '\0'; i++) {
if (!valid_hex(name[i])) {
-   warnx(invalid character \%c\ in ISCSI 
+  

svn commit: r281467 - head/usr.sbin/bluetooth/hccontrol

2015-04-12 Thread Takanori Watanabe
Author: takawata
Date: Sun Apr 12 14:38:18 2015
New Revision: 281467
URL: https://svnweb.freebsd.org/changeset/base/281467

Log:
  Add HCI/LMP revision information.

Modified:
  head/usr.sbin/bluetooth/hccontrol/util.c

Modified: head/usr.sbin/bluetooth/hccontrol/util.c
==
--- head/usr.sbin/bluetooth/hccontrol/util.cSun Apr 12 13:00:58 2015
(r281466)
+++ head/usr.sbin/bluetooth/hccontrol/util.cSun Apr 12 14:38:18 2015
(r281467)
@@ -152,7 +152,12 @@ hci_ver2str(int ver)
/* 0x00 */ Bluetooth HCI Specification 1.0B,
/* 0x01 */ Bluetooth HCI Specification 1.1,
/* 0x02 */ Bluetooth HCI Specification 1.2,
-   /* 0x03 */ Bluetooth HCI Specification 2.0
+   /* 0x03 */ Bluetooth HCI Specification 2.0,
+   /* 0x04 */ Bluetooth HCI Specification 2.1,
+   /* 0x05 */ Bluetooth HCI Specification 3.0,
+   /* 0x06 */ Bluetooth HCI Specification 4.0,
+   /* 0x07 */ Bluetooth HCI Specification 4.1,
+   /* 0x08 */ Bluetooth HCI Specification 4.2
};
 
return (ver = SIZE(t)? ? : t[ver]);
@@ -165,7 +170,12 @@ hci_lmpver2str(int ver)
/* 0x00 */ Bluetooth LMP 1.0,
/* 0x01 */ Bluetooth LMP 1.1,
/* 0x02 */ Bluetooth LMP 1.2,
-   /* 0x03 */ Bluetooth LMP 2.0
+   /* 0x03 */ Bluetooth LMP 2.0,
+   /* 0x04 */ Bluetooth LMP 2.1,
+   /* 0x04 */ Bluetooth LMP 3.0,
+   /* 0x04 */ Bluetooth LMP 4.0,
+   /* 0x04 */ Bluetooth LMP 4.1,
+   /* 0x04 */ Bluetooth LMP 4.2  
};
 
return (ver = SIZE(t)? ? : t[ver]);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281463 - head/sys/sys

2015-04-12 Thread Mark Murray
Author: markm
Date: Sun Apr 12 11:23:59 2015
New Revision: 281463
URL: https://svnweb.freebsd.org/changeset/base/281463

Log:
  Fix a very minor typo.

Modified:
  head/sys/sys/module.h

Modified: head/sys/sys/module.h
==
--- head/sys/sys/module.h   Sun Apr 12 10:28:15 2015(r281462)
+++ head/sys/sys/module.h   Sun Apr 12 11:23:59 2015(r281463)
@@ -71,7 +71,7 @@ typedef union modspecific {
 } modspecific_t;
 
 /*
- * Module dependency declarartion
+ * Module dependency declaration
  */
 struct mod_depend {
int md_ver_minimum;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281466 - in head/sys: arm/conf conf dev/psci

2015-04-12 Thread Andrew Turner
Author: andrew
Date: Sun Apr 12 13:00:58 2015
New Revision: 281466
URL: https://svnweb.freebsd.org/changeset/base/281466

Log:
  Add a driver for the ARM Power State Coordination Interface (PSCI). This
  handles versions 0.1 and 0.2 of the standard on 32-bit ARM.
  
  With this driver we can shutdown in QEMU. Further work is needed to
  turn secondary cores on on boot and to support later revisions of the
  specification.
  
  Submitted by: Robin Randhawa Robin.Randhawa at ARM.com
  Sponsored by: The FreeBSD Foundation

Added:
  head/sys/dev/psci/
  head/sys/dev/psci/psci.c   (contents, props changed)
  head/sys/dev/psci/psci.h   (contents, props changed)
  head/sys/dev/psci/psci_arm.S   (contents, props changed)
Modified:
  head/sys/arm/conf/VIRT
  head/sys/conf/files.arm

Modified: head/sys/arm/conf/VIRT
==
--- head/sys/arm/conf/VIRT  Sun Apr 12 12:31:19 2015(r281465)
+++ head/sys/arm/conf/VIRT  Sun Apr 12 13:00:58 2015(r281466)
@@ -82,6 +82,7 @@ deviceuart
 device pty
 device snp
 device pl011
+device psci
 
 device virtio  

 
 device virtio_mmio 

 

Modified: head/sys/conf/files.arm
==
--- head/sys/conf/files.arm Sun Apr 12 12:31:19 2015(r281465)
+++ head/sys/conf/files.arm Sun Apr 12 13:00:58 2015(r281466)
@@ -85,6 +85,8 @@ dev/fdt/fdt_arm_platform.coptionalplat
 dev/hwpmc/hwpmc_arm.c  optionalhwpmc
 dev/hwpmc/hwpmc_armv7.coptionalhwpmc armv6
 dev/kbd/kbd.c  optionalsc | vt
+dev/psci/psci.coptionalpsci
+dev/psci/psci_arm.Soptionalpsci
 dev/syscons/scgfbrndr.coptionalsc
 dev/syscons/scterm-teken.c optionalsc
 dev/syscons/scvtb.coptionalsc

Added: head/sys/dev/psci/psci.c
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/dev/psci/psci.cSun Apr 12 13:00:58 2015(r281466)
@@ -0,0 +1,286 @@
+/*-
+ * Copyright (c) 2014 Robin Randhawa
+ * 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 code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
+
+/*
+ * This implements support for ARM's Power State Co-ordination Interface
+ * [PSCI]. The implementation adheres to version 0.2 of the PSCI specification
+ * but also supports v0.1. PSCI standardizes operations such as system reset, 
CPU
+ * on/off/suspend. PSCI requires a compliant firmware implementation.
+ *
+ * The PSCI specification used for this implementation is available at:
+ *
+ * 
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0022b/index.html.
+ *
+ * TODO:
+ * - Add support for remaining PSCI calls [this implementation only
+ *   supports get_version, system_reset and cpu_on].
+ */
+
+#include sys/cdefs.h
+__FBSDID($FreeBSD$);
+
+#include sys/param.h
+#include sys/systm.h
+#include sys/bus.h
+#include sys/eventhandler.h
+#include sys/kernel.h
+#include sys/module.h
+#include sys/reboot.h
+
+#include machine/bus.h
+
+#include dev/fdt/fdt_common.h
+#include dev/ofw/openfirm.h
+#include dev/ofw/ofw_bus.h
+#include dev/ofw/ofw_bus_subr.h
+
+#include dev/psci/psci.h
+
+struct psci_softc {
+   device_t

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

2015-04-12 Thread Konstantin Belousov
Author: kib
Date: Sun Apr 12 10:28:15 2015
New Revision: 281462
URL: https://svnweb.freebsd.org/changeset/base/281462

Log:
  Define capabilities bits from the revision 007 of the document 302223
  Intelб╝ Processor Vendor-Specific ACPI Interface Specification,
  issied Dec 2014.  Previous revision 005 was from Sep 2006.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:1 week

Modified:
  head/sys/dev/acpica/acpivar.h

Modified: head/sys/dev/acpica/acpivar.h
==
--- head/sys/dev/acpica/acpivar.h   Sun Apr 12 09:36:50 2015
(r281461)
+++ head/sys/dev/acpica/acpivar.h   Sun Apr 12 10:28:15 2015
(r281462)
@@ -185,7 +185,7 @@ extern struct mtx   acpi_mutex;
  * Various features and capabilities for the acpi_get_features() method.
  * In particular, these are used for the ACPI 3.0 _PDC and _OSC methods.
  * See the Intel document titled Intel Processor Vendor-Specific ACPI,
- * number 302223-005.
+ * number 302223-007.
  */
 #defineACPI_CAP_PERF_MSRS  (1  0)  /* Intel SpeedStep PERF_CTL 
MSRs */
 #defineACPI_CAP_C1_IO_HALT (1  1)  /* Intel C1 IO then halt 
sequence */
@@ -198,6 +198,9 @@ extern struct mtx   acpi_mutex;
 #defineACPI_CAP_SMP_C1_NATIVE  (1  8)  /* MP C1 support other than 
halt */
 #defineACPI_CAP_SMP_C3_NATIVE  (1  9)  /* MP C2 and C3 support */
 #defineACPI_CAP_PX_HW_COORD(1  11) /* Intel P-state HW 
coordination */
+#defineACPI_CAP_INTR_CPPC  (1  12) /* Native Interrupt Handling 
for
+Collaborative Processor Performance Control notifications */
+#defineACPI_CAP_HW_DUTY_C  (1  13) /* Hardware Duty Cycling */
 
 /*
  * Quirk flags.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r281469 - head/sys/sys

2015-04-12 Thread Pedro F. Giffuni
Author: pfg
Date: Sun Apr 12 16:43:55 2015
New Revision: 281469
URL: https://svnweb.freebsd.org/changeset/base/281469

Log:
  Add definition for the gcc gnu_inline attribute.
  
  This uses a non-standard (who would guess that) inlining method
  that is useful for legacy GNU software. This attribute was added
  in GCC 4.1.3. Older versions of clang would just ignore the
  attribute but as lately it is supported also there.
  
  This is currently unused but it is required for the
  FORTIFY_SOURCE extension.

Modified:
  head/sys/sys/cdefs.h

Modified: head/sys/sys/cdefs.h
==
--- head/sys/sys/cdefs.hSun Apr 12 15:08:41 2015(r281468)
+++ head/sys/sys/cdefs.hSun Apr 12 16:43:55 2015(r281469)
@@ -375,8 +375,10 @@
 #endif
 
 #if __GNUC_PREREQ__(4, 1)
+#define__gnu_inline__attribute__((__gnu_inline__))
 #define__returns_twice __attribute__((__returns_twice__))
 #else
+#define__gnu_inline
 #define__returns_twice
 #endif
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281468 - head/usr.sbin/bluetooth/hccontrol

2015-04-12 Thread Takanori Watanabe
Author: takawata
Date: Sun Apr 12 15:08:41 2015
New Revision: 281468
URL: https://svnweb.freebsd.org/changeset/base/281468

Log:
  Accept LE event on hccontrol socket.

Modified:
  head/usr.sbin/bluetooth/hccontrol/hccontrol.c

Modified: head/usr.sbin/bluetooth/hccontrol/hccontrol.c
==
--- head/usr.sbin/bluetooth/hccontrol/hccontrol.c   Sun Apr 12 14:38:18 
2015(r281467)
+++ head/usr.sbin/bluetooth/hccontrol/hccontrol.c   Sun Apr 12 15:08:41 
2015(r281468)
@@ -144,6 +144,7 @@ socket_open(char const *node)
bit_set(filter.event_mask, NG_HCI_EVENT_READ_CLOCK_OFFSET_COMPL - 1);
bit_set(filter.event_mask, NG_HCI_EVENT_CON_PKT_TYPE_CHANGED - 1);
bit_set(filter.event_mask, NG_HCI_EVENT_ROLE_CHANGE - 1);
+   bit_set(filter.event_mask, NG_HCI_EVENT_LE -1);
 
if (setsockopt(s, SOL_HCI_RAW, SO_HCI_RAW_FILTER, 
(void * const) filter, sizeof(filter))  0)
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r281352 - head/sys/netinet

2015-04-12 Thread George Neville-Neil


On 10 Apr 2015, at 15:06, Adrian Chadd wrote:

 I don't want to get this bikeshed going again, but: this is just
 hashing on the ip src/ip_id, and only for fragments. For now i think
 it's okay to leave as jenkins.

 Let's bikeshed it with more data about how it behaves when doing frag
 assembly :)


Even I agree.  For now this is fine, we can improve it with a new hash later.

Best,
George
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281470 - head/lib/libc/sys

2015-04-12 Thread Sergey Kandaurov
Author: pluknet
Date: Sun Apr 12 21:14:58 2015
New Revision: 281470
URL: https://svnweb.freebsd.org/changeset/base/281470

Log:
  Remove obsolete bits about maximum number of file systems.
  NMOUNT has gone together with static mount table in 4.3BSD-Reno.
  
  MFC after:1 week

Modified:
  head/lib/libc/sys/mount.2

Modified: head/lib/libc/sys/mount.2
==
--- head/lib/libc/sys/mount.2   Sun Apr 12 16:43:55 2015(r281469)
+++ head/lib/libc/sys/mount.2   Sun Apr 12 21:14:58 2015(r281470)
@@ -28,7 +28,7 @@
 .\ @(#)mount.28.3 (Berkeley) 5/24/95
 .\ $FreeBSD$
 .\
-.Dd January 26, 2010
+.Dd April 13, 2015
 .Dt MOUNT 2
 .Os
 .Sh NAME
@@ -351,11 +351,6 @@ The
 argument
 points outside the process's allocated address space.
 .El
-.Pp
-A
-.Em ufs
-mount can also fail if the maximum number of file systems are currently
-mounted.
 .Sh SEE ALSO
 .Xr lsvfs 1 ,
 .Xr mksnap_ffs 8 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r281475 - head/sys/x86/acpica

2015-04-12 Thread Jung-uk Kim
Author: jkim
Date: Sun Apr 12 22:40:27 2015
New Revision: 281475
URL: https://svnweb.freebsd.org/changeset/base/281475

Log:
  Fix build on i386.
  
  Reported by:  bz

Modified:
  head/sys/x86/acpica/OsdEnvironment.c

Modified: head/sys/x86/acpica/OsdEnvironment.c
==
--- head/sys/x86/acpica/OsdEnvironment.cSun Apr 12 21:45:34 2015
(r281474)
+++ head/sys/x86/acpica/OsdEnvironment.cSun Apr 12 22:40:27 2015
(r281475)
@@ -68,7 +68,7 @@ acpi_get_root_from_loader(void)
 static u_long
 acpi_get_root_from_memory(void)
 {
-   ACPI_SIZE acpi_root;
+   ACPI_PHYSICAL_ADDRESS acpi_root;
 
if (ACPI_SUCCESS(AcpiFindRootPointer(acpi_root)))
return (acpi_root);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org