Hi Adam and Kerry,
Does it have some relationship with PCI FMA support? Accordding to Adam's
description, PCI FMA may have interfered here.
Liu Jiang (Gerry)
OpenSolaris, OTC, SSG, Intel
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Adam Chunn
Sent: 2009年5月8日 2:06
To: solaris driver
Subject: Re: [driver-discuss] ddi_get32 returns 0xffffffff
Thanks for helping Kerry,
Kerry Shu wrote:
Have you tried:
# pcitool /p...@0,0 -d bdf=5.0.0,bar0 -b 0x100 -r
==> are they 0xffffffff?
# pcitool /p...@0,0 -d bdf=5.0.0,bar1 -b 0x100 -r
==> are they 0xffffffff?
Yes, I have tried both and both return 0xffffffff for all values.
I unloaded my driver and tried it as well. I got the same results.
I turned on my PCI Bus Analyzer and verified that the command was accessing my
device and that my device was not returning 0xffffffff, but instead valid data.
So I guess that proves that this problem doesn't involve my driver at all?
I am going to try some other things:
1. My company has several other PCIe devices that we make. I am going to add
a different device and try to read registers from it. If the other card works,
I think I can assume that the problem lies in some kind of incompatibility in
my device.
2. If I can't read from the different device. I am going to commandeer
another host machine and install OpenSolaris 2008.11 on it. And I will give it
another go. Maybe it's my box.
-Adam
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss