[haiku-bugs] Re: [Haiku] #5146: get_nth_pci_info missing

#5146: get_nth_pci_info missing
---------------------------------+------------------------------
   Reporter:  andrewbachmann     |      Owner:  axeld
       Type:  bug                |     Status:  new
   Priority:  low                |  Milestone:  R1
  Component:  System/libroot.so  |    Version:  R1/alpha1
 Resolution:                     |   Keywords:  get_nth_pci_info
 Blocked By:                     |   Blocking:
Has a Patch:  1                  |   Platform:  All
---------------------------------+------------------------------

Comment (by siarzhuk):

 Replying to [comment:3 BeSman]:
 >BeRometer works well now, but it needs a libmail from BeOS R5 becose it
 using some undocumented API from it, patch for haiku`s libmail is work-in-
 progress

 {{{
 long get_nth_pci_info(long index,pci_info *info)
 {
     pci_module_info *mod_info;
     if(mod_info->get_nth_pci_info(index,info))
         return B_NO_ERROR;
     else
         return B_ERROR;
 }
 }}}

 Please explain what are you trying to do here. Thanks.

 BTW, read the Coding Guidelines too. ;-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5146#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: