LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2006, 05:55 AM   #1
kumarnine
LQ Newbie
 
Registered: Apr 2004
Location: India
Distribution: RedHat
Posts: 29

Rep: Reputation: 15
replacement for pci functions ( pcibios_*) in linux-2.6.9


Hi ppl,
I have already posted this question once and again I am posting it for more clarified problem. I would like to know what are similar functions for the following functions in terms of functionality.

/// ***********************************////

sts= pcibios_present();

sts = pcibios_find_device(vendor,device,index,&bus,&function);

sts = pcibios_read_config_word(bus,function,PCI_VENDOR_ID,&w_info);

sts = pcibios_read_config_word(bus,function,PCI_DEVICE_ID,&w_info);

sts = pcibios_read_config_byte(bus,function,PCI_INTERRUPT_LINE,&b_info);

sts = pcibios_read_config_byte(bus,function,PCI_INTERRUPT_PIN,&b_info);

sts = pcibios_read_config_dword(bus,function,PCI_BASE_ADDRESS_0,&dw_info);

sts = pcibios_write_config_dword(bus,function,PCI_BASE_ADDRESS_0,~0);

sts = pcibios_read_config_dword(bus,function,PCI_BASE_ADDRESS_0,&dw_mask);

sts = pcibios_write_config_dword(bus,function,PCI_BASE_ADDRESS_0,dw_info);

/// ***********************************////


Thank you very much in advance for ur reply....



swamy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An MS Exchange replacement for Linux kwigibo Linux - Enterprise 15 01-14-2007 12:13 PM
Not Finding pcibios_* functions in RHEL4 kumarnine Linux - Enterprise 2 04-29-2006 08:34 AM
Not Finding pcibios_* functions in RHEL4 (2.6.9)..module compilation problem kumarnine Programming 1 04-13-2006 09:23 AM
VB Replacement for Linux? mhelliwell Linux - Software 3 02-26-2005 04:22 PM
pointers to functions/member functions champ Programming 2 03-28-2003 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration