From owner-freebsd-multimedia Fri Jan 4 18:45:49 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id B8BCF37D7CE for ; Fri, 4 Jan 2002 18:29:52 -0800 (PST) Received: from stealth.cary.dummynet ([66.26.231.240]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 4 Jan 2002 19:50:36 -0500 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id g050p8s05714 for multimedia@freebsd.org; Fri, 4 Jan 2002 19:51:08 -0500 (EST) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.cary.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Fri, 4 Jan 2002 19:51:08 -0500 From: Randall Hopper To: multimedia@freebsd.org Subject: pciconf & DRI question Message-ID: <20020104195108.A5596@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In the XFree86 README.DRI (very Linux centric), it says: 9.1 Bus Mastering ... Run lspci (as root) and find the information describing your graphics adapter. ... Use the setpci command to examine bit two of register 4 for your graphics card. This will indicate whether or not bus mastering is enabled. setpci -s 01:00.0 4.w Is this the appropriate translation into FreeBSD?: # pciconf -l | grep drm0 drm0@pci1:5:0: class=0x030000 card=0x0641102b chip=0x0525102b rev=0x82 hdr=0x00 # pciconf -r pci1:5:0 4 0x02900007 0x7 & 0x4 == true. Thanks, Randall -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message