Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162512
b: refs/heads/master
c: 576b38e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 21db1de commit 1fe5713
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 25 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: 9fa81099210076a0269d1ef774d2e1f3c04de6e0
refs/heads/master: 576b38e0cd5ab57af1c84312b0b14d77090dbeda
19 changes: 0 additions & 19 deletions trunk/drivers/staging/et131x/et1310_jagcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@
#define INTERNAL_MEM_SIZE 0x400 /* 1024 of internal memory */
#define INTERNAL_MEM_RX_OFFSET 0x1FF /* 50% Tx, 50% Rx */

#define REGS_MAX_ARRAY 4096

/*
* For interrupts, normal running is:
* rxdma_xfr_done, phy_interrupt, mac_stat_interrupt,
Expand All @@ -85,23 +83,6 @@
#define INT_MASK_ENABLE 0xfffebf17
#define INT_MASK_ENABLE_NO_FLOW 0xfffebfd7

/* DATA STRUCTURES FOR DIRECT REGISTER ACCESS */

typedef struct {
u8 bReadWrite;
u32 nRegCount;
u32 nData[REGS_MAX_ARRAY];
u32 nOffsets[REGS_MAX_ARRAY];
} JAGCORE_ACCESS_REGS, *PJAGCORE_ACCESS_REGS;

typedef struct {
u8 bReadWrite;
u32 nDataWidth;
u32 nRegCount;
u32 nOffsets[REGS_MAX_ARRAY];
u32 nData[REGS_MAX_ARRAY];
} PCI_CFG_SPACE_REGS, *PPCI_CFG_SPACE_REGS;

/* Forward declaration of the private adapter structure */
struct et131x_adapter;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/et131x/et1310_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
}

etdev->linkspeed = 0;
etdev->duplexMode = 0;
etdev->duplex_mode = 0;

/* Free the packets being actively sent & stopped */
et131x_free_busy_send_packets(etdev);
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,6 @@ struct et131x_adapter {
/* Rx Memory Variables */
RX_RING_t RxRing;

/* ET1310 register Access */
JAGCORE_ACCESS_REGS JagCoreRegs;
PCI_CFG_SPACE_REGS PciCfgRegs;

/* Loopback specifics */
u8 ReplicaPhyLoopbk; /* Replica Enable */
u8 ReplicaPhyLoopbkPF; /* Replica Enable Pass/Fail */
Expand Down

0 comments on commit 1fe5713

Please sign in to comment.