Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338150
b: refs/heads/master
c: 5375819
h: refs/heads/master
v: v3
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent d6f073f commit 91d9bfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 49bd136f93fe503c968ca95247dff9869324f484
refs/heads/master: 5375819d83e54666e4552d1dab87ca6ce44c4600
10 changes: 4 additions & 6 deletions trunk/drivers/staging/rtl8187se/r8180_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,8 @@ void rtl8180_rtx_disable(struct net_device *dev)
struct r8180_priv *priv = ieee80211_priv(dev);

cmd = read_nic_byte(dev, CMD);
write_nic_byte(dev, CMD, cmd & ~\
((1<<CMD_RX_ENABLE_SHIFT)|(1<<CMD_TX_ENABLE_SHIFT)));
write_nic_byte(dev, CMD, cmd &
~((1<<CMD_RX_ENABLE_SHIFT)|(1<<CMD_TX_ENABLE_SHIFT)));
force_pci_posting(dev);
mdelay(10);

Expand Down Expand Up @@ -1258,8 +1258,7 @@ void rtl8180_rx(struct net_device *dev)

pci_dma_sync_single_for_cpu(priv->pdev,
priv->rxbuffer->dma,
priv->rxbuffersize * \
sizeof(u8),
priv->rxbuffersize * sizeof(u8),
PCI_DMA_FROMDEVICE);

first = *(priv->rxringtail) & (1<<29) ? 1 : 0;
Expand Down Expand Up @@ -1490,8 +1489,7 @@ void rtl8180_rx(struct net_device *dev)

pci_dma_sync_single_for_device(priv->pdev,
priv->rxbuffer->dma,
priv->rxbuffersize * \
sizeof(u8),
priv->rxbuffersize * sizeof(u8),
PCI_DMA_FROMDEVICE);

drop: /* this is used when we have not enough mem */
Expand Down

0 comments on commit 91d9bfe

Please sign in to comment.