Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35337
b: refs/heads/master
c: 53ccce2
h: refs/heads/master
i:
  35335: 09c296e
v: v3
  • Loading branch information
Jan-Bernd Themann authored and Jeff Garzik committed Sep 19, 2006
1 parent 687dec5 commit b766e8d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 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: 72e8d6bbc151ca670c66d58a37e5bbfbc041db69
refs/heads/master: 53ccce2395cdc3693c22b9a94764b66dc1a4fcb4
2 changes: 1 addition & 1 deletion trunk/drivers/net/ehea/ehea.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <asm/io.h>

#define DRV_NAME "ehea"
#define DRV_VERSION "EHEA_0027"
#define DRV_VERSION "EHEA_0028"

#define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
| NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)
Expand Down
11 changes: 8 additions & 3 deletions trunk/drivers/net/ehea/ehea_hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,25 @@ struct ehea_eqtemm {
u64 eqx_it;
};

/*
* These access functions will be changed when the dissuccsion about
* the new access methods for POWER has settled.
*/

static inline u64 epa_load(struct h_epa epa, u32 offset)
{
return readq((void __iomem *)(epa.addr + offset));
return __raw_readq((void __iomem *)(epa.addr + offset));
}

static inline void epa_store(struct h_epa epa, u32 offset, u64 value)
{
writeq(value, (void __iomem *)(epa.addr + offset));
__raw_writeq(value, (void __iomem *)(epa.addr + offset));
epa_load(epa, offset); /* synchronize explicitly to eHEA */
}

static inline void epa_store_acc(struct h_epa epa, u32 offset, u64 value)
{
writeq(value, (void __iomem *)(epa.addr + offset));
__raw_writeq(value, (void __iomem *)(epa.addr + offset));
}

#define epa_store_eq(epa, offset, value)\
Expand Down

0 comments on commit b766e8d

Please sign in to comment.