Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e10f3fb authored by LABBE Corentin's avatar LABBE Corentin Committed by David S. Miller
Browse files

net: bfin_mac: Fix a few spelling fixes



This patch respell some word badly spelled.
- Invidate instead of Invalidate
- proble instead of probe

Signed-off-by: default avatarLABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f3b9d36
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -192,8 +192,8 @@ static int desc_list_init(struct net_device *dev)
			goto init_error;
			goto init_error;


		skb_reserve(new_skb, NET_IP_ALIGN);
		skb_reserve(new_skb, NET_IP_ALIGN);
		/* Invidate the data cache of skb->data range when it is write back
		/* Invalidate the data cache of skb->data range when it is write back
		 * cache. It will prevent overwritting the new data from DMA
		 * cache. It will prevent overwriting the new data from DMA
		 */
		 */
		blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
		blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
					 (unsigned long)new_skb->end);
					 (unsigned long)new_skb->end);
@@ -1205,7 +1205,7 @@ static void bfin_mac_rx(struct bfin_mac_local *lp)
	}
	}
	/* reserve 2 bytes for RXDWA padding */
	/* reserve 2 bytes for RXDWA padding */
	skb_reserve(new_skb, NET_IP_ALIGN);
	skb_reserve(new_skb, NET_IP_ALIGN);
	/* Invidate the data cache of skb->data range when it is write back
	/* Invalidate the data cache of skb->data range when it is write back
	 * cache. It will prevent overwritting the new data from DMA
	 * cache. It will prevent overwritting the new data from DMA
	 */
	 */
	blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
	blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
@@ -1599,7 +1599,7 @@ static int bfin_mac_probe(struct platform_device *pdev)
	*(__le16 *) (&(ndev->dev_addr[4])) = cpu_to_le16((u16) bfin_read_EMAC_ADDRHI());
	*(__le16 *) (&(ndev->dev_addr[4])) = cpu_to_le16((u16) bfin_read_EMAC_ADDRHI());


	/* probe mac */
	/* probe mac */
	/*todo: how to proble? which is revision_register */
	/*todo: how to probe? which is revision_register */
	bfin_write_EMAC_ADDRLO(0x12345678);
	bfin_write_EMAC_ADDRLO(0x12345678);
	if (bfin_read_EMAC_ADDRLO() != 0x12345678) {
	if (bfin_read_EMAC_ADDRLO() != 0x12345678) {
		dev_err(&pdev->dev, "Cannot detect Blackfin on-chip ethernet MAC controller!\n");
		dev_err(&pdev->dev, "Cannot detect Blackfin on-chip ethernet MAC controller!\n");