From owner-svn-src-all@FreeBSD.ORG Fri Feb 14 05:22:28 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF4E7BC6; Fri, 14 Feb 2014 05:22:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DC4071FB7; Fri, 14 Feb 2014 05:22:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1E5MSbV055819; Fri, 14 Feb 2014 05:22:28 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1E5MSnM055818; Fri, 14 Feb 2014 05:22:28 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201402140522.s1E5MSnM055818@svn.freebsd.org> From: Adrian Chadd Date: Fri, 14 Feb 2014 05:22:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261870 - head/sys/mips/atheros 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.17 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: Fri, 14 Feb 2014 05:22:29 -0000 Author: adrian Date: Fri Feb 14 05:22:28 2014 New Revision: 261870 URL: http://svnweb.freebsd.org/changeset/base/261870 Log: Disable this check for now; it fails on the AR9344 PCI fixup code. I'll make it conditional later. Tested: * DB120 Modified: head/sys/mips/atheros/ar724x_pci.c Modified: head/sys/mips/atheros/ar724x_pci.c ============================================================================== --- head/sys/mips/atheros/ar724x_pci.c Fri Feb 14 04:03:17 2014 (r261869) +++ head/sys/mips/atheros/ar724x_pci.c Fri Feb 14 05:22:28 2014 (r261870) @@ -261,11 +261,13 @@ ar724x_pci_fixup(device_t dev, long flas uint32_t bar0, reg, val; uint16_t *cal_data = (uint16_t *) MIPS_PHYS_TO_KSEG1(flash_addr); +#if 0 if (cal_data[0] != AR5416_EEPROM_MAGIC) { device_printf(dev, "%s: Invalid calibration data from 0x%x\n", __func__, (uintptr_t) flash_addr); return; } +#endif /* Save bar(0) address - just to flush bar(0) (SoC WAR) ? */ bar0 = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_BAR(0), 4);