From owner-freebsd-stable Sat Jan 5 16: 5:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail4.nc.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id 27B0D37B419 for ; Sat, 5 Jan 2002 16:05:23 -0800 (PST) Received: from stealth.cary.dummynet ([66.26.231.240]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 5 Jan 2002 17:59:58 -0500 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id g05N0NB25968 for stable@freebsd.org; Sat, 5 Jan 2002 18:00:23 -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: Sat, 5 Jan 2002 18:00:23 -0500 From: Randall Hopper To: stable@freebsd.org Subject: pciconf & DRI question Message-ID: <20020105180022.A25950@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-stable@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-stable" in the body of the message