From owner-svn-src-user@FreeBSD.ORG Sat Oct 29 13:50:15 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A66AD106564A; Sat, 29 Oct 2011 13:50:15 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 96C318FC17; Sat, 29 Oct 2011 13:50:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9TDoFAx019252; Sat, 29 Oct 2011 13:50:15 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9TDoFvA019250; Sat, 29 Oct 2011 13:50:15 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201110291350.p9TDoFvA019250@svn.freebsd.org> From: Adrian Chadd Date: Sat, 29 Oct 2011 13:50:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226905 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 13:50:15 -0000 Author: adrian Date: Sat Oct 29 13:50:15 2011 New Revision: 226905 URL: http://svn.freebsd.org/changeset/base/226905 Log: Disable this for now; I don't think it's needed for the later NICs. Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c ============================================================================== --- user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c Sat Oct 29 12:39:05 2011 (r226904) +++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_pci.c Sat Oct 29 13:50:15 2011 (r226905) @@ -78,8 +78,10 @@ struct ath_pci_softc { static void ath_pci_setup(device_t dev) { +#ifdef ATH_PCI_LATENCY_WAR /* Override the system latency timer */ pci_write_config(dev, PCIR_LATTIMER, 0x80, 1); +#endif /* If a PCI NIC, force wakeup */ #ifdef ATH_PCI_WAKEUP_WAR