Skip to content

Commit

Permalink
staging: et131x: Fix typo in et131x
Browse files Browse the repository at this point in the history
This patch fix spelling typos in comments and printk
within et131x.

Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
standby24x7 authored and gregkh committed Jul 24, 2014
1 parent 99284f2 commit 868bf44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ struct fbr_lookup {
dma_addr_t buffsize;
};

/* struct rx_ring is the sructure representing the adaptor's local
/* struct rx_ring is the structure representing the adaptor's local
* reference(s) to the rings
*/
struct rx_ring {
Expand Down Expand Up @@ -1941,7 +1941,7 @@ static void et131x_disable_interrupts(struct et131x_adapter *adapter)
/* et131x_tx_dma_disable - Stop of Tx_DMA on the ET1310 */
static void et131x_tx_dma_disable(struct et131x_adapter *adapter)
{
/* Setup the tramsmit dma configuration register */
/* Setup the transmit dma configuration register */
writel(ET_TXDMA_CSR_HALT | ET_TXDMA_SNGL_EPKT,
&adapter->regs->txdma.csr);
}
Expand Down Expand Up @@ -4023,7 +4023,7 @@ static void et131x_isr_handler(struct work_struct *work)
if (status & ET_INTR_RXDMA_STAT_LOW) {
/* Same idea as with the two Free Buffer Rings. Packets going
* from the network to the host each consume a free buffer
* resource and a packet status resource. These resoures are
* resource and a packet status resource. These resources are
* passed to the OS. When the OS is done with the resources,
* they need to be returned to the ET1310. This is one method
* of returning the resources.
Expand Down Expand Up @@ -4631,7 +4631,7 @@ static int et131x_pci_setup(struct pci_dev *pdev,
/* Allocate DMA memory */
rc = et131x_adapter_memory_alloc(adapter);
if (rc < 0) {
dev_err(&pdev->dev, "Could not alloc adapater memory (DMA)\n");
dev_err(&pdev->dev, "Could not alloc adapter memory (DMA)\n");
goto err_iounmap;
}

Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/et131x/et131x.h
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ struct txmac_regs { /* Location: */
*/

/*
* structure for Unicast Paket Filter Address 1 reg in rxmac address map
* structure for Unicast Packet Filter Address 1 reg in rxmac address map
* located at address 0x4068
*
* 31-24: addr1_3
Expand All @@ -769,7 +769,7 @@ struct txmac_regs { /* Location: */
#define ET_RX_UNI_PF_ADDR1_5_SHIFT 8

/*
* structure for Unicast Paket Filter Address 2 reg in rxmac address map
* structure for Unicast Packet Filter Address 2 reg in rxmac address map
* located at address 0x406C
*
* 31-24: addr2_3
Expand All @@ -783,7 +783,7 @@ struct txmac_regs { /* Location: */
#define ET_RX_UNI_PF_ADDR2_5_SHIFT 8

/*
* structure for Unicast Paket Filter Address 1 & 2 reg in rxmac address map
* structure for Unicast Packet Filter Address 1 & 2 reg in rxmac address map
* located at address 0x4070
*
* 31-24: addr2_1
Expand Down

0 comments on commit 868bf44

Please sign in to comment.