From owner-svn-src-all@freebsd.org Tue Jul 12 01:15:01 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79E95B8354F; Tue, 12 Jul 2016 01:15:01 +0000 (UTC) (envelope-from landonf@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49E43114D; Tue, 12 Jul 2016 01:15:01 +0000 (UTC) (envelope-from landonf@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6C1F0b7069230; Tue, 12 Jul 2016 01:15:00 GMT (envelope-from landonf@FreeBSD.org) Received: (from landonf@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6C1F0gO069229; Tue, 12 Jul 2016 01:15:00 GMT (envelope-from landonf@FreeBSD.org) Message-Id: <201607120115.u6C1F0gO069229@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: landonf set sender to landonf@FreeBSD.org using -f From: "Landon J. Fuller" Date: Tue, 12 Jul 2016 01:15:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302602 - head/sys/dev/bhnd/cores/chipc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 01:15:01 -0000 Author: landonf Date: Tue Jul 12 01:15:00 2016 New Revision: 302602 URL: https://svnweb.freebsd.org/changeset/base/302602 Log: bhnd(4): print extra register information on chipc SPI timeout. Submitted by: Michael Zhilin Reviewed by: imp Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D6993 Modified: head/sys/dev/bhnd/cores/chipc/chipc_spi.c Modified: head/sys/dev/bhnd/cores/chipc/chipc_spi.c ============================================================================== --- head/sys/dev/bhnd/cores/chipc/chipc_spi.c Tue Jul 12 00:37:48 2016 (r302601) +++ head/sys/dev/bhnd/cores/chipc/chipc_spi.c Tue Jul 12 01:15:00 2016 (r302602) @@ -184,7 +184,9 @@ chipc_spi_wait(struct chipc_spi_softc *s if (i > 0) return (0); - BHND_DEBUG_DEV(sc->sc_dev, "busy"); + BHND_WARN_DEV(sc->sc_dev, "busy: CTL=0x%x DATA=0x%x", + SPI_READ(sc, CHIPC_SPI_FLASHCTL), + SPI_READ(sc, CHIPC_SPI_FLASHDATA)); return (-1); }