The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 02:28 AM
Help probe-scsi-all nitinkgoud SUN Solaris 3 07-12-2006 12:11 AM
Jumpstart process canґt find tape device spacewalker SUN Solaris 0 04-11-2006 10:00 AM
Mod probe can't find module ppp0 skotapal Filesystems, Disks and Memory 1 04-28-2003 09:23 PM
probe software sphiengollie UNIX for Dummies Questions & Answers 2 04-28-2002 03:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #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 - тока не спрашивайте почему в такой древней - работа...
  #2 (permalink)  
Old 06-01-2002
S.P.Prasad S.P.Prasad is offline
Registered User
  
 

Join Date: Jan 2002
Location: India
Posts: 111
I am not so much experienced on device drivers but trying to develop one, basically on Streams. I always wish to have expertise people in my friends list for any discussion and deliberations.
Please acknowledge my humbel request to be a close colleague of me. We can discuss a lot via e-mails. Mail Me at prasad@hmastarware.com
Sponsored Links
Closed Thread

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 06:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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