Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235827
b: refs/heads/master
c: 698a9dc
h: refs/heads/master
i:
  235825: fe4063f
  235823: 9ba88c5
v: v3
  • Loading branch information
Justin P. Mattock authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent aad23e0 commit 3e600ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b977e29f825a4472520e78b61d92cc1f53d7ba80
refs/heads/master: 698a9dce7757502da5c92e0a166aaff9e7c27345
16 changes: 8 additions & 8 deletions trunk/drivers/staging/octeon/cvmx-cmd-queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ typedef enum {
} cvmx_cmd_queue_id_t;

/**
* Command write operations can fail if the comamnd queue needs
* Command write operations can fail if the command queue needs
* a new buffer and the associated FPA pool is empty. It can also
* fail if the number of queued command words reaches the maximum
* set at initialization.
Expand All @@ -136,12 +136,12 @@ typedef struct {
uint64_t unused2:6;
/* FPA buffer size in 64bit words minus 1 */
uint64_t pool_size_m1:13;
/* Number of comamnds already used in buffer */
/* Number of commands already used in buffer */
uint64_t index:13;
} __cvmx_cmd_queue_state_t;

/**
* This structure contains the global state of all comamnd queues.
* This structure contains the global state of all command queues.
* It is stored in a bootmem named block and shared by all
* applications running on Octeon. Tickets are stored in a differnet
* cahce line that queue information to reduce the contention on the
Expand Down Expand Up @@ -308,7 +308,7 @@ static inline __cvmx_cmd_queue_state_t

/**
* Write an arbitrary number of command words to a command queue.
* This is a generic function; the fixed number of comamnd word
* This is a generic function; the fixed number of command word
* functions yield higher performance.
*
* @queue_id: Hardware command queue to write to
Expand All @@ -317,7 +317,7 @@ static inline __cvmx_cmd_queue_state_t
* updates. If you don't use this locking you must ensure
* exclusivity some other way. Locking is strongly recommended.
* @cmd_count: Number of command words to write
* @cmds: Array of comamnds to write
* @cmds: Array of commands to write
*
* Returns CVMX_CMD_QUEUE_SUCCESS or a failure code
*/
Expand Down Expand Up @@ -363,7 +363,7 @@ static inline cvmx_cmd_queue_result_t cvmx_cmd_queue_write(cvmx_cmd_queue_id_t
uint64_t *ptr;
int count;
/*
* We need a new comamnd buffer. Fail if there isn't
* We need a new command buffer. Fail if there isn't
* one available.
*/
uint64_t *new_buffer =
Expand Down Expand Up @@ -466,7 +466,7 @@ static inline cvmx_cmd_queue_result_t cvmx_cmd_queue_write2(cvmx_cmd_queue_id_t
*/
int count = qptr->pool_size_m1 - qptr->index;
/*
* We need a new comamnd buffer. Fail if there isn't
* We need a new command buffer. Fail if there isn't
* one available.
*/
uint64_t *new_buffer =
Expand Down Expand Up @@ -568,7 +568,7 @@ static inline cvmx_cmd_queue_result_t cvmx_cmd_queue_write3(cvmx_cmd_queue_id_t
*/
int count = qptr->pool_size_m1 - qptr->index;
/*
* We need a new comamnd buffer. Fail if there isn't
* We need a new command buffer. Fail if there isn't
* one available
*/
uint64_t *new_buffer =
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/octeon/cvmx-pko.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void cvmx_pko_initialize_global(void)
/*
* Set the size of the PKO command buffers to an odd number of
* 64bit words. This allows the normal two word send to stay
* aligned and never span a comamnd word buffer.
* aligned and never span a command word buffer.
*/
config.u64 = 0;
config.s.pool = CVMX_FPA_OUTPUT_BUFFER_POOL;
Expand Down

0 comments on commit 3e600ce

Please sign in to comment.