Re: svn commit: r259032 - in head: share/man/man4 sys/dev/usb sys/dev/usb/wlan

2013-12-06 Thread Ilya Bakulin
); ^ @/dev/usb/usb_debug.h:41:21: note: expanded from macro 'DPRINTFN' __FUNCTION__ ,##__VA_ARGS__);\ ^ 1 error generated. *** [if_run.o] Error code 1 -- Regards, Ilya Bakulin

svn commit: r323619 - in head/sys: arm/broadcom/bcm2835 cam/mmc conf dev/mmc/host

2017-09-15 Thread Ilya Bakulin
Author: kibab Date: Fri Sep 15 19:47:44 2017 New Revision: 323619 URL: https://svnweb.freebsd.org/changeset/base/323619 Log: Miscellaneous fixes and improvements to MMCCAM stack * Demote the level of several debug messages to CAM_DEBUG_TRACE * Add detection for SDHC cards that can do

svn commit: r323721 - head/sys/cam/mmc

2017-09-18 Thread Ilya Bakulin
Author: kibab Date: Mon Sep 18 20:17:08 2017 New Revision: 323721 URL: https://svnweb.freebsd.org/changeset/base/323721 Log: Add kern.features flag for MMCCAM kern.features.mmcam will be present and equal to 1 if the kernel has been compiled with option MMCCAM. This will help

svn commit: r323717 - head/usr.bin/sdiotool

2017-09-18 Thread Ilya Bakulin
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.bin/sdiotool/cam_sdio.cMon Sep 18 20:01:01 2017 (r323717) @@ -0,0 +1,440 @@ +/*- + * Copyright (c) 2017 Ilya Bakulin + * All rights reserved. + * + * Redistribution and use in source and bina

svn commit: r323458 - head/sys/arm64/conf

2017-09-11 Thread Ilya Bakulin
Author: kibab Date: Mon Sep 11 19:07:42 2017 New Revision: 323458 URL: https://svnweb.freebsd.org/changeset/base/323458 Log: Add MMCCAM-enabled kernel config for arm64 Approved by: imp (mentor) Differential Revision:https://reviews.freebsd.org/D12114 Added:

svn commit: r323532 - in head/sys: amd64/conf arm/conf

2017-09-13 Thread Ilya Bakulin
Author: kibab Date: Wed Sep 13 10:56:02 2017 New Revision: 323532 URL: https://svnweb.freebsd.org/changeset/base/323532 Log: Add MMCCAM-enabled kernel config for IMX6, reduce debug noice in MMCCAM kernels CAM_DEBUG_TRACE results in way too much debug output than needed now. When

svn commit: r323398 - in head: share/misc usr.bin/calendar/calendars

2017-09-10 Thread Ilya Bakulin
el="Konstantin Belousov\n...@freebsd.org\n2006/06/03"] +kibab [label="Ilya Bakulin\nki...@freebsd.org\n2017/09/02"] kmacy [label="Kip Macy\nkm...@freebsd.org\n2005/06/01"] kp [label="Kristof Provost\n...@freebsd.org\n2015/03/22"] landonf [label="Landon Fulle

svn commit: r323966 - in head/sys: arm/broadcom/bcm2835 arm/ti dev/sdhci

2017-09-24 Thread Ilya Bakulin
Author: kibab Date: Sun Sep 24 09:05:35 2017 New Revision: 323966 URL: https://svnweb.freebsd.org/changeset/base/323966 Log: Rename sdhci_cam_start_slot() into sdhci_start_slot() This change allows to just call sdhci_start_slot() in SDHCI drivers and not to think about which stack

svn commit: r334059 - head/sys/cam/mmc

2018-05-22 Thread Ilya Bakulin
Author: kibab Date: Tue May 22 16:32:34 2018 New Revision: 334059 URL: https://svnweb.freebsd.org/changeset/base/334059 Log: Fix MMCCAM scanning for new cards. r326645 used an incorrect argument for xpt_path_inq(). Reviewed by: imp (mentor) Differential Revision:

svn commit: r334065 - head/sys/cam/mmc

2018-05-22 Thread Ilya Bakulin
Author: kibab Date: Tue May 22 22:16:49 2018 New Revision: 334065 URL: https://svnweb.freebsd.org/changeset/base/334065 Log: Implement initial MMC partitions support for MMCCAM. For MMC cards, add partitions found on the card as separate disk(9) devices. Don't do anything with RPMB

svn commit: r334218 - head/sys/dev/mmc/host

2018-05-25 Thread Ilya Bakulin
Author: kibab Date: Fri May 25 19:00:28 2018 New Revision: 334218 URL: https://svnweb.freebsd.org/changeset/base/334218 Log: Fix building GENERIC-MMCCAM on arm64 Since GENERIC includes quite a few drivers now, all MMC drivers should have appropriate MMCCAM-related ifdefs and include

Re: svn commit: r333425 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs compat/cloudabi compat/linux compat/linuxkpi/common/include/linux dev/filemon dev/hwpmc fs

2018-05-18 Thread Ilya Bakulin
Hi Matt, seems this commit has broken at least BeagleBone Black booting process. On all revisions after it the kernel panics with this message: http://dl.bakulin.de/bbb_panic.txt My suspicion is that there are quite a few new SYSINIT objects that are created on startup, and as a result some kind

svn commit: r335384 - head/sys/cam/mmc

2018-06-19 Thread Ilya Bakulin
Author: kibab Date: Tue Jun 19 20:02:03 2018 New Revision: 335384 URL: https://svnweb.freebsd.org/changeset/base/335384 Log: Fix setting RCA for MMC cards Unlike SD cards, that publish RCA in response to CMD3, MMC cards expect the host to set RCA itself. Since we don't support

svn commit: r334651 - head/sys/cam/mmc

2018-06-05 Thread Ilya Bakulin
Author: kibab Date: Tue Jun 5 11:03:24 2018 New Revision: 334651 URL: https://svnweb.freebsd.org/changeset/base/334651 Log: Enable high-speed on the card before increasing frequency on the controller Increasing operating frequency without telling card to switch to high-speed mode first

svn commit: r335476 - in head/sys: arm/allwinner conf

2018-06-21 Thread Ilya Bakulin
Author: kibab Date: Thu Jun 21 11:49:21 2018 New Revision: 335476 URL: https://svnweb.freebsd.org/changeset/base/335476 Log: Add MMCCAM support to AllWinner MMC driver Using MMCCAM on AllWinner boards is now possible, reaching highest possible data transfer speed. For now, MMCCAM

svn commit: r335366 - head/sys/cam/mmc

2018-06-19 Thread Ilya Bakulin
Author: kibab Date: Tue Jun 19 11:25:40 2018 New Revision: 335366 URL: https://svnweb.freebsd.org/changeset/base/335366 Log: Correctly define rawscr so initializing it doesn't result in overwriting memory. We need 8 bytes of storage for rawscr. Approved by: imp (mentor)

svn commit: r335365 - head/sys/cam/mmc

2018-06-19 Thread Ilya Bakulin
Author: kibab Date: Tue Jun 19 11:23:48 2018 New Revision: 335365 URL: https://svnweb.freebsd.org/changeset/base/335365 Log: Set MMC_DATA_MULTI flag when doing multi-block transfers Lower layers (MMC / SDHCI controller drivers) may make certain decisions based on the presence of this

svn commit: r335367 - head/sys/cam/mmc

2018-06-19 Thread Ilya Bakulin
Author: kibab Date: Tue Jun 19 11:28:50 2018 New Revision: 335367 URL: https://svnweb.freebsd.org/changeset/base/335367 Log: Don't try to turn power down MMC bus if it is already down Regulator framework doens't like turning off already turned off regulators, so we get panic on AllWinner

Re: svn commit: r330696 - in head/libexec/tftpd: . tests

2018-03-09 Thread Ilya Bakulin
This broke build for at least ARM. Fix: diff --git a/libexec/tftpd/tests/functional.c b/libexec/tftpd/tests/functional.c index fea6870cac59..c467dfee3ba0 100644 --- a/libexec/tftpd/tests/functional.c +++ b/libexec/tftpd/tests/functional.c @@ -248,10 +248,10 @@ require_bufeq(const char *expected,

svn commit: r345776 - head/sys/cam/mmc

2019-04-01 Thread Ilya Bakulin
Author: kibab Date: Mon Apr 1 18:54:15 2019 New Revision: 345776 URL: https://svnweb.freebsd.org/changeset/base/345776 Log: Refactor error handling There is some code duplication in error handling paths in a few functions. Create a function for printing such errors in human-readable way

svn commit: r345775 - in head/sys: arm/allwinner cam cam/mmc dev/sdhci

2019-04-01 Thread Ilya Bakulin
Author: kibab Date: Mon Apr 1 18:49:39 2019 New Revision: 345775 URL: https://svnweb.freebsd.org/changeset/base/345775 Log: Use information about max data size that the controller is able to operate Using DFLTPHYS/MAXPHYS is not always OK, instead make it possible for the controller

svn commit: r346097 - in head: sbin/camcontrol sys/cam/mmc sys/dev/mmc

2019-04-10 Thread Ilya Bakulin
Author: kibab Date: Wed Apr 10 19:49:35 2019 New Revision: 346097 URL: https://svnweb.freebsd.org/changeset/base/346097 Log: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support SDIO command CMD53 (IO_RW_EXTENDED) allows data transfers using blocks of 1-2048 bytes,

svn commit: r346100 - head/sys/dev/mmc

2019-04-10 Thread Ilya Bakulin
Author: kibab Date: Wed Apr 10 20:44:54 2019 New Revision: 346100 URL: https://svnweb.freebsd.org/changeset/base/346100 Log: Add some CMD53-related definitions In preparation to adding block mode functions, add necessary definitions. Reviewed by: bz Approved by: imp (mentor)

svn commit: r346098 - in head/sys: arm/allwinner dev/sdhci

2019-04-10 Thread Ilya Bakulin
Author: kibab Date: Wed Apr 10 19:53:36 2019 New Revision: 346098 URL: https://svnweb.freebsd.org/changeset/base/346098 Log: Implement CMD53 block mode support for SDHCI and AllWinner-based boards If a custom block size requested, use it, otherwise revert to the previous logic of using

svn commit: r345776 - head/sys/cam/mmc

2019-09-03 Thread Ilya Bakulin
Author: kibab Date: Mon Apr 1 18:54:15 2019 New Revision: 345776 URL: https://svnweb.freebsd.org/changeset/base/345776 Log: Refactor error handling There is some code duplication in error handling paths in a few functions. Create a function for printing such errors in human-readable way

svn commit: r346100 - head/sys/dev/mmc

2019-09-03 Thread Ilya Bakulin
Author: kibab Date: Wed Apr 10 20:44:54 2019 New Revision: 346100 URL: https://svnweb.freebsd.org/changeset/base/346100 Log: Add some CMD53-related definitions In preparation to adding block mode functions, add necessary definitions. Reviewed by: bz Approved by: imp (mentor)

svn commit: r345775 - in head/sys: arm/allwinner cam cam/mmc dev/sdhci

2019-09-03 Thread Ilya Bakulin
Author: kibab Date: Mon Apr 1 18:49:39 2019 New Revision: 345775 URL: https://svnweb.freebsd.org/changeset/base/345775 Log: Use information about max data size that the controller is able to operate Using DFLTPHYS/MAXPHYS is not always OK, instead make it possible for the controller

svn commit: r346097 - in head: sbin/camcontrol sys/cam/mmc sys/dev/mmc

2019-09-03 Thread Ilya Bakulin
Author: kibab Date: Wed Apr 10 19:49:35 2019 New Revision: 346097 URL: https://svnweb.freebsd.org/changeset/base/346097 Log: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support SDIO command CMD53 (IO_RW_EXTENDED) allows data transfers using blocks of 1-2048 bytes,

svn commit: r346098 - in head/sys: arm/allwinner dev/sdhci

2019-09-03 Thread Ilya Bakulin
Author: kibab Date: Wed Apr 10 19:53:36 2019 New Revision: 346098 URL: https://svnweb.freebsd.org/changeset/base/346098 Log: Implement CMD53 block mode support for SDHCI and AllWinner-based boards If a custom block size requested, use it, otherwise revert to the previous logic of using

Re: svn commit: r354206 - head/sys/arm/allwinner

2019-11-01 Thread Ilya Bakulin
mes a bus (like, something that has children) and without this change the kernel panics when trying to attach sdiob(4). On Thu, Oct 31, 2019 at 1:51 PM Emmanuel Vadot wrote: > On Wed, 30 Oct 2019 20:43:27 + (UTC) > Ilya Bakulin wrote: > > > Author: kibab > > Date: Wed Oct

svn commit: r354206 - head/sys/arm/allwinner

2019-10-30 Thread Ilya Bakulin
Author: kibab Date: Wed Oct 30 20:43:27 2019 New Revision: 354206 URL: https://svnweb.freebsd.org/changeset/base/354206 Log: Use the new cam_sim_alloc_dev function to properly initialize SIM Using cam_sim_alloc_dev() allows to properly set sim_dev field so that sdiob(4) can attach to the

svn commit: r363870 - head/sys/cam/mmc

2020-08-04 Thread Ilya Bakulin
Author: kibab Date: Tue Aug 4 21:58:43 2020 New Revision: 363870 URL: https://svnweb.freebsd.org/changeset/base/363870 Log: Minor cleanups in mmc_xpt.c * Downgrade some CAM debug messages from _INFO to _DEBUG level; * Add KASSERT for the case when we suspect incorrect CAM SIM

svn commit: r363497 - head/sbin/camcontrol

2020-07-24 Thread Ilya Bakulin
Author: kibab Date: Fri Jul 24 21:14:59 2020 New Revision: 363497 URL: https://svnweb.freebsd.org/changeset/base/363497 Log: Make it possible to get/set MMC frequency from camcontrol Enhance camcontrol(8) so that it's possible to manually set frequency for SD/MMC cards. While here,

svn commit: r367306 - head/sys/cam/mmc

2020-11-03 Thread Ilya Bakulin
Author: kibab Date: Tue Nov 3 21:38:59 2020 New Revision: 367306 URL: https://svnweb.freebsd.org/changeset/base/367306 Log: Always return MMC errors from mmc_handle_reply() There are two ways to propagate the error in MMCCAM: * Using cmd.error which is set by the peripheral driver;

svn commit: r367180 - head/sbin/camcontrol

2020-10-30 Thread Ilya Bakulin
Author: kibab Date: Fri Oct 30 18:55:08 2020 New Revision: 367180 URL: https://svnweb.freebsd.org/changeset/base/367180 Log: Add help messages for camcontrol(8) MMCCAM functionality This adds the help messages for camcontrol(8) in-binary help. Man page will follow in the separate change.