From 868bf4421d995ec289261f76f572f8abacd00412 Mon Sep 17 00:00:00 2001 From: Masanari Iida Date: Thu, 24 Jul 2014 19:46:51 +0900 Subject: [PATCH] staging: et131x: Fix typo in et131x This patch fix spelling typos in comments and printk within et131x. Signed-off-by: Masanari Iida Signed-off-by: Greg Kroah-Hartman --- drivers/staging/et131x/et131x.c | 8 ++++---- drivers/staging/et131x/et131x.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index ada02430eacd..8bf1eb485163 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c @@ -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 { @@ -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); } @@ -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. @@ -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; } diff --git a/drivers/staging/et131x/et131x.h b/drivers/staging/et131x/et131x.h index 2ac6e9980117..3c0c4974fbdb 100644 --- a/drivers/staging/et131x/et131x.h +++ b/drivers/staging/et131x/et131x.h @@ -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 @@ -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 @@ -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 -- 2.39.5