From owner-freebsd-hackers Mon Jul 14 22:19:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA05931 for hackers-outgoing; Mon, 14 Jul 1997 22:19:00 -0700 (PDT) Received: from agni.nuko.com ([206.79.130.80]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA05926 for ; Mon, 14 Jul 1997 22:18:58 -0700 (PDT) Received: (from vinay@localhost) by agni.nuko.com (8.8.5/8.7.3) id WAA11817; Mon, 14 Jul 1997 22:16:30 -0700 (PDT) From: Vinay Bannai Message-Id: <199707150516.WAA11817@agni.nuko.com> Subject: Re: PCI ethernet driver clarification?? To: dg@root.com Date: Mon, 14 Jul 1997 22:16:29 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199707150136.SAA12200@implode.root.com> from "David Greenman" at "Jul 14, 97 06:36:53 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to David Greenman: > >I am in the middle of writing a PCI driver for i960 based card. I am using > >the fxp driver for clarifications (since it is more elegant than de > >driver). After searching through the files, I still have not figured out > >the exact function of each member of the fxp_csr and the fxp_cb_config > >structure in if_fxp.h. > > Struct fxp_csr are the control/status registers for the controller. > Struct fxp_cb_config is a special configuration data structure that is > initialized and DMAed to the card in order to configure various internal > parameters. > Sorry, I should better document the header file/register definitions. > > -DG > > David Greenman > Core-team/Principal Architect, The FreeBSD Project Thanks for your response. But my question was how do I get hold of the map of the internal parameters on the card mapped to the memory? Meaning what do each of the bit fields in the fxp_cb_config mean? Does Intel make such information public and what is procedure to get this information from vendors? I guess you are the best person to answer such questions. :-) Vinay -- Vinay Bannai E-mail: vinay@agni.nuko.com (408)-526-0280 x 275 (Work) http://agni.nuko.com/~vinay