Em Ter, 2009-06-09 às 20:34 -0400, Brian Johnson escreveu: > Daniel, > I've changed most of the UDIA_* to dev_* however currently there are > some messages being printed from the drivers init and exit functions > which do not have the dev structure available. Should i replace those > with just a printk or remove them completely?
I would just remove them completely. But if you want to keep, replace for printk() if they are informational message, or for pr_debug() if they are debugging messages. > Also the kernel doesn't have a usleep function as far as i can tell. Sorry, you are right. Consider using msleep() instead. It may have an impact on your driver performance tough. But at least it will not steal the kernel and block it from scheduling everything else, so overall impact on system should be smaller. -- Daniel Ribeiro
signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente
