castet.matthieu at free.fr
Sat Mar 12 17:59:45 EST 2005
Duncan Sands wrote:
>>For the atm statistic (rate and state), is it safe to access it any time ?
>>Some modem could start their stats loop in heavy init, because they need
>>to know the state of the modem in order to send it the correct part of
>>the firmware. Is it need to check if atm_start finished before updating
>>atm stats ?
> You can't access the atm stuff before atm_start is called because it
> doesn't exist. So if you need this info earlier, you will need to
> maintain a copy of it yourself (or something equivalent).
accessing earlier wasn't my problem : it was updating earlier. So I will
check a boolean before writing them.
Is usbatm->atm_dev null when it is not initialized or I need to have my
own boolean that is set to true in atm_start ?
More information about the Usbatm