* [PATCH] atl1c: restore buffer state
@ 2013-02-19 17:23 xiong
2013-02-19 18:19 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: xiong @ 2013-02-19 17:23 UTC (permalink / raw)
To: davem; +Cc: netdev, linux-kernel, qca-linux-team, nic-devel, jwboyer, xiong
in the previous commit : f1f220ea1dda078, the BUSY state of buffer is wrongly
deleted. this patch just restore it.
Signed-off-by: xiong <xiong@qca.qualcomm.com>
---
drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
index 8f33315..1f07fc6 100644
--- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
+++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
@@ -2072,7 +2072,7 @@ static int atl1c_tx_map(struct atl1c_adapter *adapter,
if (unlikely(pci_dma_mapping_error(adapter->pdev,
buffer_info->dma)))
goto err_dma;
-
+ ATL1C_SET_BUFFER_STATE(buffer_info, ATL1C_BUFFER_BUSY);
ATL1C_SET_PCIMAP_TYPE(buffer_info, ATL1C_PCIMAP_SINGLE,
ATL1C_PCIMAP_TODEVICE);
mapped_len += map_len;
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] atl1c: restore buffer state
2013-02-19 17:23 [PATCH] atl1c: restore buffer state xiong
@ 2013-02-19 18:19 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-02-19 18:19 UTC (permalink / raw)
To: xiong; +Cc: netdev, linux-kernel, qca-linux-team, nic-devel, jwboyer
From: xiong <xiong@qca.qualcomm.com>
Date: Wed, 20 Feb 2013 01:23:09 +0800
> in the previous commit : f1f220ea1dda078, the BUSY state of buffer is wrongly
> deleted. this patch just restore it.
>
> Signed-off-by: xiong <xiong@qca.qualcomm.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-19 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-19 17:23 [PATCH] atl1c: restore buffer state xiong
2013-02-19 18:19 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.