Somnath kotur wrote:

I even saw the src code for mac_alloc and apart  from checking for
the above MAC_VERSION it just does a kmem_alloc() and returns the
memory, I attempted this on 2 different systems but with same OS
installed and it failed on both.Wondering if it's anything to do with
my installation?


I think that's exactly the problem. How are you compiling? I assume you must be including headers from a nevada ON source tree since I don't think the MAC module headers are exported into /usr/include/sys. Thus, you're probably building a driver with a MAC_VERSION that differs from the MAC module on your target installation. You should be testing on a box installed with the latest dev. update of OpenSolaris or installed with SXCE.

  Paul
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to