From owner-freebsd-hackers Thu Mar 6 11:24:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA05908 for hackers-outgoing; Thu, 6 Mar 1997 11:24:00 -0800 (PST) Received: from etinc.com (et-gw-fr1.etinc.com [204.141.244.98]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA05902 for ; Thu, 6 Mar 1997 11:23:57 -0800 (PST) Received: from dialup-usr11.etinc.com (dialup-usr11.etinc.com [204.141.95.132]) by etinc.com (8.8.3/8.6.9) with SMTP id OAA04688; Thu, 6 Mar 1997 14:32:16 -0500 (EST) Message-Id: <3.0.32.19970306142127.00a21cf8@etinc.com> X-Sender: dennis@etinc.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Thu, 06 Mar 1997 14:21:29 -0500 To: marcio@cyclades.com, Brian McGovern From: dennis Subject: Re: PCI probe invokation... Cc: hackers@freebsd.org, Cyclades Technical Support , cy_serial@freefall.freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 09:01 AM 3/6/97 -0800, Marcio Saito wrote: >Hello. > >Brian McGovern wrote: >> Hi. I'm currently working on a driver for Cyclades' Cyclom-Zo card, and >> (as usual), I have a ton of questions.... >> >> However, my first one is about the PCI probe routine. Having looked >> at the cy driver for PCI, I've noticed that it compares the >> device_id field to Cyclades Vendor ID (0x120e), and the device >> id field to 0x100 or 0x101. >> >> Could someone please let me know where these values come from (function >> prototype is below), so that I can ask the appropriate questions of >> Cyclades, to see what I should be comparing against? Thanks. Just in case this was orginally a "where do babies come from" question, the answer of "where it comes from" is registers on the board itself that are required for complience with the PCI plug-and-play spec. Most O/Ss have routines that read these registers, but there may be other specialized registers that you have to read yourself. The basic configuration block registers are usually pulled by a routine, but its likely that you will need to know about the registers yourselve for some functions, depending on the card. Dennis