From owner-cvs-all@FreeBSD.ORG Wed Aug 10 20:21:29 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97C1116A41F; Wed, 10 Aug 2005 20:21:29 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5621A43D49; Wed, 10 Aug 2005 20:21:29 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7AKLTo0058771; Wed, 10 Aug 2005 20:21:29 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7AKLT6X058770; Wed, 10 Aug 2005 20:21:29 GMT (envelope-from jhb) Message-Id: <200508102021.j7AKLT6X058770@repoman.freebsd.org> From: John Baldwin Date: Wed, 10 Aug 2005 20:21:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/my if_my.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 20:21:29 -0000 jhb 2005-08-10 20:21:29 UTC FreeBSD src repository Modified files: sys/dev/my if_my.c Log: - Remove pre-new-bus code under #if 0 and some other rotted code under #if 0. - Use pci_enable_busmaster() to enable busmastering instead of frobbing the command register directly. - Don't check to see if memory or I/O can be enabled by writing to the command register. The PCI bus driver's bus_alloc_resource() method already checks this and will fail if it can't enable the bit. Revision Changes Path 1.33 +2 -55 src/sys/dev/my/if_my.c