From owner-cvs-all@FreeBSD.ORG Wed Jan 9 21:45:37 2008 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 C654516A421; Wed, 9 Jan 2008 21:45:37 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BDFB613C442; Wed, 9 Jan 2008 21:45:37 +0000 (UTC) (envelope-from marius@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 m09LjbTE047726; Wed, 9 Jan 2008 21:45:37 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m09LjbMh047725; Wed, 9 Jan 2008 21:45:37 GMT (envelope-from marius) Message-Id: <200801092145.m09LjbMh047725@repoman.freebsd.org> From: Marius Strobl Date: Wed, 9 Jan 2008 21:45:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7_0 Cc: Subject: cvs commit: src/sys/dev/pci pci_user.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, 09 Jan 2008 21:45:37 -0000 marius 2008-01-09 21:45:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) sys/dev/pci pci_user.c Log: MFC: 1.25 Fix some bugs in the FreeBSD 4/5/6 pci(4) IOCTLs compatibility code: - Use the correct offsets when copying out the results of PCIOCGETCONF_OLD. This happened to not affect the 64-bit architectures because there the addition of pc_domain to struct pcisel didn't change the overall size of struct pci_conf. - Always copy the name and unit information to conf_old so it's also part of the output once this information is cached in dinfo. - Use the correct type for flags in struct pci_match_conf_old. This change is more or less cosmetic though. Approved by: re (gnn) Revision Changes Path 1.22.2.1.2.1 +9 -12 src/sys/dev/pci/pci_user.c