[haiku-development] Re: Discovering the SDHC device on PCI bus

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 22 May 2018 14:15:21 +0000

We need some more info to debug this.

Have you split the condition as Jessica suggested?
What is the error code returned by each of the calls (you can use strerror() to 
convert the return code to a string which you can then TRACE())?
If B_DEVICE_BUS works, have you checked the content of the attribute (do you 
get to see some devices that are indeed PCI, and if not, what do you get?)?

-- 
Adrien.

22 mai 2018 16:01 "B Krishnan Iyer" <krishnaniyer97@xxxxxxxxx> a écrit:

I have changed the dir structure(sdhci->mmc) which makes more sense. I
have continued to have the previous issue, even though PCI device is
attached(verified by listdev), I am not able to get the Device and
Vendor ID.

It would be great if someone can give me a pointer regarding the issue.

Thanks,

B Krishnan Iyer

Other related posts: