Michael, many thanks for reply! > I'd like to know, did you change any source codes? > Dec 1 03:23:00 solaris ndisapi: [ID 692590 kern.notice] NO match for strchr
Yes I did. 1. I did some changes to compile with sunstudio12.1 if_ndis.c:156: error: static declaration of 'wifi_bcastaddr' follows non-static declaration include/sys/mac_wifi.h:114: note: previous declaration of 'wifi_bcastaddr' was here Commented out /* extern uint8_t wifi_bcastaddr[]; */ in the file ../include/sys/mac_wifi.h 2. In file subr_ndis.c (lines 1830,1837) return(NdisAllocatePacketPool(status, pool, descnum + oflowdescnum, protrsvdlen)); turned into NdisAllocatePacketPool(status, pool, descnum + oflowdescnum, protrsvdlen); 3. In the file if_ndis.c I added a few calls (inside int _init(void)) to cmn_err to show what parameters are passed into mod_install(&modlinkage)) In fact just to see if NULL pointers are passed - as I can see all pointers has value. And as cmn_err show correct values for int, and char* structures' members (up to (and including) dev_ops structure) I think pointers are correct. I check only int and char* because I don't know how to check pointers to function. Just to clarify - I do not add any function (and code) except cmn_err. Is this "strchr" a function name? I think yes. I found that the message "NO match for" comes from function static vm_offset_t pe_functbl_match(functbl, name) in the file subr_pe.c And I am going to do some investigation to find who calls pe_functbl_match Thanks, Eugene _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
