From owner-freebsd-hackers Thu Nov 12 07:17:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16511 for freebsd-hackers-outgoing; Thu, 12 Nov 1998 07:17:30 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA16506 for ; Thu, 12 Nov 1998 07:17:28 -0800 (PST) (envelope-from rminnich@Sarnoff.COM) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id KAA15450; Thu, 12 Nov 1998 10:16:32 -0500 Date: Thu, 12 Nov 1998 10:16:32 -0500 (EST) From: "Ron G. Minnich" X-Sender: rminnich@terra To: "Larry S. Lile" cc: hackers@FreeBSD.ORG Subject: Re: PCI device question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 12 Nov 1998, Larry S. Lile wrote: > What is the "64 byte PCI configuration space header" and where do I get > that from (what pci_* call) > > I already know the io-base address, dma-level, csn, pci slot, ... from > another call. That's where stuff like base address etc. are. If you have pulled out base address info via config read and friends then you already know. If you are not pulling base etc. out via config reads then you have to fix your driver :-) Functions look like this: int data = pci_conf_read(tag, PCI_CLASS_REG); Are you using these? Ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message