>Can the driver sources be compiled in Solaris 10? Even though the Makefiles >refer to other Makefiles that probably reside in the OpenSolaris ON sources, >can I build the sources without them? >Which compiler and linker options should I use? >cc -D_KERNEL -c *.c >ld -r -dy -N... > > > It needs some header files (and Makefiles) not in your /usr/include/ directory. Yes they're in S10 source tree. In order to deliver a stable cardbus driver into S10, we need to wait until bugs like CR6419924 are fixed. After that we'll back-port the cardbus driver from S11 to S10.
>>As a nexus driver, cardbus has to use some private >>header files internal >>to DDI implementation. While these files change over >>time, we've been >>trying to adapt to the changes by adding private >>versions of the header >>files in v0.3. That's why v0.3, as a downloadable >>version, has been >>working fine on S10, S10updates and S11. But it's >>hard to keep up the >>good "hack" work. >> >> > >Does "keeping up the good \"hack\" work" mean that I will be able to build the >driver on S10? > > > You cannot do this without the source tree of S10. >BTW, I found this document about PCMCIA drivers for Solaris: >http://docs.sun.com/app/docs/doc/802-6321 >Is that information up to date? What are the main differences of the cardbus >implementation? > > > The document is about writing leaf drivers for 16bit PC Cards. We haven't been able to support 32bit PC Cards until we have the cardbus driver. Now for 32bit PC Cards, the drivers are just like that of PCI devices. The above document is still up to date for 16bit PC Cards. That's the difference. The document isn't about writing nexus drivers. The only document for writing nexus drivers is the source code of ON. Vincent.
