860 ATM - channel deactivation
Fabien Clément
fclement at avilinks.com
Tue Sep 10 01:12:11 EST 2002
This function is meant for resources freeing if channel activation fails
(see mpc860sar_open)
there is no traffic on the VCC when it's called
-----Original Message-----
From: owner-linuxppc-embedded at lists.linuxppc.org
[mailto:owner-linuxppc-embedded at lists.linuxppc.org]On Behalf Of Stephan
Linke
Sent: Monday, September 09, 2002 4:39 PM
To: Linuxppc-Embedded
Subject: FW: 860 ATM - channel deactivation
Hi,
I had a look at the sources of mpc860sar. In mpc860sar.c there is the
mpc860sar_undo_activate_channel() function that deactivates a channel (ATM
VCC) and releases the resources.
I'm curious about the fact that the deactivation of the channel by calling
mpc860sar_del_address_mapping() is performed after all the ressources where
released. Shouldn't it all be done exactly the opposite way arround?
In case the order is wrong no one will notice it as long as there's no
traffic arriving while this function is running. And I didn't had any
trouble so far too. But I'm shure it is wrong.
Could anyone check this? (I hope I'm in the right mailing list. :))
Thanks, Stephan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list