Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134142
b: refs/heads/master
c: c95741d
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and John W. Linville committed Jan 29, 2009
1 parent ca3d5e1 commit d386b98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 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: a1d88210955e56f7a0d54ac72747075b683b0850
refs/heads/master: c95741deef31d14c3a3d58397f9a3d2126d452e5
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/prism54/islpci_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/if_arp.h>
#include <asm/byteorder.h>

#include "prismcompat.h"
#include "isl_38xx.h"
Expand Down Expand Up @@ -471,8 +472,8 @@ islpci_eth_receive(islpci_private *priv)
wmb();

/* increment the driver read pointer */
add_le32p(&control_block->
driver_curr_frag[ISL38XX_CB_RX_DATA_LQ], 1);
le32_add_cpu(&control_block->
driver_curr_frag[ISL38XX_CB_RX_DATA_LQ], 1);
}

/* trigger the device */
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/prism54/islpci_mgt.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ extern int pc_debug;
#define PIMFOR_FLAG_APPLIC_ORIGIN 0x01
#define PIMFOR_FLAG_LITTLE_ENDIAN 0x02

static inline void
add_le32p(__le32 * le_number, u32 add)
{
*le_number = cpu_to_le32(le32_to_cpup(le_number) + add);
}

void display_buffer(char *, int);

/*
Expand Down

0 comments on commit d386b98

Please sign in to comment.