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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: 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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268728 - head/usr.sbin/pkg

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

Log:
  When we fail to extract the pkg binaries (for example, / is read-only),
  give a more helpful error message.
  
  MFC after:1 week

Modified:
  head/usr.sbin/pkg/pkg.c

Modified: head/usr.sbin/pkg/pkg.c
==
--- head/usr.sbin/pkg/pkg.c Tue Jul 15 23:35:06 2014(r268727)
+++ head/usr.sbin/pkg/pkg.c Wed Jul 16 00:12:57 2014(r268728)
@@ -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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268637 - head/games/fortune/fortune

2014-07-14 Thread Gavin Atkinson
Author: gavin
Date: Mon Jul 14 23:25:29 2014
New Revision: 268637
URL: http://svnweb.freebsd.org/changeset/base/268637

Log:
  fortune(8): Search fortune files installed by ports/packages as well as
  those supplied by the base system.
  
  PR:   191800
  Submitted by: Andy Kosela
  MFC after:1 week

Modified:
  head/games/fortune/fortune/pathnames.h

Modified: head/games/fortune/fortune/pathnames.h
==
--- head/games/fortune/fortune/pathnames.h  Mon Jul 14 22:40:46 2014
(r268636)
+++ head/games/fortune/fortune/pathnames.h  Mon Jul 14 23:25:29 2014
(r268637)
@@ -30,4 +30,5 @@
  * $FreeBSD$
  */
 
-#defineFORTDIR /usr/share/games/fortune
+#defineFORTDIR /usr/share/games/fortune: \
+   /usr/local/share/games/fortune
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268539 - head/usr.sbin/jail

2014-07-11 Thread Gavin Atkinson
Author: gavin
Date: Fri Jul 11 22:38:05 2014
New Revision: 268539
URL: http://svnweb.freebsd.org/changeset/base/268539

Log:
  The month's name shall not be abbreviated.

Modified:
  head/usr.sbin/jail/jail.8

Modified: head/usr.sbin/jail/jail.8
==
--- head/usr.sbin/jail/jail.8   Fri Jul 11 22:22:08 2014(r268538)
+++ head/usr.sbin/jail/jail.8   Fri Jul 11 22:38:05 2014(r268539)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd Jul 10, 2014
+.Dd July 10, 2014
 .Dt JAIL 8
 .Os
 .Sh NAME
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268488 - head/usr.sbin/jail

2014-07-10 Thread Gavin Atkinson
Author: gavin
Date: Thu Jul 10 10:00:10 2014
New Revision: 268488
URL: http://svnweb.freebsd.org/changeset/base/268488

Log:
  Reword an awkward option description
  
  PR:   191726
  Reported by:  yaneurabeya gmail.com
  MFC after:3 days

Modified:
  head/usr.sbin/jail/jail.8

Modified: head/usr.sbin/jail/jail.8
==
--- head/usr.sbin/jail/jail.8   Thu Jul 10 09:42:34 2014(r268487)
+++ head/usr.sbin/jail/jail.8   Thu Jul 10 10:00:10 2014(r268488)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd May 16, 2014
+.Dd Jul 10, 2014
 .Dt JAIL 8
 .Os
 .Sh NAME
@@ -655,8 +655,9 @@ file, instead of in the jail'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 will not be created or removed, as appropriate.
 .It Va exec.consolelog
 A file to direct command output (stdout and stderr) to.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268342 - head

2014-07-06 Thread Gavin Atkinson
Author: gavin
Date: Sun Jul  6 23:08:47 2014
New Revision: 268342
URL: http://svnweb.freebsd.org/changeset/base/268342

Log:
  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
  MFC after:3 days

Modified:
  head/ObsoleteFiles.inc

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Sun Jul  6 23:01:29 2014(r268341)
+++ head/ObsoleteFiles.inc  Sun Jul  6 23:08:47 2014(r268342)
@@ -559,6 +559,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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268292 - head/usr.bin/calendar/calendars

2014-07-05 Thread Gavin Atkinson
Author: gavin
Date: Sat Jul  5 19:02:53 2014
New Revision: 268292
URL: http://svnweb.freebsd.org/changeset/base/268292

Log:
  Dominion Day became Canada Day in 1982, update the holiday calendar.
  
  PR:   191533
  Submitted by: db
  Obtained from:http://www.pch.gc.ca/eng/1359137387574/1359137429809
  MFC after:3 days

Modified:
  head/usr.bin/calendar/calendars/calendar.holiday

Modified: head/usr.bin/calendar/calendars/calendar.holiday
==
--- head/usr.bin/calendar/calendars/calendar.holidaySat Jul  5 18:15:00 
2014(r268291)
+++ head/usr.bin/calendar/calendars/calendar.holidaySat Jul  5 19:02:53 
2014(r268292)
@@ -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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268295 - head/games/fortune/datfiles

2014-07-05 Thread Gavin Atkinson
Author: gavin
Date: Sat Jul  5 19:37:38 2014
New Revision: 268295
URL: http://svnweb.freebsd.org/changeset/base/268295

Log:
  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
  Reviewed by:  Wolfram Alpha
  MFC after:3 days

Modified:
  head/games/fortune/datfiles/fortunes

Modified: head/games/fortune/datfiles/fortunes
==
--- head/games/fortune/datfiles/fortunesSat Jul  5 19:31:22 2014
(r268294)
+++ head/games/fortune/datfiles/fortunesSat Jul  5 19:37:38 2014
(r268295)
@@ -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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268298 - head/usr.sbin/uhsoctl

2014-07-05 Thread Gavin Atkinson
Author: gavin
Date: Sat Jul  5 19:53:21 2014
New Revision: 268298
URL: http://svnweb.freebsd.org/changeset/base/268298

Log:
  Correct format string to fix build of uhsoctl when DEBUG is defined
  
  PR:   185007
  Submitted by: saper saper.info
  MFC after:3 days

Modified:
  head/usr.sbin/uhsoctl/uhsoctl.c

Modified: head/usr.sbin/uhsoctl/uhsoctl.c
==
--- head/usr.sbin/uhsoctl/uhsoctl.c Sat Jul  5 19:49:31 2014
(r268297)
+++ head/usr.sbin/uhsoctl/uhsoctl.c Sat Jul  5 19:53:21 2014
(r268298)
@@ -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 (%zd)\n, resp, l);
 #endif
}
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268299 - head/usr.sbin/uhsoctl

2014-07-05 Thread Gavin Atkinson
Author: gavin
Date: Sat Jul  5 20:08:25 2014
New Revision: 268299
URL: http://svnweb.freebsd.org/changeset/base/268299

Log:
  Use %zu not %zd for printing size_t.
  
  PR:   185007
  Submitted by: saper saper.info
  MFC after:3 days

Modified:
  head/usr.sbin/uhsoctl/uhsoctl.c

Modified: head/usr.sbin/uhsoctl/uhsoctl.c
==
--- head/usr.sbin/uhsoctl/uhsoctl.c Sat Jul  5 19:53:21 2014
(r268298)
+++ head/usr.sbin/uhsoctl/uhsoctl.c Sat Jul  5 20:08:25 2014
(r268299)
@@ -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 (%zd)\n, resp, l);
+   fprintf(stderr, SYNC_EXP: %s (%zu)\n, resp, l);
 #endif
}
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r268303 - head/sys/dev/asmc

2014-07-05 Thread Gavin Atkinson
Author: gavin
Date: Sat Jul  5 21:34:37 2014
New Revision: 268303
URL: http://svnweb.freebsd.org/changeset/base/268303

Log:
  Add support to asmc(4) for Macmini 3,1.
  
  PR:   190195
  Submitted by: fbsdbugs2 sentry.org
  MFC after:1 week
  Relnotes: yes

Modified:
  head/sys/dev/asmc/asmc.c
  head/sys/dev/asmc/asmcvar.h

Modified: head/sys/dev/asmc/asmc.c
==
--- head/sys/dev/asmc/asmc.cSat Jul  5 21:18:33 2014(r268302)
+++ head/sys/dev/asmc/asmc.cSat Jul  5 21:34:37 2014(r268303)
@@ -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: head/sys/dev/asmc/asmcvar.h
==
--- head/sys/dev/asmc/asmcvar.h Sat Jul  5 21:18:33 2014(r268302)
+++ head/sys/dev/asmc/asmcvar.h Sat Jul  5 21:34:37 2014(r268303)
@@ -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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267991 - head/tools/tools/sysbuild

2014-06-27 Thread Gavin Atkinson
Author: gavin
Date: Sat Jun 28 00:01:18 2014
New Revision: 267991
URL: http://svnweb.freebsd.org/changeset/base/267991

Log:
  Minimal update for cvsup - svn change.

Modified:
  head/tools/tools/sysbuild/README

Modified: head/tools/tools/sysbuild/README
==
--- head/tools/tools/sysbuild/READMEFri Jun 27 23:15:31 2014
(r267990)
+++ head/tools/tools/sysbuild/READMESat Jun 28 00:01:18 2014
(r267991)
@@ -65,9 +65,8 @@ Next, install ports and sources:
cd /freebsd
mkdir ports src packages
 
-   # Or use svn if you prefer
-   csup -h cvsup.???.freebsd.org /usr/share/examples/cvsup/ports-supfile
-   csup -h cvsup.???.freebsd.org /usr/share/examples/cvsup/stable-supfile
+   svn co https://svn0.us-east.FreeBSD.org/base/stable/10 src
+   svn co https://svn0.us-east.FreeBSD.org/ports/head ports
 
 And we should be ready to try a shot:
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267863 - in head: . usr.bin usr.bin/csup

2014-06-25 Thread Gavin Atkinson
Author: gavin
Date: Wed Jun 25 12:06:45 2014
New Revision: 267863
URL: http://svnweb.freebsd.org/changeset/base/267863

Log:
  Remove csup(1) and its associated cpasswd(1) tool.
  
  With the move by the FreeBSD Project away from CVSup as a distribution
  mechanism, there is no longer a need to keep this in base.
  
  Approved by:  mux (around a year ago), silence on -hackers
  X-MFC-after:  never

Deleted:
  head/usr.bin/csup/
Modified:
  head/ObsoleteFiles.inc
  head/usr.bin/Makefile

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Wed Jun 25 10:27:17 2014(r267862)
+++ head/ObsoleteFiles.inc  Wed Jun 25 12:06:45 2014(r267863)
@@ -38,6 +38,11 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20140625: csup removal
+OLD_FILES+=usr/bin/csup
+OLD_FILES+=usr/bin/cpasswd
+OLD_FILES+=usr/share/man/man1/csup.1.gz
+OLD_FILES+=usr/share/man/man1/cpasswd.1.gz
 # 20140614: send-pr removal
 OLD_FILES+=usr/share/info/send-pr.info.gz
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz

Modified: head/usr.bin/Makefile
==
--- head/usr.bin/Makefile   Wed Jun 25 10:27:17 2014(r267862)
+++ head/usr.bin/Makefile   Wed Jun 25 12:06:45 2014(r267863)
@@ -266,10 +266,6 @@ SUBDIR+=   drill
 SUBDIR+=   host
 .endif
 
-.if ${MK_LIBTHR} != no
-SUBDIR+=   csup
-.endif
-
 .if ${MK_LOCATE} != no
 SUBDIR+=   locate
 .endif
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267864 - head/release/scripts

2014-06-25 Thread Gavin Atkinson
Author: gavin
Date: Wed Jun 25 12:17:00 2014
New Revision: 267864
URL: http://svnweb.freebsd.org/changeset/base/267864

Log:
  Remove an nunnecessary reference to csup.

Modified:
  head/release/scripts/mm-mtree.sh

Modified: head/release/scripts/mm-mtree.sh
==
--- head/release/scripts/mm-mtree.shWed Jun 25 12:06:45 2014
(r267863)
+++ head/release/scripts/mm-mtree.shWed Jun 25 12:17:00 2014
(r267864)
@@ -5,7 +5,7 @@
 # This script is intended to be used as part of the release building
 # process to generate the /var/db/mergemaster.mtree file relevant to
 # the source tree used to create the release so that users can make
-# use of mergemaster's -U option to update their files after csup'ing
+# use of mergemaster's -U option to update their files after updating
 # to -stable.
 
 # Copyright 2009 Douglas Barton
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267865 - head/share/examples/etc

2014-06-25 Thread Gavin Atkinson
Author: gavin
Date: Wed Jun 25 12:23:16 2014
New Revision: 267865
URL: http://svnweb.freebsd.org/changeset/base/267865

Log:
  Drop example variables for updating over csup.  These have not functioned
  since r251084.
  
  MFC after:1 week

Modified:
  head/share/examples/etc/make.conf

Modified: head/share/examples/etc/make.conf
==
--- head/share/examples/etc/make.conf   Wed Jun 25 12:17:00 2014
(r267864)
+++ head/share/examples/etc/make.conf   Wed Jun 25 12:23:16 2014
(r267865)
@@ -185,18 +185,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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267866 - head/share/man/man7

2014-06-25 Thread Gavin Atkinson
Author: gavin
Date: Wed Jun 25 12:28:22 2014
New Revision: 267866
URL: http://svnweb.freebsd.org/changeset/base/267866

Log:
  Drop references to updating over csup from build(7).
  
  MFC after:1 week

Modified:
  head/share/man/man7/build.7

Modified: head/share/man/man7/build.7
==
--- head/share/man/man7/build.7 Wed Jun 25 12:23:16 2014(r267865)
+++ head/share/man/man7/build.7 Wed Jun 25 12:28:22 2014(r267866)
@@ -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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267867 - in head: . etc/mtree share/examples share/examples/cvsup

2014-06-25 Thread Gavin Atkinson
Author: gavin
Date: Wed Jun 25 12:32:41 2014
New Revision: 267867
URL: http://svnweb.freebsd.org/changeset/base/267867

Log:
  Remove example cvsup config files.
  
  MFC after:1 week

Deleted:
  head/share/examples/cvsup/
Modified:
  head/ObsoleteFiles.inc
  head/etc/mtree/BSD.usr.dist
  head/share/examples/Makefile

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Wed Jun 25 12:28:22 2014(r267866)
+++ head/ObsoleteFiles.inc  Wed Jun 25 12:32:41 2014(r267867)
@@ -43,6 +43,11 @@ OLD_FILES+=usr/bin/csup
 OLD_FILES+=usr/bin/cpasswd
 OLD_FILES+=usr/share/man/man1/csup.1.gz
 OLD_FILES+=usr/share/man/man1/cpasswd.1.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/info/send-pr.info.gz
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz

Modified: head/etc/mtree/BSD.usr.dist
==
--- head/etc/mtree/BSD.usr.dist Wed Jun 25 12:28:22 2014(r267866)
+++ head/etc/mtree/BSD.usr.dist Wed Jun 25 12:32:41 2014(r267867)
@@ -301,8 +301,6 @@
 ..
 csh
 ..
-cvsup
-..
 diskless
 ..
 dma

Modified: head/share/examples/Makefile
==
--- head/share/examples/MakefileWed Jun 25 12:28:22 2014
(r267866)
+++ head/share/examples/MakefileWed Jun 25 12:32:41 2014
(r267867)
@@ -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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267818 - head/share/misc

2014-06-24 Thread Gavin Atkinson
Author: gavin
Date: Tue Jun 24 12:57:48 2014
New Revision: 267818
URL: http://svnweb.freebsd.org/changeset/base/267818

Log:
  Add missing linefeed.

Modified:
  head/share/misc/committers-ports.dot

Modified: head/share/misc/committers-ports.dot
==
--- head/share/misc/committers-ports.dotTue Jun 24 12:45:06 2014
(r267817)
+++ head/share/misc/committers-ports.dotTue Jun 24 12:57:48 2014
(r267818)
@@ -183,7 +183,7 @@ rene [label=Rene Ladan\nr...@freebsd.or
 riggs [label=Thomas Zander\nri...@freebsd.org\n2014/01/09]
 rm [label=Ruslan Makhmatkhanov\n...@freebsd.org\n2011/11/06]
 rnoland [label=Robert Noland\nrnol...@freebsd.org\n2008/07/21]
-robak [label=Bartek Rutkowski\ro...@freebsd.org\n2014/06/10]
+robak [label=Bartek Rutkowski\nro...@freebsd.org\n2014/06/10]
 rodrigo [label=Rodrigo Osorio\nrodr...@freebsd.org\n2014/01/15]
 romain [label=Romain Tartiere\nrom...@freebsd.org\n2010/01/24]
 sahil [label=Sahil Tandon\nsa...@freebsd.org\n2010/04/11]
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267802 - head/usr.sbin/ctm/mkCTM

2014-06-23 Thread Gavin Atkinson
Author: gavin
Date: Mon Jun 23 18:13:42 2014
New Revision: 267802
URL: http://svnweb.freebsd.org/changeset/base/267802

Log:
  With the move away from GNATS, drop the CTM config file for downloading
  the GNATS database, it will be going away soon.

Deleted:
  head/usr.sbin/ctm/mkCTM/ctm_conf.gnats
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267727 - in head/tools/tools: . prstats

2014-06-22 Thread Gavin Atkinson
Author: gavin
Date: Sun Jun 22 16:35:03 2014
New Revision: 267727
URL: http://svnweb.freebsd.org/changeset/base/267727

Log:
  With the migration from GNATS to Bugzilla, we no longer need a tool to
  graph GNATS PR statistics.  It would be nice to have a similar tool for
  the new bug database, but that would likely be a from-scratch rewrite.

Deleted:
  head/tools/tools/prstats/
Modified:
  head/tools/tools/README

Modified: head/tools/tools/README
==
--- head/tools/tools/README Sun Jun 22 16:34:27 2014(r267726)
+++ head/tools/tools/README Sun Jun 22 16:35:03 2014(r267727)
@@ -55,7 +55,6 @@ pciid Generate src/share/misc/pci_vendo
 pciromsA tool for dumping PCI ROM images. WARNING: alpha 
quality.
 pirtoolA tool for dumping the $PIR table on i386 machines at 
runtime.
 portsinfo  Generate list of new ports for last two weeks.
-prstatsGenerate statistics about the PR database.
 recoverdiskCopy as much data as possible from a defective disk.
 scsi-defects   Get at the primary or grown defect list of a SCSI disk.
 sysdoc Build a manual page with available sysctls for a specific
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267671 - head/etc/mtree

2014-06-20 Thread Gavin Atkinson
Author: gavin
Date: Fri Jun 20 11:46:42 2014
New Revision: 267671
URL: http://svnweb.freebsd.org/changeset/base/267671

Log:
  Stop creating /etc/gnats

Modified:
  head/etc/mtree/BSD.root.dist

Modified: head/etc/mtree/BSD.root.dist
==
--- head/etc/mtree/BSD.root.distFri Jun 20 10:38:08 2014
(r267670)
+++ head/etc/mtree/BSD.root.distFri Jun 20 11:46:42 2014
(r267671)
@@ -34,8 +34,6 @@
 ..
 dma
 ..
-gnats
-..
 gss
 ..
 mail
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267672 - head/sys/mips/rmi

2014-06-20 Thread Gavin Atkinson
Author: gavin
Date: Fri Jun 20 11:47:49 2014
New Revision: 267672
URL: http://svnweb.freebsd.org/changeset/base/267672

Log:
  Remove /etc/gnats from here, too.

Modified:
  head/sys/mips/rmi/rootfs_list.txt

Modified: head/sys/mips/rmi/rootfs_list.txt
==
--- head/sys/mips/rmi/rootfs_list.txt   Fri Jun 20 11:46:42 2014
(r267671)
+++ head/sys/mips/rmi/rootfs_list.txt   Fri Jun 20 11:47:49 2014
(r267672)
@@ -64,8 +64,6 @@
 ./etc/defaults/rc.conf
 ./etc/devd
 ./etc/devd/asus.conf
-./etc/gnats
-./etc/gnats/freefall
 ./etc/gss
 ./etc/gss/mech
 ./etc/gss/qop
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267577 - in head: . usr.bin usr.bin/send-pr

2014-06-17 Thread Gavin Atkinson
Author: gavin
Date: Tue Jun 17 12:59:03 2014
New Revision: 267577
URL: http://svnweb.freebsd.org/changeset/base/267577

Log:
  Add a stub send-pr that simply points people towards the online support
  pages, to give people used to send-pr a bit of guidance.
  
  MFC after:3 days

Added:
  head/usr.bin/send-pr/
  head/usr.bin/send-pr/Makefile   (contents, props changed)
  head/usr.bin/send-pr/send-pr.sh   (contents, props changed)
Modified:
  head/ObsoleteFiles.inc
  head/usr.bin/Makefile

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Tue Jun 17 11:58:37 2014(r267576)
+++ head/ObsoleteFiles.inc  Tue Jun 17 12:59:03 2014(r267577)
@@ -39,7 +39,6 @@
 # done
 
 # 20140614: send-pr removal
-OLD_FILES+=usr/bin/send-pr
 OLD_FILES+=usr/share/man/man1/send-pr.1.gz
 OLD_FILES+=etc/gnats/freefall
 OLD_DIRS+=etc/gnats

Modified: head/usr.bin/Makefile
==
--- head/usr.bin/Makefile   Tue Jun 17 11:58:37 2014(r267576)
+++ head/usr.bin/Makefile   Tue Jun 17 12:59:03 2014(r267577)
@@ -143,6 +143,7 @@ SUBDIR= alias \
rwall \
script \
sed \
+   send-pr \
seq \
shar \
showmount \

Added: head/usr.bin/send-pr/Makefile
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/usr.bin/send-pr/Makefile   Tue Jun 17 12:59:03 2014
(r267577)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SCRIPTS= send-pr.sh
+
+.include bsd.prog.mk

Added: head/usr.bin/send-pr/send-pr.sh
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/usr.bin/send-pr/send-pr.sh Tue Jun 17 12:59:03 2014
(r267577)
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+echo
+echo FreeBSD has migrated away from GNATS for tracking bugs, and so send-pr
+echo is no longer used for submitting bug reports.
+echo Please see https://www.freebsd.org/support.html for more information.
+echo
+exit 1
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267482 - in head: share/man/man7 share/termcap sys/modules/svr4

2014-06-14 Thread Gavin Atkinson
Author: gavin
Date: Sat Jun 14 18:43:48 2014
New Revision: 267482
URL: http://svnweb.freebsd.org/changeset/base/267482

Log:
  Stop telling people to use send-pr; instead point them towards Bugzilla.
  
  Hat:  bugmeister@
  MFC after:3 days

Modified:
  head/share/man/man7/tests.7
  head/share/termcap/termcap.src
  head/sys/modules/svr4/README

Modified: head/share/man/man7/tests.7
==
--- head/share/man/man7/tests.7 Sat Jun 14 17:47:44 2014(r267481)
+++ head/share/man/man7/tests.7 Sat Jun 14 18:43:48 2014(r267482)
@@ -195,7 +195,7 @@ For more details please refer to:
 .It
 .Lk http://lists.freebsd.org/ FreeBSD Mailing Lists
 .It
-.Lk http://www.freebsd.org/send-pr.html Submit a FreeBSD Problem Report
+.Lk http://www.freebsd.org/support.html Problem Reporting
 .El
 .Sh FILES
 .Bl -tag -compact -width usrXlocalXetcXkyuaXkyuaXconfXX

Modified: head/share/termcap/termcap.src
==
--- head/share/termcap/termcap.src  Sat Jun 14 17:47:44 2014
(r267481)
+++ head/share/termcap/termcap.src  Sat Jun 14 18:43:48 2014
(r267482)
@@ -36,7 +36,7 @@
 #  John Kunze, Berkeley
 #  Craig Leres, Berkeley
 #
-# Please submit changes with send-pr(1).
+# Please submit changes via https://bugs.freebsd.org/submit/
 #
 #  EOH - after reordering, above header lines survive and this line dies 
 #

Modified: head/sys/modules/svr4/README
==
--- head/sys/modules/svr4/READMESat Jun 14 17:47:44 2014
(r267481)
+++ head/sys/modules/svr4/READMESat Jun 14 18:43:48 2014
(r267482)
@@ -30,7 +30,7 @@ To use it:
 It's early days yet, folks -- You'll probably have trouble getting 100%
 functionality out of most things (specifically, poll() on a socket doesn't
 look like it works at the moment, so Netscape doesn't work (among other
-things)).  Patches will be appreciated (use send-pr).
+things)).  Patches will be appreciated.
 
- Mark Newton
  new...@atdot.dotat.org
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267483 - in head: contrib/gcc gnu/usr.bin/binutils/libbfd

2014-06-14 Thread Gavin Atkinson
Author: gavin
Date: Sat Jun 14 18:45:40 2014
New Revision: 267483
URL: http://svnweb.freebsd.org/changeset/base/267483

Log:
  With the move away from GNATS, point end users to a better web page
  detailing how to report bugs.
  
  Hat:  bugmeister
  MFC after:3 days

Modified:
  head/contrib/gcc/version.c
  head/gnu/usr.bin/binutils/libbfd/Makefile

Modified: head/contrib/gcc/version.c
==
--- head/contrib/gcc/version.c  Sat Jun 14 18:43:48 2014(r267482)
+++ head/contrib/gcc/version.c  Sat Jun 14 18:45:40 2014(r267483)
@@ -18,7 +18,7 @@
forward us bugs reported to you, if you determine that they are
not bugs in your modifications.)  */
 
-const char bug_report_url[] = URL:http://www.freebsd.org/send-pr.html;
+const char bug_report_url[] = URL:http://www.freebsd.org/support.html;
 
 /* The complete version string, assembled from several pieces.
BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile.  */

Modified: head/gnu/usr.bin/binutils/libbfd/Makefile
==
--- head/gnu/usr.bin/binutils/libbfd/Makefile   Sat Jun 14 18:43:48 2014
(r267482)
+++ head/gnu/usr.bin/binutils/libbfd/Makefile   Sat Jun 14 18:45:40 2014
(r267483)
@@ -84,7 +84,7 @@ bfdver.h: Makefile
echo '#define BFD_VERSION   21750'   ${.TARGET}
echo '#define BFD_VERSION_DATE  20070703'${.TARGET}
echo '#define BFD_VERSION_STRING ${VERSION}' ${.TARGET}
-   echo '#define REPORT_BUGS_TO http://www.freebsd.org/send-pr.html' 
 ${.TARGET}
+   echo '#define REPORT_BUGS_TO http://www.freebsd.org/support.html' 
 ${.TARGET}
 
 targmatch.h: targmatch.sed config.bfd
sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd}  ${.TARGET}
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r267486 - in head: . etc gnu/usr.bin gnu/usr.bin/send-pr share/man/man7

2014-06-14 Thread Gavin Atkinson
Author: gavin
Date: Sat Jun 14 20:36:32 2014
New Revision: 267486
URL: http://svnweb.freebsd.org/changeset/base/267486

Log:
  Remove send-pr, the supported interface to submit bugs is now via
  https://bugs.freebsd.org/submit/
  
  Removing send-pr also removes one more piece of non-BSD-licensed software.
  
  Hat:  bugmeister
  MFC after:3 days

Deleted:
  head/gnu/usr.bin/send-pr/
Modified:
  head/MAINTAINERS
  head/ObsoleteFiles.inc
  head/etc/Makefile
  head/gnu/usr.bin/Makefile
  head/share/man/man7/hier.7

Modified: head/MAINTAINERS
==
--- head/MAINTAINERSSat Jun 14 20:25:14 2014(r267485)
+++ head/MAINTAINERSSat Jun 14 20:36:32 2014(r267486)
@@ -108,7 +108,6 @@ lib/libbluetoothemaxPre-commit review 
 lib/libsdp emaxPre-commit review preferred.
 usr.bin/bluetooth  emaxPre-commit review preferred.
 usr.sbin/bluetooth emaxPre-commit review preferred.
-gnu/usr.bin/send-prbugmaster   Pre-commit review requested.
 *env(3)secteam Due to the problematic security history of this
code, please have patches reviewed by secteam.
 share/zoneinfo edwin   Heads-up appreciated, since our data is coming

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Sat Jun 14 20:25:14 2014(r267485)
+++ head/ObsoleteFiles.inc  Sat Jun 14 20:36:32 2014(r267486)
@@ -38,6 +38,11 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20140614: send-pr removal
+OLD_FILES+=usr/bin/send-pr
+OLD_FILES+=usr/share/man/man1/send-pr.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.
 OLD_FILES+=usr/include/clang/3.4/__wmmintrin_aes.h
 OLD_FILES+=usr/include/clang/3.4/__wmmintrin_pclmul.h

Modified: head/etc/Makefile
==
--- head/etc/Makefile   Sat Jun 14 20:25:14 2014(r267485)
+++ head/etc/Makefile   Sat Jun 14 20:36:32 2014(r267486)
@@ -240,7 +240,6 @@ distribution:
${_+_}cd ${.CURDIR}/periodic; ${MAKE} install
${_+_}cd ${.CURDIR}/pkg; ${MAKE} install
${_+_}cd ${.CURDIR}/rc.d; ${MAKE} install
-   ${_+_}cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall
${_+_}cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap
${_+_}cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt
${_+_}cd ${.CURDIR}/pam.d; ${MAKE} install

Modified: head/gnu/usr.bin/Makefile
==
--- head/gnu/usr.bin/Makefile   Sat Jun 14 20:25:14 2014(r267485)
+++ head/gnu/usr.bin/Makefile   Sat Jun 14 20:36:32 2014(r267486)
@@ -14,7 +14,6 @@ SUBDIR= ${_binutils} \
${_groff} \
${_rcs} \
sdiff \
-   send-pr \
${_tests} \
${_texinfo}
 

Modified: head/share/man/man7/hier.7
==
--- head/share/man/man7/hier.7  Sat Jun 14 20:25:14 2014(r267485)
+++ head/share/man/man7/hier.7  Sat Jun 14 20:36:32 2014(r267486)
@@ -86,10 +86,6 @@ see
 .Xr rc 8
 .It Pa bluetooth/
 bluetooth configuration files
-.It Pa gnats/
-gnats configuration files;
-see
-.Xr send-pr 1
 .It Pa localtime
 local timezone information;
 see
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r267486 - in head: . etc gnu/usr.bin gnu/usr.bin/send-pr share/man/man7

2014-06-14 Thread Gavin Atkinson
On Sat, 14 Jun 2014, Steve Kargl wrote:
 On Sat, Jun 14, 2014 at 08:36:33PM +, Gavin Atkinson wrote:
  Author: gavin
  Date: Sat Jun 14 20:36:32 2014
  New Revision: 267486
  URL: http://svnweb.freebsd.org/changeset/base/267486
  
  Log:
Remove send-pr, the supported interface to submit bugs is now via
https://bugs.freebsd.org/submit/

Removing send-pr also removes one more piece of non-BSD-licensed software.

Hat:  bugmeister
MFC after:3 days
  
  Deleted:
head/gnu/usr.bin/send-pr/
 
 Given that send-pr(1) may be ingrained into peoples brains
 and referenced in 3rd documentation or articles on the web,
 perhaps, we should have a script point to bugzilla.
 
 $ cat send-pr 
 #! /bin/sh
 echo 'send-pr(1) has been replaced by bugzilla.'
 echo 'See http://bugs.freebsd.org/'

This is likely a good idea, and one we have discussed already.  I meant to 
mention it in the commit log actually - I will likely commit such a script 
tomorrow, and it will be in place in time for the MFC.

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


svn commit: r266770 - head/sys/dev/iwn

2014-05-27 Thread Gavin Atkinson
Author: gavin
Date: Tue May 27 19:39:57 2014
New Revision: 266770
URL: http://svnweb.freebsd.org/changeset/base/266770

Log:
  Add support for the Intel Centrino Wireless-N 105 chipset.
  
  MFC after:2 weeks
  Relnotes: yes

Modified:
  head/sys/dev/iwn/if_iwn.c
  head/sys/dev/iwn/if_iwn_devid.h

Modified: head/sys/dev/iwn/if_iwn.c
==
--- head/sys/dev/iwn/if_iwn.c   Tue May 27 19:37:18 2014(r266769)
+++ head/sys/dev/iwn/if_iwn.c   Tue May 27 19:39:57 2014(r266770)
@@ -109,6 +109,8 @@ static const struct iwn_ident iwn_ident_
{ 0x8086, IWN_DID_130_2, Intel Centrino Wireless-N 130
},
{ 0x8086, IWN_DID_100_1, Intel Centrino Wireless-N 100
},
{ 0x8086, IWN_DID_100_2, Intel Centrino Wireless-N 100
},
+   { 0x8086, IWN_DID_105_1, Intel Centrino Wireless-N 105
},
+   { 0x8086, IWN_DID_105_2, Intel Centrino Wireless-N 105
},
{ 0x8086, IWN_DID_135_1, Intel Centrino Wireless-N 135
},
{ 0x8086, IWN_DID_135_2, Intel Centrino Wireless-N 135
},
{ 0x8086, IWN_DID_4965_1, Intel Wireless WiFi Link 4965   
},
@@ -458,7 +460,7 @@ iwn_attach(device_t dev)
sc-hw_type = (IWN_READ(sc, IWN_HW_REV)  IWN_HW_REV_TYPE_SHIFT)
 IWN_HW_REV_TYPE_MASK;
sc-subdevice_id = pci_get_subdevice(dev);
-
+printf(hw %d sdid %x\n, sc-hw_type, sc-subdevice_id);
/*
 * 4965 versus 5000 and later have different methods.
 * Let's set those up first.
@@ -986,6 +988,31 @@ iwn_config_specific(struct iwn_softc *sc
}
break;
 
+/* 105 Series */
+/* XXX: This series will need adjustment for rate.
+ * see rx_with_siso_diversity in linux kernel
+ */
+   case IWN_DID_105_1:
+   case IWN_DID_105_2:
+   switch(sc-subdevice_id) {
+   case IWN_SDID_105_1:
+   case IWN_SDID_105_2:
+   case IWN_SDID_105_3:
+   //iwl105_bgn_cfg
+   case IWN_SDID_105_4:
+   //iwl105_bgn_d_cfg
+   sc-limits = iwn2030_sensitivity_limits;
+   sc-base_params = iwn2000_base_params;
+   sc-fwname = iwn105fw;
+   break;
+   default:
+   device_printf(sc-sc_dev, adapter type id : 
0x%04x sub id :
+   0x%04x rev %d not supported 
(subdevice)\n, pid,
+   sc-subdevice_id,sc-hw_type);
+   return ENOTSUP;
+   }
+   break;
+
 /* 135 Series */
 /* XXX: This series will need adjustment for rate.
  * see rx_with_siso_diversity in linux kernel

Modified: head/sys/dev/iwn/if_iwn_devid.h
==
--- head/sys/dev/iwn/if_iwn_devid.h Tue May 27 19:37:18 2014
(r266769)
+++ head/sys/dev/iwn/if_iwn_devid.h Tue May 27 19:39:57 2014
(r266770)
@@ -228,6 +228,19 @@
 
 /*
  * --
+ * Device ID for 105 Series
+ * --
+ */
+#defineIWN_DID_105_1   0x0894
+#defineIWN_DID_105_2   0x0895
+/* SubDevice ID */
+#defineIWN_SDID_105_1  0x0022
+#defineIWN_SDID_105_2  0x0222
+#defineIWN_SDID_105_3  0x0422
+#defineIWN_SDID_105_4  0x0822
+
+/*
+ * --
  * Device ID for 135 Series
  * --
  */
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r266770 - head/sys/dev/iwn

2014-05-27 Thread Gavin Atkinson
Oops, you are correct. I shall remove the debugging printf it in an hour or
so.

As far as treating this card like a 2030, that is also exactly what Linux
does.

Thanks,

Gavin
On 27 May 2014 20:47, Adrian Chadd adr...@freebsd.org wrote:

 woo!

 There's some debugging printf left in. Maybe turn it into
 device_printf() and hide it behind bootverbose?

 Is this all the linux driver did? Are the 2030 parameters okay?


 -a


 On 27 May 2014 12:39, Gavin Atkinson ga...@freebsd.org wrote:
  Author: gavin
  Date: Tue May 27 19:39:57 2014
  New Revision: 266770
  URL: http://svnweb.freebsd.org/changeset/base/266770
 
  Log:
Add support for the Intel Centrino Wireless-N 105 chipset.
 
MFC after:2 weeks
Relnotes: yes
 
  Modified:
head/sys/dev/iwn/if_iwn.c
head/sys/dev/iwn/if_iwn_devid.h
 
  Modified: head/sys/dev/iwn/if_iwn.c
 
 ==
  --- head/sys/dev/iwn/if_iwn.c   Tue May 27 19:37:18 2014(r266769)
  +++ head/sys/dev/iwn/if_iwn.c   Tue May 27 19:39:57 2014(r266770)
  @@ -109,6 +109,8 @@ static const struct iwn_ident iwn_ident_
  { 0x8086, IWN_DID_130_2, Intel Centrino Wireless-N 130
},
  { 0x8086, IWN_DID_100_1, Intel Centrino Wireless-N 100
},
  { 0x8086, IWN_DID_100_2, Intel Centrino Wireless-N 100
},
  +   { 0x8086, IWN_DID_105_1, Intel Centrino Wireless-N 105
},
  +   { 0x8086, IWN_DID_105_2, Intel Centrino Wireless-N 105
},
  { 0x8086, IWN_DID_135_1, Intel Centrino Wireless-N 135
},
  { 0x8086, IWN_DID_135_2, Intel Centrino Wireless-N 135
},
  { 0x8086, IWN_DID_4965_1, Intel Wireless WiFi Link 4965
 },
  @@ -458,7 +460,7 @@ iwn_attach(device_t dev)
  sc-hw_type = (IWN_READ(sc, IWN_HW_REV)  IWN_HW_REV_TYPE_SHIFT)
   IWN_HW_REV_TYPE_MASK;
  sc-subdevice_id = pci_get_subdevice(dev);
  -
  +printf(hw %d sdid %x\n, sc-hw_type, sc-subdevice_id);
  /*
   * 4965 versus 5000 and later have different methods.
   * Let's set those up first.
  @@ -986,6 +988,31 @@ iwn_config_specific(struct iwn_softc *sc
  }
  break;
 
  +/* 105 Series */
  +/* XXX: This series will need adjustment for rate.
  + * see rx_with_siso_diversity in linux kernel
  + */
  +   case IWN_DID_105_1:
  +   case IWN_DID_105_2:
  +   switch(sc-subdevice_id) {
  +   case IWN_SDID_105_1:
  +   case IWN_SDID_105_2:
  +   case IWN_SDID_105_3:
  +   //iwl105_bgn_cfg
  +   case IWN_SDID_105_4:
  +   //iwl105_bgn_d_cfg
  +   sc-limits = iwn2030_sensitivity_limits;
  +   sc-base_params = iwn2000_base_params;
  +   sc-fwname = iwn105fw;
  +   break;
  +   default:
  +   device_printf(sc-sc_dev, adapter type
 id : 0x%04x sub id :
  +   0x%04x rev %d not supported
 (subdevice)\n, pid,
  +   sc-subdevice_id,sc-hw_type);
  +   return ENOTSUP;
  +   }
  +   break;
  +
   /* 135 Series */
   /* XXX: This series will need adjustment for rate.
* see rx_with_siso_diversity in linux kernel
 
  Modified: head/sys/dev/iwn/if_iwn_devid.h
 
 ==
  --- head/sys/dev/iwn/if_iwn_devid.h Tue May 27 19:37:18 2014
  (r266769)
  +++ head/sys/dev/iwn/if_iwn_devid.h Tue May 27 19:39:57 2014
  (r266770)
  @@ -228,6 +228,19 @@
 
   /*
*
 --
  + * Device ID for 105 Series
  + *
 --
  + */
  +#defineIWN_DID_105_1   0x0894
  +#defineIWN_DID_105_2   0x0895
  +/* SubDevice ID */
  +#defineIWN_SDID_105_1  0x0022
  +#defineIWN_SDID_105_2  0x0222
  +#defineIWN_SDID_105_3  0x0422
  +#defineIWN_SDID_105_4  0x0822
  +
  +/*
  + *
 --
* Device ID for 135 Series
*
 --
*/
 

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


Re: svn commit: r266770 - head/sys/dev/iwn

2014-05-27 Thread Gavin Atkinson
On Tue, 27 May 2014, Adrian Chadd wrote:
 Sweet. Firmware? Is that included?

Firmware for these was committed some time ago, in r260552.

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


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

2014-05-16 Thread Gavin Atkinson
Author: gavin
Date: Fri May 16 16:28:09 2014
New Revision: 266261
URL: http://svnweb.freebsd.org/changeset/base/266261

Log:
  USB endpoints are almost always single-digits, fix the path in the man
  page to be clearer.
  
  PR:   docs/175560
  Submitted by: Andreas Gustafsson gson gson.org
  MFC after:3 days

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

Modified: head/share/man/man4/ugen.4
==
--- head/share/man/man4/ugen.4  Fri May 16 16:21:17 2014(r266260)
+++ head/share/man/man4/ugen.4  Fri May 16 16:28:09 2014(r266261)
@@ -29,7 +29,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd July 22, 2012
+.Dd May 16, 2014
 .Dt UGEN 4
 .Os
 .Sh NAME
@@ -292,10 +292,10 @@ and
 should be set to
 .Dv USB_CURRENT_ALT_INDEX .
 .Sh FILES
-.Bl -tag -width .Pa /dev/ugen Ns Ar N Ns Pa \. Ns Ar EE -compact
-.It Pa /dev/ugen Ns Ar N Ns Pa \. Ns Ar EE
+.Bl -tag -width .Pa /dev/ugen Ns Ar N Ns Pa \. Ns Ar E -compact
+.It Pa /dev/ugen Ns Ar N Ns Pa \. Ns Ar E
 Endpoint
-.Ar EE
+.Ar E
 of device
 .Ar N .
 .El
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r266271 - head/sys/arm/arm

2014-05-16 Thread Gavin Atkinson
Author: gavin
Date: Fri May 16 21:20:13 2014
New Revision: 266271
URL: http://svnweb.freebsd.org/changeset/base/266271

Log:
  Fix spelling mistake in comment.
  
  Spotted during:   http://www.bsdcan.org/2014/schedule/events/484.en.html

Modified:
  head/sys/arm/arm/locore.S

Modified: head/sys/arm/arm/locore.S
==
--- head/sys/arm/arm/locore.S   Fri May 16 21:19:17 2014(r266270)
+++ head/sys/arm/arm/locore.S   Fri May 16 21:20:13 2014(r266271)
@@ -82,7 +82,7 @@ ASENTRY_NP(_start)
mov r9, r0  /* 0 or boot mode from boot2 */
mov r8, r1  /* Save Machine type */
mov ip, r2  /* Save meta data */
-   mov fp, r3  /* Future expantion */
+   mov fp, r3  /* Future expansion */
 
/* Make sure interrupts are disabled. */
mrs r7, cpsr
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r266111 - head/contrib/tzcode/stdtime

2014-05-14 Thread Gavin Atkinson
Author: gavin
Date: Thu May 15 03:08:20 2014
New Revision: 266111
URL: http://svnweb.freebsd.org/changeset/base/266111

Log:
  Fix typo.  Note that although this file is under contrib, it has diverged
  sufficiently from upstream (including a full whitespace commit and large
  portions rewritten) that this change does not move us further from the
  upstream.
  
  PR:   docs/186608
  Submitted by: Jamie Landeg-Jones ja...@dyslexicfish.net
  MFC after:3 days

Modified:
  head/contrib/tzcode/stdtime/ctime.3

Modified: head/contrib/tzcode/stdtime/ctime.3
==
--- head/contrib/tzcode/stdtime/ctime.3 Thu May 15 02:41:23 2014
(r266110)
+++ head/contrib/tzcode/stdtime/ctime.3 Thu May 15 03:08:20 2014
(r266111)
@@ -342,7 +342,7 @@ Except for
 and the
 .Fn \_r
 variants of the other functions,
-these functions leaves their result in an internal static object and return
+these functions leave their result in an internal static object and return
 a pointer to that object.
 Subsequent calls to these
 function will modify the same object.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r261216 - head/sys/dev/pccbb

2014-02-02 Thread Gavin Atkinson
On Mon, 27 Jan 2014, John Baldwin wrote:
 Author: jhb
 Date: Mon Jan 27 19:49:52 2014
 New Revision: 261216
 URL: http://svnweb.freebsd.org/changeset/base/261216
 
 Log:
   Explicitly enable I/O and memory decoding in the bridge's command register
   when activating an I/O or memory window on the CardBus bridge.

This fixes some, but not all of my machines.  One in particular, a Toshiba 
M5 laptop, remains broken by r254263 even with this change.  Specificaly, 
the laptop does not notice when a card is inserted.

The attached minimal patch gets things working again, though I don't know 
if is the correct fix or if a more involved fix is required.

dmesg before and after that patch:

http://people.freebsd.org/~gavin/m5-dmesg-before.txt
http://people.freebsd.org/~gavin/m5-dmesg-after.txt

The only difference is the cbb register dump, the one bit that I am 
setting in the patch.

Thanks,

GavinIndex: /usr/src/sys/dev/pccbb/pccbb_pci.c
===
--- /usr/src/sys/dev/pccbb/pccbb_pci.c  (revision 261352)
+++ /usr/src/sys/dev/pccbb/pccbb_pci.c  (working copy)
@@ -472,6 +472,7 @@
 
/* Enable memory access */
pci_enable_busmaster(sc-dev);
+   PCI_MASK_CONFIG(sc-dev, PCIR_COMMAND, | PCIM_CMD_PORTEN, 2);
 
/* disable Legacy IO */
switch (sc-chipset) {
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r260448 - head/sys/dev/iwn

2014-01-08 Thread Gavin Atkinson
Author: gavin
Date: Wed Jan  8 13:59:33 2014
New Revision: 260448
URL: http://svnweb.freebsd.org/changeset/base/260448

Log:
  Add support for the Intel Centrino Wireless-N 135 chipset.
  
  MFC after:2 weeks

Modified:
  head/sys/dev/iwn/if_iwn.c
  head/sys/dev/iwn/if_iwn_devid.h

Modified: head/sys/dev/iwn/if_iwn.c
==
--- head/sys/dev/iwn/if_iwn.c   Wed Jan  8 09:33:16 2014(r260447)
+++ head/sys/dev/iwn/if_iwn.c   Wed Jan  8 13:59:33 2014(r260448)
@@ -108,6 +108,8 @@ static const struct iwn_ident iwn_ident_
{ 0x8086, IWN_DID_130_2, Intel Centrino Wireless-N 130
},
{ 0x8086, IWN_DID_100_1, Intel Centrino Wireless-N 100
},
{ 0x8086, IWN_DID_100_2, Intel Centrino Wireless-N 100
},
+   { 0x8086, IWN_DID_135_1, Intel Centrino Wireless-N 135
},
+   { 0x8086, IWN_DID_135_2, Intel Centrino Wireless-N 135
},
{ 0x8086, IWN_DID_4965_1, Intel Wireless WiFi Link 4965   
},
{ 0x8086, IWN_DID_6x00_1, Intel Centrino Ultimate-N 6300  
},
{ 0x8086, IWN_DID_6x00_2, Intel Centrino Advanced-N 6200  
},
@@ -966,6 +968,28 @@ iwn_config_specific(struct iwn_softc *sc
}
break;
 
+/* 135 Series */
+/* XXX: This series will need adjustment for rate.
+ * see rx_with_siso_diversity in linux kernel
+ */
+   case IWN_DID_135_1:
+   case IWN_DID_135_2:
+   switch(sc-subdevice_id) {
+   case IWN_SDID_135_1:
+   case IWN_SDID_135_2:
+   case IWN_SDID_135_3:
+   sc-limits = iwn2030_sensitivity_limits;
+   sc-base_params = iwn2030_base_params;
+   sc-fwname = iwn135fw;
+   break;
+   default:
+   device_printf(sc-sc_dev, adapter type id : 
0x%04x sub id :
+   0x%04x rev %d not supported 
(subdevice)\n, pid,
+   sc-subdevice_id,sc-hw_type);
+   return ENOTSUP;
+   }
+   break;
+
 /* 2x00 Series */
case IWN_DID_2x00_1:
case IWN_DID_2x00_2:

Modified: head/sys/dev/iwn/if_iwn_devid.h
==
--- head/sys/dev/iwn/if_iwn_devid.h Wed Jan  8 09:33:16 2014
(r260447)
+++ head/sys/dev/iwn/if_iwn_devid.h Wed Jan  8 13:59:33 2014
(r260448)
@@ -228,6 +228,18 @@
 
 /*
  * --
+ * Device ID for 135 Series
+ * --
+ */
+#defineIWN_DID_135_1   0x0892
+#defineIWN_DID_135_2   0x0893
+/* SubDevice ID */
+#defineIWN_SDID_135_1  0x0062
+#defineIWN_SDID_135_2  0x0262
+#defineIWN_SDID_135_3  0x0462
+
+/*
+ * --
  * Device ID for 5x00 Series
  * --
  */
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r260448 - head/sys/dev/iwn

2014-01-08 Thread Gavin Atkinson
On Wed, 8 Jan 2014, Gavin Atkinson wrote:

 Author: gavin
 Date: Wed Jan  8 13:59:33 2014
 New Revision: 260448
 URL: http://svnweb.freebsd.org/changeset/base/260448
 
 Log:
   Add support for the Intel Centrino Wireless-N 135 chipset.
   
   MFC after:  2 weeks

Apologies.  Reviewed by: adrian

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


svn commit: r260335 - head/sys/modules/iwnfw

2014-01-05 Thread Gavin Atkinson
Author: gavin
Date: Sun Jan  5 21:35:07 2014
New Revision: 260335
URL: http://svnweb.freebsd.org/changeset/base/260335

Log:
  Wrap SUBDIRs over several lines.

Modified:
  head/sys/modules/iwnfw/Makefile

Modified: head/sys/modules/iwnfw/Makefile
==
--- head/sys/modules/iwnfw/Makefile Sun Jan  5 21:03:49 2014
(r260334)
+++ head/sys/modules/iwnfw/Makefile Sun Jan  5 21:35:07 2014
(r260335)
@@ -1,5 +1,15 @@
 # $FreeBSD$
 
-SUBDIR=iwn135 iwn1000 iwn4965 iwn5000 iwn5150 iwn6000 iwn6000g2a 
iwn6000g2b iwn6050 iwn2000 iwn2030
+SUBDIR=iwn135  \
+   iwn1000 \
+   iwn2000 \
+   iwn2030 \
+   iwn4965 \
+   iwn5000 \
+   iwn5150 \
+   iwn6000 \
+   iwn6000g2a  \
+   iwn6000g2b  \
+   iwn6050
 
 .include bsd.subdir.mk
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r260260 - head/usr.sbin/bsdinstall/scripts

2014-01-04 Thread Gavin Atkinson
Author: gavin
Date: Sat Jan  4 16:41:43 2014
New Revision: 260260
URL: http://svnweb.freebsd.org/changeset/base/260260

Log:
  Remove what appears to be a stray debugging printf.
  
  MFC after:1 week

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Sat Jan  4 15:51:52 2014
(r260259)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Sat Jan  4 16:41:43 2014
(r260260)
@@ -111,7 +111,6 @@ echo network={
priority=5
 }  $BSDINSTALL_TMPETC/wpa_supplicant.conf
 elif echo $ENCRYPTION | grep -q WEP; then
-   echo FOO
exec 31
WEPKEY=`dialog --insecure --backtitle FreeBSD Installer \
--title WEP Setup --mixedform  0 0 0 \
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r260261 - head/usr.sbin/bsdinstall/scripts

2014-01-04 Thread Gavin Atkinson
Author: gavin
Date: Sat Jan  4 16:44:05 2014
New Revision: 260261
URL: http://svnweb.freebsd.org/changeset/base/260261

Log:
  Lower the priority of the connect to any open wireless network network
  description, so guaranteeing that any other defined network will be tried
  first.
  
  MFC after:1 week

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Sat Jan  4 16:41:43 2014
(r260260)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Sat Jan  4 16:44:05 2014
(r260261)
@@ -135,7 +135,7 @@ fi
 
 # Connect to any open networks policy
 echo network={
-   priority=5
+   priority=0
key_mgmt=NONE
 }  $BSDINSTALL_TMPETC/wpa_supplicant.conf
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r260262 - head/usr.sbin/bsdinstall/scripts

2014-01-04 Thread Gavin Atkinson
Author: gavin
Date: Sat Jan  4 17:09:41 2014
New Revision: 260262
URL: http://svnweb.freebsd.org/changeset/base/260262

Log:
  Allow bsdinstall to use WPA-Enterprise networks when installing.  This
  only allows basic username/password config, and does not provide the
  ability to set any of the other WPA options.  Regardless, this is
  generally sufficient to associate.
  
  Perhaps in the future this could allow full configuring (e.g. being able
  to set anonymous identity, and perhaps some of the more obscure WPA
  options), though perhaps that will better belong in bsdconfig when that
  grows wlan config ability.
  
  MFC after:1 week

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Sat Jan  4 16:44:05 2014
(r260261)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Sat Jan  4 17:09:41 2014
(r260262)
@@ -110,6 +110,29 @@ echo network={
psk=\$PASS\
priority=5
 }  $BSDINSTALL_TMPETC/wpa_supplicant.conf
+elif echo $ENCRYPTION | grep -q EAP; then
+   exec 31
+   USERPASS=`dialog --insecure --backtitle FreeBSD Installer \
+   --title WPA-Enterprise Setup --mixedform  0 0 0 \
+   SSID 1 0 $NETWORK 1 12 0 0 2 \
+   Username 2 0  2 12 25 63 0 \
+   Password 3 0  3 12 25 63 1 \
+   21 13` \
+   || exec $0 $@
+   exec 3-
+echo network={
+   ssid=\$NETWORK\
+   key_mgmt=WPA-EAP  $BSDINSTALL_TMPETC/wpa_supplicant.conf
+echo $USERPASS | awk '
+{
+   if (NR == 1) {
+   printf identity=\%s\\n, $1;
+   } else if (NR == 2) {
+   printf password=\%s\\n, $1;
+   }
+}'  $BSDINSTALL_TMPETC/wpa_supplicant.conf
+echo  priority=5
+}  $BSDINSTALL_TMPETC/wpa_supplicant.conf
 elif echo $ENCRYPTION | grep -q WEP; then
exec 31
WEPKEY=`dialog --insecure --backtitle FreeBSD Installer \
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r259393 - head/sys/dev/an

2013-12-14 Thread Gavin Atkinson
Author: gavin
Date: Sat Dec 14 18:49:59 2013
New Revision: 259393
URL: http://svnweb.freebsd.org/changeset/base/259393

Log:
  Fix several panics when initialization of an ISA or PC-CARD device fails:
  
  o  Assign sc-an_dev in an_probe() (which isn't really a probe function in
 the standard newbus sense) as we may need it for printing errors.
  o  Use device_printf() rather than if_printf() in an_reset() - this is
 called from an_probe() long before the ifp structure is initialised
 in an_attach().
  o  Initialize the ifp structure early in an_attach() as we use if_printf()
 in cases where allocation of descriptors etc fails.
  
  MFC after:3 days

Modified:
  head/sys/dev/an/if_an.c
  head/sys/dev/an/if_an_pccard.c

Modified: head/sys/dev/an/if_an.c
==
--- head/sys/dev/an/if_an.c Sat Dec 14 17:46:58 2013(r259392)
+++ head/sys/dev/an/if_an.c Sat Dec 14 18:49:59 2013(r259393)
@@ -358,6 +358,7 @@ an_probe(device_t dev)
CSR_WRITE_2(sc, AN_INT_EN(sc-mpi350), 0);
CSR_WRITE_2(sc, AN_EVENT_ACK(sc-mpi350), 0x);
 
+   sc-an_dev = dev;
mtx_init(sc-an_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
MTX_DEF);
AN_LOCK(sc);
@@ -686,6 +687,9 @@ an_attach(struct an_softc *sc, int flags
device_printf(sc-an_dev, can not if_alloc()\n);
goto fail;
}
+   ifp-if_softc = sc;
+   if_initname(ifp, device_get_name(sc-an_dev),
+   device_get_unit(sc-an_dev));
 
sc-an_gone = 0;
sc-an_associated = 0;
@@ -759,9 +763,6 @@ an_attach(struct an_softc *sc, int flags
 #endif
AN_UNLOCK(sc);
 
-   ifp-if_softc = sc;
-   if_initname(ifp, device_get_name(sc-an_dev),
-   device_get_unit(sc-an_dev));
ifp-if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp-if_ioctl = an_ioctl;
ifp-if_start = an_start;
@@ -1388,7 +1389,7 @@ an_reset(struct an_softc *sc)
an_cmd(sc, AN_CMD_NOOP2, 0);
 
if (an_cmd(sc, AN_CMD_FORCE_SYNCLOSS, 0) == ETIMEDOUT)
-   if_printf(sc-an_ifp, reset failed\n);
+   device_printf(sc-an_dev, reset failed\n);
 
an_cmd(sc, AN_CMD_DISABLE, 0);
 

Modified: head/sys/dev/an/if_an_pccard.c
==
--- head/sys/dev/an/if_an_pccard.c  Sat Dec 14 17:46:58 2013
(r259392)
+++ head/sys/dev/an/if_an_pccard.c  Sat Dec 14 18:49:59 2013
(r259393)
@@ -141,8 +141,6 @@ an_pccard_attach(device_t dev)
 
an_alloc_irq(dev, sc-irq_rid, 0);
 
-   sc-an_dev = dev;
-
error = an_attach(sc, flags);
if (error)
goto fail;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r259189 - head/games/fortune/datfiles

2013-12-10 Thread Gavin Atkinson
Author: gavin
Date: Tue Dec 10 19:42:35 2013
New Revision: 259189
URL: http://svnweb.freebsd.org/changeset/base/259189

Log:
  Fix typo in fortune (go - to)

Modified:
  head/games/fortune/datfiles/fortunes

Modified: head/games/fortune/datfiles/fortunes
==
--- head/games/fortune/datfiles/fortunesTue Dec 10 19:22:02 2013
(r259188)
+++ head/games/fortune/datfiles/fortunesTue Dec 10 19:42:35 2013
(r259189)
@@ -46677,7 +46677,7 @@ they had just discovered that he lived i
 taken another one of those damned Vermont winters!
 %
 THE OLD POOL SHOOTER had won many a game in his life. But now it was time
-to hang up the cue. When he did, all the other cues came crashing go the
+to hang up the cue. When he did, all the other cues came crashing to the
 floor.
 
 Sorry, he said with a smile.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r258531 - in head/sys/arm: include mv

2013-11-24 Thread Gavin Atkinson
Author: gavin
Date: Sun Nov 24 22:01:15 2013
New Revision: 258531
URL: http://svnweb.freebsd.org/changeset/base/258531

Log:
  platform_devmap_init() was renamed initarm_devmap_init() in r257669, update
  comments to match.

Modified:
  head/sys/arm/include/machdep.h
  head/sys/arm/mv/mv_machdep.c

Modified: head/sys/arm/include/machdep.h
==
--- head/sys/arm/include/machdep.h  Sun Nov 24 20:54:52 2013
(r258530)
+++ head/sys/arm/include/machdep.h  Sun Nov 24 22:01:15 2013
(r258531)
@@ -41,10 +41,10 @@ vm_offset_t parse_boot_param(struct arm_
  *  - initarm_early_init() is called very early, after parsing the boot params
  *and after physical memory has been located and sized.
  *
- *  - platform_devmap_init() is called as one of the last steps of early 
virtual
+ *  - initarm_devmap_init() is called as one of the last steps of early virtual
  *memory initialization, shortly before the new page tables are installed.
  *
- *  - initarm_lastaddr() is called after platform_devmap_init(), and must 
return
+ *  - initarm_lastaddr() is called after initarm_devmap_init(), and must return
  *the address of the first byte of unusable KVA space.  This allows a
  *platform to carve out of the top of the KVA space whatever reserves it
  *needs for things like static device mapping, and this is called to get 
the

Modified: head/sys/arm/mv/mv_machdep.c
==
--- head/sys/arm/mv/mv_machdep.cSun Nov 24 20:54:52 2013
(r258530)
+++ head/sys/arm/mv/mv_machdep.cSun Nov 24 22:01:15 2013
(r258531)
@@ -296,7 +296,7 @@ out:
  * Supply a default do-nothing implementation of fdt_pci_devmap() via a weak
  * alias.  Many Marvell platforms don't support a PCI interface, but to support
  * those that do, we end up with a reference to this function below, in
- * platform_devmap_init().  If device pci appears in the kernel config, the
+ * initarm_devmap_init().  If device pci appears in the kernel config, the
  * real implementation of this function in dev/fdt/fdt_pci.c overrides the weak
  * alias defined here.
  */
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r258534 - head/sys/arm/s3c2xx0

2013-11-24 Thread Gavin Atkinson
Author: gavin
Date: Sun Nov 24 22:53:49 2013
New Revision: 258534
URL: http://svnweb.freebsd.org/changeset/base/258534

Log:
  Fix typo in comment.

Modified:
  head/sys/arm/s3c2xx0/s3c24x0_machdep.c

Modified: head/sys/arm/s3c2xx0/s3c24x0_machdep.c
==
--- head/sys/arm/s3c2xx0/s3c24x0_machdep.c  Sun Nov 24 22:45:49 2013
(r258533)
+++ head/sys/arm/s3c2xx0/s3c24x0_machdep.c  Sun Nov 24 22:53:49 2013
(r258534)
@@ -351,7 +351,7 @@ initarm(struct arm_boot_params *abp)
 * but since we are boot strapping the addresses used for the read
 * may have just been remapped and thus the cache could be out
 * of sync. A re-clean after the switch will cure this.
-* After booting there are no gross reloations of the kernel thus
+* After booting there are no gross relocations of the kernel thus
 * this problem will not occur after initarm().
 */
cpu_idcache_wbinv_all();
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r256923 - head/usr.sbin/portsnap/portsnap

2013-10-22 Thread Gavin Atkinson
Author: gavin
Date: Tue Oct 22 18:55:52 2013
New Revision: 256923
URL: http://svnweb.freebsd.org/changeset/base/256923

Log:
  Rename the alfred command to auto, and document it.  Retain support
  for portsnap alfred for now.
  
  Discussed:many times, most recently on svn-src-all
  MFC after:1 week

Modified:
  head/usr.sbin/portsnap/portsnap/portsnap.8
  head/usr.sbin/portsnap/portsnap/portsnap.sh

Modified: head/usr.sbin/portsnap/portsnap/portsnap.8
==
--- head/usr.sbin/portsnap/portsnap/portsnap.8  Tue Oct 22 18:39:43 2013
(r256922)
+++ head/usr.sbin/portsnap/portsnap/portsnap.8  Tue Oct 22 18:55:52 2013
(r256923)
@@ -25,7 +25,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd October 14, 2012
+.Dd October 22, 2013
 .Dt PORTSNAP 8
 .Os FreeBSD
 .Sh NAME
@@ -161,6 +161,18 @@ or
 commands.
 Again, note that in the parts of the ports tree which are being
 updated, any local changes or additions will be removed.
+.It auto
+Run
+.Cm fetch
+or
+.Cm cron
+depending on whether stdin is a terminal; then run
+.Cm update
+or
+.Cm extract
+depending on whether
+.Ar portsdir
+exists.
 .El
 .Sh TIPS
 .Bl -bullet

Modified: head/usr.sbin/portsnap/portsnap/portsnap.sh
==
--- head/usr.sbin/portsnap/portsnap/portsnap.sh Tue Oct 22 18:39:43 2013
(r256922)
+++ head/usr.sbin/portsnap/portsnap/portsnap.sh Tue Oct 22 18:55:52 2013
(r256923)
@@ -61,6 +61,8 @@ Commands:
   files and directories.
   update   -- Update ports tree to match current snapshot, replacing
   files and directories which have changed.
+  auto -- Fetch updates, and either extract a new ports tree or
+  update an existing tree.
 EOF
exit 0
 }
@@ -147,12 +149,15 @@ parse_cmdline() {
if [ ! -z ${SERVERNAME} ]; then usage; fi
shift; SERVERNAME=$1
;;
-   cron | extract | fetch | update | alfred)
+   cron | extract | fetch | update | auto)
COMMANDS=${COMMANDS} $1
;;
up)
COMMANDS=${COMMANDS} update
;;
+   alfred)
+   COMMANDS=${COMMANDS} auto
+   ;;
*)
if [ $# -gt 1 ]; then usage; fi
if echo ${COMMANDS} | grep -vq extract; then
@@ -1104,10 +1109,10 @@ cmd_update() {
update_run || exit 1
 }
 
-# Alfred command.  Run 'fetch' or 'cron' depending on
+# Auto command.  Run 'fetch' or 'cron' depending on
 # whether stdin is a terminal; then run 'update' or
 # 'extract' depending on whether ${PORTSDIR} exists.
-cmd_alfred() {
+cmd_auto() {
if [ ${INTERACTIVE} = YES ]; then
cmd_fetch
else
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


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

2013-10-20 Thread Gavin Atkinson
Author: gavin
Date: Sun Oct 20 11:19:37 2013
New Revision: 256782
URL: http://svnweb.freebsd.org/changeset/base/256782

Log:
  Add 26 new device IDs to uslcom(4).  This brings us in sync with Linux
  v3.12 rc5.
  
  MFC after:3 days

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

Modified: head/sys/dev/usb/serial/uslcom.c
==
--- head/sys/dev/usb/serial/uslcom.cSun Oct 20 10:02:04 2013
(r256781)
+++ head/sys/dev/usb/serial/uslcom.cSun Oct 20 11:19:37 2013
(r256782)
@@ -252,15 +252,37 @@ static const STRUCT_USB_HOST_ID uslcom_d
 USLCOM_DEV(JABLOTRON, PC60B),
 USLCOM_DEV(KAMSTRUP, OPTICALEYE),
 USLCOM_DEV(KAMSTRUP, MBUS_250D),
+USLCOM_DEV(LAKESHORE, 121),
+USLCOM_DEV(LAKESHORE, 218A),
+USLCOM_DEV(LAKESHORE, 219),
+USLCOM_DEV(LAKESHORE, 233),
+USLCOM_DEV(LAKESHORE, 235),
+USLCOM_DEV(LAKESHORE, 335),
+USLCOM_DEV(LAKESHORE, 336),
+USLCOM_DEV(LAKESHORE, 350),
+USLCOM_DEV(LAKESHORE, 371),
+USLCOM_DEV(LAKESHORE, 411),
+USLCOM_DEV(LAKESHORE, 425),
+USLCOM_DEV(LAKESHORE, 455A),
+USLCOM_DEV(LAKESHORE, 465),
+USLCOM_DEV(LAKESHORE, 475A),
+USLCOM_DEV(LAKESHORE, 625A),
+USLCOM_DEV(LAKESHORE, 642A),
+USLCOM_DEV(LAKESHORE, 648),
+USLCOM_DEV(LAKESHORE, 737),
+USLCOM_DEV(LAKESHORE, 776),
 USLCOM_DEV(LINKINSTRUMENTS, MSO19),
 USLCOM_DEV(LINKINSTRUMENTS, MSO28),
 USLCOM_DEV(LINKINSTRUMENTS, MSO28_2),
 USLCOM_DEV(MEI, CASHFLOW_SC),
 USLCOM_DEV(MEI, S2000),
+USLCOM_DEV(NETGEAR, M4100),
 USLCOM_DEV(OWEN, AC4),
+USLCOM_DEV(OWL, CM_160),
 USLCOM_DEV(PHILIPS, ACE1001),
 USLCOM_DEV(PLX, CA42),
 USLCOM_DEV(RENESAS, RX610),
+USLCOM_DEV(SEL, C662),
 USLCOM_DEV(SILABS, AC_SERV_CAN),
 USLCOM_DEV(SILABS, AC_SERV_CIS),
 USLCOM_DEV(SILABS, AC_SERV_IBUS),
@@ -293,6 +315,7 @@ static const STRUCT_USB_HOST_ID uslcom_d
 USLCOM_DEV(SILABS, HELICOM),
 USLCOM_DEV(SILABS, IMS_USB_RS422),
 USLCOM_DEV(SILABS, INFINITY_MIC),
+USLCOM_DEV(SILABS, INGENI_ZIGBEE),
 USLCOM_DEV(SILABS, INSYS_MODEM),
 USLCOM_DEV(SILABS, IRZ_SG10),
 USLCOM_DEV(SILABS, KYOCERA_GPS),
@@ -300,6 +323,7 @@ static const STRUCT_USB_HOST_ID uslcom_d
 USLCOM_DEV(SILABS, LIPOWSKY_JTAG),
 USLCOM_DEV(SILABS, LIPOWSKY_LIN),
 USLCOM_DEV(SILABS, MC35PU),
+USLCOM_DEV(SILABS, MMB_ZIGBEE),
 USLCOM_DEV(SILABS, MJS_TOSLINK),
 USLCOM_DEV(SILABS, MSD_DASHHAWK),
 USLCOM_DEV(SILABS, MULTIPLEX_RC),
@@ -316,6 +340,7 @@ static const STRUCT_USB_HOST_ID uslcom_d
 USLCOM_DEV(SILABS, USBPULSE100),
 USLCOM_DEV(SILABS, USBSCOPE50),
 USLCOM_DEV(SILABS, USBWAVE12),
+USLCOM_DEV(SILABS, V_PREON32),
 USLCOM_DEV(SILABS, VSTABI),
 USLCOM_DEV(SILABS, WAVIT),
 USLCOM_DEV(SILABS, WMRBATT),
@@ -330,6 +355,7 @@ static const STRUCT_USB_HOST_ID uslcom_d
 USLCOM_DEV(VAISALA, CABLE),
 USLCOM_DEV(WAGO, SERVICECABLE),
 USLCOM_DEV(WAVESENSE, JAZZ),
+USLCOM_DEV(WESTMOUNTAIN, RIGBLASTER_ADVANTAGE),
 USLCOM_DEV(WIENERPLEINBAUS, PL512),
 USLCOM_DEV(WIENERPLEINBAUS, RCM),
 USLCOM_DEV(WIENERPLEINBAUS, MPOD),

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsSun Oct 20 10:02:04 2013(r256781)
+++ head/sys/dev/usb/usbdevsSun Oct 20 11:19:37 2013(r256782)
@@ -569,6 +569,7 @@ vendor FALCOM   0x0f94  Falcom Wireless Co
 vendor RIM 0x0fca  Research In Motion
 vendor DYNASTREAM  0x0fcf  Dynastream Innovations
 vendor LARSENBRUSGAARD 0x0fd8  Larsen and Brusgaard
+vendor OWL 0x0fde  OWL
 vendor KONTRON 0x0fe6  Kontron AG
 vendor QUALCOMM0x1004  Qualcomm
 vendor APACER  0x1005  Apacer
@@ -695,6 +696,7 @@ vendor QUALCOMMINC  0x19d2  Qualcomm, Inco
 vendor BAYER   0x1a79  Bayer
 vendor WCH20x1a86  QinHeng Electronics
 vendor STELERA 0x1a8d  Stelera Wireless
+vendor SEL 0x1adb  Schweitzer Engineering Laboratories
 vendor CORSAIR 0x1b1c  Corsair
 vendor MATRIXORBITAL   0x1b3d  Matrix Orbital
 vendor OVISLINK0x1b75  OvisLink
@@ -715,6 +717,7 @@ vendor METAGEEK20x1dd5  MetaGeek
 vendor ALINK   0x1e0e  Alink
 vendor AIRTIES 0x1eda  AirTies
 vendor FESTO   0x1e29  Festo
+vendor LAKESHORE   0x1fb9  Lake Shore Cryotronics, Inc.
 vendor VERTEX  0x1fe7  Vertex Wireless Co., Ltd.
 vendor DLINK   0x2001  D-Link
 vendor PLANEX2 0x2019  Planex Communications
@@ -730,6 +733,7 @@ vendor VIALABS  0x2109  VIA Labs
 vendor ERICSSON0x2282  Ericsson
 vendor MOTOROLA2   0x22b8  Motorola
 vendor WETELECOM   0x22de  WeTelecom
+vendor WESTMOUNTAIN0x2405  West Mountain Radio
 vendor TRIPPLITE   0x2478  Tripp-Lite
 vendor HIROSE  0x2631 

  1   2   3   >