svn commit: r352263 - in head: etc/mtree usr.sbin/jail usr.sbin/jail/tests

2019-09-12 Thread Michael Zhilin
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.sbin/jail/tests/jail_basic_test.sh Thu Sep 12 18:53:29 2019 (r352263) @@ -0,0 +1,136 @@ +# +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# +# Cop

svn commit: r352260 - head/sys/dev/ral

2019-09-12 Thread Michael Zhilin
Author: mizhka Date: Thu Sep 12 18:37:26 2019 New Revision: 352260 URL: https://svnweb.freebsd.org/changeset/base/352260 Log: [Bug 240473] add support of Ralink RT5390R Wireless Card This commit adds PCI ID of Ralink RT5390R into ids table of driver ral. Tests show stability of card

svn commit: r348697 - head/tools/tools/ath/athani

2019-06-05 Thread Michael Zhilin
Author: mizhka Date: Wed Jun 5 19:55:30 2019 New Revision: 348697 URL: https://svnweb.freebsd.org/changeset/base/348697 Log: [ath] [fix] athani compilation was broken by recent ath change * This commit is going to fix build of AR724x on 13-CURRENT with additional tools like athani. See

svn commit: r328389 - head/sys/dev/etherswitch/rtl8366

2018-01-24 Thread Michael Zhilin
Author: mizhka Date: Thu Jan 25 05:48:42 2018 New Revision: 328389 URL: https://svnweb.freebsd.org/changeset/base/328389 Log: [etherswitch] fix LINT build for rtl8366rb Build with rtl8366rb has been broken due to incorrect retrieval of pointer to device_t. Reported by: lwhsu

svn commit: r328377 - in head/sys/dev/etherswitch: arswitch e6000sw infineon ip17x micrel mtkswitch rtl8366 ukswitch

2018-01-24 Thread Michael Zhilin
Author: mizhka Date: Wed Jan 24 21:33:18 2018 New Revision: 328377 URL: https://svnweb.freebsd.org/changeset/base/328377 Log: [etherswitch] check if_alloc returns NULL This patch is cosmetic. It checks if allocation of ifnet structure failed. It's better to have this check rather than

Re: svn commit: r327715 - head/sys/conf

2018-01-08 Thread Michael Zhilin
Hi, Could you please tell what is plan to back MIPS works? Thanks! On Tue, Jan 9, 2018 at 6:28 AM, Conrad Meyer wrote: > Author: cem > Date: Tue Jan 9 03:28:24 2018 > New Revision: 327715 > URL: https://svnweb.freebsd.org/changeset/base/327715 > > Log: > Fix Zstd kernel

svn commit: r327223 - head/sys/mips/conf

2017-12-26 Thread Michael Zhilin
Author: mizhka Date: Tue Dec 26 19:50:23 2017 New Revision: 327223 URL: https://svnweb.freebsd.org/changeset/base/327223 Log: [mips] fix compilation of TP-WN1043ND kernel configuration This compilation issue has been found thanks to freebsd-wifi-build: - gpioiic requires "gpio_if.h", so

svn commit: r327058 - head/stand/efi/boot1

2017-12-21 Thread Michael Zhilin
Author: mizhka Date: Thu Dec 21 12:21:35 2017 New Revision: 327058 URL: https://svnweb.freebsd.org/changeset/base/327058 Log: [boot/efi] scan all display modes rather than sequential try-fail way This patch allows to scan all display modes in boot1 as loader does. Before system tried

svn commit: r326508 - head/sys/vm

2017-12-04 Thread Michael Zhilin
Author: mizhka Date: Mon Dec 4 08:08:55 2017 New Revision: 326508 URL: https://svnweb.freebsd.org/changeset/base/326508 Log: [mips] [vm] restore translation of freelist to flind for page allocation Commit r326346 moved domain iterators from physical layer to vm_page one, but it also

svn commit: r325233 - in head/sys: conf dev/iicbus

2017-10-31 Thread Michael Zhilin
Author: mizhka Date: Tue Oct 31 12:15:00 2017 New Revision: 325233 URL: https://svnweb.freebsd.org/changeset/base/325233 Log: [i2c/clock] add support for EPSON RTC-8583 RTC-8583 is time-of-day clock used in some SOHO routers. This clock has only 2 bits for year values, but thanks to user

svn commit: r325231 - head/sys/mips/mediatek

2017-10-31 Thread Michael Zhilin
Author: mizhka Date: Tue Oct 31 11:29:16 2017 New Revision: 325231 URL: https://svnweb.freebsd.org/changeset/base/325231 Log: [mips] Pin control configuration for MediaTek RT2880 RT2880 is MIPS4Kc SoC used in many SOHO routers. This commits adds GPIO pin control configuration of RT2880.

svn commit: r324219 - head/lib/libthr/thread

2017-10-02 Thread Michael Zhilin
Author: mizhka Date: Mon Oct 2 20:33:16 2017 New Revision: 324219 URL: https://svnweb.freebsd.org/changeset/base/324219 Log: [libthr] revert change of visibility of _thread_keytable to unbreak debugger Fix regression by r318539. The sysutils/pstack uses library libthread_db to read

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

2017-08-01 Thread Michael Zhilin
tates, 1966 +11/06 Michael Zhilin <miz...@freebsd.org> born in Stary Oskol, USSR, 1985 11/08 Joseph R. Mingrone <j...@freebsd.org> born in Charlottetown, Prince Edward Island, Canada, 1976 11/09 Coleman Kane <cok...@freebsd.org> born in Cincinnati, Ohio, United State

Re: svn commit: r318539 - head/lib/libthr/thread

2017-07-26 Thread Michael Zhilin
Konstantin, Thank you for quick reply. Here is review request to revert field change: https://reviews.freebsd.org/D11738 Thanks! On Wed, Jul 26, 2017 at 6:23 PM, Konstantin Belousov <kostik...@gmail.com> wrote: > On Wed, Jul 26, 2017 at 06:09:00PM +0300, Michael Zhilin wrote: &g

Re: svn commit: r318539 - head/lib/libthr/thread

2017-07-26 Thread Michael Zhilin
Hi Eric, Konstantin, This commit breaks libthread_db a bit, particular change is: -struct pthread_key _thread_keytable[PTHREAD_KEYS_MAX]; +static struct pthread_key _thread_keytable[PTHREAD_KEYS_MAX]; In libthread_db there is check if _thread_keytable is found in symbols of debugged process:

svn commit: r319070 - head/sys/dev/etherswitch/rtl8366

2017-05-28 Thread Michael Zhilin
Author: mizhka Date: Sun May 28 12:14:33 2017 New Revision: 319070 URL: https://svnweb.freebsd.org/changeset/base/319070 Log: [etherswitch] [rtl8366] add phy4cpu setting and support mdioproxy Tested on WZR-HP-G301NH(RTL8366RB) and WZR-HP-G300NH(RTL8366SR). Submitted by: Hiroki Mori

svn commit: r319069 - in head/sys: dev/bhnd/cores/chipc dev/bhnd/cores/chipc/pwrctl mips/broadcom

2017-05-28 Thread Michael Zhilin
Author: mizhka Date: Sun May 28 12:05:16 2017 New Revision: 319069 URL: https://svnweb.freebsd.org/changeset/base/319069 Log: [mips] [bhnd] Support of old PMU for BMIPS and siba SoC - Fix typo of PLL Type 4 - Don't panic of frequency getters Submitted by: Hiroki Mori

svn commit: r316054 - in head/sys: conf mips/atheros/ar531x

2017-03-27 Thread Michael Zhilin
Author: mizhka Date: Mon Mar 27 19:26:09 2017 New Revision: 316054 URL: https://svnweb.freebsd.org/changeset/base/316054 Log: [etherswitch] simplify kernconf for recently added etherswitch drivers This simple patch adds e6060sw, adm6996fc and ksz8995ma into conf/files. Submitted by:

svn commit: r316052 - head/sys/dev/etherswitch/e6000sw

2017-03-27 Thread Michael Zhilin
Author: mizhka Date: Mon Mar 27 19:06:29 2017 New Revision: 316052 URL: https://svnweb.freebsd.org/changeset/base/316052 Log: [etherswitch] add support for Marvell 88E6065 ethernet switch incl. 802.1q This patch brings 802.1q support for Marvell 88E606x ethernet switches. Test is done on

svn commit: r315324 - head/sys/dev/bhnd/cores/pmu

2017-03-15 Thread Michael Zhilin
Author: mizhka Date: Wed Mar 15 18:57:18 2017 New Revision: 315324 URL: https://svnweb.freebsd.org/changeset/base/315324 Log: [bhnd] fix mask for PMU control This patch fixes typo which results in extra bits of PMU control register. PR: 217782 Submitted by: Svyatoslav Found

svn commit: r312290 - in head/sys: conf dev/gpio

2017-01-16 Thread Michael Zhilin
iopps Added: head/sys/dev/gpio/gpioths.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/gpio/gpioths.c Mon Jan 16 15:36:36 2017(r312290) @@ -0,0 +1,405 @@ +/*- + * Copyrigh

svn commit: r312289 - head/sys/dev/spibus

2017-01-16 Thread Michael Zhilin
Author: mizhka Date: Mon Jan 16 15:23:55 2017 New Revision: 312289 URL: https://svnweb.freebsd.org/changeset/base/312289 Log: [spibus] small code refactoring Merge 3 sequential printf calls into one. Reported by: rpokala Reviewed by: rpokala, adrian Approved by: adrian (mentor)

svn commit: r312204 - head/sys/dev/etherswitch/micrel

2017-01-14 Thread Michael Zhilin
Author: mizhka Date: Sat Jan 14 23:24:50 2017 New Revision: 312204 URL: https://svnweb.freebsd.org/changeset/base/312204 Log: [etherswitch] Support Micrel KSZ8995MA switch chip This is Micrel KSZ8995MA driver code. KSZ8995MA uses SPI bus to control. This code is written & tested on

svn commit: r312203 - head/sys/mips/conf

2017-01-14 Thread Michael Zhilin
Author: mizhka Date: Sat Jan 14 22:56:20 2017 New Revision: 312203 URL: https://svnweb.freebsd.org/changeset/base/312203 Log: [mips/onionomega] WiFi & gpio kernel configuration bits This patch adds missing hints for ath0 (eepromaddr) and GPIO (mask & leds). ath0 doesn't work without

svn commit: r310018 - head/sys/dev/gpio

2016-12-13 Thread Michael Zhilin
Author: mizhka Date: Tue Dec 13 10:03:29 2016 New Revision: 310018 URL: https://svnweb.freebsd.org/changeset/base/310018 Log: [gpiospi] add clock delay to avoid smashing of bits Submitted by: Hiroki Mori Reviewed by: loos, ray, mizhka MFC after:2 weeks

svn commit: r310017 - in head/sys: dev/spibus mips/atheros/ar531x

2016-12-13 Thread Michael Zhilin
Author: mizhka Date: Tue Dec 13 09:53:43 2016 New Revision: 310017 URL: https://svnweb.freebsd.org/changeset/base/310017 Log: [spi] reformat message and ar5315_spi minor fix This commit corrects print of nomatch (newline was too early) and fix unit number for new child in ar5315_spi (was

svn commit: r308937 - head/sys/dev/etherswitch/ukswitch

2016-11-21 Thread Michael Zhilin
Author: mizhka Date: Mon Nov 21 19:26:22 2016 New Revision: 308937 URL: https://svnweb.freebsd.org/changeset/base/308937 Log: [etherswitch] add ukswitch hint that is phy offset at mdio register This patch allows to specify PHY register offset for ukswitch. For instance, switch MAICREL

svn commit: r308803 - head/sys/mips/atheros/ar531x

2016-11-18 Thread Michael Zhilin
Author: mizhka Date: Fri Nov 18 14:06:29 2016 New Revision: 308803 URL: https://svnweb.freebsd.org/changeset/base/308803 Log: [mips/ar531x] code cleanup, non-INTRNG support This commit improves code styles like: - removing commented code - format comments as C-style - add spaces

svn commit: r308744 - head/sys/dev/etherswitch/infineon

2016-11-16 Thread Michael Zhilin
Author: mizhka Date: Thu Nov 17 07:33:37 2016 New Revision: 308744 URL: https://svnweb.freebsd.org/changeset/base/308744 Log: [etherswitch] add infineon adm6996fc support on etherswitch This is Infineon ADM6996FC/M/MX driver code on etherswitch framework. Support PORT and DOT1Q VLAN.

svn commit: r308702 - head/sys/dev/etherswitch/ip17x

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 22:30:25 2016 New Revision: 308702 URL: https://svnweb.freebsd.org/changeset/base/308702 Log: [etherswitch] enable phy4/mac4 of ip175c If MII1 interface is disabled, then enable phy4/mac4. Submitted by: Hiroki Mori Reviewed by:

svn commit: r308700 - in head/sys: conf dev/etherswitch/rtl8366

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 21:58:04 2016 New Revision: 308700 URL: https://svnweb.freebsd.org/changeset/base/308700 Log: [etherswitch] add RTL8366SR support Add RTL8366SR support at etherswitch driver. Tested on RTL8366RB and RTL8366SR. Submitted by: Hiroki Mori

svn commit: r308699 - head/sys/dev/etherswitch/e6000sw

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 21:49:01 2016 New Revision: 308699 URL: https://svnweb.freebsd.org/changeset/base/308699 Log: [etherswitch] add Marvell 88e6060 switch support Add 88e6060 basic support: only port-based VLAN is supported. No vlan(4) support. Submitted by: Hiroki Mori

svn commit: r308697 - head/sys/mips/mips

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 20:44:19 2016 New Revision: 308697 URL: https://svnweb.freebsd.org/changeset/base/308697 Log: [MIPS] Fix Config3[ULRI] printing Bit identifier of printf %b is octal integer, but not decimal. ULRI bit is 13-th bit (starting with 0) according to MIPS

svn commit: r308695 - head/sys/dev/bhnd/bcma

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 20:05:22 2016 New Revision: 308695 URL: https://svnweb.freebsd.org/changeset/base/308695 Log: [BHND] correct spelling error in macro name This commit is part of D6920 review. One of macro had wrong prefix: BMCA => BCMA Reviewed by: landonf, adrian

svn commit: r308653 - in head/sys/mips: include mips

2016-11-14 Thread Michael Zhilin
Author: mizhka Date: Mon Nov 14 21:38:36 2016 New Revision: 308653 URL: https://svnweb.freebsd.org/changeset/base/308653 Log: [MIPS] Print Config7 on boot for several MIPS architectures Config7 contains useful fields, for instance, field AR indicating that the D-cache is configured to

svn commit: r305426 - in head/sys: dev/bhnd/cores/usb mips/broadcom mips/conf

2016-09-05 Thread Michael Zhilin
Author: mizhka Date: Mon Sep 5 16:06:52 2016 New Revision: 305426 URL: https://svnweb.freebsd.org/changeset/base/305426 Log: [BHND/USB] Port of EHCI/OHCI support from ZRouter This patch adds driver implementation for BHND USB core. Driver has been imported from ZRouter project with

svn commit: r305196 - head/sys/dev/bhnd/cores/pmu

2016-09-01 Thread Michael Zhilin
Author: mizhka Date: Thu Sep 1 13:38:46 2016 New Revision: 305196 URL: https://svnweb.freebsd.org/changeset/base/305196 Log: [BHND/PMU] Correct shift of bits in BHND_PMU_SET_BITS macro The purpose of BHND_PMU_{GET,SET}_BITS macro is to transform values from/into register format. SET

Re: svn commit: r304692 - head/sys/dev/bhnd/bhndb

2016-08-24 Thread Michael Zhilin
Hi, I doubt. bhndb is new bus driver (WIP) and nobody use it now. In future it will be used for BroadCom WiFi card (bwn) attached to PCI bus. Best regards, Michael On Wed, Aug 24, 2016 at 3:09 PM, Shawn Webb wrote: > On Tue, Aug 23, 2016 at 07:03:11PM +,

Re: svn commit: r303264 - head/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-07-25 Thread Michael Zhilin
Hi Gleb, Andrey, Could you please fix one more line in usr.bin/calendar/calendars/ru_RU.UTF-8/calendar.common: >> 7 нояб.День окт.ябрьской революции 1917 года BTW, the line of "usr.bin/calendar/calendars/ru_RU.UTF-8/calendar.military" probably has incorrect date: >> 7 нояб.День

svn commit: r303258 - in head/sys: conf dev/nvram2env

2016-07-24 Thread Michael Zhilin
nvram2env_methods, sizeof(struct nvram2env_softc), }; -static devclass_t nvram2env_devclass; - -DRIVER_MODULE(nvram2env, nexus, nvram2env_driver, nvram2env_devclass, 0, 0); +devclass_t nvram2env_devclass; Added: head/sys/dev/nvram2env/nvram2env.h

svn commit: r303203 - head/share/misc

2016-07-22 Thread Michael Zhilin
(r303203) @@ -237,6 +237,7 @@ maxim [label="Maxim Konovalov\nmaxim@Fre mdf [label="Matthew Fleming\n...@freebsd.org\n2010/06/04"] mdodd [label="Matthew N. Dodd\nmd...@freebsd.org\n1999/07/27"] melifaro [label="Alexander V. Chernikov\nmelif...@freebsd.org\n2011/1