Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6593
b: refs/heads/master
c: 3cec93c
h: refs/heads/master
i:
  6591: 06b61a0
v: v3
  • Loading branch information
Francois Romieu authored and Jeff Garzik committed Jul 30, 2005
1 parent c7f9b79 commit 272a7c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 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: bcad5e537840ef6fa28b2f1e126fefb4c39a7248
refs/heads/master: 3cec93c7124c3037dbff826d6c08e9758a301cd7
18 changes: 9 additions & 9 deletions trunk/drivers/net/sis190.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,17 @@ enum sis190_register_content {
};

struct TxDesc {
u32 PSize;
u32 status;
u32 addr;
u32 size;
__le32 PSize;
__le32 status;
__le32 addr;
__le32 size;
};

struct RxDesc {
u32 PSize;
u32 status;
u32 addr;
u32 size;
__le32 PSize;
__le32 status;
__le32 addr;
__le32 size;
};

enum _DescStatusBit {
Expand Down Expand Up @@ -1322,7 +1322,7 @@ static int __devinit sis190_get_mac_addr_from_eeprom(struct pci_dev *pdev,

/* Get MAC address from EEPROM */
for (i = 0; i < MAC_ADDR_LEN / 2; i++) {
u16 w = sis190_read_eeprom(ioaddr, EEPROMMACAddr + i);
__le16 w = sis190_read_eeprom(ioaddr, EEPROMMACAddr + i);

((u16 *)dev->dev_addr)[0] = le16_to_cpu(w);
}
Expand Down

0 comments on commit 272a7c9

Please sign in to comment.