Daniel Corbe wrote: > Okay, did that and this is what the code looks like now: > > http://rafb.net/p/0Ufk6F18.html > > Same problem trying to use add_drv, as seen from the error: > > devfsadm: driver failed to attach: testdriver > Warning: Driver (testdriver) successfully added to system but failed > to attach > > I'm at a loss here, the documentation seems to agree with what I'm > doing :( Hi Daniel, You can not use nodev for your probe routine. This routine is called and since nodev returns an error, your attach is never called. Change the nodev in your dev_ops for probe to nulldev.
max _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
