> >+
> >+ while (((nes_read32(nesdev->regs+NES_SOFTWARE_RESET)
> >+ & 0x00000040) != 0x00000040) && (i++ < 5000)) {
> >+ }
>
> Is there a better way to wait for the read?
Typically, the reset is pretty quick and is complete within
a few loops. The i++ counter is there to prevent a driver
hang in case the reset fails for some reason.
Thanks,
Glenn.
>
> - Sean
> _______________________________________________
> ewg mailing list
> [EMAIL PROTECTED]
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general