From owner-freebsd-questions Tue Oct 30 8:34:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ip.eth.net (mail.ip.eth.net [202.9.128.18]) by hub.freebsd.org (Postfix) with ESMTP id 13D5E37B401 for ; Tue, 30 Oct 2001 08:34:29 -0800 (PST) Received: (apparently) from suvarna ([61.11.16.239]) by ip.eth.net with Microsoft SMTPSVC(5.5.1877.467.46); Tue, 30 Oct 2001 22:04:21 +0530 Message-ID: <001101c16160$98708470$1100a8c0@indranet> From: "Suvarna Ahire" To: Subject: Problem for detecting a PCI device. Date: Tue, 30 Oct 2001 22:03:18 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C1618E.AE925340" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C1618E.AE925340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Hello, I am new to device driver environment. I am writing a = character device driver a PCI card in 4.3 FreeBSD. I have used the PCI = skeleton given on freeBSD.org documents. For the first stage this = skeleton should able to detect the specified card. =20 As per the flow in /sys/kern , it tries to detect all PCI devices = present in the system, but I am getting only 2 pci devices.=20 1. Intel's 82801BA/BAM AC97 Audio Controller with vendor id 0x8086 and = device id is 0x2445 and 2. Matrox' MGA-G200 Millennium/Mystique G200 AGP with vendor id 0x102b = and device id 0x0521 The card for which I am writing the driver and realtek's 8139 card = (which is present in my system) is also not getting detected. I have tried with WinDriver tool loading on same system(in NT 4.0), = there it detects ten pci devices including my card and also realtek's = card. How can I find my card using this skeleton ? Can anybody help me into this?=20 Thanks! Suvarna =20 ------=_NextPart_000_000E_01C1618E.AE925340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable  

Hello,

           =20 I am new to device driver environment. I am writing a character = device=20 driver a PCI card in 4.3 FreeBSD.  I have used the PCI skeleton = given on=20 freeBSD.org documents. For the first stage this skeleton should able to = detect=20 the specified card.  

As per the=20 flow in /sys/kern , it tries to detect all PCI devices present in=20 the system, but I am getting only 2 pci devices.=20

1. Intel's=20 82801BA/BAM AC97 Audio Controller with vendor id 0x8086 and device id is = 0x2445

and

2. Matrox'=20 MGA-G200 Millennium/Mystique G200 AGP with vendor id 0x102b and device = id=20 0x0521

The card=20 for which I am writing the driver and realtek's 8139 card (which is = present=20 in my system)  is also not getting detected.

I have=20 tried with WinDriver tool loading on same system(in NT 4.0), there it=20 detects ten pci devices including my card and also realtek's=20 card.

How can I find my card using this skeleton = ?

Can anybody=20 help me into this?

 Thanks!

 Suvarna

 

------=_NextPart_000_000E_01C1618E.AE925340-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message