Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42189
b: refs/heads/master
c: bfaadca
h: refs/heads/master
i:
  42187: 2ce4a57
v: v3
  • Loading branch information
s.hauer@pengutronix.de authored and Paul Mackerras committed Nov 13, 2006
1 parent a2dd375 commit f092546
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 74a9d5f1d140adbeadd5ef319f162903090c3b83
refs/heads/master: bfaadcadc9549c7e296e37a0cfe306704e8df739
8 changes: 4 additions & 4 deletions trunk/drivers/net/tulip/de4x5.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@
#include <asm/byteorder.h>
#include <asm/unaligned.h>
#include <asm/uaccess.h>
#ifdef CONFIG_PPC_MULTIPLATFORM
#ifdef CONFIG_PPC_PMAC
#include <asm/machdep.h>
#endif /* CONFIG_PPC_MULTIPLATFORM */
#endif /* CONFIG_PPC_PMAC */

#include "de4x5.h"

Expand Down Expand Up @@ -4151,7 +4151,7 @@ get_hw_addr(struct net_device *dev)
/* If possible, try to fix a broken card - SMC only so far */
srom_repair(dev, broken);

#ifdef CONFIG_PPC_MULTIPLATFORM
#ifdef CONFIG_PPC_PMAC
/*
** If the address starts with 00 a0, we have to bit-reverse
** each byte of the address.
Expand All @@ -4168,7 +4168,7 @@ get_hw_addr(struct net_device *dev)
dev->dev_addr[i] = ((x & 0x55) << 1) + ((x & 0xaa) >> 1);
}
}
#endif /* CONFIG_PPC_MULTIPLATFORM */
#endif /* CONFIG_PPC_PMAC */

/* Test for a bad enet address */
status = test_bad_enet(dev, status);
Expand Down

0 comments on commit f092546

Please sign in to comment.