Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298487
b: refs/heads/master
c: 10b9194
h: refs/heads/master
i:
  298485: e25f07b
  298483: a829968
  298479: 33a4a3f
v: v3
  • Loading branch information
Yoshihiro Shimoda authored and David S. Miller committed Apr 2, 2012
1 parent 0afb5b2 commit 5e8e475
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 6bafd6436e99d08e8def37ae9f790e1aff871bae
refs/heads/master: 10b9194f959608368ed89df1937f17cfe6bd6d84
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/renesas/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ static int sh_eth_dev_init(struct net_device *ndev)
/* all sh_eth int mask */
sh_eth_write(ndev, 0, EESIPR);

#if defined(__LITTLE_ENDIAN__)
#if defined(__LITTLE_ENDIAN)
if (mdp->cd->hw_swap)
sh_eth_write(ndev, EDMR_EL, EDMR);
else
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/renesas/sh_eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ enum TSU_FWSLC_BIT {
*/
struct sh_eth_txdesc {
u32 status; /* TD0 */
#if defined(CONFIG_CPU_LITTLE_ENDIAN)
#if defined(__LITTLE_ENDIAN)
u16 pad0; /* TD1 */
u16 buffer_length; /* TD1 */
#else
Expand All @@ -710,7 +710,7 @@ struct sh_eth_txdesc {
*/
struct sh_eth_rxdesc {
u32 status; /* RD0 */
#if defined(CONFIG_CPU_LITTLE_ENDIAN)
#if defined(__LITTLE_ENDIAN)
u16 frame_length; /* RD1 */
u16 buffer_length; /* RD1 */
#else
Expand Down

0 comments on commit 5e8e475

Please sign in to comment.