On Mon, 2010-06-14 at 14:54 -0500, Steven Stallion wrote:
> On 06/11/10 14:20, Darren Reed wrote:
> > Well, seeing as the Linux driver doesn't exhibit this bug,
> > how much logic of the Linux driver can you replicate in
> > your driver?
> >
> > I suppose another way of phrasing that question is, have
> > you tried to port the Linux driver to solaris?
>
> I haven't. This seems to be more of a hardware problem. The driver I am
> working on and ixgbe have very similar configuration paths. In fact,
> both drivers will fail to attach due to the soft reset bit never going low.
>
I've not looked at the code paths, but random thoughts:
a) make sure that the register window is correctly mapped
b) make sure that you read back the register after writing it to make
sure that any PCI write buffering (posted writes) are flushed to the
device.
c) are you sure that you've accurately implemented the reset behavior
(i.e. if you toggle a bit high/low, do you have to "untoggle" it -- some
devices need a full cycle of the reset bit to take effect...)
Those are the first things I'd look at, at any rate.
- Garrett
> Steve
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss