SUMMARY: PCI driver development

Mike Galuza (mgaluza@dejarnette.com)
Mon, 12 Jan 1998 09:42:40 -0500 (EST)

My original question is below. I regret that I cannot thank all who
responded to it because I sent my question to several lists and
tracking who sent which response from what list would be a nightmare.
So... thanks to all who responded!

Unfortunately, no one really helped me directly. It turns out it
was probably a hardware problem. I tried my board and my driver code
on a totally different machine and I could suddenly read the registers
that I could not read before. I guess the moral of the story is
never do Solaris x86 driver development on hardware that is not on
Sun's hardware compatibility list. While I am still having some
problems, they are not as basic as not being able to read a register.
As my development continues, I may call on some of the more knowledgable
respondants who offered help. Hope you all don't mind.

Some respondants asked that I post any useful sources of information that
I discovered. Well, first let me tell you that I got NOWHERE by using
the telephone. All the useful contacts I got were through these
discussion groups (see the To: list of this message), which is consistent
with my past experiences with other OS's, BTW. As I mentioned I did
get responses from several knowledgeable individuals who offered to help,
but I will not publish their names. However, one respondant worked for
SunSoft and got me in contact with Sun's Developer Support group. If
you are developing software (or hardware I suppose) that is for
commercial distribution they may be willing to help you. Because I
had a minor breakthrough with my problem I did not persue the details,
(like cost, if any) but I did briefly speak to a gentleman with Developer
Support who said I could publish his name and number (after I told him
how difficult it was for me to find support). His name is Frank Johnson
and he can be reached at (650)786-4731. I'm not sure exactly what his
position is, but if you need developer support for a commercial product
he is at least a first contact. Hope this helps.

Thanks again,
Mike

>-----Original Message-----
>
>Hello all:
>
>I am a new subscriber. I am not sure if my question is appropriate for
>this list. If it is not, I appologize in advance. In any case, here
>is my problem. I am developing a device driver under solaris x86 for
>a PCI board (the device is based on a PLX PCI 9050 chip if that
>matters). At this point I am able to see the board and read the PCI
>configuration registers with no problem. However I am unable to read
>any of the memory mapped registers. I am sure I am mapping the
>registers properly (using ddi_regs_map_setup()) and reading them, but
>I am not getting the correct data back. BTW, I am running Solaris x86
>2.5.1. I could give more details, but as I said, I am not even sure
>this is the appropriate place for this question. If there are any
>driver developers out there who could help me out I'd really appreciate
>it please respond and I'll give more info. Also, if anyone knows of
>a development oriented discussion list where I may be able to get help
>please let me know about that.
>
>Any responses will be greatly appreciated. I will summarize to the
>list.
>
>Thanks in advance,
>Mike
>

----------------------------------------------------------------------
Michael Galuza
DeJarnette Research Systems mgaluza@dejarnette.com
401 Washington Ave Suite 700 Voice: +1(410)583-0680 x691
Towson, MD 21204 Fax: +1(410)583-0696
----------------------------------------------------------------------