svn commit: r359158 - in head/sys/dev: rtwn/usb usb

2020-03-19 Thread Gavin Atkinson
Author: gavin
Date: Fri Mar 20 04:13:39 2020
New Revision: 359158
URL: https://svnweb.freebsd.org/changeset/base/359158

Log:
  Add new USB device ID for Elecom 802.11ac USB device.
  
  MFC after:2 weeks

Modified:
  head/sys/dev/rtwn/usb/rtwn_usb_attach.h
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/rtwn/usb/rtwn_usb_attach.h
==
--- head/sys/dev/rtwn/usb/rtwn_usb_attach.h Fri Mar 20 03:15:23 2020
(r359157)
+++ head/sys/dev/rtwn/usb/rtwn_usb_attach.h Fri Mar 20 04:13:39 2020
(r359158)
@@ -154,6 +154,7 @@ static const STRUCT_USB_HOST_ID rtwn_devs[] = {
RTWN_RTL8821AU_DEV(DLINK,   DWA172A1),
RTWN_RTL8821AU_DEV(EDIMAX,  EW7811UTC_1),
RTWN_RTL8821AU_DEV(EDIMAX,  EW7811UTC_2),
+   RTWN_RTL8821AU_DEV(ELECOM,  WDB433SU2M2),
RTWN_RTL8821AU_DEV(HAWKING, HD65U),
RTWN_RTL8821AU_DEV(MELCO,   WIU2433DM),
RTWN_RTL8821AU_DEV(NETGEAR, A6100),

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsFri Mar 20 03:15:23 2020(r359157)
+++ head/sys/dev/usb/usbdevsFri Mar 20 04:13:39 2020(r359158)
@@ -1857,6 +1857,7 @@ product ELECOM LDUSBTX1   0x4002  LD-USB/TX
 product ELECOM LDUSBLTX0x4005  LD-USBL/TX
 product ELECOM WDC150SU2M  0x4008  WDC-150SU2M
 product ELECOM LDUSBTX20x400b  LD-USB/TX
+product ELECOM WDB433SU2M2 0x400f  WDB-433SU2M2
 product ELECOM LDUSB20 0x4010  LD-USB20
 product ELECOM UCSGT   0x5003  UC-SGT
 product ELECOM UCSGT0  0x5004  UC-SGT
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r343844 - in head/sys/dev/usb: . net

2019-02-06 Thread Gavin Atkinson
Author: gavin
Date: Wed Feb  6 20:18:22 2019
New Revision: 343844
URL: https://svnweb.freebsd.org/changeset/base/343844

Log:
  Support the Lenovo OneLink in ure(4).
  
  MFC after:1 week

Modified:
  head/sys/dev/usb/net/if_ure.c
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/usb/net/if_ure.c
==
--- head/sys/dev/usb/net/if_ure.c   Wed Feb  6 19:22:15 2019
(r343843)
+++ head/sys/dev/usb/net/if_ure.c   Wed Feb  6 20:18:22 2019
(r343844)
@@ -69,6 +69,7 @@ static const STRUCT_USB_HOST_ID ure_devs[] = {
 #defineURE_DEV(v,p,i)  { USB_VPI(USB_VENDOR_##v, 
USB_PRODUCT_##v##_##p, i) }
URE_DEV(LENOVO, RTL8153, 0),
URE_DEV(LENOVO, TBT3LAN, 0),
+   URE_DEV(LENOVO, ONELINK, 0),
URE_DEV(LENOVO, USBCLAN, 0),
URE_DEV(NVIDIA, RTL8153, 0),
URE_DEV(REALTEK, RTL8152, URE_FLAG_8152),

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsWed Feb  6 19:22:15 2019(r343843)
+++ head/sys/dev/usb/usbdevsWed Feb  6 20:18:22 2019(r343844)
@@ -2782,6 +2782,7 @@ product LEADTEK 9531  0x2101  9531 GPS
 product LENOVO GIGALAN 0x304b  USB 3.0 Ethernet
 product LENOVO ETHERNET0x7203  USB 2.0 Ethernet
 product LENOVO RTL8153 0x7205  USB 3.0 Ethernet
+product LENOVO ONELINK 0x720a  USB 3.0 Ethernet
 product LENOVO TBT3LAN 0x3069  LAN port in Thinkpad TB3 dock
 product LENOVO USBCLAN 0x3062  LAN port in Thinkpad USB-C dock
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r336578 - in head/sys/dev/usb: . wlan

2018-07-21 Thread Gavin Atkinson
Author: gavin
Date: Sat Jul 21 14:56:15 2018
New Revision: 336578
URL: https://svnweb.freebsd.org/changeset/base/336578

Log:
  run(4): Support the D-Link DWA-125 rev A3
  
  Submitted by: Ali Mashtizadeh
  MFC after:3 days
  Differential Revision:https://reviews.freebsd.org/D16029

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

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsSat Jul 21 14:20:17 2018(r336577)
+++ head/sys/dev/usb/usbdevsSat Jul 21 14:56:15 2018(r336578)
@@ -1704,6 +1704,7 @@ product DLINK DUBE100B1   0x3c05  DUB-E100 rev B1
 product DLINK RT2870   0x3c09  RT2870
 product DLINK RT3072   0x3c0a  RT3072
 product DLINK DWA140B3 0x3c15  DWA-140 rev B3
+product DLINK DWA125A3 0x3c19  DWA-125 rev A3
 product DLINK DWA160B2 0x3c1a  DWA-160 rev B2
 product DLINK DWA127   0x3c1b  DWA-127 Wireless Adapter
 product DLINK DWA162   0x3c1f  DWA-162 Wireless Adapter

Modified: head/sys/dev/usb/wlan/if_run.c
==
--- head/sys/dev/usb/wlan/if_run.c  Sat Jul 21 14:20:17 2018
(r336577)
+++ head/sys/dev/usb/wlan/if_run.c  Sat Jul 21 14:56:15 2018
(r336578)
@@ -208,6 +208,7 @@ static const STRUCT_USB_HOST_ID run_devs[] = {
 RUN_DEV(CYBERTAN,  RT2870),
 RUN_DEV(DLINK, RT2870),
 RUN_DEV(DLINK, RT3072),
+RUN_DEV(DLINK, DWA125A3),
 RUN_DEV(DLINK, DWA127),
 RUN_DEV(DLINK, DWA140B3),
 RUN_DEV(DLINK, DWA160B2),
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r325594 - head/sys/ddb

2017-11-09 Thread Gavin Atkinson
Author: gavin
Date: Thu Nov  9 13:38:24 2017
New Revision: 325594
URL: https://svnweb.freebsd.org/changeset/base/325594

Log:
  Point people towards our https web site for documentation, http accesses are
  just redirected anyway.
  
  MFC after:1 week

Modified:
  head/sys/ddb/db_command.c

Modified: head/sys/ddb/db_command.c
==
--- head/sys/ddb/db_command.c   Thu Nov  9 13:38:17 2017(r325593)
+++ head/sys/ddb/db_command.c   Thu Nov  9 13:38:24 2017(r325594)
@@ -398,7 +398,7 @@ db_command(struct command **last_cmdp, struct command_
case CMD_HELP:
if (cmd_table == _cmd_table) {
db_printf("This is ddb(4), the kernel debugger; "
-   "see http://man.freebsd.org/ddb/4 for help.\n");
+   "see https://man.FreeBSD.org/ddb/4 for 
help.\n");
db_printf("Use \"bt\" for backtrace, \"dump\" for "
"kernel core dump, \"reset\" to reboot.\n");
db_printf("Available commands:\n");
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r321932 - stable/10/sys/dev/ichsmb

2017-08-02 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug  2 15:13:13 2017
New Revision: 321932
URL: https://svnweb.freebsd.org/changeset/base/321932

Log:
  Merge r316113,316184,316413 from head:
   - Remove #define PCIS_SERIALBUS_SMBUS_PROGIF, unused since r200091
   - Switch device_probe() from large case statement to a lookup table
   - Add several missing SMBus controllers

Modified:
  stable/10/sys/dev/ichsmb/ichsmb_pci.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/ichsmb/ichsmb_pci.c
==
--- stable/10/sys/dev/ichsmb/ichsmb_pci.c   Wed Aug  2 15:11:06 2017
(r321931)
+++ stable/10/sys/dev/ichsmb/ichsmb_pci.c   Wed Aug  2 15:13:13 2017
(r321932)
@@ -67,35 +67,89 @@ __FBSDID("$FreeBSD$");
 #include 
 
 /* PCI unique identifiers */
-#define ID_82801AA 0x24138086
-#define ID_82801AB 0x24238086
-#define ID_82801BA 0x24438086
-#define ID_82801CA 0x24838086
-#define ID_82801DC 0x24C38086
-#define ID_82801EB 0x24D38086
-#define ID_82801FB 0x266A8086
-#define ID_82801GB 0x27da8086
-#define ID_82801H  0x283e8086
-#define ID_82801I  0x29308086
-#define ID_82801JI 0x3a308086
-#define ID_PCH 0x3b308086
-#define ID_6300ESB 0x25a48086
-#defineID_631xESB  0x269b8086
-#define ID_DH89XXCC0x23308086
-#define ID_PATSBURG0x1d228086
-#define ID_CPT 0x1c228086
-#define ID_PPT 0x1e228086
-#define ID_AVOTON  0x1f3c8086
-#define ID_COLETOCRK   0x23B08086
-#define ID_LPT 0x8c228086
-#define ID_LPTLP   0x9c228086
-#define ID_WCPT0x8ca28086
-#define ID_WCPTLP  0x9ca28086
-#defineID_WELLSBURG0x8d228086
-#defineID_SRPT 0xa1238086
-#defineID_SRPTLP   0x9d238086
+#definePCI_VENDOR_INTEL0x8086
+#defineID_82801AA  0x2413
+#defineID_82801AB  0x2423
+#defineID_82801BA  0x2443
+#defineID_82801CA  0x2483
+#defineID_82801DC  0x24C3
+#defineID_82801EB  0x24D3
+#defineID_82801FB  0x266A
+#defineID_82801GB  0x27da
+#defineID_82801H   0x283e
+#defineID_82801I   0x2930
+#defineID_EP80579  0x5032
+#defineID_82801JI  0x3a30
+#defineID_82801JD  0x3a60
+#defineID_PCH  0x3b30
+#defineID_6300ESB  0x25a4
+#defineID_631xESB  0x269b
+#defineID_DH89XXCC 0x2330
+#defineID_PATSBURG 0x1d22
+#defineID_CPT  0x1c22
+#defineID_PPT  0x1e22
+#defineID_AVOTON   0x1f3c
+#defineID_COLETOCRK0x23B0
+#defineID_LPT  0x8c22
+#defineID_LPTLP0x9c22
+#defineID_WCPT 0x8ca2
+#defineID_WCPTLP   0x9ca2
+#defineID_BAYTRAIL 0x0f12
+#defineID_BRASWELL 0x2292
+#defineID_WELLSBURG0x8d22
+#defineID_SRPT 0xa123
+#defineID_SRPTLP   0x9d23
+#defineID_DENVERTON0x19df
+#defineID_BROXTON  0x5ad4
+#defineID_LEWISBURG0xa1a3
+#defineID_LEWISBURG2   0xa223
+#defineID_KABYLAKE 0xa2a3
 
-#define PCIS_SERIALBUS_SMBUS_PROGIF0x00
+static const struct ichsmb_device {
+   uint16_tid;
+   const char  *name;
+} ichsmb_devices[] = {
+   { ID_82801AA,   "Intel 82801AA (ICH) SMBus controller"  },
+   { ID_82801AB,   "Intel 82801AB (ICH0) SMBus controller" },
+   { ID_82801BA,   "Intel 82801BA (ICH2) SMBus controller" },
+   { ID_82801CA,   "Intel 82801CA (ICH3) SMBus controller" },
+   { ID_82801DC,   "Intel 82801DC (ICH4) SMBus controller" },
+   { ID_82801EB,   "Intel 82801EB (ICH5) SMBus controller" },
+   { ID_82801FB,   "Intel 82801FB (ICH6) SMBus controller" },
+   

svn commit: r321931 - stable/11/sys/dev/ichsmb

2017-08-02 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug  2 15:11:06 2017
New Revision: 321931
URL: https://svnweb.freebsd.org/changeset/base/321931

Log:
  Merge r316113,316184,316413 from head:
   - Remove #define PCIS_SERIALBUS_SMBUS_PROGIF, unused since r200091
   - Switch device_probe() from large case statement to a lookup table
   - Add several missing SMBus controllers

Modified:
  stable/11/sys/dev/ichsmb/ichsmb_pci.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/ichsmb/ichsmb_pci.c
==
--- stable/11/sys/dev/ichsmb/ichsmb_pci.c   Wed Aug  2 14:54:54 2017
(r321930)
+++ stable/11/sys/dev/ichsmb/ichsmb_pci.c   Wed Aug  2 15:11:06 2017
(r321931)
@@ -67,35 +67,89 @@ __FBSDID("$FreeBSD$");
 #include 
 
 /* PCI unique identifiers */
-#define ID_82801AA 0x24138086
-#define ID_82801AB 0x24238086
-#define ID_82801BA 0x24438086
-#define ID_82801CA 0x24838086
-#define ID_82801DC 0x24C38086
-#define ID_82801EB 0x24D38086
-#define ID_82801FB 0x266A8086
-#define ID_82801GB 0x27da8086
-#define ID_82801H  0x283e8086
-#define ID_82801I  0x29308086
-#define ID_82801JI 0x3a308086
-#define ID_PCH 0x3b308086
-#define ID_6300ESB 0x25a48086
-#defineID_631xESB  0x269b8086
-#define ID_DH89XXCC0x23308086
-#define ID_PATSBURG0x1d228086
-#define ID_CPT 0x1c228086
-#define ID_PPT 0x1e228086
-#define ID_AVOTON  0x1f3c8086
-#define ID_COLETOCRK   0x23B08086
-#define ID_LPT 0x8c228086
-#define ID_LPTLP   0x9c228086
-#define ID_WCPT0x8ca28086
-#define ID_WCPTLP  0x9ca28086
-#defineID_WELLSBURG0x8d228086
-#defineID_SRPT 0xa1238086
-#defineID_SRPTLP   0x9d238086
+#definePCI_VENDOR_INTEL0x8086
+#defineID_82801AA  0x2413
+#defineID_82801AB  0x2423
+#defineID_82801BA  0x2443
+#defineID_82801CA  0x2483
+#defineID_82801DC  0x24C3
+#defineID_82801EB  0x24D3
+#defineID_82801FB  0x266A
+#defineID_82801GB  0x27da
+#defineID_82801H   0x283e
+#defineID_82801I   0x2930
+#defineID_EP80579  0x5032
+#defineID_82801JI  0x3a30
+#defineID_82801JD  0x3a60
+#defineID_PCH  0x3b30
+#defineID_6300ESB  0x25a4
+#defineID_631xESB  0x269b
+#defineID_DH89XXCC 0x2330
+#defineID_PATSBURG 0x1d22
+#defineID_CPT  0x1c22
+#defineID_PPT  0x1e22
+#defineID_AVOTON   0x1f3c
+#defineID_COLETOCRK0x23B0
+#defineID_LPT  0x8c22
+#defineID_LPTLP0x9c22
+#defineID_WCPT 0x8ca2
+#defineID_WCPTLP   0x9ca2
+#defineID_BAYTRAIL 0x0f12
+#defineID_BRASWELL 0x2292
+#defineID_WELLSBURG0x8d22
+#defineID_SRPT 0xa123
+#defineID_SRPTLP   0x9d23
+#defineID_DENVERTON0x19df
+#defineID_BROXTON  0x5ad4
+#defineID_LEWISBURG0xa1a3
+#defineID_LEWISBURG2   0xa223
+#defineID_KABYLAKE 0xa2a3
 
-#define PCIS_SERIALBUS_SMBUS_PROGIF0x00
+static const struct ichsmb_device {
+   uint16_tid;
+   const char  *name;
+} ichsmb_devices[] = {
+   { ID_82801AA,   "Intel 82801AA (ICH) SMBus controller"  },
+   { ID_82801AB,   "Intel 82801AB (ICH0) SMBus controller" },
+   { ID_82801BA,   "Intel 82801BA (ICH2) SMBus controller" },
+   { ID_82801CA,   "Intel 82801CA (ICH3) SMBus controller" },
+   { ID_82801DC,   "Intel 82801DC (ICH4) SMBus controller" },
+   { ID_82801EB,   "Intel 82801EB (ICH5) SMBus controller" },
+   { ID_82801FB,   "Intel 82801FB (ICH6) SMBus controller" },
+   

svn commit: r316476 - head/sys/arm/broadcom/bcm2835

2017-04-03 Thread Gavin Atkinson
Author: gavin
Date: Mon Apr  3 22:36:45 2017
New Revision: 316476
URL: https://svnweb.freebsd.org/changeset/base/316476

Log:
  Fix spelling mistake, BCM2835_PASWORD -> BCM2835_PASSWORD

Modified:
  head/sys/arm/broadcom/bcm2835/bcm2835_wdog.c

Modified: head/sys/arm/broadcom/bcm2835/bcm2835_wdog.c
==
--- head/sys/arm/broadcom/bcm2835/bcm2835_wdog.cMon Apr  3 21:19:12 
2017(r316475)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_wdog.cMon Apr  3 22:36:45 
2017(r316476)
@@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
 
 #include 
 
-#defineBCM2835_PASWORD 0x5a
+#defineBCM2835_PASSWORD0x5a
 
 #define BCM2835_WDOG_RESET 0
 #define BCM2835_PASSWORD_MASK  0xff00
@@ -115,7 +115,7 @@ bcmwd_attach(device_t dev)
 
sc = device_get_softc(dev);
sc->wdog_period = 7;
-   sc->wdog_passwd = BCM2835_PASWORD;
+   sc->wdog_passwd = BCM2835_PASSWORD;
sc->wdog_armed = 0;
sc->dev = dev;
 
@@ -163,27 +163,27 @@ bcmwd_watchdog_fn(void *private, u_int c
device_printf(sc->dev,
"Can't arm, timeout must be between 1-15 
seconds\n");
WRITE(sc, BCM2835_RSTC_REG, 
-   (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT) |
+   (BCM2835_PASSWORD << BCM2835_PASSWORD_SHIFT) |
BCM2835_RSTC_RESET);
mtx_unlock(>mtx);
return;
}
 
ticks = (sec << 16) & BCM2835_WDOG_TIME_MASK;
-   reg = (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT) | ticks;
+   reg = (BCM2835_PASSWORD << BCM2835_PASSWORD_SHIFT) | ticks;
WRITE(sc, BCM2835_WDOG_REG, reg);
 
reg = READ(sc, BCM2835_RSTC_REG);
reg &= BCM2835_RSTC_WRCFG_CLR;
reg |= BCM2835_RSTC_WRCFG_FULL_RESET;
-   reg |= (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT);
+   reg |= (BCM2835_PASSWORD << BCM2835_PASSWORD_SHIFT);
WRITE(sc, BCM2835_RSTC_REG, reg);
 
*error = 0;
}
else
WRITE(sc, BCM2835_RSTC_REG, 
-   (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT) |
+   (BCM2835_PASSWORD << BCM2835_PASSWORD_SHIFT) |
BCM2835_RSTC_RESET);
 
mtx_unlock(>mtx);
@@ -197,11 +197,11 @@ bcmwd_watchdog_reset(void)
return;
 
WRITE(bcmwd_lsc, BCM2835_WDOG_REG,
-   (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT) | 10);
+   (BCM2835_PASSWORD << BCM2835_PASSWORD_SHIFT) | 10);
 
WRITE(bcmwd_lsc, BCM2835_RSTC_REG,
(READ(bcmwd_lsc, BCM2835_RSTC_REG) & BCM2835_RSTC_WRCFG_CLR) |
-   (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT) |
+   (BCM2835_PASSWORD << BCM2835_PASSWORD_SHIFT) |
BCM2835_RSTC_WRCFG_FULL_RESET);
 }
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r316413 - head/sys/dev/ichsmb

2017-04-02 Thread Gavin Atkinson
Author: gavin
Date: Sun Apr  2 11:36:25 2017
New Revision: 316413
URL: https://svnweb.freebsd.org/changeset/base/316413

Log:
  Add IDs for several missing Intel SMBus controllers.
  
  Obtained from:Data sheets, Linux defines, local hardware
  MFH:  2 weeks

Modified:
  head/sys/dev/ichsmb/ichsmb_pci.c

Modified: head/sys/dev/ichsmb/ichsmb_pci.c
==
--- head/sys/dev/ichsmb/ichsmb_pci.cSun Apr  2 11:32:05 2017
(r316412)
+++ head/sys/dev/ichsmb/ichsmb_pci.cSun Apr  2 11:36:25 2017
(r316413)
@@ -78,7 +78,9 @@ __FBSDID("$FreeBSD$");
 #defineID_82801GB  0x27da
 #defineID_82801H   0x283e
 #defineID_82801I   0x2930
+#defineID_EP80579  0x5032
 #defineID_82801JI  0x3a30
+#defineID_82801JD  0x3a60
 #defineID_PCH  0x3b30
 #defineID_6300ESB  0x25a4
 #defineID_631xESB  0x269b
@@ -92,9 +94,16 @@ __FBSDID("$FreeBSD$");
 #defineID_LPTLP0x9c22
 #defineID_WCPT 0x8ca2
 #defineID_WCPTLP   0x9ca2
+#defineID_BAYTRAIL 0x0f12
+#defineID_BRASWELL 0x2292
 #defineID_WELLSBURG0x8d22
 #defineID_SRPT 0xa123
 #defineID_SRPTLP   0x9d23
+#defineID_DENVERTON0x19df
+#defineID_BROXTON  0x5ad4
+#defineID_LEWISBURG0xa1a3
+#defineID_LEWISBURG2   0xa223
+#defineID_KABYLAKE 0xa2a3
 
 static const struct ichsmb_device {
uint16_tid;
@@ -113,7 +122,9 @@ static const struct ichsmb_device {
{ ID_82801GB,   "Intel 82801GB (ICH7) SMBus controller" },
{ ID_82801H,"Intel 82801H (ICH8) SMBus controller"  },
{ ID_82801I,"Intel 82801I (ICH9) SMBus controller"  },
+   { ID_EP80579,   "Intel EP80579 SMBus controller"},
{ ID_82801JI,   "Intel 82801JI (ICH10) SMBus controller"},
+   { ID_82801JD,   "Intel 82801JD (ICH10) SMBus controller"},
{ ID_PCH,   "Intel PCH SMBus controller"},
{ ID_6300ESB,   "Intel 6300ESB (ICH) SMBus controller"  },
{ ID_631xESB,   "Intel 631xESB/6321ESB (ESB2) SMBus controller" },
@@ -126,10 +137,17 @@ static const struct ichsmb_device {
{ ID_LPTLP, "Intel Lynx Point-LP SMBus controller"  },
{ ID_WCPT,  "Intel Wildcat Point SMBus controller"  },
{ ID_WCPTLP,"Intel Wildcat Point-LP SMBus controller"   },
+   { ID_BAYTRAIL,  "Intel Baytrail SMBus controller"   },
+   { ID_BRASWELL,  "Intel Braswell SMBus controller"   },
{ ID_COLETOCRK, "Intel Coleto Creek SMBus controller"   },
{ ID_WELLSBURG, "Intel Wellsburg SMBus controller"  },
{ ID_SRPT,  "Intel Sunrise Point-H SMBus controller"},
{ ID_SRPTLP,"Intel Sunrise Point-LP SMBus controller"   },
+   { ID_DENVERTON, "Intel Denverton SMBus controller"  },
+   { ID_BROXTON,   "Intel Broxton SMBus controller"},
+   { ID_LEWISBURG, "Intel Lewisburg SMBus controller"  },
+   { ID_LEWISBURG2,"Intel Lewisburg SMBus controller"  },
+   { ID_KABYLAKE,  "Intel Kaby Lake SMBus controller"  },
{ 0, NULL },
 };
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r316184 - head/sys/dev/ichsmb

2017-03-29 Thread Gavin Atkinson
Author: gavin
Date: Wed Mar 29 23:13:04 2017
New Revision: 316184
URL: https://svnweb.freebsd.org/changeset/base/316184

Log:
  ichsmb: switch device_probe() from a large case statement to a lookup table.
  The case statement was getting unmanageably large, and I'm about to add
  several more devices to it.
  
  MFC after:2 weeks

Modified:
  head/sys/dev/ichsmb/ichsmb_pci.c

Modified: head/sys/dev/ichsmb/ichsmb_pci.c
==
--- head/sys/dev/ichsmb/ichsmb_pci.cWed Mar 29 23:00:07 2017
(r316183)
+++ head/sys/dev/ichsmb/ichsmb_pci.cWed Mar 29 23:13:04 2017
(r316184)
@@ -67,33 +67,71 @@ __FBSDID("$FreeBSD$");
 #include 
 
 /* PCI unique identifiers */
-#define ID_82801AA 0x24138086
-#define ID_82801AB 0x24238086
-#define ID_82801BA 0x24438086
-#define ID_82801CA 0x24838086
-#define ID_82801DC 0x24C38086
-#define ID_82801EB 0x24D38086
-#define ID_82801FB 0x266A8086
-#define ID_82801GB 0x27da8086
-#define ID_82801H  0x283e8086
-#define ID_82801I  0x29308086
-#define ID_82801JI 0x3a308086
-#define ID_PCH 0x3b308086
-#define ID_6300ESB 0x25a48086
-#defineID_631xESB  0x269b8086
-#define ID_DH89XXCC0x23308086
-#define ID_PATSBURG0x1d228086
-#define ID_CPT 0x1c228086
-#define ID_PPT 0x1e228086
-#define ID_AVOTON  0x1f3c8086
-#define ID_COLETOCRK   0x23B08086
-#define ID_LPT 0x8c228086
-#define ID_LPTLP   0x9c228086
-#define ID_WCPT0x8ca28086
-#define ID_WCPTLP  0x9ca28086
-#defineID_WELLSBURG0x8d228086
-#defineID_SRPT 0xa1238086
-#defineID_SRPTLP   0x9d238086
+#definePCI_VENDOR_INTEL0x8086
+#defineID_82801AA  0x2413
+#defineID_82801AB  0x2423
+#defineID_82801BA  0x2443
+#defineID_82801CA  0x2483
+#defineID_82801DC  0x24C3
+#defineID_82801EB  0x24D3
+#defineID_82801FB  0x266A
+#defineID_82801GB  0x27da
+#defineID_82801H   0x283e
+#defineID_82801I   0x2930
+#defineID_82801JI  0x3a30
+#defineID_PCH  0x3b30
+#defineID_6300ESB  0x25a4
+#defineID_631xESB  0x269b
+#defineID_DH89XXCC 0x2330
+#defineID_PATSBURG 0x1d22
+#defineID_CPT  0x1c22
+#defineID_PPT  0x1e22
+#defineID_AVOTON   0x1f3c
+#defineID_COLETOCRK0x23B0
+#defineID_LPT  0x8c22
+#defineID_LPTLP0x9c22
+#defineID_WCPT 0x8ca2
+#defineID_WCPTLP   0x9ca2
+#defineID_WELLSBURG0x8d22
+#defineID_SRPT 0xa123
+#defineID_SRPTLP   0x9d23
+
+static const struct ichsmb_device {
+   uint16_tid;
+   const char  *name;
+} ichsmb_devices[] = {
+   { ID_82801AA,   "Intel 82801AA (ICH) SMBus controller"  },
+   { ID_82801AB,   "Intel 82801AB (ICH0) SMBus controller" },
+   { ID_82801BA,   "Intel 82801BA (ICH2) SMBus controller" },
+   { ID_82801CA,   "Intel 82801CA (ICH3) SMBus controller" },
+   { ID_82801DC,   "Intel 82801DC (ICH4) SMBus controller" },
+   { ID_82801EB,   "Intel 82801EB (ICH5) SMBus controller" },
+   { ID_82801FB,   "Intel 82801FB (ICH6) SMBus controller" },
+   { ID_82801GB,   "Intel 82801GB (ICH7) SMBus controller" },
+   { ID_82801H,"Intel 82801H (ICH8) SMBus controller"  },
+   { ID_82801I,"Intel 82801I (ICH9) SMBus controller"  },
+   { ID_82801GB,   "Intel 82801GB (ICH7) SMBus controller" },
+   { ID_82801H,"Intel 82801H (ICH8) SMBus controller"  },
+   { ID_82801I,"Intel 82801I (ICH9) SMBus controller"  },
+   { ID_82801JI,   "Intel 82801JI (ICH10) SMBus controller"},
+   { ID_PCH,   "Intel PCH SMBus controller"},
+   { ID_6300ESB,   "Intel 

svn commit: r316113 - head/sys/dev/ichsmb

2017-03-28 Thread Gavin Atkinson
Author: gavin
Date: Tue Mar 28 21:54:36 2017
New Revision: 316113
URL: https://svnweb.freebsd.org/changeset/base/316113

Log:
  Remove #define PCIS_SERIALBUS_SMBUS_PROGIF, unused since r200091

Modified:
  head/sys/dev/ichsmb/ichsmb_pci.c

Modified: head/sys/dev/ichsmb/ichsmb_pci.c
==
--- head/sys/dev/ichsmb/ichsmb_pci.cTue Mar 28 21:50:11 2017
(r316112)
+++ head/sys/dev/ichsmb/ichsmb_pci.cTue Mar 28 21:54:36 2017
(r316113)
@@ -95,8 +95,6 @@ __FBSDID("$FreeBSD$");
 #defineID_SRPT 0xa1238086
 #defineID_SRPTLP   0x9d238086
 
-#define PCIS_SERIALBUS_SMBUS_PROGIF0x00
-
 /* Internal functions */
 static int ichsmb_pci_probe(device_t dev);
 static int ichsmb_pci_attach(device_t dev);
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r315911 - head/sys/x86/x86

2017-03-24 Thread Gavin Atkinson
Author: gavin
Date: Fri Mar 24 16:18:20 2017
New Revision: 315911
URL: https://svnweb.freebsd.org/changeset/base/315911

Log:
  Improve grammar on a warning, and only use one line rather than two when
  printing it.

Modified:
  head/sys/x86/x86/mp_x86.c

Modified: head/sys/x86/x86/mp_x86.c
==
--- head/sys/x86/x86/mp_x86.c   Fri Mar 24 16:01:19 2017(r315910)
+++ head/sys/x86/x86/mp_x86.c   Fri Mar 24 16:18:20 2017(r315911)
@@ -209,14 +209,14 @@ add_deterministic_cache(int type, int le
 
if (caches[level - 1].id_shift > pkg_id_shift) {
printf("WARNING: L%u data cache covers more "
-   "APIC IDs than a package\n", level);
-   printf("%u > %u\n", caches[level - 1].id_shift, pkg_id_shift);
+   "APIC IDs than a package (%u > %u)\n", level,
+   caches[level - 1].id_shift, pkg_id_shift);
caches[level - 1].id_shift = pkg_id_shift;
}
if (caches[level - 1].id_shift < core_id_shift) {
-   printf("WARNING: L%u data cache covers less "
-   "APIC IDs than a core\n", level);
-   printf("%u < %u\n", caches[level - 1].id_shift, core_id_shift);
+   printf("WARNING: L%u data cache covers fewer "
+   "APIC IDs than a core (%u < %u)\n", level,
+   caches[level - 1].id_shift, core_id_shift);
caches[level - 1].id_shift = core_id_shift;
}
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r314437 - head/sys/dev/pci

2017-02-28 Thread Gavin Atkinson
Author: gavin
Date: Tue Feb 28 23:55:03 2017
New Revision: 314437
URL: https://svnweb.freebsd.org/changeset/base/314437

Log:
  Fix spelling mistake in comment, firmwrae -> firmware

Modified:
  head/sys/dev/pci/pci_pci.c

Modified: head/sys/dev/pci/pci_pci.c
==
--- head/sys/dev/pci/pci_pci.c  Tue Feb 28 23:42:47 2017(r314436)
+++ head/sys/dev/pci/pci_pci.c  Tue Feb 28 23:55:03 2017(r314437)
@@ -2849,7 +2849,7 @@ pcib_request_feature_allow(device_t pcib
 enum pci_feature feature)
 {
/*
-* No host firmwrae we have to negotiate with, so we allow
+* No host firmware we have to negotiate with, so we allow
 * every valid feature requested.
 */
switch (feature) {
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


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

2016-12-30 Thread Gavin Atkinson
Author: gavin
Date: Fri Dec 30 11:02:16 2016
New Revision: 310809
URL: https://svnweb.freebsd.org/changeset/base/310809

Log:
  Fix bit value for a debug flag definition.
  
  Pointy hat to:gavin

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 Dec 30 09:38:45 2016
(r310808)
+++ head/sys/dev/usb/wlan/if_run.c  Fri Dec 30 11:02:16 2016
(r310809)
@@ -105,7 +105,7 @@ enum {
RUN_DEBUG_RSSI  = 0x4000,   /* dump RSSI lookups */
RUN_DEBUG_RESET = 0x8000,   /* initialization progress */
RUN_DEBUG_CALIB = 0x0001,   /* calibration progress */
-   RUN_DEBUG_CMD   = 0x0001,   /* command queue */
+   RUN_DEBUG_CMD   = 0x0002,   /* command queue */
RUN_DEBUG_ANY   = 0x
 };
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r310381 - head/sys/dev/ow

2016-12-21 Thread Gavin Atkinson
Author: gavin
Date: Thu Dec 22 00:09:53 2016
New Revision: 310381
URL: https://svnweb.freebsd.org/changeset/base/310381

Log:
  ow_temp: Update the temperature visible via the sysctl atomically, rather
  than using it as temporary calculation space.

Modified:
  head/sys/dev/ow/ow_temp.c

Modified: head/sys/dev/ow/ow_temp.c
==
--- head/sys/dev/ow/ow_temp.c   Wed Dec 21 23:59:58 2016(r310380)
+++ head/sys/dev/ow/ow_temp.c   Thu Dec 22 00:09:53 2016(r310381)
@@ -137,7 +137,7 @@ ow_temp_event_thread(void *arg)
struct ow_temp_softc *sc;
uint8_t scratch[8 + 1];
uint8_t crc;
-   int retries, rv;
+   int retries, rv, tmp;
 
sc = arg;
pause("owtstart", device_get_unit(sc->dev) * hz / 100); // 10ms stagger
@@ -166,14 +166,14 @@ ow_temp_event_thread(void *arg)
 * Formula from DS18S20 
datasheet, page 6
 * DS18S20 datasheet 
says count_per_c is 16, DS1820 does not
 */
-   sc->temp = 
(int16_t)((scratch[0] & 0xfe) |
+   tmp = 
(int16_t)((scratch[0] & 0xfe) |
(scratch[1] << 8)) 
<< 3;
-   sc->temp += 16 - 
scratch[6] - 4; /* count_per_c == 16 */
+   tmp += 16 - scratch[6] 
- 4; /* count_per_c == 16 */
} else
-   sc->temp = 
(int16_t)(scratch[0] | (scratch[1] << 8)) << 3;
+   tmp = 
(int16_t)(scratch[0] | (scratch[1] << 8)) << 3;
} else
-   sc->temp = (int16_t)(scratch[0] 
| (scratch[1] << 8));
-   sc->temp = sc->temp * 1000 / 16 + 
273150;
+   tmp = (int16_t)(scratch[0] | 
(scratch[1] << 8));
+   sc->temp = tmp * 1000 / 16 + 273150;
break;
}
sc->bad_crc++;
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r310379 - head/sys/dev/ow

2016-12-21 Thread Gavin Atkinson
Author: gavin
Date: Wed Dec 21 23:54:12 2016
New Revision: 310379
URL: https://svnweb.freebsd.org/changeset/base/310379

Log:
  ow_temp: Correct typo in comment

Modified:
  head/sys/dev/ow/ow_temp.c

Modified: head/sys/dev/ow/ow_temp.c
==
--- head/sys/dev/ow/ow_temp.c   Wed Dec 21 23:16:58 2016(r310378)
+++ head/sys/dev/ow/ow_temp.c   Wed Dec 21 23:54:12 2016(r310379)
@@ -164,7 +164,7 @@ ow_temp_event_thread(void *arg)
if (scratch[7]) {
/*
 * Formula from DS18S20 
datasheet, page 6
-* DS18S20 datahseet 
says count_per_c is 16, DS1820 does not
+* DS18S20 datasheet 
says count_per_c is 16, DS1820 does not
 */
sc->temp = 
(int16_t)((scratch[0] & 0xfe) |
(scratch[1] << 8)) 
<< 3;
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


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

2016-12-07 Thread Gavin Atkinson
Author: gavin
Date: Wed Dec  7 22:52:12 2016
New Revision: 309687
URL: https://svnweb.freebsd.org/changeset/base/309687

Log:
  Switch if_run.c to use a bitmap for debug levels rather than arbitrary
  values. This more closely matches other wifi drivers in the tree.
  The bitmap levels have been based closely on other drivers (primarily
  [u]rtwn(4)) in the hope that one day these can be unified into a shared
  wifi-debug framework.
  
  This is the first step of several pieces of work I'm planning on doing
  with the run(4) driver. I may well adjust and refine some of the debug
  bitmaps at a later date.
  
  Reviewed by:  adrian, avos
  Differential Revision:https://reviews.freebsd.org/D8704

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  Wed Dec  7 22:16:07 2016
(r309686)
+++ head/sys/dev/usb/wlan/if_run.c  Wed Dec  7 22:52:12 2016
(r309687)
@@ -86,6 +86,35 @@ int run_debug = 0;
 static SYSCTL_NODE(_hw_usb, OID_AUTO, run, CTLFLAG_RW, 0, "USB run");
 SYSCTL_INT(_hw_usb_run, OID_AUTO, debug, CTLFLAG_RWTUN, _debug, 0,
 "run debug level");
+
+enum {
+   RUN_DEBUG_XMIT  = 0x0001,   /* basic xmit operation */
+   RUN_DEBUG_XMIT_DESC = 0x0002,   /* xmit descriptors */
+   RUN_DEBUG_RECV  = 0x0004,   /* basic recv operation */
+   RUN_DEBUG_RECV_DESC = 0x0008,   /* recv descriptors */
+   RUN_DEBUG_STATE = 0x0010,   /* 802.11 state transitions */
+   RUN_DEBUG_RATE  = 0x0020,   /* rate adaptation */
+   RUN_DEBUG_USB   = 0x0040,   /* usb requests */
+   RUN_DEBUG_FIRMWARE  = 0x0080,   /* firmware(9) loading debug */
+   RUN_DEBUG_BEACON= 0x0100,   /* beacon handling */
+   RUN_DEBUG_INTR  = 0x0200,   /* ISR */
+   RUN_DEBUG_TEMP  = 0x0400,   /* temperature calibration */
+   RUN_DEBUG_ROM   = 0x0800,   /* various ROM info */
+   RUN_DEBUG_KEY   = 0x1000,   /* crypto keys management */
+   RUN_DEBUG_TXPWR = 0x2000,   /* dump Tx power values */
+   RUN_DEBUG_RSSI  = 0x4000,   /* dump RSSI lookups */
+   RUN_DEBUG_RESET = 0x8000,   /* initialization progress */
+   RUN_DEBUG_CALIB = 0x0001,   /* calibration progress */
+   RUN_DEBUG_CMD   = 0x0001,   /* command queue */
+   RUN_DEBUG_ANY   = 0x
+};
+
+#define RUN_DPRINTF(_sc, _m, ...) do { \
+   if (run_debug & (_m))   \
+   device_printf((_sc)->sc_dev, __VA_ARGS__);  \
+} while(0)
+#else
+#define RUN_DPRINTF(_sc, _m, ...)  do { (void) _sc; } while (0)
 #endif
 
 #defineIEEE80211_HAS_ADDR4(wh) IEEE80211_IS_DSTODS(wh)
@@ -980,7 +1009,7 @@ run_vap_create(struct ieee80211com *ic, 
if (opmode == IEEE80211_M_HOSTAP)
sc->cmdq_run = RUN_CMDQ_GO;
 
-   DPRINTF("rvp_id=%d bmap=%x rvp_cnt=%d\n",
+   RUN_DPRINTF(sc, RUN_DEBUG_STATE, "rvp_id=%d bmap=%x rvp_cnt=%d\n",
rvp->rvp_id, sc->rvp_bmap, sc->rvp_cnt);
 
return (vap);
@@ -1012,7 +1041,8 @@ run_vap_delete(struct ieee80211vap *vap)
run_set_region_4(sc, RT2860_BCN_BASE(rvp_id), 0, 512);
--sc->rvp_cnt;
 
-   DPRINTF("vap=%p rvp_id=%d bmap=%x rvp_cnt=%d\n",
+   RUN_DPRINTF(sc, RUN_DEBUG_STATE,
+   "vap=%p rvp_id=%d bmap=%x rvp_cnt=%d\n",
vap, rvp_id, sc->rvp_bmap, sc->rvp_cnt);
 
RUN_UNLOCK(sc);
@@ -1040,7 +1070,8 @@ run_cmdq_cb(void *arg, int pending)
RUN_LOCK(sc);
for (i = sc->cmdq_exec; sc->cmdq[i].func && pending;
i = sc->cmdq_exec, pending--) {
-   DPRINTFN(6, "cmdq_exec=%d pending=%d\n", i, pending);
+   RUN_DPRINTF(sc, RUN_DEBUG_CMD, "cmdq_exec=%d pending=%d\n",
+   i, pending);
if (sc->cmdq_run == RUN_CMDQ_GO) {
/*
 * If arg0 is NULL, callback func needs more
@@ -1226,7 +1257,8 @@ run_do_request(struct run_softc *sc,
req, data, 0, NULL, 250 /* ms */);
if (err == 0)
break;
-   DPRINTFN(1, "Control request failed, %s (retrying)\n",
+   RUN_DPRINTF(sc, RUN_DEBUG_USB,
+   "Control request failed, %s (retrying)\n",
usbd_errstr(err));
run_delay(sc, 10);
}
@@ -1702,7 +1734,8 @@ run_get_txpower(struct run_softc *sc)
if (sc->txpow2[i] < 0 || sc->txpow2[i] > 31)
sc->txpow2[i] = 5;
}
-   DPRINTF("chan %d: power1=%d, power2=%d\n",
+   RUN_DPRINTF(sc, RUN_DEBUG_TXPWR,
+   "chan %d: power1=%d, 

svn commit: r308577 - head/sys/dev/iwm

2016-11-12 Thread Gavin Atkinson
Author: gavin
Date: Sat Nov 12 18:33:56 2016
New Revision: 308577
URL: https://svnweb.freebsd.org/changeset/base/308577

Log:
  iwm: If firmware load fails during init via iwm_preinit() we bail out
  before calling ieee80211_ifattach() so the taskqueue hasn't been
  initialized. Don't try to drain it, we'll panic.
  Looks like this issue was introduced in r303326.
  
  Reviewed by:  avos, sbruno, adrian
  Differential Revision:https://reviews.freebsd.org/D8499

Modified:
  head/sys/dev/iwm/if_iwm.c

Modified: head/sys/dev/iwm/if_iwm.c
==
--- head/sys/dev/iwm/if_iwm.c   Sat Nov 12 18:04:03 2016(r308576)
+++ head/sys/dev/iwm/if_iwm.c   Sat Nov 12 18:33:56 2016(r308577)
@@ -6192,7 +6192,8 @@ iwm_detach_local(struct iwm_softc *sc, i
device_t dev = sc->sc_dev;
int i;
 
-   ieee80211_draintask(>sc_ic, >sc_es_task);
+   if (do_net80211)
+   ieee80211_draintask(>sc_ic, >sc_es_task);
 
callout_drain(>sc_led_blink_to);
callout_drain(>sc_watchdog_to);
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r308561 - head/usr.sbin/bsnmpd/modules/snmp_bridge

2016-11-11 Thread Gavin Atkinson
Author: gavin
Date: Fri Nov 11 21:53:38 2016
New Revision: 308561
URL: https://svnweb.freebsd.org/changeset/base/308561

Log:
  Correct spelling in syslog: getttimeofday -> gettimeofday

Modified:
  head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c

Modified: head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
==
--- head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.cFri Nov 11 
21:29:48 2016(r308560)
+++ head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.cFri Nov 11 
21:53:38 2016(r308561)
@@ -356,7 +356,7 @@ bridge_get_time_since_tc(struct bridge_i
 
if (gettimeofday(, NULL) < 0) {
syslog(LOG_ERR, "bridge get time since last TC:"
-   "getttimeofday failed: %s", strerror(errno));
+   "gettimeofday failed: %s", strerror(errno));
return (-1);
}
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r308182 - head/sbin/ifconfig

2016-11-01 Thread Gavin Atkinson
Author: gavin
Date: Tue Nov  1 22:03:36 2016
New Revision: 308182
URL: https://svnweb.freebsd.org/changeset/base/308182

Log:
  Remove MATCHOUI macro, unused since r197980.

Modified:
  head/sbin/ifconfig/ifieee80211.c

Modified: head/sbin/ifconfig/ifieee80211.c
==
--- head/sbin/ifconfig/ifieee80211.cTue Nov  1 21:27:42 2016
(r308181)
+++ head/sbin/ifconfig/ifieee80211.cTue Nov  1 22:03:36 2016
(r308182)
@@ -2716,11 +2716,6 @@ printathie(const char *tag, const u_int8
 static void
 printmeshconf(const char *tag, const uint8_t *ie, size_t ielen, int maxlen)
 {
-#define MATCHOUI(field, oui, string)   \
-do {   \
-   if (memcmp(field, oui, 4) == 0) \
-   printf("%s", string);   \
-} while (0)
 
printf("%s", tag);
if (verbose) {
@@ -2754,7 +2749,6 @@ do {  
\
printf(" FORM:0x%x CAPS:0x%x>", mconf->conf_form,
mconf->conf_cap);
}
-#undef MATCHOUI
 }
 
 static void
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r306194 - head/share/man/man9

2016-09-22 Thread Gavin Atkinson
Author: gavin
Date: Thu Sep 22 13:59:27 2016
New Revision: 306194
URL: https://svnweb.freebsd.org/changeset/base/306194

Log:
  Whitespace commit (literally): Add a missing space.
  
  Sponsored by: EuroBSDCon 2016 Devsummit, Belgrade, Serbia.

Modified:
  head/share/man/man9/owll.9

Modified: head/share/man/man9/owll.9
==
--- head/share/man/man9/owll.9  Thu Sep 22 13:27:44 2016(r306193)
+++ head/share/man/man9/owll.9  Thu Sep 22 13:59:27 2016(r306194)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 20, 2015
+.Dd September 22, 2016
 .Dt OWLL 9
 .Os
 .Sh NAME
@@ -52,7 +52,7 @@ Semiconductor 1-Wire from upper layers o
 .Fn OWLL_WRITE_ONE
 and
 .Fn OWLL_WRITE_ZERO
-writes a one bitor a zero bit respectively on the 1-Wire bus.
+writes a one bit or a zero bit respectively on the 1-Wire bus.
 .Pp
 .Fn OWLL_READ_DATA
 reads one bit from the 1-Wire bus.
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r290726 - in head/sys/arm/ti: . am335x omap4

2015-11-12 Thread Gavin Atkinson
Author: gavin
Date: Thu Nov 12 20:14:25 2015
New Revision: 290726
URL: https://svnweb.freebsd.org/changeset/base/290726

Log:
  Consistently capitalize "TI" as an abbreviation for Texas Instruments.

Modified:
  head/sys/arm/ti/am335x/am335x_gpio.c
  head/sys/arm/ti/omap4/omap4_gpio.c
  head/sys/arm/ti/ti_i2c.c

Modified: head/sys/arm/ti/am335x/am335x_gpio.c
==
--- head/sys/arm/ti/am335x/am335x_gpio.cThu Nov 12 19:07:03 2015
(r290725)
+++ head/sys/arm/ti/am335x/am335x_gpio.cThu Nov 12 20:14:25 2015
(r290726)
@@ -77,7 +77,7 @@ am335x_gpio_probe(device_t dev)
if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
return (ENXIO);
 
-   device_set_desc(dev, "Ti AM335x General Purpose I/O (GPIO)");
+   device_set_desc(dev, "TI AM335x General Purpose I/O (GPIO)");
 
return (0);
 }

Modified: head/sys/arm/ti/omap4/omap4_gpio.c
==
--- head/sys/arm/ti/omap4/omap4_gpio.c  Thu Nov 12 19:07:03 2015
(r290725)
+++ head/sys/arm/ti/omap4/omap4_gpio.c  Thu Nov 12 20:14:25 2015
(r290726)
@@ -68,7 +68,7 @@ omap4_gpio_probe(device_t dev)
if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
return (ENXIO);
 
-   device_set_desc(dev, "Ti OMAP4 General Purpose I/O (GPIO)");
+   device_set_desc(dev, "TI OMAP4 General Purpose I/O (GPIO)");
 
return (0);
 }

Modified: head/sys/arm/ti/ti_i2c.c
==
--- head/sys/arm/ti/ti_i2c.cThu Nov 12 19:07:03 2015(r290725)
+++ head/sys/arm/ti/ti_i2c.cThu Nov 12 20:14:25 2015(r290726)
@@ -495,7 +495,7 @@ ti_i2c_reset(struct ti_i2c_softc *sc, u_
break;
 #endif
default:
-   panic("Unknown Ti SoC, unable to reset the i2c");
+   panic("Unknown TI SoC, unable to reset the i2c");
}
 
/*
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r289028 - in head/sys/dev/usb: . wlan

2015-10-08 Thread Gavin Atkinson
Author: gavin
Date: Thu Oct  8 12:55:21 2015
New Revision: 289028
URL: https://svnweb.freebsd.org/changeset/base/289028

Log:
  Recognise the Netgear WNDA4100 (N900) 3x3 device in run(4).

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

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsThu Oct  8 11:42:15 2015(r289027)
+++ head/sys/dev/usb/usbdevsThu Oct  8 12:55:21 2015(r289028)
@@ -3261,6 +3261,7 @@ product NETGEAR WG111U_NF 0x4301  WG111U 
 product NETGEAR WG111V20x6a00  WG111V2
 product NETGEAR WN111V20x9001  WN111V2
 product NETGEAR WNDA3100   0x9010  WNDA3100
+product NETGEAR WNDA4100   0x9012  WNDA4100
 product NETGEAR WNDA3200   0x9018  WNDA3200
 product NETGEAR RTL8192CU  0x9021  RTL8192CU
 product NETGEAR WNA10000x9040  WNA1000

Modified: head/sys/dev/usb/wlan/if_run.c
==
--- head/sys/dev/usb/wlan/if_run.c  Thu Oct  8 11:42:15 2015
(r289027)
+++ head/sys/dev/usb/wlan/if_run.c  Thu Oct  8 12:55:21 2015
(r289028)
@@ -246,6 +246,7 @@ static const STRUCT_USB_HOST_ID run_devs
 RUN_DEV(MSI,   RT3070_9),
 RUN_DEV(MSI,   RT3070_10),
 RUN_DEV(MSI,   RT3070_11),
+RUN_DEV(NETGEAR,   WNDA4100),
 RUN_DEV(OVISLINK,  RT3072),
 RUN_DEV(PARA,  RT3070),
 RUN_DEV(PEGATRON,  RT2870),
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r287295 - in head/sys/dev/usb: . serial

2015-08-29 Thread Gavin Atkinson
Author: gavin
Date: Sat Aug 29 18:37:09 2015
New Revision: 287295
URL: https://svnweb.freebsd.org/changeset/base/287295

Log:
  Support the ZTE MF112 HSUPA 3G USB stick.
  
  MFC after:1 week

Modified:
  head/sys/dev/usb/serial/u3g.c
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/usb/serial/u3g.c
==
--- head/sys/dev/usb/serial/u3g.c   Sat Aug 29 17:26:29 2015
(r287294)
+++ head/sys/dev/usb/serial/u3g.c   Sat Aug 29 18:37:09 2015
(r287295)
@@ -477,6 +477,7 @@ static const STRUCT_USB_HOST_ID u3g_devs
U3G_DEV(QUALCOMMINC, E2003, 0),
U3G_DEV(QUALCOMMINC, K3772_Z, 0),
U3G_DEV(QUALCOMMINC, K3772_Z_INIT, U3GINIT_SCSIEJECT),
+   U3G_DEV(QUALCOMMINC, MF112, U3GINIT_ZTESTOR),
U3G_DEV(QUALCOMMINC, MF195E, 0),
U3G_DEV(QUALCOMMINC, MF195E_INIT, U3GINIT_SCSIEJECT),
U3G_DEV(QUALCOMMINC, MF626, 0),

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsSat Aug 29 17:26:29 2015(r287294)
+++ head/sys/dev/usb/usbdevsSat Aug 29 18:37:09 2015(r287295)
@@ -3683,6 +3683,7 @@ product QUALCOMMINC E0076 0x0076  3G mode
 product QUALCOMMINC E0078  0x0078  3G modem
 product QUALCOMMINC E0082  0x0082  3G modem
 product QUALCOMMINC E0086  0x0086  3G modem
+product QUALCOMMINC MF112  0x0103  3G modem
 product QUALCOMMINC SURFSTICK  0x0117  11 Surf Stick
 product QUALCOMMINC K3772_Z_INIT   0x1179  K3772-Z Initial
 product QUALCOMMINC K3772_Z0x1181  K3772-Z
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r283589 - head/sys/net80211

2015-05-26 Thread Gavin Atkinson
Author: gavin
Date: Tue May 26 21:50:53 2015
New Revision: 283589
URL: https://svnweb.freebsd.org/changeset/base/283589

Log:
  Fix spelling mistake in comment.

Modified:
  head/sys/net80211/ieee80211.h

Modified: head/sys/net80211/ieee80211.h
==
--- head/sys/net80211/ieee80211.h   Tue May 26 21:47:43 2015
(r283588)
+++ head/sys/net80211/ieee80211.h   Tue May 26 21:50:53 2015
(r283589)
@@ -816,7 +816,7 @@ struct ieee80211_csa_ie {
 #defineIEEE80211_RATE_BASIC0x80
 #defineIEEE80211_RATE_VAL  0x7f
 
-/* EPR information element flags */
+/* ERP information element flags */
 #defineIEEE80211_ERP_NON_ERP_PRESENT   0x01
 #defineIEEE80211_ERP_USE_PROTECTION0x02
 #defineIEEE80211_ERP_LONG_PREAMBLE 0x04
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r279103 - head

2015-02-21 Thread Gavin Atkinson
Author: gavin
Date: Sat Feb 21 13:00:52 2015
New Revision: 279103
URL: https://svnweb.freebsd.org/changeset/base/279103

Log:
  Typo: effect - affect.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Sat Feb 21 10:10:26 2015(r279102)
+++ head/UPDATING   Sat Feb 21 13:00:52 2015(r279103)
@@ -36,7 +36,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
but before r278950, the RNG was not seeded properly.  Immediately
upgrade the kernel to r278950 or later and regenerate any keys (e.g.
ssh keys or openssl keys) that were generated w/ a kernel from that
-   range.  This does not effect programs that directly used /dev/random
+   range.  This does not affect programs that directly used /dev/random
or /dev/urandom.  All userland uses of arc4random(3) are affected.
 
 20150210:
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r277486 - head/share/man/man9

2015-01-21 Thread Gavin Atkinson
Author: gavin
Date: Wed Jan 21 13:48:06 2015
New Revision: 277486
URL: https://svnweb.freebsd.org/changeset/base/277486

Log:
  softc is short for software context, use that phrase in the
  device_get_softc(9) man page.
  
  MFC after:1 week

Modified:
  head/share/man/man9/device_get_softc.9

Modified: head/share/man/man9/device_get_softc.9
==
--- head/share/man/man9/device_get_softc.9  Wed Jan 21 13:03:18 2015
(r277485)
+++ head/share/man/man9/device_get_softc.9  Wed Jan 21 13:48:06 2015
(r277486)
@@ -28,7 +28,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd August 2, 2005
+.Dd January 21, 2015
 .Dt DEVICE_GET_SOFTC 9
 .Os
 .Sh NAME
@@ -40,7 +40,7 @@
 .Ft void *
 .Fn device_get_softc device_t dev
 .Sh DESCRIPTION
-Return the driver-specific state of
+Return the driver-specific software context of
 .Fa dev .
 The softc is automatically allocated and zeroed when the device is
 attached.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r275526 - in vendor/tnftp/dist: . libnetbsd src

2014-12-05 Thread Gavin Atkinson
Author: gavin
Date: Fri Dec  5 22:34:15 2014
New Revision: 275526
URL: https://svnweb.freebsd.org/changeset/base/275526

Log:
  Import tnftp-20141031.

Modified:
  vendor/tnftp/dist/ChangeLog
  vendor/tnftp/dist/NEWS
  vendor/tnftp/dist/THANKS
  vendor/tnftp/dist/configure
  vendor/tnftp/dist/configure.ac
  vendor/tnftp/dist/libnetbsd/glob.c
  vendor/tnftp/dist/src/fetch.c
  vendor/tnftp/dist/src/ssl.h
  vendor/tnftp/dist/src/version.h

Modified: vendor/tnftp/dist/ChangeLog
==
--- vendor/tnftp/dist/ChangeLog Fri Dec  5 21:37:27 2014(r275525)
+++ vendor/tnftp/dist/ChangeLog Fri Dec  5 22:34:15 2014(r275526)
@@ -1,4 +1,15 @@
-$NetBSD: ChangeLog,v 1.62 2013/05/05 13:53:38 lukem Exp $
+$NetBSD: ChangeLog,v 1.63 2014/10/31 04:13:56 lukem Exp $
+
+
+Fri Oct 31 04:07:38 UTC 2014   lukem
+
+   * Release as tnftp 20141031.
+
+   * Merge NetBSD usr.bin/ftp from 20130220 to 20141026:
+   - Don't pay attention to special characters if they don't
+ come from the command line (from jmcneill).
+ Fixes CVE-2014-8517.
+   - PR/34796: Hauke Fath: ftp does not timeout on http fetches.
 
 Sun May  5 13:51:47 UTC 2013   lukem
 

Modified: vendor/tnftp/dist/NEWS
==
--- vendor/tnftp/dist/NEWS  Fri Dec  5 21:37:27 2014(r275525)
+++ vendor/tnftp/dist/NEWS  Fri Dec  5 22:34:15 2014(r275526)
@@ -1,6 +1,14 @@
-$NetBSD: NEWS,v 1.9 2013/05/05 13:53:38 lukem Exp $
+$NetBSD: NEWS,v 1.10 2014/10/31 04:06:54 lukem Exp $
 
-This is tnftp version 20130505.
+This is tnftp version 20141031.
+
+Changes in tnftp from 20130505 to 20141031:
+
+   Ignore special character behaviour in filenames not provided
+   by the user.
+   Fixes CVE-2014-8517.
+
+   Fix timeout on HTTP fetches.
 
 Changes in tnftp from 20100108 to 20130505:
 

Modified: vendor/tnftp/dist/THANKS
==
--- vendor/tnftp/dist/THANKSFri Dec  5 21:37:27 2014(r275525)
+++ vendor/tnftp/dist/THANKSFri Dec  5 22:34:15 2014(r275526)
@@ -19,9 +19,11 @@ Douwe Kiela
 Eugene Kotlyarov
 Geoff Wing
 Giles Lean
+Hauke Fath
 Havard Eidnes
 Hubert Feyrer
 ITOH Yasufumi
+Jared McNeill
 Jason R. Thorpe
 John Hawkinson
 Joseph S. Myers

Modified: vendor/tnftp/dist/configure
==
--- vendor/tnftp/dist/configure Fri Dec  5 21:37:27 2014(r275525)
+++ vendor/tnftp/dist/configure Fri Dec  5 22:34:15 2014(r275526)
@@ -1,7 +1,7 @@
 #! /bin/sh
-# From configure.ac Revision: 1.25 .
+# From configure.ac Revision: 1.26 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for tnftp 20130505.
+# Generated by GNU Autoconf 2.69 for tnftp 20141031.
 #
 # Report bugs to lu...@netbsd.org.
 #
@@ -13,7 +13,7 @@
 # gives unlimited permission to copy, distribute and modify it.
 #
 #
-# Copyright (c) 1999-2013 The NetBSD Foundation, Inc.
+# Copyright (c) 1999-2014 The NetBSD Foundation, Inc.
 # All rights reserved.
 #
 ##  ##
@@ -596,8 +596,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='tnftp'
 PACKAGE_TARNAME='tnftp'
-PACKAGE_VERSION='20130505'
-PACKAGE_STRING='tnftp 20130505'
+PACKAGE_VERSION='20141031'
+PACKAGE_STRING='tnftp 20141031'
 PACKAGE_BUGREPORT='lu...@netbsd.org'
 PACKAGE_URL=''
 
@@ -1333,7 +1333,7 @@ if test $ac_init_help = long; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat _ACEOF
-\`configure' configures tnftp 20130505 to adapt to many kinds of systems.
+\`configure' configures tnftp 20141031 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1403,7 +1403,7 @@ fi
 
 if test -n $ac_init_help; then
   case $ac_init_help in
- short | recursive ) echo Configuration of tnftp 20130505:;;
+ short | recursive ) echo Configuration of tnftp 20141031:;;
esac
   cat \_ACEOF
 
@@ -1518,7 +1518,7 @@ fi
 test -n $ac_init_help  exit $ac_status
 if $ac_init_version; then
   cat \_ACEOF
-tnftp configure 20130505
+tnftp configure 20141031
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1526,7 +1526,7 @@ This configure script is free software; 
 gives unlimited permission to copy, distribute and modify it.
 
 
-Copyright (c) 1999-2013 The NetBSD Foundation, Inc.
+Copyright (c) 1999-2014 The NetBSD Foundation, Inc.
 All rights reserved.
 
 _ACEOF
@@ -2103,7 +2103,7 @@ cat config.log _ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by tnftp $as_me 20130505, which was
+It was created by tnftp $as_me 

svn commit: r275527 - vendor/tnftp/20141031

2014-12-05 Thread Gavin Atkinson
Author: gavin
Date: Fri Dec  5 22:35:28 2014
New Revision: 275527
URL: https://svnweb.freebsd.org/changeset/base/275527

Log:
  Tag tnftp-20141031.

Added:
  vendor/tnftp/20141031/
 - copied from r275526, vendor/tnftp/dist/
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r275529 - vendor/tnftp/20141104

2014-12-05 Thread Gavin Atkinson
Author: gavin
Date: Fri Dec  5 22:38:21 2014
New Revision: 275529
URL: https://svnweb.freebsd.org/changeset/base/275529

Log:
  Tag tnftp-20141104.

Added:
  vendor/tnftp/20141104/
 - copied from r275528, vendor/tnftp/dist/
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r275528 - vendor/tnftp/dist

2014-12-05 Thread Gavin Atkinson
Author: gavin
Date: Fri Dec  5 22:37:56 2014
New Revision: 275528
URL: https://svnweb.freebsd.org/changeset/base/275528

Log:
  Import tnftp-20141104.

Modified:
  vendor/tnftp/dist/ChangeLog
  vendor/tnftp/dist/NEWS
  vendor/tnftp/dist/configure
  vendor/tnftp/dist/configure.ac
  vendor/tnftp/dist/tnftp.h
  vendor/tnftp/dist/tnftp_config.h.in

Modified: vendor/tnftp/dist/ChangeLog
==
--- vendor/tnftp/dist/ChangeLog Fri Dec  5 22:35:28 2014(r275527)
+++ vendor/tnftp/dist/ChangeLog Fri Dec  5 22:37:56 2014(r275528)
@@ -1,6 +1,16 @@
-$NetBSD: ChangeLog,v 1.63 2014/10/31 04:13:56 lukem Exp $
+$NetBSD: ChangeLog,v 1.66 2014/11/03 21:48:49 lukem Exp $
 
 
+Mon Nov  3 21:43:20 UTC 2014   lukem
+
+   * Release as tnftp 20141104.
+
+Fri Oct 31 08:32:28 UTC 2014   lukem
+
+   * Use '=' not '==' with test in configure.
+
+   * Check for sys/uio.h for writev() declaration.
+
 Fri Oct 31 04:07:38 UTC 2014   lukem
 
* Release as tnftp 20141031.

Modified: vendor/tnftp/dist/NEWS
==
--- vendor/tnftp/dist/NEWS  Fri Dec  5 22:35:28 2014(r275527)
+++ vendor/tnftp/dist/NEWS  Fri Dec  5 22:37:56 2014(r275528)
@@ -1,6 +1,10 @@
-$NetBSD: NEWS,v 1.10 2014/10/31 04:06:54 lukem Exp $
+$NetBSD: NEWS,v 1.11 2014/11/03 21:48:49 lukem Exp $
 
-This is tnftp version 20141031.
+This is tnftp version 20141104.
+
+Changes in tnftp from 20141031 to 20141104:
+
+   Portability fixes.
 
 Changes in tnftp from 20130505 to 20141031:
 

Modified: vendor/tnftp/dist/configure
==
--- vendor/tnftp/dist/configure Fri Dec  5 22:35:28 2014(r275527)
+++ vendor/tnftp/dist/configure Fri Dec  5 22:37:56 2014(r275528)
@@ -1,7 +1,7 @@
 #! /bin/sh
-# From configure.ac Revision: 1.26 .
+# From configure.ac Revision: 1.29 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for tnftp 20141031.
+# Generated by GNU Autoconf 2.69 for tnftp 20141104.
 #
 # Report bugs to lu...@netbsd.org.
 #
@@ -596,8 +596,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='tnftp'
 PACKAGE_TARNAME='tnftp'
-PACKAGE_VERSION='20141031'
-PACKAGE_STRING='tnftp 20141031'
+PACKAGE_VERSION='20141104'
+PACKAGE_STRING='tnftp 20141104'
 PACKAGE_BUGREPORT='lu...@netbsd.org'
 PACKAGE_URL=''
 
@@ -1333,7 +1333,7 @@ if test $ac_init_help = long; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat _ACEOF
-\`configure' configures tnftp 20141031 to adapt to many kinds of systems.
+\`configure' configures tnftp 20141104 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1403,7 +1403,7 @@ fi
 
 if test -n $ac_init_help; then
   case $ac_init_help in
- short | recursive ) echo Configuration of tnftp 20141031:;;
+ short | recursive ) echo Configuration of tnftp 20141104:;;
esac
   cat \_ACEOF
 
@@ -1518,7 +1518,7 @@ fi
 test -n $ac_init_help  exit $ac_status
 if $ac_init_version; then
   cat \_ACEOF
-tnftp configure 20141031
+tnftp configure 20141104
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2103,7 +2103,7 @@ cat config.log _ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by tnftp $as_me 20141031, which was
+It was created by tnftp $as_me 20141104, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3067,7 +3067,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='tnftp'
- VERSION='20141031'
+ VERSION='20141104'
 
 
 cat confdefs.h _ACEOF
@@ -12277,7 +12277,7 @@ rm -f core conftest.err conftest.$ac_obj
 if test $with_ssl != no; then :
   { $as_echo $as_me:${as_lineno-$LINENO}: --with-ssl=$with_ssl; checking for 
required OpenSSL features 5
 $as_echo $as_me: --with-ssl=$with_ssl; checking for required OpenSSL 
features 6;}
-   if test $have_ssl == yes; then :
+   if test $have_ssl = yes; then :
   $as_echo #define WITH_SSL 1 confdefs.h
 
   { $as_echo $as_me:${as_lineno-$LINENO}: enabling SSL support 
5
@@ -12383,7 +12383,8 @@ accheck_includes='
 ' # accheck_includes
 
 for ac_header in sys/types.h sys/ioctl.h sys/param.h sys/stat.h \
-  sys/socket.h sys/syslimits.h sys/time.h sys/wait.h
+  sys/socket.h sys/syslimits.h sys/time.h sys/uio.h \
+  sys/wait.h
 do :
   as_ac_Header=`$as_echo ac_cv_header_$ac_header | $as_tr_sh`
 ac_fn_c_check_header_compile $LINENO $ac_header $as_ac_Header 
$accheck_includes
@@ -15274,7 +15275,7 @@ cat $CONFIG_STATUS \_ACEOF || ac_wri
 # report actual input values of CONFIG_FILES etc. instead of their
 # values 

svn commit: r273941 - head/release/doc/en_US.ISO8859-1/hardware

2014-11-01 Thread Gavin Atkinson
Author: gavin
Date: Sat Nov  1 20:07:32 2014
New Revision: 273941
URL: https://svnweb.freebsd.org/changeset/base/273941

Log:
  Updates to the list of CPUs supported by the amd64 platform
  
  MFC after:3 days

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.xml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.xml   Sat Nov  1 
18:51:48 2014(r273940)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.xml   Sat Nov  1 
20:07:32 2014(r273941)
@@ -76,7 +76,7 @@
   paraNote that there are two names for this architecture, AMD64
(AMD) and Intel EM64T (Extended Memory 64-bit Technology).
64-bit mode of the two architectures are almost compatible
-   with each other, and os;/arch.amd64; should support them
+   with each other, and os;/arch.amd64; supports them
both./para
 
   paraAs of this writing, the following processors are
@@ -92,6 +92,18 @@
/listitem
 
listitem
+ paraamd.sempron;./para
+   /listitem
+
+   listitem
+ paraamd.turion;./para
+   /listitem
+
+   listitem
+ paraamd.phenom;./para
+   /listitem
+
+   listitem
  paraAll multi-core intel; xeon; processors except
Sossaman have EM64T support./para
/listitem
@@ -104,22 +116,30 @@
/listitem
 
listitem
- paraAll intel; Core 2 (not Core Duo) and later
+ paraAll intel; core; 2 (not core; Duo) and later
processors/para
/listitem
 
listitem
+ paraAll intel; core; i range of processors/para
+   /listitem
+
+   listitem
  paraAll intel; pentium; D processors/para
/listitem
 
listitem
- paraintel; pentium; 4s and Celeron Ds using
+ paraAll intel; centrino; Duo and centrino; Pro platforms/para
+   /listitem
+
+   listitem
+ paraintel; pentium; 4s and celeron; Ds using
the quoteCedar Mill/quote core have EM64T
support./para
/listitem
 
listitem
- paraSome intel; pentium; 4s and Celeron Ds using
+ paraSome intel; pentium; 4s and celeron; Ds using
the quotePrescott/quote core have EM64T support.  See
the link xlink:href=http://processorfinder.intel.com;Intel
Processor Spec Finder/link for the definitive answer about
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-10-16 Thread Gavin Atkinson
Author: gavin
Date: Thu Oct 16 23:07:09 2014
New Revision: 273197
URL: https://svnweb.freebsd.org/changeset/base/273197

Log:
  The igb(4) driver supports 82580, i350, i354, i210 and i211 chipsets too,
  document them.
  
  PR:   192301
  MFC after:1 week

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

Modified: head/share/man/man4/igb.4
==
--- head/share/man/man4/igb.4   Thu Oct 16 23:03:04 2014(r273196)
+++ head/share/man/man4/igb.4   Thu Oct 16 23:07:09 2014(r273197)
@@ -31,7 +31,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd March 25, 2013
+.Dd October 17, 2014
 .Dt IGB 4
 .Os
 .Sh NAME
@@ -55,7 +55,8 @@ if_igb_load=YES
 The
 .Nm
 driver provides support for PCI Express Gigabit Ethernet adapters
-based on the Intel 82575 and 82576 Ethernet controller chips.
+based on the Intel 82575, 82576, 82580, i21x and i35x
+Ethernet controller chips.
 The driver supports Transmit/Receive checksum offload and Jumbo
 Frames.
 Furthermore it supports TCP segmentation offload (TSO) on all
@@ -142,6 +143,12 @@ driver supports Gigabit Ethernet adapter
 Intel Gigabit ET Dual Port Server Adapter (82576)
 .It
 Intel Gigabit VT Quad Port Server Adapter (82575)
+.It
+Intel Single, Dual and Quad Gigabit Ethernet Controller (82580)
+.It
+Intel i210 and i211 Gigabit Ethernet Controller
+.It
+Intel i350 and i354 Gigabit Ethernet Controller
 .El
 .Sh LOADER TUNABLES
 Tunables can be set at the
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-10-15 Thread Gavin Atkinson
Author: gavin
Date: Wed Oct 15 23:39:47 2014
New Revision: 273154
URL: https://svnweb.freebsd.org/changeset/base/273154

Log:
  Slightly improve grammar in EAGAIN description.
  
  PR:   176806
  Submitted by: Jeremy Chadwick
  MFC after:3 days

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

Modified: head/lib/libc/sys/recv.2
==
--- head/lib/libc/sys/recv.2Wed Oct 15 21:26:09 2014(r273153)
+++ head/lib/libc/sys/recv.2Wed Oct 15 23:39:47 2014(r273154)
@@ -28,7 +28,7 @@
 .\ @(#)recv.2 8.3 (Berkeley) 2/21/94
 .\ $FreeBSD$
 .\
-.Dd March 19, 2013
+.Dd October 15, 2014
 .Dt RECV 2
 .Os
 .Sh NAME
@@ -324,9 +324,9 @@ In this case the descriptors are
 closed, any pending data can be returned by another call to
 .Fn recvmsg .
 .It Bq Er EAGAIN
-The socket is marked non-blocking, and the receive operation
+The socket is marked non-blocking and the receive operation
 would block, or
-a receive timeout had been set,
+a receive timeout had been set
 and the timeout expired before data were received.
 .It Bq Er EINTR
 The receive was interrupted by delivery of a signal before
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272764 - head/sys/dev/usb/net

2014-10-08 Thread Gavin Atkinson
Author: gavin
Date: Wed Oct  8 19:49:10 2014
New Revision: 272764
URL: https://svnweb.freebsd.org/changeset/base/272764

Log:
  It looks like an entry for the R215 is not required in cdce(4) after all.

Modified:
  head/sys/dev/usb/net/if_cdce.c

Modified: head/sys/dev/usb/net/if_cdce.c
==
--- head/sys/dev/usb/net/if_cdce.c  Wed Oct  8 17:44:30 2014
(r272763)
+++ head/sys/dev/usb/net/if_cdce.c  Wed Oct  8 19:49:10 2014
(r272764)
@@ -273,7 +273,6 @@ static const struct usb_ether_methods cd
 
 static const STRUCT_USB_HOST_ID cdce_switch_devs[] = {
{USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3272_INIT, 
MSC_EJECT_HUAWEI2)},
-   {USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_R215_INIT, 
MSC_EJECT_HUAWEI2)},
 };
 
 static const STRUCT_USB_HOST_ID cdce_host_devs[] = {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272716 - in head/sys/dev/usb: . net

2014-10-07 Thread Gavin Atkinson
Author: gavin
Date: Tue Oct  7 19:07:50 2014
New Revision: 272716
URL: https://svnweb.freebsd.org/changeset/base/272716

Log:
  Support the Vodafone R215 LET USB dongle, which is apparently a rebadged
  E5372 with different product IDs.
  
  Interestingly, the standard E5372 IDs (12d1:1506) are currently listed in
  u3g.c and are the same as the E3131.  However, the R215/E5372 is an NCM
  device and works well with cdce(4) whereas the E3131 isn't.  More work
  may be needed to better identify the other device IDs.
  
  MFC after:1 week

Modified:
  head/sys/dev/usb/net/if_cdce.c
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/usb/net/if_cdce.c
==
--- head/sys/dev/usb/net/if_cdce.c  Tue Oct  7 18:47:53 2014
(r272715)
+++ head/sys/dev/usb/net/if_cdce.c  Tue Oct  7 19:07:50 2014
(r272716)
@@ -273,6 +273,7 @@ static const struct usb_ether_methods cd
 
 static const STRUCT_USB_HOST_ID cdce_switch_devs[] = {
{USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3272_INIT, 
MSC_EJECT_HUAWEI2)},
+   {USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_R215_INIT, 
MSC_EJECT_HUAWEI2)},
 };
 
 static const STRUCT_USB_HOST_ID cdce_host_devs[] = {

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsTue Oct  7 18:47:53 2014(r272715)
+++ head/sys/dev/usb/usbdevsTue Oct  7 19:07:50 2014(r272716)
@@ -2353,6 +2353,8 @@ product HUAWEI E3131  0x1506  3G modem
 product HUAWEI K3765_INIT  0x1520  K3765 Initial
 product HUAWEI K4505_INIT  0x1521  K4505 Initial
 product HUAWEI E3272_INIT  0x155b  LTE modem initial
+product HUAWEI R215_INIT   0x1582  LTE modem initial
+product HUAWEI R2150x1588  LTE modem
 product HUAWEI ETS2055 0x1803  CDMA modem
 product HUAWEI E1730x1c05  3G modem
 product HUAWEI E173_INIT   0x1c0b  3G modem initial
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272544 - head/release/doc/en_US.ISO8859-1/hardware

2014-10-04 Thread Gavin Atkinson
Author: gavin
Date: Sat Oct  4 23:56:25 2014
New Revision: 272544
URL: https://svnweb.freebsd.org/changeset/base/272544

Log:
  Include urndis(4) in list of devices for which we generate hardware notes.
  
  MFC after:3 days

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.xml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.xml   Sat Oct  4 
22:52:21 2014(r272543)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.xml   Sat Oct  4 
23:56:25 2014(r272544)
@@ -908,6 +908,8 @@
 
   hwlist.udav;
 
+  hwlist.urndis;
+
   hwlist.vge;
 
   hwlist.vr;
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-10-02 Thread Gavin Atkinson
Author: gavin
Date: Thu Oct  2 22:22:34 2014
New Revision: 272454
URL: https://svnweb.freebsd.org/changeset/base/272454

Log:
  Add HARDWARE section of urnis(4) driver to try to gain more visibility.
  
  MFC after:3 days

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

Modified: head/share/man/man4/urndis.4
==
--- head/share/man/man4/urndis.4Thu Oct  2 22:16:00 2014
(r272453)
+++ head/share/man/man4/urndis.4Thu Oct  2 22:22:34 2014
(r272454)
@@ -29,7 +29,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd September 25, 2014
+.Dd October 2, 2014
 .Dt URNDIS 4
 .Os
 .Sh NAME
@@ -68,6 +68,12 @@ such as those commonly found on Android 
 It does not support different media types or options.
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh HARDWARE
+The
+.Nm
+driver supports the
+.Qq tethering
+functionality of many Android devices.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr cdce 4 ,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-09-29 Thread Gavin Atkinson
Author: gavin
Date: Tue Sep 30 05:36:16 2014
New Revision: 272294
URL: http://svnweb.freebsd.org/changeset/base/272294

Log:
  Make clear in the ipheth(4) hardware notes that this driver is for the
  tethering functionality only.  Add a bugs section to give a pointer
  to usbconfig set_config if the device isn't automatically detected.
  
  MFC after:3 days

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

Modified: head/share/man/man4/ipheth.4
==
--- head/share/man/man4/ipheth.4Tue Sep 30 03:29:46 2014
(r272293)
+++ head/share/man/man4/ipheth.4Tue Sep 30 05:36:16 2014
(r272294)
@@ -27,12 +27,12 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd September 25, 2014
+.Dd September 30, 2014
 .Dt IPHETH 4
 .Os
 .Sh NAME
 .Nm ipheth
-.Nd USB Apple iPhone/iPad Ethernet driver
+.Nd USB Apple iPhone/iPad tethered Ethernet driver
 .Sh SYNOPSIS
 To load the driver as a module at boot time, place the
 following line in
@@ -61,6 +61,7 @@ In most cases this must be explicitly en
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+The device does not support different media types or options.
 .Sh HARDWARE
 The following devices are supported by the
 .Nm
@@ -68,9 +69,9 @@ driver:
 .Pp
 .Bl -bullet -compact
 .It
-Apple iPhone (all models)
+Apple iPhone tethering (all models)
 .It
-Apple iPad (all models)
+Apple iPad tethering (all models)
 .El
 .Sh SEE ALSO
 .Xr arp 4 ,
@@ -80,6 +81,7 @@ Apple iPad (all models)
 .Xr urndis 4 ,
 .Xr usb 4 ,
 .Xr ifconfig 8
+.Xr usbconfig 8
 .Sh HISTORY
 The
 .Nm
@@ -91,3 +93,14 @@ The
 .Nm
 driver was written by
 .An Hans Petter Selasky Aq Mt hsela...@freebsd.org .
+.Sh BUGS
+Some devices may need to be manually configured to use an alternative
+configuration with the
+.Xr usbconfig 8
+utility.
+A command similar to
+.Dl usbconfig -u 1 -a 2 set_config 3
+may be required if the device is not recognised automatically by
+.Nm
+after it is connected.
+
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272160 - in head/sys/dev/usb: . net

2014-09-26 Thread Gavin Atkinson
Author: gavin
Date: Fri Sep 26 08:16:26 2014
New Revision: 272160
URL: http://svnweb.freebsd.org/changeset/base/272160

Log:
  Add new (untested) device IDs to smsc(4)
  
  MFC after:1 week

Modified:
  head/sys/dev/usb/net/if_smsc.c
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/usb/net/if_smsc.c
==
--- head/sys/dev/usb/net/if_smsc.c  Fri Sep 26 08:12:12 2014
(r272159)
+++ head/sys/dev/usb/net/if_smsc.c  Fri Sep 26 08:16:26 2014
(r272160)
@@ -123,7 +123,24 @@ SYSCTL_INT(_hw_usb_smsc, OID_AUTO, debug
  */
 static const struct usb_device_id smsc_devs[] = {
 #defineSMSC_DEV(p,i) { USB_VPI(USB_VENDOR_SMC2, USB_PRODUCT_SMC2_##p, 
i) }
+   SMSC_DEV(LAN89530_ETH, 0),
+   SMSC_DEV(LAN9500_ETH, 0),
+   SMSC_DEV(LAN9500_ETH_2, 0),
+   SMSC_DEV(LAN9500A_ETH, 0),
+   SMSC_DEV(LAN9500A_ETH_2, 0),
+   SMSC_DEV(LAN9505_ETH, 0),
+   SMSC_DEV(LAN9505A_ETH, 0),
SMSC_DEV(LAN9514_ETH, 0),
+   SMSC_DEV(LAN9514_ETH_2, 0),
+   SMSC_DEV(LAN9530_ETH, 0),
+   SMSC_DEV(LAN9730_ETH, 0),
+   SMSC_DEV(LAN9500_SAL10, 0),
+   SMSC_DEV(LAN9505_SAL10, 0),
+   SMSC_DEV(LAN9500A_SAL10, 0),
+   SMSC_DEV(LAN9505A_SAL10, 0),
+   SMSC_DEV(LAN9514_SAL10, 0),
+   SMSC_DEV(LAN9500A_HAL, 0),
+   SMSC_DEV(LAN9505A_HAL, 0),
 #undef SMSC_DEV
 };
 

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsFri Sep 26 08:12:12 2014(r272159)
+++ head/sys/dev/usb/usbdevsFri Sep 26 08:16:26 2014(r272160)
@@ -4135,6 +4135,23 @@ product SMC 2862WG   0xee13  EZ Connect Wi
 product SMC2 2020HUB   0x2020  USB Hub
 product SMC2 2514HUB   0x2514  USB Hub
 product SMC3 2662WUSB  0xa002  2662W-AR Wireless
+product SMC2 LAN9500_ETH   0x9500  USB/Ethernet
+product SMC2 LAN9505_ETH   0x9505  USB/Ethernet
+product SMC2 LAN9530_ETH   0x9530  USB/Ethernet
+product SMC2 LAN9730_ETH   0x9730  USB/Ethernet
+product SMC2 LAN9500_SAL10 0x9900  USB/Ethernet
+product SMC2 LAN9505_SAL10 0x9901  USB/Ethernet
+product SMC2 LAN9500A_SAL100x9902  USB/Ethernet
+product SMC2 LAN9505A_SAL100x9903  USB/Ethernet
+product SMC2 LAN9514_SAL10 0x9904  USB/Ethernet
+product SMC2 LAN9500A_HAL  0x9905  USB/Ethernet
+product SMC2 LAN9505A_HAL  0x9906  USB/Ethernet
+product SMC2 LAN9500_ETH_2 0x9907  USB/Ethernet
+product SMC2 LAN9500A_ETH_20x9908  USB/Ethernet
+product SMC2 LAN9514_ETH_2 0x9909  USB/Ethernet
+product SMC2 LAN9500A_ETH  0x9e00  USB/Ethernet
+product SMC2 LAN9505A_ETH  0x9e01  USB/Ethernet
+product SMC2 LAN89530_ETH  0x9e08  USB/Ethernet
 product SMC2 LAN9514_ETH   0xec00  USB/Ethernet
 
 /* SOHOware products */
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-09-26 Thread Gavin Atkinson
Author: gavin
Date: Fri Sep 26 09:19:11 2014
New Revision: 272165
URL: http://svnweb.freebsd.org/changeset/base/272165

Log:
  Add very basic outline man page for smsc(4).
  
  MFC after:6 days

Added:
  head/share/man/man4/smsc.4   (contents, props changed)
Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileFri Sep 26 09:08:09 2014
(r272164)
+++ head/share/man/man4/MakefileFri Sep 26 09:19:11 2014
(r272165)
@@ -439,6 +439,7 @@ MAN=aac.4 \
smb.4 \
smbus.4 \
smp.4 \
+   smsc.4 \
sn.4 \
snd_ad1816.4 \
snd_als4000.4 \

Added: head/share/man/man4/smsc.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/smsc.4  Fri Sep 26 09:19:11 2014(r272165)
@@ -0,0 +1,89 @@
+.\ Copyright (c) 2014 Gavin Atkinson
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\
+.\- Redistributions of source code must retain the above copyright
+.\  notice, this list of conditions and the following disclaimer.
+.\- 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 COPYRIGHT HOLDERS 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
+.\ COPYRIGHT HOLDERS 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.
+.\
+.\ $FreeBSD$
+.\
+.Dd September 26, 2014
+.Dt SMSC 4
+.Os
+.Sh NAME
+.Nm smsc
+.Nd USB SMSC LAN9xxx Fast Ethernet driver
+.Sh SYNOPSIS
+To load the driver as a module at boot time, place the
+following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+if_smsc_load=YES
+.Ed
+.Pp
+Alternatively, to compile this driver into the kernel, place the
+following lines in your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd device uhci
+.Cd device ohci
+.Cd device usb
+.Cd device smsc
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+device driver provides support for USB Fast Ethernet adapters based
+on the SMSC LAN9xxx chipsets.
+.Pp
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh HARDWARE
+The following devices are supported by the
+.Nm
+driver:
+.Pp
+.Bl -bullet -compact
+.It
+SMSC LAN9500, LAN9500A, LAN9505 and LAN9505A based Ethernet adapters
+.It
+SMSC LAN89530, LAN9530 and LAN9730 based Ethernet adapters
+.It
+SMSC LAN951x Ethernet adapters with integrated USB hub
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr intro 4 ,
+.Xr netintro 4 ,
+.Xr usb 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Fx 10.0 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Ben Gray Aq Mt bg...@freebsd.org .
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-09-26 Thread Gavin Atkinson
Author: gavin
Date: Fri Sep 26 09:54:57 2014
New Revision: 272168
URL: http://svnweb.freebsd.org/changeset/base/272168

Log:
  Add MLINKS for if_ipheth(4) and if_smsc(4).
  
  Submitted by: brueffer
  MFC after:6 days

Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileFri Sep 26 09:52:39 2014
(r272167)
+++ head/share/man/man4/MakefileFri Sep 26 09:54:57 2014
(r272168)
@@ -660,6 +660,7 @@ MLINKS+=ip.4 rawip.4
 MLINKS+=ipfirewall.4 ipaccounting.4 \
ipfirewall.4 ipacct.4 \
ipfirewall.4 ipfw.4
+MLINKS+=ipheth.4 if_ipheth.4
 MLINKS+=ipw.4 if_ipw.4
 MLINKS+=iwi.4 if_iwi.4
 MLINKS+=iwn.4 if_iwn.4
@@ -714,6 +715,7 @@ MLINKS+=sge.4 if_sge.4
 MLINKS+=sis.4 if_sis.4
 MLINKS+=sk.4 if_sk.4
 MLINKS+=smp.4 SMP.4
+MLINKS+=smsc.4 if_smsc.4
 MLINKS+=sn.4 if_sn.4
 MLINKS+=snd_envy24.4 snd_ak452x.4
 MLINKS+=snd_sbc.4 snd_sb16.4 \
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272180 - head/release/doc/en_US.ISO8859-1/hardware

2014-09-26 Thread Gavin Atkinson
Author: gavin
Date: Fri Sep 26 13:12:00 2014
New Revision: 272180
URL: http://svnweb.freebsd.org/changeset/base/272180

Log:
  Add ipheth(4) to the hardware notes.
  
  MFC after:6 days

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.xml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.xml   Fri Sep 26 
13:02:29 2014(r272179)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.xml   Fri Sep 26 
13:12:00 2014(r272180)
@@ -837,6 +837,8 @@
 
   hwlist.igb;
 
+  hwlist.ipheth;
+
   hwlist.ixgb;
 
   hwlist.ixgbe;
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272103 - in head/sys: arm/conf arm/s3c2xx0 arm/samsung/s3c2xx0 dev/usb/controller

2014-09-25 Thread Gavin Atkinson
Author: gavin
Date: Thu Sep 25 11:38:26 2014
New Revision: 272103
URL: http://svnweb.freebsd.org/changeset/base/272103

Log:
  Move the ARM Samsung s3c2xx0 support files into the samsung directory, to
  match other platforms.
  
  Discussed with:   andrew

Added:
  head/sys/arm/samsung/s3c2xx0/
 - copied from r272070, head/sys/arm/s3c2xx0/
Deleted:
  head/sys/arm/s3c2xx0/
Modified:
  head/sys/arm/conf/LN2410SBC
  head/sys/arm/conf/NOTES
  head/sys/arm/samsung/s3c2xx0/board_ln2410sbc.c
  head/sys/arm/samsung/s3c2xx0/files.s3c2xx0
  head/sys/arm/samsung/s3c2xx0/s3c2410reg.h
  head/sys/arm/samsung/s3c2xx0/s3c2410var.h
  head/sys/arm/samsung/s3c2xx0/s3c2440reg.h
  head/sys/arm/samsung/s3c2xx0/s3c24x0.c
  head/sys/arm/samsung/s3c2xx0/s3c24x0_clk.c
  head/sys/arm/samsung/s3c2xx0/s3c24x0_machdep.c
  head/sys/arm/samsung/s3c2xx0/s3c24x0_rtc.c
  head/sys/arm/samsung/s3c2xx0/s3c24x0reg.h
  head/sys/arm/samsung/s3c2xx0/s3c24x0var.h
  head/sys/arm/samsung/s3c2xx0/std.ln2410sbc
  head/sys/arm/samsung/s3c2xx0/std.s3c2410
  head/sys/arm/samsung/s3c2xx0/uart_bus_s3c2410.c
  head/sys/arm/samsung/s3c2xx0/uart_cpu_s3c2410.c
  head/sys/arm/samsung/s3c2xx0/uart_dev_s3c2410.c
  head/sys/dev/usb/controller/ohci_s3c24x0.c

Modified: head/sys/arm/conf/LN2410SBC
==
--- head/sys/arm/conf/LN2410SBC Thu Sep 25 10:59:01 2014(r272102)
+++ head/sys/arm/conf/LN2410SBC Thu Sep 25 11:38:26 2014(r272103)
@@ -19,7 +19,7 @@
 
 ident  LN2410SBC
 
-include../s3c2xx0/std.ln2410sbc
+include../samsung/s3c2xx0/std.ln2410sbc
 #To statically compile in device wiring instead of /boot/device.hints
 #hints GENERIC.hints # Default places to look for devices.
 makeoptionsMODULES_OVERRIDE=

Modified: head/sys/arm/conf/NOTES
==
--- head/sys/arm/conf/NOTES Thu Sep 25 10:59:01 2014(r272102)
+++ head/sys/arm/conf/NOTES Thu Sep 25 11:38:26 2014(r272103)
@@ -19,7 +19,7 @@ files ../mv/discovery/files.db78xxx
 files  ../mv/kirkwood/files.kirkwood
 files  ../mv/orion/files.db88f5xxx
 files  ../mv/orion/files.ts7800
-files  ../s3c2xx0/files.s3c2xx0
+files  ../samsung/s3c2xx0/files.s3c2xx0
 files  ../xscale/i80321/files.ep80219
 files  ../xscale/i80321/files.i80219
 files  ../xscale/i80321/files.i80321

Modified: head/sys/arm/samsung/s3c2xx0/board_ln2410sbc.c
==
--- head/sys/arm/s3c2xx0/board_ln2410sbc.c  Wed Sep 24 12:41:39 2014
(r272070)
+++ head/sys/arm/samsung/s3c2xx0/board_ln2410sbc.c  Thu Sep 25 11:38:26 
2014(r272103)
@@ -30,8 +30,8 @@ __FBSDID($FreeBSD$);
 #include sys/param.h
 #include sys/systm.h
 
-#include arm/s3c2xx0/s3c2410reg.h
-#include arm/s3c2xx0/s3c2xx0board.h
+#include arm/samsung/s3c2xx0/s3c2410reg.h
+#include arm/samsung/s3c2xx0/s3c2xx0board.h
 
 extern vm_offset_t s3c2410_uart_vaddr;
 

Modified: head/sys/arm/samsung/s3c2xx0/files.s3c2xx0
==
--- head/sys/arm/s3c2xx0/files.s3c2xx0  Wed Sep 24 12:41:39 2014
(r272070)
+++ head/sys/arm/samsung/s3c2xx0/files.s3c2xx0  Thu Sep 25 11:38:26 2014
(r272103)
@@ -2,14 +2,14 @@
 arm/arm/bus_space_asm_generic.Sstandard
 arm/arm/bus_space_generic.cstandard
 arm/arm/cpufunc_asm_arm9.S standard
-arm/s3c2xx0/board_ln2410sbc.c  optionalboard_ln2410sbc
-arm/s3c2xx0/s3c24x0_rtc.c  standard
-arm/s3c2xx0/s3c24x0_machdep.c  standard
-arm/s3c2xx0/s3c24x0.c  standard
-arm/s3c2xx0/s3c2xx0_space.cstandard
-arm/s3c2xx0/s3c24x0_clk.c  standard
-arm/s3c2xx0/uart_bus_s3c2410.c optionaluart
-arm/s3c2xx0/uart_cpu_s3c2410.c optionaluart
-arm/s3c2xx0/uart_dev_s3c2410.c optionaluart
+arm/samsung/s3c2xx0/board_ln2410sbc.c  optionalboard_ln2410sbc
+arm/samsung/s3c2xx0/s3c24x0_rtc.c  standard
+arm/samsung/s3c2xx0/s3c24x0_machdep.c  standard
+arm/samsung/s3c2xx0/s3c24x0.c  standard
+arm/samsung/s3c2xx0/s3c2xx0_space.cstandard
+arm/samsung/s3c2xx0/s3c24x0_clk.c  standard
+arm/samsung/s3c2xx0/uart_bus_s3c2410.c optionaluart
+arm/samsung/s3c2xx0/uart_cpu_s3c2410.c optionaluart
+arm/samsung/s3c2xx0/uart_dev_s3c2410.c optionaluart
 
 dev/usb/controller/ohci_s3c24x0.c  optionalohci

Modified: head/sys/arm/samsung/s3c2xx0/s3c2410reg.h
==
--- head/sys/arm/s3c2xx0/s3c2410reg.h   Wed Sep 24 12:41:39 2014
(r272070)
+++ head/sys/arm/samsung/s3c2xx0/s3c2410reg.h   Thu Sep 25 11:38:26 2014
(r272103)
@@ -42,7 +42,7 @@
 #define_ARM_S3C2XX0_S3C2410REG_H_
 
 /* common definitions for S3C2410 and S3C2440 */
-#include arm/s3c2xx0/s3c24x0reg.h
+#include arm/samsung/s3c2xx0/s3c24x0reg.h
 
 /*
  * 

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

2014-09-25 Thread Gavin Atkinson
Author: gavin
Date: Thu Sep 25 14:18:34 2014
New Revision: 272106
URL: http://svnweb.freebsd.org/changeset/base/272106

Log:
  Add basic man page for ipheth(4).
  
  MFC after:1 week

Added:
  head/share/man/man4/ipheth.4   (contents, props changed)
Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileThu Sep 25 13:31:08 2014
(r272105)
+++ head/share/man/man4/MakefileThu Sep 25 14:18:34 2014
(r272106)
@@ -200,6 +200,7 @@ MAN=aac.4 \
ip.4 \
ip6.4 \
ipfirewall.4 \
+   ipheth.4 \
${_ipmi.4} \
ips.4 \
ipsec.4 \

Added: head/share/man/man4/ipheth.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/ipheth.4Thu Sep 25 14:18:34 2014
(r272106)
@@ -0,0 +1,93 @@
+.\ Copyright (c) 2014 Gavin Atkinson
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\
+.\- Redistributions of source code must retain the above copyright
+.\  notice, this list of conditions and the following disclaimer.
+.\- 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 COPYRIGHT HOLDERS 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
+.\ COPYRIGHT HOLDERS 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.
+.\
+.\ $FreeBSD$
+.\
+.Dd September 25, 2014
+.Dt IPHETH 4
+.Os
+.Sh NAME
+.Nm ipheth
+.Nd USB Apple iPhone/iPad Ethernet driver
+.Sh SYNOPSIS
+To load the driver as a module at boot time, place the
+following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+if_ipheth_load=YES
+.Ed
+.Pp
+Alternatively, to compile this driver into the kernel, place the
+following lines in your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd device uhci
+.Cd device ohci
+.Cd device usb
+.Cd device ipheth
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for network access through Apple
+iPhone and iPad devices, often referred to as USB tethering.
+.Pp
+.Nm
+should work with any Apple iPhone or iPad device.
+In most cases this must be explicitly enabled on the device first.
+.Pp
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh HARDWARE
+The following devices are supported by the
+.Nm
+driver:
+.Pp
+.Bl -bullet -compact
+.It
+Apple iPhone (all models)
+.It
+Apple iPad (all models)
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr cdce 4 ,
+.Xr intro 4 ,
+.Xr netintro 4 ,
+.Xr urndis 4 ,
+.Xr usb 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Fx 8.2 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Hans Petter Selasky Aq Mt hsela...@freebsd.org .
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-09-25 Thread Gavin Atkinson
Author: gavin
Date: Thu Sep 25 14:22:32 2014
New Revision: 272107
URL: http://svnweb.freebsd.org/changeset/base/272107

Log:
  Cross reference cdce(4), ipheth(4) and urndis(4) from each other.
  
  MFC after:1 week

Modified:
  head/share/man/man4/cdce.4
  head/share/man/man4/urndis.4

Modified: head/share/man/man4/cdce.4
==
--- head/share/man/man4/cdce.4  Thu Sep 25 14:18:34 2014(r272106)
+++ head/share/man/man4/cdce.4  Thu Sep 25 14:22:32 2014(r272107)
@@ -28,7 +28,7 @@
 .\ $NetBSD: cdce.4,v 1.4 2004/12/08 18:35:56 peter Exp $
 .\ $FreeBSD$
 .\
-.Dd September 17, 2005
+.Dd September 25, 2014
 .Dt CDCE 4
 .Os
 .Sh NAME
@@ -114,9 +114,10 @@ is running low on mbufs.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr intro 4 ,
+.Xr ipheth 4 ,
 .Xr netintro 4 ,
+.Xr urndis 4 ,
 .Xr usb 4 ,
-.\ .Xr hostname.if 5 ,
 .Xr ifconfig 8
 .Rs
 .%T Universal Serial Bus Class Definitions for Communication Devices

Modified: head/share/man/man4/urndis.4
==
--- head/share/man/man4/urndis.4Thu Sep 25 14:18:34 2014
(r272106)
+++ head/share/man/man4/urndis.4Thu Sep 25 14:22:32 2014
(r272107)
@@ -29,7 +29,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd April 21, 2014
+.Dd September 25, 2014
 .Dt URNDIS 4
 .Os
 .Sh NAME
@@ -70,6 +70,8 @@ For more information on configuring this
 .Xr ifconfig 8 .
 .Sh SEE ALSO
 .Xr arp 4 ,
+.Xr cdce 4 ,
+.Xr ipheth 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
 .Xr ifconfig 8
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r272077 - svnadmin/conf

2014-09-24 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep 24 19:30:12 2014
New Revision: 272077
URL: http://svnweb.freebsd.org/changeset/base/272077

Log:
  Take odeds bit into safekeeping.
  
  Submitted by: odeds via hselasky and jhb
  Approved by:  core (implicit)

Modified:
  svnadmin/conf/access
  svnadmin/conf/mentors

Modified: svnadmin/conf/access
==
--- svnadmin/conf/accessWed Sep 24 18:38:51 2014(r272076)
+++ svnadmin/conf/accessWed Sep 24 19:30:12 2014(r272077)
@@ -165,7 +165,6 @@ np
 nwhitehorn
 nyan
 obrien
-odeds
 oleg
 peter  pe...@wemm.org
 peterj

Modified: svnadmin/conf/mentors
==
--- svnadmin/conf/mentors   Wed Sep 24 18:38:51 2014(r272076)
+++ svnadmin/conf/mentors   Wed Sep 24 19:30:12 2014(r272077)
@@ -28,7 +28,6 @@ kadesai   ken Co-mentor: scottl, 
ambrisk
 mahrensmckusick
 miwi   rwatson
 monthadar  adrian
-odeds  jhb Co-mentor: alfred
 peterj jhb Co-mentor: grog
 pkelseyjmallett
 slmken Co-mentor: scottl, ambrisko
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-09-19 Thread Gavin Atkinson
Author: gavin
Date: Sat Sep 20 00:19:45 2014
New Revision: 271883
URL: http://svnweb.freebsd.org/changeset/base/271883

Log:
  Explain how to load the malo(4) firmware on boot.
  
  PR:   193653
  Submitted by: Juan Ramón Molina Menor
  MFC after:3 days

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

Modified: head/share/man/man4/malo.4
==
--- head/share/man/man4/malo.4  Fri Sep 19 23:38:44 2014(r271882)
+++ head/share/man/man4/malo.4  Sat Sep 20 00:19:45 2014(r271883)
@@ -31,7 +31,7 @@
 .\
 .\ $FreeBSD$
 .\/
-.Dd October 21, 2009
+.Dd September 20, 2014
 .Dt MALO 4
 .Os
 .Sh NAME
@@ -49,7 +49,7 @@ kernel configuration file:
 .Ed
 .Pp
 Alternatively, to load the driver as a
-module at boot time, place the following lines in
+module at boot time, place the following line in
 .Xr loader.conf 5 :
 .Bd -literal -offset indent
 if_malo_load=YES
@@ -84,6 +84,15 @@ the archive and running
 in the
 .Pa malo-firmware-1.4
 directory.
+.Pp
+To load the
+.Nm malofw
+firmware kernel module at boot time, place the following
+line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+malofw_load=YES
+.Ed
 .Sh HARDWARE
 The following cards are among those supported by the
 .Nm
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org

svn commit: r271058 - stable/10/sbin/camcontrol

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:04:23 2014
New Revision: 271058
URL: http://svnweb.freebsd.org/changeset/base/271058

Log:
  Merge 270872 from head:
  
Fix character case in examples for camcontrol security - should be
-U user not -u user.
  
  PR:   193179
  Submitted by: milios ccsys com

Modified:
  stable/10/sbin/camcontrol/camcontrol.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sbin/camcontrol/camcontrol.8
==
--- stable/10/sbin/camcontrol/camcontrol.8  Wed Sep  3 21:59:07 2014
(r271057)
+++ stable/10/sbin/camcontrol/camcontrol.8  Wed Sep  3 23:04:23 2014
(r271058)
@@ -27,7 +27,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd November 20, 2013
+.Dd August 31, 2014
 .Dt CAMCONTROL 8
 .Os
 .Sh NAME
@@ -1884,12 +1884,12 @@ camcontrol security ada0
 .Pp
 Report security support and settings for ada0
 .Bd -literal -offset indent
-camcontrol security ada0 -u user -s MyPass
+camcontrol security ada0 -U user -s MyPass
 .Ed
 .Pp
 Enable security on device ada0 with the password MyPass
 .Bd -literal -offset indent
-camcontrol security ada0 -u user -e MyPass
+camcontrol security ada0 -U user -e MyPass
 .Ed
 .Pp
 Secure erase ada0 which has had security enabled with user password MyPass
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271059 - stable/9/sbin/camcontrol

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:06:22 2014
New Revision: 271059
URL: http://svnweb.freebsd.org/changeset/base/271059

Log:
  Merge 270872 from head:
  
Fix character case in examples for camcontrol security - should be
-U user not -u user.
  
  PR:   193179
  Submitted by: milios ccsys com

Modified:
  stable/9/sbin/camcontrol/camcontrol.8
Directory Properties:
  stable/9/sbin/camcontrol/   (props changed)

Modified: stable/9/sbin/camcontrol/camcontrol.8
==
--- stable/9/sbin/camcontrol/camcontrol.8   Wed Sep  3 23:04:23 2014
(r271058)
+++ stable/9/sbin/camcontrol/camcontrol.8   Wed Sep  3 23:06:22 2014
(r271059)
@@ -27,7 +27,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd April 24, 2013
+.Dd August 31, 2014
 .Dt CAMCONTROL 8
 .Os
 .Sh NAME
@@ -1580,12 +1580,12 @@ camcontrol security ada0
 .Pp
 Report security support and settings for ada0
 .Bd -literal -offset indent
-camcontrol security ada0 -u user -s MyPass 
+camcontrol security ada0 -U user -s MyPass
 .Ed
 .Pp
 Enable security on device ada0 with the password MyPass
 .Bd -literal -offset indent
-camcontrol security ada0 -u user -e MyPass
+camcontrol security ada0 -U user -e MyPass
 .Ed
 .Pp
 Secure erase ada0 which has had security enabled with user password MyPass
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271061 - stable/9/sys/dev/pccbb

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:08:48 2014
New Revision: 271061
URL: http://svnweb.freebsd.org/changeset/base/271061

Log:
  Merge r269488 from head:
  
For reasons which are not clear, r254263 broke some PCMCIA and CardBus
bridges in strange ways, either rendering them unable to detect
insertion and removal events, or possibly unable to read from the
device behind the bridge.
  
This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
Instruments PCxx12 (d=0x8039 v=0c104c) bridge.  The very similar
Tecra M9 has the same bridge, but worked fine without this change.
  
The bridge chip has no I/O port BAR, and there is nothing in the spec
to suggest I/O decoding should be enabled; however enabling it fixes
the issue.  Add an XXX comment to this effect.
  
  Discussed with:   jhb, imp

Modified:
  stable/9/sys/dev/pccbb/pccbb_pci.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/pccbb/pccbb_pci.c
==
--- stable/9/sys/dev/pccbb/pccbb_pci.c  Wed Sep  3 23:08:21 2014
(r271060)
+++ stable/9/sys/dev/pccbb/pccbb_pci.c  Wed Sep  3 23:08:48 2014
(r271061)
@@ -472,6 +472,8 @@ cbb_chipinit(struct cbb_softc *sc)
 
/* Enable memory access */
pci_enable_busmaster(sc-dev);
+   /* XXX: This should not be necessary, but some chipsets require it */
+   PCI_MASK_CONFIG(sc-dev, PCIR_COMMAND, | PCIM_CMD_PORTEN, 2);
 
/* disable Legacy IO */
switch (sc-chipset) {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271060 - stable/10/sys/dev/pccbb

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:08:21 2014
New Revision: 271060
URL: http://svnweb.freebsd.org/changeset/base/271060

Log:
  Merge r269488 from head:
  
For reasons which are not clear, r254263 broke some PCMCIA and CardBus
bridges in strange ways, either rendering them unable to detect
insertion and removal events, or possibly unable to read from the
device behind the bridge.
  
This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
Instruments PCxx12 (d=0x8039 v=0c104c) bridge.  The very similar
Tecra M9 has the same bridge, but worked fine without this change.
  
The bridge chip has no I/O port BAR, and there is nothing in the spec
to suggest I/O decoding should be enabled; however enabling it fixes
the issue.  Add an XXX comment to this effect.
  
  Discussed with:   jhb, imp

Modified:
  stable/10/sys/dev/pccbb/pccbb_pci.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/pccbb/pccbb_pci.c
==
--- stable/10/sys/dev/pccbb/pccbb_pci.c Wed Sep  3 23:06:22 2014
(r271059)
+++ stable/10/sys/dev/pccbb/pccbb_pci.c Wed Sep  3 23:08:21 2014
(r271060)
@@ -472,6 +472,8 @@ cbb_chipinit(struct cbb_softc *sc)
 
/* Enable memory access */
pci_enable_busmaster(sc-dev);
+   /* XXX: This should not be necessary, but some chipsets require it */
+   PCI_MASK_CONFIG(sc-dev, PCIR_COMMAND, | PCIM_CMD_PORTEN, 2);
 
/* disable Legacy IO */
switch (sc-chipset) {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271062 - stable/10/share/man/man3

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:11:39 2014
New Revision: 271062
URL: http://svnweb.freebsd.org/changeset/base/271062

Log:
  Merge r269871 from head:
  
Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()
  
  Submitted by: Malcolm Douglas via freebsd-doc
  Reviewed by:  jhb

Modified:
  stable/10/share/man/man3/pthread.3
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/man/man3/pthread.3
==
--- stable/10/share/man/man3/pthread.3  Wed Sep  3 23:08:48 2014
(r271061)
+++ stable/10/share/man/man3/pthread.3  Wed Sep  3 23:11:39 2014
(r271062)
@@ -30,7 +30,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd January 8, 2010
+.Dd August 12, 2014
 .Dt PTHREAD 3
 .Os
 .Sh NAME
@@ -344,13 +344,13 @@ Unblock at least one of the threads bloc
 .Fa const struct timespec *abstime
 .Fc
 .Xc
-Wait no longer than the specified time for a condition
-and lock the specified mutex.
+Unlock the specified mutex, wait no longer than the specified time for
+a condition, and then relock the mutex.
 .It Xo
 .Ft int
 .Fn pthread_cond_wait pthread_cond_t * pthread_mutex_t *mutex
 .Xc
-Wait for a condition and lock the specified mutex.
+Unlock the specified mutex, wait for a condition, and relock the mutex.
 .El
 .Ss Read/Write Lock Routines
 .Bl -tag -width indent
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271063 - stable/9/share/man/man3

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:11:41 2014
New Revision: 271063
URL: http://svnweb.freebsd.org/changeset/base/271063

Log:
  Merge r269871 from head:
  
Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()
  
  Submitted by: Malcolm Douglas via freebsd-doc
  Reviewed by:  jhb

Modified:
  stable/9/share/man/man3/pthread.3
Directory Properties:
  stable/9/share/man/man3/   (props changed)

Modified: stable/9/share/man/man3/pthread.3
==
--- stable/9/share/man/man3/pthread.3   Wed Sep  3 23:11:39 2014
(r271062)
+++ stable/9/share/man/man3/pthread.3   Wed Sep  3 23:11:41 2014
(r271063)
@@ -30,7 +30,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd January 8, 2010
+.Dd August 12, 2014
 .Dt PTHREAD 3
 .Os
 .Sh NAME
@@ -344,13 +344,13 @@ Unblock at least one of the threads bloc
 .Fa const struct timespec *abstime
 .Fc
 .Xc
-Wait no longer than the specified time for a condition
-and lock the specified mutex.
+Unlock the specified mutex, wait no longer than the specified time for
+a condition, and then relock the mutex.
 .It Xo
 .Ft int
 .Fn pthread_cond_wait pthread_cond_t * pthread_mutex_t *mutex
 .Xc
-Wait for a condition and lock the specified mutex.
+Unlock the specified mutex, wait for a condition, and relock the mutex.
 .El
 .Ss Read/Write Lock Routines
 .Bl -tag -width indent
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271064 - stable/10/share/man/man9

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:14:26 2014
New Revision: 271064
URL: http://svnweb.freebsd.org/changeset/base/271064

Log:
  Merge r270251 from head:
  
Fix return type of callout_init_rm() and add return type to
callout_deactivate().
  
  PR:   192520
  Submitted by: ngie

Modified:
  stable/10/share/man/man9/timeout.9
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/man/man9/timeout.9
==
--- stable/10/share/man/man9/timeout.9  Wed Sep  3 23:11:41 2014
(r271063)
+++ stable/10/share/man/man9/timeout.9  Wed Sep  3 23:14:26 2014
(r271064)
@@ -29,7 +29,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd August 23, 2013
+.Dd August 21, 2014
 .Dt TIMEOUT 9
 .Os
 .Sh NAME
@@ -74,7 +74,7 @@ struct callout_handle handle = CALLOUT_H
 .Fn callout_init struct callout *c int mpsafe
 .Ft void
 .Fn callout_init_mtx struct callout *c struct mtx *mtx int flags
-.Fn void
+.Ft void
 .Fn callout_init_rm struct callout *c struct rmlock *rm int flags
 .Ft void
 .Fn callout_init_rw struct callout *c struct rwlock *rw int flags
@@ -103,6 +103,7 @@ struct callout_handle handle = CALLOUT_H
 .Fn callout_pending struct callout *c
 .Ft int
 .Fn callout_active struct callout *c
+.Ft void
 .Fn callout_deactivate struct callout *c
 .Sh DESCRIPTION
 The function
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271065 - stable/10/sys/sys

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:15:54 2014
New Revision: 271065
URL: http://svnweb.freebsd.org/changeset/base/271065

Log:
  Merge r270259 from head:
  
Add a missing brace to callout_init_rm() to fix syntax.

Modified:
  stable/10/sys/sys/callout.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/callout.h
==
--- stable/10/sys/sys/callout.h Wed Sep  3 23:14:26 2014(r271064)
+++ stable/10/sys/sys/callout.h Wed Sep  3 23:15:54 2014(r271065)
@@ -72,7 +72,7 @@ void  _callout_init_lock(struct callout *
_callout_init_lock((c), ((mtx) != NULL) ? (mtx)-lock_object : \
NULL, (flags))
 #definecallout_init_rm(c, rm, flags)   
\
-   _callout_init_lock((c), ((rm != NULL) ? (rm)-lock_object :\
+   _callout_init_lock((c), ((rm) != NULL) ? (rm)-lock_object :   \
NULL, (flags))
 #definecallout_init_rw(c, rw, flags)   
\
_callout_init_lock((c), ((rw) != NULL) ? (rw)-lock_object :   \
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271066 - stable/9/etc/pam.d

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:18:08 2014
New Revision: 271066
URL: http://svnweb.freebsd.org/changeset/base/271066

Log:
  Merge r270677 from head:
  
Fix xref, pam(8) - pam(3)
  
  PR:   193045
  Submitted by: rsimmons0 gmail com

Modified:
  stable/9/etc/pam.d/README
Directory Properties:
  stable/9/etc/pam.d/   (props changed)

Modified: stable/9/etc/pam.d/README
==
--- stable/9/etc/pam.d/README   Wed Sep  3 23:15:54 2014(r271065)
+++ stable/9/etc/pam.d/README   Wed Sep  3 23:18:08 2014(r271066)
@@ -8,7 +8,7 @@ particular service, the /etc/pam.d/other
 file does not exist, /etc/pam.conf is searched for entries matching
 the specified service or, failing that, the other service.
 
-See the pam(8) manual page for an explanation of the workings of the
+See the pam(3) manual page for an explanation of the workings of the
 PAM library and descriptions of the various files and modules.  Below
 is a summary of the format for the pam.conf and /etc/pam.d/* files.
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271067 - stable/10/etc/pam.d

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:18:13 2014
New Revision: 271067
URL: http://svnweb.freebsd.org/changeset/base/271067

Log:
  Merge r270677 from head:
  
Fix xref, pam(8) - pam(3)
  
  PR:   193045
  Submitted by: rsimmons0 gmail com

Modified:
  stable/10/etc/pam.d/README
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/pam.d/README
==
--- stable/10/etc/pam.d/README  Wed Sep  3 23:18:08 2014(r271066)
+++ stable/10/etc/pam.d/README  Wed Sep  3 23:18:13 2014(r271067)
@@ -8,7 +8,7 @@ particular service, the /etc/pam.d/other
 file does not exist, /etc/pam.conf is searched for entries matching
 the specified service or, failing that, the other service.
 
-See the pam(8) manual page for an explanation of the workings of the
+See the pam(3) manual page for an explanation of the workings of the
 PAM library and descriptions of the various files and modules.  Below
 is a summary of the format for the pam.conf and /etc/pam.d/* files.
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271068 - stable/9/sys/dev/asmc

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:29:01 2014
New Revision: 271068
URL: http://svnweb.freebsd.org/changeset/base/271068

Log:
  Merge r268303 from head:
  
Add support to asmc(4) for Macmini 3,1.
  
  PR:   190195
  Submitted by: fbsdbugs2 sentry.org
  Relnotes: yes

Modified:
  stable/9/sys/dev/asmc/asmc.c
  stable/9/sys/dev/asmc/asmcvar.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/asmc/asmc.c
==
--- stable/9/sys/dev/asmc/asmc.cWed Sep  3 23:18:13 2014
(r271067)
+++ stable/9/sys/dev/asmc/asmc.cWed Sep  3 23:29:01 2014
(r271068)
@@ -206,6 +206,15 @@ struct asmc_model asmc_models[] = {
  ASMC_MM_TEMPS, ASMC_MM_TEMPNAMES, ASMC_MM_TEMPDESCS
},
 
+   /* The Mac Mini 3,1 has no SMS */
+   { 
+ Macmini3,1, Apple SMC Mac Mini 3,1,
+ NULL, NULL, NULL,
+ ASMC_FAN_FUNCS,
+ NULL, NULL, NULL,
+ ASMC_MM31_TEMPS, ASMC_MM31_TEMPNAMES, ASMC_MM31_TEMPDESCS
+   },
+
/* Idem for the MacPro */
{
  MacPro2, Apple SMC Mac Pro (8-core),

Modified: stable/9/sys/dev/asmc/asmcvar.h
==
--- stable/9/sys/dev/asmc/asmcvar.h Wed Sep  3 23:18:13 2014
(r271067)
+++ stable/9/sys/dev/asmc/asmcvar.h Wed Sep  3 23:29:01 2014
(r271068)
@@ -180,6 +180,25 @@ struct asmc_softc {
 #define ASMC_MM_TEMPDESCS  { Northbridge Point 1, \
  Northbridge Point 2 }
 
+#define ASMC_MM31_TEMPS{ TC0D, TC0H, \
+ TC0P, TH0P, \
+ TN0D, TN0P, \
+ TW0P, NULL }
+
+#define ASMC_MM31_TEMPNAMES{ cpu0_die, cpu0_heatsink, \
+ cpu0_proximity, hdd_bay, \
+ northbridge_die, \
+ northbridge_proximity, \
+ wireless_module, }
+
+#define ASMC_MM31_TEMPDESCS{ CPU0 Die Core Temperature, \
+ CPU0 Heatsink Temperature, \
+ CPU0 Proximity Temperature, \
+ HDD Bay Temperature, \
+ Northbridge Die Core Temperature, \
+ Northbridge Proximity Temperature, \
+ Wireless Module Temperature, }
+
 #define ASMC_MP_TEMPS  { TA0P, TCAG, TCAH, TCBG, TCBH, \
  TC0C, TC0D, TC0P, TC1C, TC1D, \
  TC2C, TC2D, TC3C, TC3D, THTG, \
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r271069 - stable/10/sys/dev/asmc

2014-09-03 Thread Gavin Atkinson
Author: gavin
Date: Wed Sep  3 23:29:06 2014
New Revision: 271069
URL: http://svnweb.freebsd.org/changeset/base/271069

Log:
  Merge r268303 from head:
  
Add support to asmc(4) for Macmini 3,1.
  
  PR:   190195
  Submitted by: fbsdbugs2 sentry.org
  Relnotes: yes

Modified:
  stable/10/sys/dev/asmc/asmc.c
  stable/10/sys/dev/asmc/asmcvar.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/asmc/asmc.c
==
--- stable/10/sys/dev/asmc/asmc.c   Wed Sep  3 23:29:01 2014
(r271068)
+++ stable/10/sys/dev/asmc/asmc.c   Wed Sep  3 23:29:06 2014
(r271069)
@@ -206,6 +206,15 @@ struct asmc_model asmc_models[] = {
  ASMC_MM_TEMPS, ASMC_MM_TEMPNAMES, ASMC_MM_TEMPDESCS
},
 
+   /* The Mac Mini 3,1 has no SMS */
+   { 
+ Macmini3,1, Apple SMC Mac Mini 3,1,
+ NULL, NULL, NULL,
+ ASMC_FAN_FUNCS,
+ NULL, NULL, NULL,
+ ASMC_MM31_TEMPS, ASMC_MM31_TEMPNAMES, ASMC_MM31_TEMPDESCS
+   },
+
/* Idem for the MacPro */
{
  MacPro2, Apple SMC Mac Pro (8-core),

Modified: stable/10/sys/dev/asmc/asmcvar.h
==
--- stable/10/sys/dev/asmc/asmcvar.hWed Sep  3 23:29:01 2014
(r271068)
+++ stable/10/sys/dev/asmc/asmcvar.hWed Sep  3 23:29:06 2014
(r271069)
@@ -180,6 +180,25 @@ struct asmc_softc {
 #define ASMC_MM_TEMPDESCS  { Northbridge Point 1, \
  Northbridge Point 2 }
 
+#define ASMC_MM31_TEMPS{ TC0D, TC0H, \
+ TC0P, TH0P, \
+ TN0D, TN0P, \
+ TW0P, NULL }
+
+#define ASMC_MM31_TEMPNAMES{ cpu0_die, cpu0_heatsink, \
+ cpu0_proximity, hdd_bay, \
+ northbridge_die, \
+ northbridge_proximity, \
+ wireless_module, }
+
+#define ASMC_MM31_TEMPDESCS{ CPU0 Die Core Temperature, \
+ CPU0 Heatsink Temperature, \
+ CPU0 Proximity Temperature, \
+ HDD Bay Temperature, \
+ Northbridge Die Core Temperature, \
+ Northbridge Proximity Temperature, \
+ Wireless Module Temperature, }
+
 #define ASMC_MP_TEMPS  { TA0P, TCAG, TCAH, TCBG, TCBH, \
  TC0C, TC0D, TC0P, TC1C, TC1D, \
  TC2C, TC2D, TC3C, TC3D, THTG, \
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r270872 - head/sbin/camcontrol

2014-08-31 Thread Gavin Atkinson
Author: gavin
Date: Sun Aug 31 10:28:31 2014
New Revision: 270872
URL: http://svnweb.freebsd.org/changeset/base/270872

Log:
  Fix character case in examples for camcontrol security - should be
  -U user not -u user.
  
  PR:   193179
  Submitted by: milios ccsys com
  MFC after:3 days

Modified:
  head/sbin/camcontrol/camcontrol.8

Modified: head/sbin/camcontrol/camcontrol.8
==
--- head/sbin/camcontrol/camcontrol.8   Sun Aug 31 09:05:02 2014
(r270871)
+++ head/sbin/camcontrol/camcontrol.8   Sun Aug 31 10:28:31 2014
(r270872)
@@ -27,7 +27,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd November 20, 2013
+.Dd August 31, 2014
 .Dt CAMCONTROL 8
 .Os
 .Sh NAME
@@ -1884,12 +1884,12 @@ camcontrol security ada0
 .Pp
 Report security support and settings for ada0
 .Bd -literal -offset indent
-camcontrol security ada0 -u user -s MyPass
+camcontrol security ada0 -U user -s MyPass
 .Ed
 .Pp
 Enable security on device ada0 with the password MyPass
 .Bd -literal -offset indent
-camcontrol security ada0 -u user -e MyPass
+camcontrol security ada0 -U user -e MyPass
 .Ed
 .Pp
 Secure erase ada0 which has had security enabled with user password MyPass
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r270854 - head/sys/dev/bktr

2014-08-30 Thread Gavin Atkinson
Author: gavin
Date: Sat Aug 30 18:01:45 2014
New Revision: 270854
URL: http://svnweb.freebsd.org/changeset/base/270854

Log:
  Replace cvsweb link wihg svnweb URL in bktr(4) release notes.

Modified:
  head/sys/dev/bktr/CHANGELOG.TXT

Modified: head/sys/dev/bktr/CHANGELOG.TXT
==
--- head/sys/dev/bktr/CHANGELOG.TXT Sat Aug 30 18:01:36 2014
(r270853)
+++ head/sys/dev/bktr/CHANGELOG.TXT Sat Aug 30 18:01:45 2014
(r270854)
@@ -515,5 +515,5 @@
   support for audio on Hauppauge cards without the audio mux.
   The MSP is used for audio selection. (the 44xxx models)
 
-[see http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bktr/
+[see https://svnweb.freebsd.org/base/head/sys/dev/bktr/
 for newer change logs ]
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r270677 - head/etc/pam.d

2014-08-26 Thread Gavin Atkinson
Author: gavin
Date: Tue Aug 26 22:39:24 2014
New Revision: 270677
URL: http://svnweb.freebsd.org/changeset/base/270677

Log:
  Fix xref, pam(8) - pam(3)
  
  PR:   193045
  Submitted by: rsimmons0 gmail com
  MFC after:3 days

Modified:
  head/etc/pam.d/README

Modified: head/etc/pam.d/README
==
--- head/etc/pam.d/README   Tue Aug 26 22:33:34 2014(r270676)
+++ head/etc/pam.d/README   Tue Aug 26 22:39:24 2014(r270677)
@@ -8,7 +8,7 @@ particular service, the /etc/pam.d/other
 file does not exist, /etc/pam.conf is searched for entries matching
 the specified service or, failing that, the other service.
 
-See the pam(8) manual page for an explanation of the workings of the
+See the pam(3) manual page for an explanation of the workings of the
 PAM library and descriptions of the various files and modules.  Below
 is a summary of the format for the pam.conf and /etc/pam.d/* files.
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r270259 - head/sys/sys

2014-08-21 Thread Gavin Atkinson
Author: gavin
Date: Thu Aug 21 07:52:51 2014
New Revision: 270259
URL: http://svnweb.freebsd.org/changeset/base/270259

Log:
  Add a missing brace to callout_init_rm() to fix syntax.
  
  MFC after:1 week

Modified:
  head/sys/sys/callout.h

Modified: head/sys/sys/callout.h
==
--- head/sys/sys/callout.h  Thu Aug 21 04:31:48 2014(r270258)
+++ head/sys/sys/callout.h  Thu Aug 21 07:52:51 2014(r270259)
@@ -72,7 +72,7 @@ void  _callout_init_lock(struct callout *
_callout_init_lock((c), ((mtx) != NULL) ? (mtx)-lock_object : \
NULL, (flags))
 #definecallout_init_rm(c, rm, flags)   
\
-   _callout_init_lock((c), ((rm != NULL) ? (rm)-lock_object :\
+   _callout_init_lock((c), ((rm) != NULL) ? (rm)-lock_object :   \
NULL, (flags))
 #definecallout_init_rw(c, rw, flags)   
\
_callout_init_lock((c), ((rw) != NULL) ? (rw)-lock_object :   \
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r270251 - head/share/man/man9

2014-08-20 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 20 23:29:34 2014
New Revision: 270251
URL: http://svnweb.freebsd.org/changeset/base/270251

Log:
  Fix return type of callout_init_rm() and add return type to
  callout_deactivate().
  
  PR:   192520
  Submitted by: yaneurabeya gmail com
  MFC after:3 days

Modified:
  head/share/man/man9/timeout.9

Modified: head/share/man/man9/timeout.9
==
--- head/share/man/man9/timeout.9   Wed Aug 20 23:09:27 2014
(r270250)
+++ head/share/man/man9/timeout.9   Wed Aug 20 23:29:34 2014
(r270251)
@@ -29,7 +29,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd July 17, 2014
+.Dd August 21, 2014
 .Dt TIMEOUT 9
 .Os
 .Sh NAME
@@ -74,7 +74,7 @@ struct callout_handle handle = CALLOUT_H
 .Fn callout_init struct callout *c int mpsafe
 .Ft void
 .Fn callout_init_mtx struct callout *c struct mtx *mtx int flags
-.Fn void
+.Ft void
 .Fn callout_init_rm struct callout *c struct rmlock *rm int flags
 .Ft void
 .Fn callout_init_rw struct callout *c struct rwlock *rw int flags
@@ -103,6 +103,7 @@ struct callout_handle handle = CALLOUT_H
 .Fn callout_pending struct callout *c
 .Ft int
 .Fn callout_active struct callout *c
+.Ft void
 .Fn callout_deactivate struct callout *c
 .Sh DESCRIPTION
 The function
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269970 - stable/10/usr.sbin/jail

2014-08-14 Thread Gavin Atkinson
Author: gavin
Date: Thu Aug 14 12:50:25 2014
New Revision: 269970
URL: http://svnweb.freebsd.org/changeset/base/269970

Log:
  Merge r266206 from head (by bjk):
  
Review pass through jail.8
  
Replace usage of prison with jail, since that term has mostly dropped
out of use.  Note once at the beginning that the prison term is 
equivalent,
but do not use it otherwise. [1]
  
Some grammar issues.
  
Some mdoc formatting fixes.
  
Consistently use \(em for em dashes, with spaces around it.
  
Avoid contractions.
  
Prefer ssh to telnet.
  
  PR:   176832 [1]

Modified:
  stable/10/usr.sbin/jail/jail.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/jail/jail.8
==
--- stable/10/usr.sbin/jail/jail.8  Thu Aug 14 12:33:24 2014
(r269969)
+++ stable/10/usr.sbin/jail/jail.8  Thu Aug 14 12:50:25 2014
(r269970)
@@ -63,7 +63,9 @@
 The
 .Nm
 utility creates new jails, or modifies or removes existing jails.
-A jail is specified via parameters on the command line, or in the
+A jail
+.Pq or Dq prison
+is specified via parameters on the command line, or in the
 .Xr jail.conf 5
 file.
 .Pp
@@ -73,7 +75,7 @@ At least one of the options
 or
 .Fl r
 must be specified.
-These options are used alone or in combination describe the operation to
+These options are used alone or in combination to describe the operation to
 perform:
 .Bl -tag -width indent
 .It Fl c
@@ -82,8 +84,7 @@ The jail
 .Va jid
 and
 .Va name
-parameters (if specified) on the command line,
-or any jails
+parameters (if specified on the command line)
 must not refer to an existing jail.
 .It Fl m
 Modify an existing jail.
@@ -97,14 +98,15 @@ Some parameters may not be changed on a 
 Remove the
 .Ar jail
 specified by jid or name.
-All jailed processes are killed, and all children of this jail are also
+All jailed processes are killed, and all jails that are
+children of this jail are also
 removed.
 .It Fl rc
 Restart an existing jail.
 The jail is first removed and then re-created, as if
-.Dq Nm Fl c
-and
 .Dq Nm Fl r
+and
+.Dq Nm Fl c
 were run in succession.
 .It Fl cm
 Create a jail if it does not exist, or modify the jail if it does exist.
@@ -134,7 +136,7 @@ Resolve the
 parameter (or
 .Va hostname )
 and add all IP addresses returned by the resolver
-to the list of addresses for this prison.
+to the list of addresses for this jail.
 This is equivalent to the
 .Va ip_hostname
 parameter.
@@ -146,7 +148,7 @@ option.
 .It Fl J Ar jid_file
 Write a
 .Ar jid_file
-file, containing parameters used to start the jail.
+file, containing the parameters used to start the jail.
 .It Fl l
 Run commands in a clean environment.
 This is deprecated and is equivalent to the exec.clean parameter.
@@ -166,7 +168,7 @@ Only error messages will be printed.
 A variation of the
 .Fl r
 option that removes an existing jail without using the configuration file.
-No removal-related parameters for this jail will be used - the jail will
+No removal-related parameters for this jail will be used \(em the jail will
 simply be removed.
 .It Fl s Ar securelevel
 Set the
@@ -183,7 +185,7 @@ and
 .Va exec.system_jail_user
 parameters.
 .It Fl U Ar username
-The user name from jailed environment as whom jailed commands should run.
+The user name from the jailed environment as whom jailed commands should run.
 This is deprecated and is equivalent to the
 .Va exec.jail_user
 parameter.
@@ -237,13 +239,12 @@ This mode will always create a new jail,
 .Fl c
 and
 .Fl m
-options don't apply (and must not exist).
+options do not apply (and must not be present).
 .Ss Jail Parameters
 Parameters in the
 .Xr jail.conf 5
-file, or on the command line, are generally in
-.Dq name=value
-form.
+file, or on the command line, are generally of the form
+.Dq name=value .
 Some parameters are boolean, and do not have a value but are set by the
 name alone with or without a
 .Dq no
@@ -264,9 +265,10 @@ for details).
 .Pp
 The
 .Nm
-utility recognizes two classes of parameters.  There are the true jail
+utility recognizes two classes of parameters.
+There are the true jail
 parameters that are passed to the kernel when the jail is created,
-can be seen with
+which can be seen with
 .Xr jls 8 ,
 and can (usually) be changed with
 .Dq Nm Fl m .
@@ -314,26 +316,26 @@ parameter is implied by the
 file format, and need not be explicitly set when using the configuration
 file.
 .It Va path
-The directory which is to be the root of the prison.
-Any commands run inside the prison, either by
+The directory which is to be the root of the jail.
+Any commands run inside the jail, either by
 .Nm
 or from
 .Xr jexec 8 ,
 are run from this directory.
 .It Va ip4.addr
-A list of IPv4 addresses assigned to the prison.
+A list of IPv4 addresses assigned to the jail.
 If this is set, the jail is restricted to using only these addresses.
 Any attempts to 

svn commit: r269991 - head/sys/conf

2014-08-14 Thread Gavin Atkinson
Author: gavin
Date: Thu Aug 14 18:16:27 2014
New Revision: 269991
URL: http://svnweb.freebsd.org/changeset/base/269991

Log:
  Allow iwn105fw and iwn135 firmwares to be compiled into the kernel.
  
  MFC after:1 week

Modified:
  head/sys/conf/files

Modified: head/sys/conf/files
==
--- head/sys/conf/files Thu Aug 14 18:08:51 2014(r269990)
+++ head/sys/conf/files Thu Aug 14 18:16:27 2014(r269991)
@@ -1596,6 +1596,34 @@ iwn1000.fw   optional iwn1000fw | 
iwnfw  
compile-with${NORMAL_FW}  \
no-obj no-implicit-rule \
clean   iwn1000.fw
+iwn105fw.c optional iwn105fw | iwnfw   \
+   compile-with${AWK} -f $S/tools/fw_stub.awk iwn105.fw:iwn105fw 
-miwn105fw -c${.TARGET} \
+   no-implicit-rule before-depend local\
+   clean   iwn105fw.c
+iwn105fw.fwo   optional iwn105fw | iwnfw   \
+   dependency  iwn105.fw \
+   compile-with${NORMAL_FWO} \
+   no-implicit-rule\
+   clean   iwn105fw.fwo
+iwn105.fw  optional iwn105fw | iwnfw   \
+   dependency  $S/contrib/dev/iwn/iwlwifi-105-6-18.168.6.1.fw.uu \
+   compile-with${NORMAL_FW}  \
+   no-obj no-implicit-rule \
+   clean   iwn105.fw
+iwn135fw.c optional iwn135fw | iwnfw   \
+   compile-with${AWK} -f $S/tools/fw_stub.awk iwn135.fw:iwn135fw 
-miwn135fw -c${.TARGET} \
+   no-implicit-rule before-depend local\
+   clean   iwn135fw.c
+iwn135fw.fwo   optional iwn135fw | iwnfw   \
+   dependency  iwn135.fw \
+   compile-with${NORMAL_FWO} \
+   no-implicit-rule\
+   clean   iwn135fw.fwo
+iwn135.fw  optional iwn135fw | iwnfw   \
+   dependency  $S/contrib/dev/iwn/iwlwifi-135-6-18.168.6.1.fw.uu \
+   compile-with${NORMAL_FW}  \
+   no-obj no-implicit-rule \
+   clean   iwn135.fw
 iwn2000fw.coptional iwn2000fw | iwnfw  \
compile-with${AWK} -f $S/tools/fw_stub.awk iwn2000.fw:iwn2000fw 
-miwn2000fw -c${.TARGET} \
no-implicit-rule before-depend local\
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269992 - in head/sys: amd64/conf i386/conf

2014-08-14 Thread Gavin Atkinson
Author: gavin
Date: Thu Aug 14 18:29:55 2014
New Revision: 269992
URL: http://svnweb.freebsd.org/changeset/base/269992

Log:
  Update i386/NOTES and amd64/NOTES files to contain the complete list of
  firmwares for iwn(4) and sort them.
  
  MFC after:1 week

Modified:
  head/sys/amd64/conf/NOTES
  head/sys/i386/conf/NOTES

Modified: head/sys/amd64/conf/NOTES
==
--- head/sys/amd64/conf/NOTES   Thu Aug 14 18:16:27 2014(r269991)
+++ head/sys/amd64/conf/NOTES   Thu Aug 14 18:29:55 2014(r269992)
@@ -307,7 +307,8 @@ options DRM_DEBUG   # Include debug print
 #  Requires the ipw firmware module
 # iwi: Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 adapters
 #  Requires the iwi firmware module
-# iwn: Intel Wireless WiFi Link 4965/1000/5000/6000 802.11 network adapters
+# iwn: Intel Wireless WiFi Link 1000/105/135/2000/4965/5000/6000/6050 abgn
+#  802.11 network adapters
 #  Requires the iwn firmware module
 # mlx4ib: Mellanox ConnectX HCA InfiniBand
 # mlxen: Mellanox ConnectX HCA Ethernet
@@ -347,12 +348,18 @@ devicewpi # Intel 3945ABG 
wireless NI
 #   iwiibssfw: IBSS mode firmware
 #   iwimonitorfw:  Monitor mode firmware
 # Intel Wireless WiFi Link 4965/1000/5000/6000 series firmware:
-#   iwnfw: Single module to support the 4965/1000/5000/5150/6000
-#   iwn4965fw: Specific module for the 4965 only
+#   iwnfw: Single module to support all devices
 #   iwn1000fw: Specific module for the 1000 only
+#   iwn105fw:  Specific module for the 105 only
+#   iwn135fw:  Specific module for the 135 only
+#   iwn2000fw: Specific module for the 2000 only
+#   iwn2030fw: Specific module for the 2030 only
+#   iwn4965fw: Specific module for the 4965 only
 #   iwn5000fw: Specific module for the 5000 only
 #   iwn5150fw: Specific module for the 5150 only
 #   iwn6000fw: Specific module for the 6000 only
+#   iwn6000g2afw:  Specific module for the 6000g2a only
+#   iwn6000g2bfw:  Specific module for the 6000g2b only
 #   iwn6050fw: Specific module for the 6050 only
 # wpifw:   Intel 3945ABG Wireless LAN Controller firmware
 
@@ -365,11 +372,17 @@ deviceipwbssfw
 device ipwibssfw
 device ipwmonitorfw
 device iwnfw
-device iwn4965fw
 device iwn1000fw
+device iwn105fw
+device iwn135fw
+device iwn2000fw
+device iwn2030fw
+device iwn4965fw
 device iwn5000fw
 device iwn5150fw
 device iwn6000fw
+device iwn6000g2afw
+device iwn6000g2bfw
 device iwn6050fw
 device wpifw
 

Modified: head/sys/i386/conf/NOTES
==
--- head/sys/i386/conf/NOTESThu Aug 14 18:16:27 2014(r269991)
+++ head/sys/i386/conf/NOTESThu Aug 14 18:29:55 2014(r269992)
@@ -578,7 +578,8 @@ hint.mse.0.irq=5
 # ipw: Intel PRO/Wireless 2100 IEEE 802.11 adapter
 # iwi: Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 adapters
 #  Requires the iwi firmware module
-# iwn: Intel Wireless WiFi Link 4965AGN 802.11 network adapters
+# iwn: Intel Wireless WiFi Link 1000/105/135/2000/4965/5000/6000/6050 abgn
+#  802.11 network adapters
 #  Requires the iwn firmware module
 # mlx4ib: Mellanox ConnectX HCA InfiniBand
 # mlxen: Mellanox ConnectX HCA Ethernet
@@ -656,12 +657,18 @@ devicewpi # Intel 3945ABG 
wireless NI
 #   iwiibssfw: IBSS mode firmware
 #   iwimonitorfw:  Monitor mode firmware
 # Intel Wireless WiFi Link 4965/1000/5000/6000 series firmware:
-#   iwnfw: Single module to support the 4965/1000/5000/5150/6000
-#   iwn4965fw: Specific module for the 4965 only
+#   iwnfw: Single module to support all devices
 #   iwn1000fw: Specific module for the 1000 only
+#   iwn105fw:  Specific module for the 105 only
+#   iwn135fw:  Specific module for the 135 only
+#   iwn2000fw: Specific module for the 2000 only
+#   iwn2030fw: Specific module for the 2030 only
+#   iwn4965fw: Specific module for the 4965 only
 #   iwn5000fw: Specific module for the 5000 only
 #   iwn5150fw: Specific module for the 5150 only
 #   iwn6000fw: Specific module for the 6000 only
+#   iwn6000g2afw:  Specific module for the 6000g2a only
+#   iwn6000g2bfw:  Specific module for the 6000g2b only
 #   iwn6050fw: Specific module for the 6050 only
 # wpifw:   Intel 3945ABG Wireless LAN Controller firmware
 
@@ -674,11 +681,17 @@ deviceipwbssfw
 device ipwibssfw
 device ipwmonitorfw
 device iwnfw
-device iwn4965fw
 device iwn1000fw
+device iwn105fw
+device   

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

2014-08-14 Thread Gavin Atkinson
Author: gavin
Date: Thu Aug 14 19:14:24 2014
New Revision: 26
URL: http://svnweb.freebsd.org/changeset/base/26

Log:
  Update iwn(4) and iwnfw(4) man pages to reflect all available firmware.
  
  MFC after:1 week

Modified:
  head/share/man/man4/iwn.4
  head/share/man/man4/iwnfw.4

Modified: head/share/man/man4/iwn.4
==
--- head/share/man/man4/iwn.4   Thu Aug 14 18:57:46 2014(r269998)
+++ head/share/man/man4/iwn.4   Thu Aug 14 19:14:24 2014(r26)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd May 28, 2014
+.Dd August 14, 2014
 .Dt IWN 4
 .Os
 .Sh NAME
@@ -46,6 +46,8 @@ You also need to select a firmware for y
 Choose one from:
 .Bd -ragged -offset indent
 .Cd device iwn1000fw
+.Cd device iwn105fw
+.Cd device iwn135fw
 .Cd device iwn2000fw
 .Cd device iwn2030fw
 .Cd device iwn4965fw
@@ -70,6 +72,8 @@ module at boot time, place the following
 .Bd -literal -offset indent
 if_iwn_load=YES
 iwn1000fw_load=YES
+iwn105fw_load=YES
+iwn135fw_load=YES
 iwn2000fw_load=YES
 iwn2030fw_load=YES
 iwn4965fw_load=YES

Modified: head/share/man/man4/iwnfw.4
==
--- head/share/man/man4/iwnfw.4 Thu Aug 14 18:57:46 2014(r269998)
+++ head/share/man/man4/iwnfw.4 Thu Aug 14 19:14:24 2014(r26)
@@ -22,7 +22,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd February 9, 2014
+.Dd August 14, 2014
 .Dt IWNFW 4
 .Os
 .Sh NAME
@@ -36,11 +36,15 @@ kernel configuration file:
 .Cd device iwnfw
 .Ed
 .Pp
-This will include three firmware images inside the kernel.
+This will include firmware images for all
+.Xr iwn 4
+devices inside the kernel.
 If you want to pick only the firmware image for your network adapter choose one
 of the following:
 .Bd -ragged -offset indent
 .Cd device iwn1000fw
+.Cd device iwn105fw
+.Cd device iwn135fw
 .Cd device iwn2000fw
 .Cd device iwn2030fw
 .Cd device iwn4965fw
@@ -57,6 +61,8 @@ module at boot time, place the following
 .Xr loader.conf 5 :
 .Bd -literal -offset indent
 iwn1000fw_load=YES
+iwn105fw_load=YES
+iwn135fw_load=YES
 iwn2000fw_load=YES
 iwn2030fw_load=YES
 iwn4965fw_load=YES
@@ -69,7 +75,7 @@ iwn6050fw_load=YES
 .Ed
 .Sh DESCRIPTION
 This module provides access to firmware sets for the
-Intel Wireless WiFi Link 1000, 2000, 2030, 4965, 5000 and 6000 series of
+Intel Wireless WiFi Link 105, 135, 1000, 2000, 2030, 4965, 5000 and 6000 
series of
 IEEE 802.11n adapters.
 It may be
 statically linked into the kernel, or loaded as a module.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-08-14 Thread Gavin Atkinson
Author: gavin
Date: Thu Aug 14 19:15:20 2014
New Revision: 27
URL: http://svnweb.freebsd.org/changeset/base/27

Log:
  Sync list of supported devices in the man page with the driver.
  
  MFC after:1 week

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

Modified: head/share/man/man4/iwn.4
==
--- head/share/man/man4/iwn.4   Thu Aug 14 19:14:24 2014(r26)
+++ head/share/man/man4/iwn.4   Thu Aug 14 19:15:20 2014(r27)
@@ -93,11 +93,13 @@ driver provides support for:
 .It Intel Centrino Advanced-N 6200
 .It Intel Centrino Advanced-N 6205
 .It Intel Centrino Advanced-N 6230
+.It Intel Centrino Advanced-N 6235
 .It Intel Centrino Advanced-N + WiMAX 6250
 .It Intel Centrino Ultimate-N 6300
 .It Intel Centrino Wireless-N 100
 .It Intel Centrino Wireless-N 105
 .It Intel Centrino Wireless-N 130
+.It Intel Centrino Wireless-N 135
 .It Intel Centrino Wireless-N 1000
 .It Intel Centrino Wireless-N 1030
 .It Intel Centrino Wireless-N 2200
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r269992 - in head/sys: amd64/conf i386/conf

2014-08-14 Thread Gavin Atkinson
On Thu, 14 Aug 2014, Steve Kargl wrote:
 On Thu, Aug 14, 2014 at 06:29:55PM +, Gavin Atkinson wrote:
  Author: gavin
  Date: Thu Aug 14 18:29:55 2014
  New Revision: 269992
  
  Log:
Update i386/NOTES and amd64/NOTES files to contain the complete list of
firmwares for iwn(4) and sort them.

 'man iwn' seems to be missing iwn105fw and iwn135fw.
 I don't build or use modules, so I'm not sure if
 these can be loaded as modules, but you need something
 like

[...]

Thanks, I've just fixed this (unfortunately I committed the changes before 
seeing your email, otherwise I would have credited you).

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


svn commit: r269928 - in stable/10: . etc/mtree share/examples share/examples/cvsup

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:32:52 2014
New Revision: 269928
URL: http://svnweb.freebsd.org/changeset/base/269928

Log:
  Merge r267867 from head:
  
Remove example cvsup config files.

Deleted:
  stable/10/share/examples/cvsup/
Modified:
  stable/10/ObsoleteFiles.inc
  stable/10/etc/mtree/BSD.usr.dist
  stable/10/share/examples/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/ObsoleteFiles.inc
==
--- stable/10/ObsoleteFiles.inc Wed Aug 13 12:31:36 2014(r269927)
+++ stable/10/ObsoleteFiles.inc Wed Aug 13 12:32:52 2014(r269928)
@@ -45,6 +45,11 @@ OLD_FILES+=usr/share/examples/libusb20/a
 OLD_FILES+=usr/share/man/man9/VOP_GETVOBJECT.9.gz
 OLD_FILES+=usr/share/man/man9/VOP_CREATEVOBJECT.9.gz
 OLD_FILES+=usr/share/man/man9/VOP_DESTROYVOBJECT.9.gz
+OLD_FILES+=usr/share/examples/cvsup/README
+OLD_FILES+=usr/share/examples/cvsup/cvs-supfile
+OLD_FILES+=usr/share/examples/cvsup/stable-supfile
+OLD_FILES+=usr/share/examples/cvsup/standard-supfile
+OLD_DIRS+=usr/share/examples/cvsup
 # 20140614: send-pr removal
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz
 OLD_FILES+=etc/gnats/freefall

Modified: stable/10/etc/mtree/BSD.usr.dist
==
--- stable/10/etc/mtree/BSD.usr.distWed Aug 13 12:31:36 2014
(r269927)
+++ stable/10/etc/mtree/BSD.usr.distWed Aug 13 12:32:52 2014
(r269928)
@@ -301,8 +301,6 @@
 ..
 csh
 ..
-cvsup
-..
 diskless
 ..
 drivers

Modified: stable/10/share/examples/Makefile
==
--- stable/10/share/examples/Makefile   Wed Aug 13 12:31:36 2014
(r269927)
+++ stable/10/share/examples/Makefile   Wed Aug 13 12:32:52 2014
(r269928)
@@ -10,7 +10,6 @@ LDIRS=BSD_daemon \
bhyve \
bootforth \
csh \
-   cvsup \
diskless \
drivers \
etc \
@@ -52,10 +51,6 @@ XFILES=  BSD_daemon/FreeBSD.pfa \
bootforth/menuconf.4th \
bootforth/screen.4th \
csh/dot.cshrc \
-   cvsup/README \
-   cvsup/cvs-supfile \
-   cvsup/stable-supfile \
-   cvsup/standard-supfile \
diskless/ME \
diskless/README.BOOTP \
diskless/README.TEMPLATING \
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269929 - stable/10/usr.sbin/jail

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:35:11 2014
New Revision: 269929
URL: http://svnweb.freebsd.org/changeset/base/269929

Log:
  Merge r268488 from head:
  
Reword an awkward option description
  
  PR:   191726
  Submitted by: yaneurabeya gmail.com

Modified:
  stable/10/usr.sbin/jail/jail.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/jail/jail.8
==
--- stable/10/usr.sbin/jail/jail.8  Wed Aug 13 12:32:52 2014
(r269928)
+++ stable/10/usr.sbin/jail/jail.8  Wed Aug 13 12:35:11 2014
(r269929)
@@ -653,8 +653,9 @@ file, instead of in the prison's file.
 The user to run commands as, when running in the system environment.
 The default is to run the commands as the current user.
 .It Va exec.timeout
-The maximum amount of time to wait for a command to complete.
-If a command is still running after this many seconds have passed,
+The maximum amount of time to wait for a command to complete, in
+seconds.
+If a command is still running after this timeout has passed,
 the jail not be created or removed.
 .It Va exec.consolelog
 A file to direct command output (stdout and stderr) to.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269933 - stable/10/games/fortune/fortune

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:36:59 2014
New Revision: 269933
URL: http://svnweb.freebsd.org/changeset/base/269933

Log:
  Merge r268637 from head:
  
fortune(8): Search fortune files installed by ports/packages as well as
those supplied by the base system.
  
  PR:   191800
  Submitted by: Andy Kosela

Modified:
  stable/10/games/fortune/fortune/pathnames.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/games/fortune/fortune/pathnames.h
==
--- stable/10/games/fortune/fortune/pathnames.h Wed Aug 13 12:35:39 2014
(r269932)
+++ stable/10/games/fortune/fortune/pathnames.h Wed Aug 13 12:36:59 2014
(r269933)
@@ -30,4 +30,5 @@
  * $FreeBSD$
  */
 
-#defineFORTDIR /usr/share/games/fortune
+#defineFORTDIR /usr/share/games/fortune: \
+   /usr/local/share/games/fortune
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269934 - stable/9/games/fortune/fortune

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:38:08 2014
New Revision: 269934
URL: http://svnweb.freebsd.org/changeset/base/269934

Log:
  Merge r268637 from head:
  
fortune(8): Search fortune files installed by ports/packages as well as
those supplied by the base system.
  
  PR:   191800
  Submitted by: Andy Kosela

Modified:
  stable/9/games/fortune/fortune/pathnames.h
Directory Properties:
  stable/9/games/fortune/fortune/   (props changed)

Modified: stable/9/games/fortune/fortune/pathnames.h
==
--- stable/9/games/fortune/fortune/pathnames.h  Wed Aug 13 12:36:59 2014
(r269933)
+++ stable/9/games/fortune/fortune/pathnames.h  Wed Aug 13 12:38:08 2014
(r269934)
@@ -30,4 +30,5 @@
  * $FreeBSD$
  */
 
-#defineFORTDIR /usr/share/games/fortune
+#defineFORTDIR /usr/share/games/fortune: \
+   /usr/local/share/games/fortune
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269935 - stable/10/share/man/man9

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:41:31 2014
New Revision: 269935
URL: http://svnweb.freebsd.org/changeset/base/269935

Log:
  Merge r268725 from head:
  
Since r202933, kthread_suspend_check() takes no arguments.  Update the
example to match.

Modified:
  stable/10/share/man/man9/kthread.9
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/man/man9/kthread.9
==
--- stable/10/share/man/man9/kthread.9  Wed Aug 13 12:38:08 2014
(r269934)
+++ stable/10/share/man/man9/kthread.9  Wed Aug 13 12:41:31 2014
(r269935)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd January 24, 2010
+.Dd July 15, 2014
 .Dt KTHREAD 9
 .Os
 .Sh NAME
@@ -275,7 +275,7 @@ buf_daemon()
bufdaemonthread, SHUTDOWN_PRI_LAST);
...
for (;;) {
-   kthread_suspend_check(bufdaemonthread);
+   kthread_suspend_check();
...
}
 }
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269936 - stable/9/share/man/man9

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:42:15 2014
New Revision: 269936
URL: http://svnweb.freebsd.org/changeset/base/269936

Log:
  Merge r268725 from head:
  
Since r202933, kthread_suspend_check() takes no arguments.  Update the
example to match.

Modified:
  stable/9/share/man/man9/kthread.9
Directory Properties:
  stable/9/share/man/man9/   (props changed)

Modified: stable/9/share/man/man9/kthread.9
==
--- stable/9/share/man/man9/kthread.9   Wed Aug 13 12:41:31 2014
(r269935)
+++ stable/9/share/man/man9/kthread.9   Wed Aug 13 12:42:15 2014
(r269936)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd January 24, 2010
+.Dd July 15, 2014
 .Dt KTHREAD 9
 .Os
 .Sh NAME
@@ -275,7 +275,7 @@ buf_daemon()
bufdaemonthread, SHUTDOWN_PRI_LAST);
...
for (;;) {
-   kthread_suspend_check(bufdaemonthread);
+   kthread_suspend_check();
...
}
 }
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269937 - stable/10/usr.sbin/pkg

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:44:44 2014
New Revision: 269937
URL: http://svnweb.freebsd.org/changeset/base/269937

Log:
  Merge r268728 from head:
  
When we fail to extract the pkg binaries (for example, / is read-only),
give a more helpful error message.

Modified:
  stable/10/usr.sbin/pkg/pkg.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/pkg/pkg.c
==
--- stable/10/usr.sbin/pkg/pkg.cWed Aug 13 12:42:15 2014
(r269936)
+++ stable/10/usr.sbin/pkg/pkg.cWed Aug 13 12:44:44 2014
(r269937)
@@ -126,7 +126,8 @@ extract_pkg_static(int fd, char *p, int 
if (r == ARCHIVE_OK)
ret = 0;
else
-   warnx(fail to extract pkg-static);
+   warnx(failed to extract pkg-static: %s,
+   archive_error_string(a));
 
 cleanup:
archive_read_free(a);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269938 - stable/9/usr.sbin/pkg

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:45:25 2014
New Revision: 269938
URL: http://svnweb.freebsd.org/changeset/base/269938

Log:
  Merge r268728 from head:
  
When we fail to extract the pkg binaries (for example, / is read-only),
give a more helpful error message.

Modified:
  stable/9/usr.sbin/pkg/pkg.c
Directory Properties:
  stable/9/usr.sbin/pkg/   (props changed)

Modified: stable/9/usr.sbin/pkg/pkg.c
==
--- stable/9/usr.sbin/pkg/pkg.c Wed Aug 13 12:44:44 2014(r269937)
+++ stable/9/usr.sbin/pkg/pkg.c Wed Aug 13 12:45:25 2014(r269938)
@@ -126,7 +126,8 @@ extract_pkg_static(int fd, char *p, int 
if (r == ARCHIVE_OK)
ret = 0;
else
-   warnx(fail to extract pkg-static);
+   warnx(failed to extract pkg-static: %s,
+   archive_error_string(a));
 
 cleanup:
archive_read_free(a);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269939 - stable/10/usr.bin/iscsictl

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:47:51 2014
New Revision: 269939
URL: http://svnweb.freebsd.org/changeset/base/269939

Log:
  Merge r268842 from head:
  
Fix two typos in iscsictl.8
  
  PR:   191581
  Submitted by: Jimmy Olgeni

Modified:
  stable/10/usr.bin/iscsictl/iscsictl.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/iscsictl/iscsictl.8
==
--- stable/10/usr.bin/iscsictl/iscsictl.8   Wed Aug 13 12:45:25 2014
(r269938)
+++ stable/10/usr.bin/iscsictl/iscsictl.8   Wed Aug 13 12:47:51 2014
(r269939)
@@ -83,7 +83,7 @@ The default is
 Target host name or address used for SendTargets discovery.
 When used, it will add a temporary discovery session.
 After discovery is done, sessions will be added for each discovered target,
-and the temporary discovery sesion will be removed.
+and the temporary discovery session will be removed.
 .It Fl n
 The nickname of session defined in the configuration file.
 .It Fl p
@@ -98,7 +98,7 @@ CHAP login.
 Verbose mode.
 .El
 .Pp
-Certain parameters are neccessary when adding a session.
+Certain parameters are necessary when adding a session.
 One can specify these either via command line (using the
 .Fl t ,
 .Fl p ,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269940 - stable/10

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:55:44 2014
New Revision: 269940
URL: http://svnweb.freebsd.org/changeset/base/269940

Log:
  Merge r267859 (by bapt), r268998 from head:
  
  o Mark send-pr info page as an obsolete file
  
  o /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and
are no longer installed since r267486 (r267734 in stable/10).  Add them
to ObsoleteFiles.inc1, which should have been done in r267486.
  
  PR:   192010 (partial)
  Submitted by: Vick Khera (partial)

Modified:
  stable/10/ObsoleteFiles.inc
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/ObsoleteFiles.inc
==
--- stable/10/ObsoleteFiles.inc Wed Aug 13 12:47:51 2014(r269939)
+++ stable/10/ObsoleteFiles.inc Wed Aug 13 12:55:44 2014(r269940)
@@ -51,7 +51,10 @@ OLD_FILES+=usr/share/examples/cvsup/stab
 OLD_FILES+=usr/share/examples/cvsup/standard-supfile
 OLD_DIRS+=usr/share/examples/cvsup
 # 20140614: send-pr removal
+OLD_FILES+=usr/bin/sendbug
+OLD_FILES+=usr/share/info/send-pr.info.gz
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz
+OLD_FILES+=usr/share/man/man1/sendbug.1.gz
 OLD_FILES+=etc/gnats/freefall
 OLD_DIRS+=etc/gnats
 # 20140512: new clang import which bumps version from 3.4 to 3.4.1.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269941 - stable/9

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 12:58:15 2014
New Revision: 269941
URL: http://svnweb.freebsd.org/changeset/base/269941

Log:
  Merge r267859 (by bapt), r268998 from head:
  
  o Mark send-pr info page as an obsolete file
  
  o /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and
are no longer installed since r267486 (r267734 in stable/10).  Add them
to ObsoleteFiles.inc1, which should have been done in r267486.
  
  PR:   192010 (partial)
  Submitted by: Vick Khera (partial)

Modified:
  stable/9/ObsoleteFiles.inc   (contents, props changed)

Modified: stable/9/ObsoleteFiles.inc
==
--- stable/9/ObsoleteFiles.inc  Wed Aug 13 12:55:44 2014(r269940)
+++ stable/9/ObsoleteFiles.inc  Wed Aug 13 12:58:15 2014(r269941)
@@ -43,7 +43,10 @@ OLD_FILES+=usr/share/man/man9/VOP_GETVOB
 OLD_FILES+=usr/share/man/man9/VOP_CREATEVOBJECT.9.gz
 OLD_FILES+=usr/share/man/man9/VOP_DESTROYVOBJECT.9.gz
 # 20140614: send-pr removal
+OLD_FILES+=usr/bin/sendbug
+OLD_FILES+=usr/share/info/send-pr.info.gz
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz
+OLD_FILES+=usr/share/man/man1/sendbug.1.gz
 OLD_FILES+=etc/gnats/freefall
 OLD_DIRS+=etc/gnats
 # 20140512: new clang import which bumps version from 3.4 to 3.4.1.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269955 - stable/10

2014-08-13 Thread Gavin Atkinson
Author: gavin
Date: Wed Aug 13 22:34:14 2014
New Revision: 269955
URL: http://svnweb.freebsd.org/changeset/base/269955

Log:
  Add a header to the entries for the removal of csup example files.
  
  This is a direct commit to 10, as the equivelent commit to head included
  other changes that will not be merged to stable branches.

Modified:
  stable/10/ObsoleteFiles.inc

Modified: stable/10/ObsoleteFiles.inc
==
--- stable/10/ObsoleteFiles.inc Wed Aug 13 21:38:29 2014(r269954)
+++ stable/10/ObsoleteFiles.inc Wed Aug 13 22:34:14 2014(r269955)
@@ -45,6 +45,7 @@ OLD_FILES+=usr/share/examples/libusb20/a
 OLD_FILES+=usr/share/man/man9/VOP_GETVOBJECT.9.gz
 OLD_FILES+=usr/share/man/man9/VOP_CREATEVOBJECT.9.gz
 OLD_FILES+=usr/share/man/man9/VOP_DESTROYVOBJECT.9.gz
+# 20140625: csup example files removal
 OLD_FILES+=usr/share/examples/cvsup/README
 OLD_FILES+=usr/share/examples/cvsup/cvs-supfile
 OLD_FILES+=usr/share/examples/cvsup/stable-supfile
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269871 - head/share/man/man3

2014-08-12 Thread Gavin Atkinson
Author: gavin
Date: Tue Aug 12 12:44:52 2014
New Revision: 269871
URL: http://svnweb.freebsd.org/changeset/base/269871

Log:
  Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()
  
  Requested by: Malcolm Douglas via freebsd-doc
  Reviewed by:  jhb
  MFC after:1 week

Modified:
  head/share/man/man3/pthread.3

Modified: head/share/man/man3/pthread.3
==
--- head/share/man/man3/pthread.3   Tue Aug 12 12:44:40 2014
(r269870)
+++ head/share/man/man3/pthread.3   Tue Aug 12 12:44:52 2014
(r269871)
@@ -30,7 +30,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd January 8, 2010
+.Dd August 12, 2014
 .Dt PTHREAD 3
 .Os
 .Sh NAME
@@ -344,13 +344,13 @@ Unblock at least one of the threads bloc
 .Fa const struct timespec *abstime
 .Fc
 .Xc
-Wait no longer than the specified time for a condition
-and lock the specified mutex.
+Unlock the specified mutex, wait no longer than the specified time for
+a condition, and then relock the mutex.
 .It Xo
 .Ft int
 .Fn pthread_cond_wait pthread_cond_t * pthread_mutex_t *mutex
 .Xc
-Wait for a condition and lock the specified mutex.
+Unlock the specified mutex, wait for a condition, and relock the mutex.
 .El
 .Ss Read/Write Lock Routines
 .Bl -tag -width indent
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269789 - stable/9/sys/kern

2014-08-10 Thread Gavin Atkinson
Author: gavin
Date: Sun Aug 10 21:17:19 2014
New Revision: 269789
URL: http://svnweb.freebsd.org/changeset/base/269789

Log:
  Merge r269489 from head (by peter):
  
r262867 was described as fixing socket buffer checks for SOCK_SEQPACKET,
but also changed one of the SOCK_DGRAM code paths to use the new
sbappendaddr_nospacecheck_locked() function.  This lead to SOCK_DGRAM
bypassing socket buffer limits.

Modified:
  stable/9/sys/kern/uipc_usrreq.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/uipc_usrreq.c
==
--- stable/9/sys/kern/uipc_usrreq.c Sun Aug 10 20:05:13 2014
(r269788)
+++ stable/9/sys/kern/uipc_usrreq.c Sun Aug 10 21:17:19 2014
(r269789)
@@ -876,7 +876,7 @@ uipc_send(struct socket *so, int flags, 
from = sun_noname;
so2 = unp2-unp_socket;
SOCKBUF_LOCK(so2-so_rcv);
-   if (sbappendaddr_nospacecheck_locked(so2-so_rcv, from, m,
+   if (sbappendaddr_locked(so2-so_rcv, from, m,
control)) {
sorwakeup_locked(so2);
m = NULL;
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r269490 - stable/10/sys/kern

2014-08-05 Thread Gavin Atkinson
On Sun, 3 Aug 2014, Peter Wemm wrote:

 Author: peter
 Date: Sun Aug  3 22:59:47 2014
 New Revision: 269490
 URL: http://svnweb.freebsd.org/changeset/base/269490
 
 Log:
   Insta-MFC r269489: partial revert of r262867 which was MFC'ed as r263820.
   Don't ignore sndbuf/rcvbuf limits for SOCK_DGRAM sockets.  This appears
   to be an edit error or patch fuzz mismatch.

It looks like the original commit was also merged to stable/9 as r263823, 
though with an incorrect commit message.  It made it into 9.3-RELEASE, I 
I would say that this is an EN candidate.

Gavin


 Modified:
   stable/10/sys/kern/uipc_usrreq.c
 
 Modified: stable/10/sys/kern/uipc_usrreq.c
 ==
 --- stable/10/sys/kern/uipc_usrreq.c  Sun Aug  3 22:37:21 2014
 (r269489)
 +++ stable/10/sys/kern/uipc_usrreq.c  Sun Aug  3 22:59:47 2014
 (r269490)
 @@ -897,7 +897,7 @@ uipc_send(struct socket *so, int flags, 
   from = sun_noname;
   so2 = unp2-unp_socket;
   SOCKBUF_LOCK(so2-so_rcv);
 - if (sbappendaddr_nospacecheck_locked(so2-so_rcv, from, m,
 + if (sbappendaddr_locked(so2-so_rcv, from, m,
   control)) {
   sorwakeup_locked(so2);
   m = NULL;
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269488 - head/sys/dev/pccbb

2014-08-03 Thread Gavin Atkinson
Author: gavin
Date: Sun Aug  3 21:56:53 2014
New Revision: 269488
URL: http://svnweb.freebsd.org/changeset/base/269488

Log:
  For reasons which are not clear, r254263 broke some PCMCIA and CardBus
  bridges in strange ways, either rendering them unable to detect
  insertion and removal events, or possibly unable to read from the
  device behind the bridge.
  
  This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
  Instruments PCxx12 (d=0x8039 v=0c104c) bridge.  The very similar
  Tecra M9 has the same bridge, but worked fine without this change.
  
  The bridge chip has no I/O port BAR, and there is nothing in the spec
  to suggest I/O decoding should be enabled; however enabling it fixes
  the issue.  Add an XXX comment to this effect.
  
  Discussed with:   jhb, imp
  MFC after:2 weeks

Modified:
  head/sys/dev/pccbb/pccbb_pci.c

Modified: head/sys/dev/pccbb/pccbb_pci.c
==
--- head/sys/dev/pccbb/pccbb_pci.c  Sun Aug  3 21:54:22 2014
(r269487)
+++ head/sys/dev/pccbb/pccbb_pci.c  Sun Aug  3 21:56:53 2014
(r269488)
@@ -481,6 +481,8 @@ cbb_chipinit(struct cbb_softc *sc)
 
/* Enable memory access */
pci_enable_busmaster(sc-dev);
+   /* XXX: This should not be necessary, but some chipsets require it */
+   PCI_MASK_CONFIG(sc-dev, PCIR_COMMAND, | PCIM_CMD_PORTEN, 2);
 
/* disable Legacy IO */
switch (sc-chipset) {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r269105 - in head/sys: arm/arm kern mips/mips powerpc/powerpc sparc64/sparc64 sys x86/x86

2014-07-25 Thread Gavin Atkinson
Author: gavin
Date: Fri Jul 25 23:52:53 2014
New Revision: 269105
URL: http://svnweb.freebsd.org/changeset/base/269105

Log:
  Add error return to dumpsys(), and use it in doadump().
  
  This commit does not add error returns to minidumpsys() or
  textdump_dumpsys(); those can also be added later.
  
  Submitted by: Conrad Meyer (EMC / Isilon storage division)

Modified:
  head/sys/arm/arm/dump_machdep.c
  head/sys/kern/kern_shutdown.c
  head/sys/mips/mips/dump_machdep.c
  head/sys/powerpc/powerpc/dump_machdep.c
  head/sys/sparc64/sparc64/dump_machdep.c
  head/sys/sys/conf.h
  head/sys/x86/x86/dump_machdep.c

Modified: head/sys/arm/arm/dump_machdep.c
==
--- head/sys/arm/arm/dump_machdep.c Fri Jul 25 23:36:39 2014
(r269104)
+++ head/sys/arm/arm/dump_machdep.c Fri Jul 25 23:52:53 2014
(r269105)
@@ -271,7 +271,7 @@ foreach_chunk(callback_t cb, void *arg)
return (seqnr);
 }
 
-void
+int
 dumpsys(struct dumperinfo *di)
 {
Elf_Ehdr ehdr;
@@ -282,7 +282,7 @@ dumpsys(struct dumperinfo *di)
 
if (do_minidump) {
minidumpsys(di);
-   return;
+   return (0);
}
 
bzero(ehdr, sizeof(ehdr));
@@ -368,7 +368,7 @@ dumpsys(struct dumperinfo *di)
/* Signal completion, signoff and exit stage left. */
dump_write(di, NULL, 0, 0, 0);
printf(\nDump complete\n);
-   return;
+   return (0);
 
  fail:
if (error  0)
@@ -380,4 +380,5 @@ dumpsys(struct dumperinfo *di)
printf(\nDump failed. Partition too small.\n);
else
printf(\n** DUMP FAILED (ERROR %d) **\n, error);
+   return (error);
 }

Modified: head/sys/kern/kern_shutdown.c
==
--- head/sys/kern/kern_shutdown.c   Fri Jul 25 23:36:39 2014
(r269104)
+++ head/sys/kern/kern_shutdown.c   Fri Jul 25 23:52:53 2014
(r269105)
@@ -249,7 +249,9 @@ int
 doadump(boolean_t textdump)
 {
boolean_t coredump;
+   int error;
 
+   error = 0;
if (dumping)
return (EBUSY);
if (dumper.dumper == NULL)
@@ -267,10 +269,10 @@ doadump(boolean_t textdump)
}
 #endif
if (coredump)
-   dumpsys(dumper);
+   error = dumpsys(dumper);
 
dumping--;
-   return (0);
+   return (error);
 }
 
 static int

Modified: head/sys/mips/mips/dump_machdep.c
==
--- head/sys/mips/mips/dump_machdep.c   Fri Jul 25 23:36:39 2014
(r269104)
+++ head/sys/mips/mips/dump_machdep.c   Fri Jul 25 23:52:53 2014
(r269105)
@@ -257,7 +257,7 @@ foreach_chunk(callback_t cb, void *arg)
return (seqnr);
 }
 
-void
+int
 dumpsys(struct dumperinfo *di)
 {
Elf_Ehdr ehdr;
@@ -268,7 +268,7 @@ dumpsys(struct dumperinfo *di)
 
if (do_minidump) {
minidumpsys(di);
-   return;
+   return (0);
}
 
bzero(ehdr, sizeof(ehdr));
@@ -354,7 +354,7 @@ dumpsys(struct dumperinfo *di)
/* Signal completion, signoff and exit stage left. */
dump_write(di, NULL, 0, 0, 0);
printf(\nDump complete\n);
-   return;
+   return (0);
 
  fail:
if (error  0)
@@ -366,4 +366,5 @@ dumpsys(struct dumperinfo *di)
printf(\nDump failed. Partition too small.\n);
else
printf(\n** DUMP FAILED (ERROR %d) **\n, error);
+   return (error);
 }

Modified: head/sys/powerpc/powerpc/dump_machdep.c
==
--- head/sys/powerpc/powerpc/dump_machdep.c Fri Jul 25 23:36:39 2014
(r269104)
+++ head/sys/powerpc/powerpc/dump_machdep.c Fri Jul 25 23:52:53 2014
(r269105)
@@ -205,7 +205,7 @@ foreach_chunk(callback_t cb, void *arg)
return (seqnr);
 }
 
-void
+int
 dumpsys(struct dumperinfo *di)
 {
Elf_Ehdr ehdr;
@@ -299,7 +299,7 @@ dumpsys(struct dumperinfo *di)
/* Signal completion, signoff and exit stage left. */
dump_write(di, NULL, 0, 0, 0);
printf(\nDump complete\n);
-   return;
+   return (0);
 
  fail:
if (error  0)
@@ -311,4 +311,5 @@ dumpsys(struct dumperinfo *di)
printf(\nDump failed. Partition too small.\n);
else
printf(\n** DUMP FAILED (ERROR %d) **\n, error);
+   return (error);
 }

Modified: head/sys/sparc64/sparc64/dump_machdep.c
==
--- head/sys/sparc64/sparc64/dump_machdep.c Fri Jul 25 23:36:39 2014
(r269104)
+++ head/sys/sparc64/sparc64/dump_machdep.c Fri Jul 25 23:52:53 2014
(r269105)
@@ -142,7 +142,7 @@ blk_dump(struct dumperinfo *di, vm_paddr
return (error);
 }
 
-void
+int
 

svn commit: r268998 - head

2014-07-22 Thread Gavin Atkinson
Author: gavin
Date: Tue Jul 22 22:57:26 2014
New Revision: 268998
URL: http://svnweb.freebsd.org/changeset/base/268998

Log:
  /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and
  are no longer installed since r267486.  Add them to ObsoleteFiles.inc1,
  which should have been done in r267486.
  
  PR:   192010
  Submitted by: Vick Khera
  Pointyhat to: gavin
  MFC after:3 days

Modified:
  head/ObsoleteFiles.inc

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Tue Jul 22 22:49:37 2014(r268997)
+++ head/ObsoleteFiles.inc  Tue Jul 22 22:57:26 2014(r268998)
@@ -83,8 +83,10 @@ OLD_FILES+=usr/share/examples/cvsup/stab
 OLD_FILES+=usr/share/examples/cvsup/standard-supfile
 OLD_DIRS+=usr/share/examples/cvsup
 # 20140614: send-pr removal
+OLD_FILES+=usr/bin/sendbug
 OLD_FILES+=usr/share/info/send-pr.info.gz
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz
+OLD_FILES+=usr/share/man/man1/sendbug.1.gz
 OLD_FILES+=etc/gnats/freefall
 OLD_DIRS+=etc/gnats
 # 20140512: new clang import which bumps version from 3.4 to 3.4.1.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


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

2014-07-18 Thread Gavin Atkinson
Author: gavin
Date: Fri Jul 18 12:51:35 2014
New Revision: 268842
URL: http://svnweb.freebsd.org/changeset/base/268842

Log:
  Fix two typos in iscsictl.8
  
  PR:   191581
  Submitted by: Jimmy Olgeni
  MFC after:3 days

Modified:
  head/usr.bin/iscsictl/iscsictl.8

Modified: head/usr.bin/iscsictl/iscsictl.8
==
--- head/usr.bin/iscsictl/iscsictl.8Fri Jul 18 12:36:18 2014
(r268841)
+++ head/usr.bin/iscsictl/iscsictl.8Fri Jul 18 12:51:35 2014
(r268842)
@@ -27,7 +27,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd June 18, 2014
+.Dd July 18, 2014
 .Dt ISCSICTL 8
 .Os
 .Sh NAME
@@ -96,7 +96,7 @@ The default is
 Target host name or address used for SendTargets discovery.
 When used, it will add a temporary discovery session.
 After discovery is done, sessions will be added for each discovered target,
-and the temporary discovery sesion will be removed.
+and the temporary discovery session will be removed.
 .It Fl i
 Session ID, as displayed by
 .Nm
@@ -115,7 +115,7 @@ CHAP login.
 Verbose mode.
 .El
 .Pp
-Certain parameters are neccessary when adding a session.
+Certain parameters are necessary when adding a session.
 One can specify these either via command line (using the
 .Fl t ,
 .Fl p ,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268753 - stable/9/usr.bin/calendar/calendars

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:38:46 2014
New Revision: 268753
URL: http://svnweb.freebsd.org/changeset/base/268753

Log:
  Merge r268292 from head:
Dominion Day became Canada Day in 1982, update the holiday calendar.
  
  PR:   191533
  Submitted by: db

Modified:
  stable/9/usr.bin/calendar/calendars/calendar.holiday
Directory Properties:
  stable/9/usr.bin/calendar/   (props changed)
  stable/9/usr.bin/calendar/calendars/   (props changed)

Modified: stable/9/usr.bin/calendar/calendars/calendar.holiday
==
--- stable/9/usr.bin/calendar/calendars/calendar.holidayWed Jul 16 
12:37:36 2014(r268752)
+++ stable/9/usr.bin/calendar/calendars/calendar.holidayWed Jul 16 
12:38:46 2014(r268753)
@@ -248,7 +248,7 @@
 06/30  Day of the Army in Guatemala
 06/MonFirstJefferson Davis's Birthday in Alabama  Mississippi (1st Monday)
 06/MonFirstJefferson Davis's Birthday in Florida, Georgia,  S. Carolina
-07/01  Dominion Day in Canada
+07/01  Canada Day
 07/01  Freedom Day in Suriname
 07/01  Independence Day in Burundi
 07/01  National Day in Rwanda
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268754 - stable/9/games/fortune/datfiles

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:41:49 2014
New Revision: 268754
URL: http://svnweb.freebsd.org/changeset/base/268754

Log:
  Merge r268295 from head:
Fix equation and limerick to be correct.  NetBSD fixed this 14 years ago
(src/games/fortune/datfiles/fortunes2 1.7).
  
  PR:   188714
  Submitted by: ksmakoto dd.iij4u.or.jp

Modified:
  stable/9/games/fortune/datfiles/fortunes
Directory Properties:
  stable/9/games/fortune/   (props changed)

Modified: stable/9/games/fortune/datfiles/fortunes
==
--- stable/9/games/fortune/datfiles/fortunesWed Jul 16 12:38:46 2014
(r268753)
+++ stable/9/games/fortune/datfiles/fortunesWed Jul 16 12:41:49 2014
(r268754)
@@ -570,7 +570,7 @@ writing.  Always pick on the correct idi
 the verb.  Last but not least, avoid cliches like the plague; seek
 viable alternatives.
 %
- 1/2
+ 1/3
 /\(3)
 | 2  1/3
 |z dz cos(3 * PI / 9) = ln (e   )
@@ -578,7 +578,7 @@ viable alternatives.
\/ 1
 
 The integral of z squared, dz
-From 1 to the square root of 3
+From 1 to the cube root of 3
Times the cosine
Of 3 PI over nine
 Is the log of the cube root of e
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268755 - stable/10/games/fortune/datfiles

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:41:50 2014
New Revision: 268755
URL: http://svnweb.freebsd.org/changeset/base/268755

Log:
  Merge r268295 from head:
Fix equation and limerick to be correct.  NetBSD fixed this 14 years ago
(src/games/fortune/datfiles/fortunes2 1.7).
  
  PR:   188714
  Submitted by: ksmakoto dd.iij4u.or.jp

Modified:
  stable/10/games/fortune/datfiles/fortunes
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/games/fortune/datfiles/fortunes
==
--- stable/10/games/fortune/datfiles/fortunes   Wed Jul 16 12:41:49 2014
(r268754)
+++ stable/10/games/fortune/datfiles/fortunes   Wed Jul 16 12:41:50 2014
(r268755)
@@ -570,7 +570,7 @@ writing.  Always pick on the correct idi
 the verb.  Last but not least, avoid cliches like the plague; seek
 viable alternatives.
 %
- 1/2
+ 1/3
 /\(3)
 | 2  1/3
 |z dz cos(3 * PI / 9) = ln (e   )
@@ -578,7 +578,7 @@ viable alternatives.
\/ 1
 
 The integral of z squared, dz
-From 1 to the square root of 3
+From 1 to the cube root of 3
Times the cosine
Of 3 PI over nine
 Is the log of the cube root of e
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268756 - stable/10

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:45:13 2014
New Revision: 268756
URL: http://svnweb.freebsd.org/changeset/base/268756

Log:
  Merge r268342 from head:
Remove /usr/share/doc/psd/28.cvs/paper.ps.gz if it exists, as it is
obsolete since r251794.
  
  PR:   191003
  Submitted by: Vick Khera

Modified:
  stable/10/ObsoleteFiles.inc
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/ObsoleteFiles.inc
==
--- stable/10/ObsoleteFiles.inc Wed Jul 16 12:41:50 2014(r268755)
+++ stable/10/ObsoleteFiles.inc Wed Jul 16 12:45:13 2014(r268756)
@@ -442,6 +442,7 @@ OLD_FILES+=usr/share/man/man9/vfs_mount.
 OLD_FILES+=usr/bin/cvs
 OLD_FILES+=usr/bin/cvsbug
 OLD_FILES+=usr/share/doc/psd/28.cvs/paper.ascii.gz
+OLD_FILES+=usr/share/doc/psd/28.cvs/paper.ps.gz
 OLD_DIRS+=usr/share/doc/psd/28.cvs
 OLD_FILES+=usr/share/examples/cvs/contrib/README
 OLD_FILES+=usr/share/examples/cvs/contrib/clmerge
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268758 - stable/10/share/examples/etc

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:49:56 2014
New Revision: 268758
URL: http://svnweb.freebsd.org/changeset/base/268758

Log:
  Merge r267865 from head:
Drop example variables for updating over csup.  These have not functioned
since r251084

Modified:
  stable/10/share/examples/etc/make.conf
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/examples/etc/make.conf
==
--- stable/10/share/examples/etc/make.conf  Wed Jul 16 12:49:42 2014
(r268757)
+++ stable/10/share/examples/etc/make.conf  Wed Jul 16 12:49:56 2014
(r268758)
@@ -178,18 +178,6 @@
 #ENABLE_SUID_K5SU=
 #
 #
-# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
-# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
-# information on CVSup and these files).  To use, do make update in /usr/src.
-#
-#SUP_UPDATE=
-#
-#SUP=/usr/bin/csup
-#SUPFLAGS=   -L 2
-#SUPHOST=cvsup.uk.FreeBSD.org
-#SUPFILE=/usr/share/examples/cvsup/standard-supfile
-#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
-#
 # top(1) uses a hash table for the user names.  The size of this hash
 # can be tuned to match the number of local users.  The table size should
 # be a prime number approximately twice as large as the number of lines in
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268757 - stable/9/share/examples/etc

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:49:42 2014
New Revision: 268757
URL: http://svnweb.freebsd.org/changeset/base/268757

Log:
  Merge r267865 from head:
Drop example variables for updating over csup.  These have not functioned
since r252305.

Modified:
  stable/9/share/examples/etc/make.conf
Directory Properties:
  stable/9/share/examples/   (props changed)
  stable/9/share/examples/etc/   (props changed)

Modified: stable/9/share/examples/etc/make.conf
==
--- stable/9/share/examples/etc/make.conf   Wed Jul 16 12:45:13 2014
(r268756)
+++ stable/9/share/examples/etc/make.conf   Wed Jul 16 12:49:42 2014
(r268757)
@@ -172,18 +172,6 @@
 #ENABLE_SUID_K5SU=
 #
 #
-# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
-# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
-# information on CVSup and these files).  To use, do make update in /usr/src.
-#
-#SUP_UPDATE=
-#
-#SUP=/usr/bin/csup
-#SUPFLAGS=   -L 2
-#SUPHOST=cvsup.uk.FreeBSD.org
-#SUPFILE=/usr/share/examples/cvsup/standard-supfile
-#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
-#
 # top(1) uses a hash table for the user names.  The size of this hash
 # can be tuned to match the number of local users.  The table size should
 # be a prime number approximately twice as large as the number of lines in
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268759 - stable/10/share/man/man7

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:51:29 2014
New Revision: 268759
URL: http://svnweb.freebsd.org/changeset/base/268759

Log:
  Merge r267866 from head:
Drop references to updating over csup from build(7).

Modified:
  stable/10/share/man/man7/build.7
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/man/man7/build.7
==
--- stable/10/share/man/man7/build.7Wed Jul 16 12:49:56 2014
(r268758)
+++ stable/10/share/man/man7/build.7Wed Jul 16 12:51:29 2014
(r268759)
@@ -24,7 +24,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd June 17, 2014
+.Dd June 25, 2014
 .Dt BUILD 7
 .Os
 .Sh NAME
@@ -40,8 +40,7 @@ normally
 and
 .Pa /usr/ports .
 These directories may be initially empty or non-existent until updated with
-.Xr csup 1 ,
-.Xr svn 1 ,
+.Xr svn 1
 or
 .Xr portsnap 8 .
 Directory
@@ -616,7 +615,6 @@ make TARGET=sparc64 DESTDIR=/clients/spa
 .Ed
 .Sh SEE ALSO
 .Xr cc 1 ,
-.Xr csup 1 ,
 .Xr install 1 ,
 .Xr make 1 ,
 .Xr svn 1 ,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268760 - stable/9/share/man/man7

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:52:05 2014
New Revision: 268760
URL: http://svnweb.freebsd.org/changeset/base/268760

Log:
  Merge r267866 from head:
Drop references to updating over csup from build(7).

Modified:
  stable/9/share/man/man7/build.7
Directory Properties:
  stable/9/share/man/man7/   (props changed)

Modified: stable/9/share/man/man7/build.7
==
--- stable/9/share/man/man7/build.7 Wed Jul 16 12:51:29 2014
(r268759)
+++ stable/9/share/man/man7/build.7 Wed Jul 16 12:52:05 2014
(r268760)
@@ -24,7 +24,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd October 10, 2012
+.Dd June 25, 2014
 .Dt BUILD 7
 .Os
 .Sh NAME
@@ -40,8 +40,7 @@ normally
 and
 .Pa /usr/ports .
 These directories may be initially empty or non-existent until updated with
-.Xr csup 1 ,
-.Xr svn 1 ,
+.Xr svn 1
 or
 .Xr portsnap 8 .
 Directory
@@ -593,7 +592,6 @@ make TARGET=sparc64 DESTDIR=/clients/spa
 .Ed
 .Sh SEE ALSO
 .Xr cc 1 ,
-.Xr csup 1 ,
 .Xr install 1 ,
 .Xr make 1 ,
 .Xr svn 1 ,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268761 - stable/9/usr.sbin/uhsoctl

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:57:50 2014
New Revision: 268761
URL: http://svnweb.freebsd.org/changeset/base/268761

Log:
  Merge r268298,r268299 from head:
Correct format string to fix build of uhsoctl when DEBUG is defined
  
  PR:   185007
  Submitted by: saper saper.info

Modified:
  stable/9/usr.sbin/uhsoctl/uhsoctl.c
Directory Properties:
  stable/9/usr.sbin/uhsoctl/   (props changed)

Modified: stable/9/usr.sbin/uhsoctl/uhsoctl.c
==
--- stable/9/usr.sbin/uhsoctl/uhsoctl.c Wed Jul 16 12:52:05 2014
(r268760)
+++ stable/9/usr.sbin/uhsoctl/uhsoctl.c Wed Jul 16 12:57:50 2014
(r268761)
@@ -601,7 +601,7 @@ at_cmd(struct ctx *ctx, const char *resp
if (resp != NULL) {
l = strlen(resp);
 #ifdef DEBUG
-   fprintf(stderr, SYNC_EXP: %s (%d)\n, resp, l);
+   fprintf(stderr, SYNC_EXP: %s (%zu)\n, resp, l);
 #endif
}
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268762 - stable/10/usr.sbin/uhsoctl

2014-07-16 Thread Gavin Atkinson
Author: gavin
Date: Wed Jul 16 12:57:53 2014
New Revision: 268762
URL: http://svnweb.freebsd.org/changeset/base/268762

Log:
  Merge r268298,r268299 from head:
Correct format string to fix build of uhsoctl when DEBUG is defined
  
  PR:   185007
  Submitted by: saper saper.info

Modified:
  stable/10/usr.sbin/uhsoctl/uhsoctl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/uhsoctl/uhsoctl.c
==
--- stable/10/usr.sbin/uhsoctl/uhsoctl.cWed Jul 16 12:57:50 2014
(r268761)
+++ stable/10/usr.sbin/uhsoctl/uhsoctl.cWed Jul 16 12:57:53 2014
(r268762)
@@ -601,7 +601,7 @@ at_cmd(struct ctx *ctx, const char *resp
if (resp != NULL) {
l = strlen(resp);
 #ifdef DEBUG
-   fprintf(stderr, SYNC_EXP: %s (%d)\n, resp, l);
+   fprintf(stderr, SYNC_EXP: %s (%zu)\n, resp, l);
 #endif
}
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r268725 - head/share/man/man9

2014-07-15 Thread Gavin Atkinson
Author: gavin
Date: Tue Jul 15 23:29:20 2014
New Revision: 268725
URL: http://svnweb.freebsd.org/changeset/base/268725

Log:
  Since r202933, kthread_suspend_check() takes no arguments.  Update the
  example to match.
  
  MFC after:3 days

Modified:
  head/share/man/man9/kthread.9

Modified: head/share/man/man9/kthread.9
==
--- head/share/man/man9/kthread.9   Tue Jul 15 23:20:25 2014
(r268724)
+++ head/share/man/man9/kthread.9   Tue Jul 15 23:29:20 2014
(r268725)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd January 24, 2010
+.Dd July 15, 2014
 .Dt KTHREAD 9
 .Os
 .Sh NAME
@@ -275,7 +275,7 @@ buf_daemon()
bufdaemonthread, SHUTDOWN_PRI_LAST);
...
for (;;) {
-   kthread_suspend_check(bufdaemonthread);
+   kthread_suspend_check();
...
}
 }
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


  1   2   3   4   5   6   >