From owner-cvs-all@FreeBSD.ORG Tue Oct 30 22:09:16 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D381116A417; Tue, 30 Oct 2007 22:09:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C52ED13C494; Tue, 30 Oct 2007 22:09:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UM9GjO051933; Tue, 30 Oct 2007 22:09:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UM9Gp1051932; Tue, 30 Oct 2007 22:09:16 GMT (envelope-from jhb) Message-Id: <200710302209.l9UM9Gp1051932@repoman.freebsd.org> From: John Baldwin Date: Tue, 30 Oct 2007 22:09:16 +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/pci agp.c agp_ali.c agp_amd.c agp_amd64.c agp_ati.c agp_i810.c agp_intel.c agp_nvidia.c agp_sis.c agp_via.c agppriv.h 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: Tue, 30 Oct 2007 22:09:16 -0000 jhb 2007-10-30 22:09:16 UTC FreeBSD src repository Modified files: sys/pci agp.c agp_ali.c agp_amd.c agp_amd64.c agp_ati.c agp_i810.c agp_intel.c agp_nvidia.c agp_sis.c agp_via.c agppriv.h Log: Split agp_generic_detach() up into two routines: agp_free_cdev() destroys /dev/agpgart and agp_free_res() frees resources like the BAR for the aperture. Splitting this up lets chipset-specific detach routines manipulate the aperture during their detach routines without panicing. MFC after: 1 week Reviewed by: anholt Revision Changes Path 1.57 +17 -2 src/sys/pci/agp.c 1.19 +2 -4 src/sys/pci/agp_ali.c 1.24 +2 -4 src/sys/pci/agp_amd.c 1.15 +3 -3 src/sys/pci/agp_amd64.c 1.4 +3 -5 src/sys/pci/agp_ati.c 1.42 +2 -4 src/sys/pci/agp_i810.c 1.35 +2 -4 src/sys/pci/agp_intel.c 1.12 +2 -4 src/sys/pci/agp_nvidia.c 1.21 +2 -4 src/sys/pci/agp_sis.c 1.25 +2 -4 src/sys/pci/agp_via.c 1.7 +2 -0 src/sys/pci/agppriv.h