Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266412
b: refs/heads/master
c: 3235de1
h: refs/heads/master
v: v3
  • Loading branch information
françois romieu authored and David S. Miller committed Oct 3, 2011
1 parent d2d2543 commit a06b9c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 26c5c44d63824f7c397d27b10c2c43a3bab4a2f0
refs/heads/master: 3235de1684ae88e5e380de254a2a674dcd558acc
8 changes: 1 addition & 7 deletions trunk/drivers/net/ethernet/realtek/sc92031.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/crc32.h>

#include <asm/irq.h>
Expand Down Expand Up @@ -116,16 +117,9 @@ enum silan_registers {
TestD8 = 0xD8,
};

#define MII_BMCR 0 // Basic mode control register
#define MII_BMSR 1 // Basic mode status register
#define MII_JAB 16
#define MII_OutputStatus 24

#define BMCR_FULLDPLX 0x0100 // Full duplex
#define BMCR_ANRESTART 0x0200 // Auto negotiation restart
#define BMCR_ANENABLE 0x1000 // Enable auto negotiation
#define BMCR_SPEED100 0x2000 // Select 100Mbps
#define BMSR_LSTATUS 0x0004 // Link status
#define PHY_16_JAB_ENB 0x1000
#define PHY_16_PORT_ENB 0x1

Expand Down

0 comments on commit a06b9c9

Please sign in to comment.