--- zzzz-none-000/linux-2.6.28.10/net/bridge/br_stp_timer.c 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/net/bridge/br_stp_timer.c 2009-06-16 10:06:22.000000000 +0000 @@ -10,9 +10,28 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ +/*---------------------------------------------------------------------------- +// Copyright 2007, Texas Instruments Incorporated +// +// This program has been modified from its original operation by Texas Instruments +// to do the following: +// +// 1. HIL Event generation to support TI Packet Processor +// +// THIS MODIFIED SOFTWARE AND DOCUMENTATION ARE PROVIDED +// "AS IS," AND TEXAS INSTRUMENTS MAKES NO REPRESENTATIONS +// OR WARRENTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +// TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY +// PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR +// DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, +// COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +// +// These changes are covered as per original license +//-----------------------------------------------------------------------------*/ #include <linux/kernel.h> #include <linux/times.h> +#include <linux/ti_hil.h> #include "br_private.h" #include "br_private_stp.h" @@ -98,6 +117,7 @@ p->state = BR_STATE_FORWARDING; if (br_is_designated_for_some_port(br)) br_topology_change_detection(br); + ti_hil_pp_event(TI_BRIDGE_PORT_FORWARD, (void *)p->dev); } br_log_state(p); spin_unlock(&br->lock);