The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
from where i can find the CDROM device Aamir Sahil SUN Solaris 2 04-08-2008 03:28 AM
Help probe-scsi-all nitinkgoud SUN Solaris 3 07-12-2006 01:11 AM
Jumpstart process canґt find tape device spacewalker SUN Solaris 0 04-11-2006 11:00 AM
Mod probe can't find module ppp0 skotapal Filesystems, Disks and Memory 1 04-28-2003 10:23 PM
probe software sphiengollie UNIX for Dummies Questions & Answers 2 04-28-2002 04:44 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-17-2002
Alex_T Alex_T is offline
Registered User
  
 

Join Date: Feb 2002
Location: Russia, Moskow
Posts: 5
Question PCI device probe and find


Hi, everybody.

Pleeeeese HLP!!!

I write PCI device driver for bridge controller PCI-VME bus in freeBSD 2.2.
And firs run function probe():

static char* probe(tag, type).

Whuy probe() don't work for my vendorID and deviceID (bridge controller and videoadapter). But probe() work with network adapters.
Example:

#define TUNDRA_UNIVERSE 0x000010e3ul

......


static char *
alx_probe (pcici_t tag, pcidi_t type)
{

switch (type) {
case TUNDRA_UNIVERSE: /* TUNDRA_NIVERSE - is constant device ID*/
return("Tundra Universe||"); /* - probe is successful*/
};
return ((char *)0); /*probe error*/
}

.......

for Russian

Смысл этого корявого английского сообщения (как мог - видит бог я этого не хотел) в том, что мой драйвер моста PCI-VME ( да и для видеокарты тоже) не находит нужное ему устройство в prob по deviceID и vendorID, но самое непонятное такие устройства как сетевые карты или контроллеры (что то связанной с IDE) он определяет довольно резво.
Драйвер пишу под freeBSD2.2 - тока не спрашивайте почему в такой древней - работа...
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0