Staging: bcm: Properly format comments in Transmit.c
This patch properly formats comments as reported by checkpatch.pl. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d5873d3817
commit
b9e25f81c5
1 changed files with 46 additions and 46 deletions
|
@ -1,45 +1,45 @@
|
||||||
/**
|
/**
|
||||||
@file Transmit.c
|
* @file Transmit.c
|
||||||
@defgroup tx_functions Transmission
|
* @defgroup tx_functions Transmission
|
||||||
@section Queueing
|
* @section Queueing
|
||||||
@dot
|
* @dot
|
||||||
digraph transmit1 {
|
* digraph transmit1 {
|
||||||
node[shape=box]
|
* node[shape=box]
|
||||||
edge[weight=5;color=red]
|
* edge[weight=5;color=red]
|
||||||
|
*
|
||||||
bcm_transmit->GetPacketQueueIndex[label="IP Packet"]
|
* bcm_transmit->GetPacketQueueIndex[label="IP Packet"]
|
||||||
GetPacketQueueIndex->IpVersion4[label="IPV4"]
|
* GetPacketQueueIndex->IpVersion4[label="IPV4"]
|
||||||
GetPacketQueueIndex->IpVersion6[label="IPV6"]
|
* GetPacketQueueIndex->IpVersion6[label="IPV6"]
|
||||||
}
|
* }
|
||||||
|
*
|
||||||
@enddot
|
* @enddot
|
||||||
|
*
|
||||||
@section De-Queueing
|
* @section De-Queueing
|
||||||
@dot
|
* @dot
|
||||||
digraph transmit2 {
|
* digraph transmit2 {
|
||||||
node[shape=box]
|
* node[shape=box]
|
||||||
edge[weight=5;color=red]
|
* edge[weight=5;color=red]
|
||||||
interrupt_service_thread->transmit_packets
|
* interrupt_service_thread->transmit_packets
|
||||||
tx_pkt_hdler->transmit_packets
|
* tx_pkt_hdler->transmit_packets
|
||||||
transmit_packets->CheckAndSendPacketFromIndex
|
* transmit_packets->CheckAndSendPacketFromIndex
|
||||||
transmit_packets->UpdateTokenCount
|
* transmit_packets->UpdateTokenCount
|
||||||
CheckAndSendPacketFromIndex->PruneQueue
|
* CheckAndSendPacketFromIndex->PruneQueue
|
||||||
CheckAndSendPacketFromIndex->IsPacketAllowedForFlow
|
* CheckAndSendPacketFromIndex->IsPacketAllowedForFlow
|
||||||
CheckAndSendPacketFromIndex->SendControlPacket[label="control pkt"]
|
* CheckAndSendPacketFromIndex->SendControlPacket[label="control pkt"]
|
||||||
SendControlPacket->bcm_cmd53
|
* SendControlPacket->bcm_cmd53
|
||||||
CheckAndSendPacketFromIndex->SendPacketFromQueue[label="data pkt"]
|
* CheckAndSendPacketFromIndex->SendPacketFromQueue[label="data pkt"]
|
||||||
SendPacketFromQueue->SetupNextSend->bcm_cmd53
|
* SendPacketFromQueue->SetupNextSend->bcm_cmd53
|
||||||
}
|
* }
|
||||||
@enddot
|
* @enddot
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ingroup ctrl_pkt_functions
|
* @ingroup ctrl_pkt_functions
|
||||||
This function dispatches control packet to the h/w interface
|
* This function dispatches control packet to the h/w interface
|
||||||
@return zero(success) or -ve value(failure)
|
* @return zero(success) or -ve value(failure)
|
||||||
*/
|
*/
|
||||||
INT SendControlPacket(struct bcm_mini_adapter *Adapter, char *pControlPacket)
|
INT SendControlPacket(struct bcm_mini_adapter *Adapter, char *pControlPacket)
|
||||||
{
|
{
|
||||||
struct bcm_leader *PLeader = (struct bcm_leader *)pControlPacket;
|
struct bcm_leader *PLeader = (struct bcm_leader *)pControlPacket;
|
||||||
|
@ -76,11 +76,11 @@ INT SendControlPacket(struct bcm_mini_adapter *Adapter, char *pControlPacket)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ingroup tx_functions
|
* @ingroup tx_functions
|
||||||
This function despatches the IP packets with the given vcid
|
* This function despatches the IP packets with the given vcid
|
||||||
to the target via the host h/w interface.
|
* to the target via the host h/w interface.
|
||||||
@return zero(success) or -ve value(failure)
|
* @return zero(success) or -ve value(failure)
|
||||||
*/
|
*/
|
||||||
INT SetupNextSend(struct bcm_mini_adapter *Adapter, struct sk_buff *Packet, USHORT Vcid)
|
INT SetupNextSend(struct bcm_mini_adapter *Adapter, struct sk_buff *Packet, USHORT Vcid)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
|
@ -174,9 +174,9 @@ static int tx_pending(struct bcm_mini_adapter *Adapter)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ingroup tx_functions
|
* @ingroup tx_functions
|
||||||
Transmit thread
|
* Transmit thread
|
||||||
*/
|
*/
|
||||||
int tx_pkt_handler(struct bcm_mini_adapter *Adapter /**< pointer to adapter object*/)
|
int tx_pkt_handler(struct bcm_mini_adapter *Adapter /**< pointer to adapter object*/)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
|
@ -201,7 +201,7 @@ int tx_pkt_handler(struct bcm_mini_adapter *Adapter /**< pointer to adapter obje
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check end point for halt/stall.
|
/* Check end point for halt/stall. */
|
||||||
if (Adapter->bEndPointHalted == TRUE) {
|
if (Adapter->bEndPointHalted == TRUE) {
|
||||||
Bcm_clear_halt_of_endpoints(Adapter);
|
Bcm_clear_halt_of_endpoints(Adapter);
|
||||||
Adapter->bEndPointHalted = FALSE;
|
Adapter->bEndPointHalted = FALSE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue