Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105580
b: refs/heads/master
c: 6f75a9b
h: refs/heads/master
v: v3
  • Loading branch information
Chas Williams authored and David S. Miller committed Jul 24, 2008
1 parent a0b49f1 commit 343e1c5
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 70eed75d76635ba7350651b9bd96529a306ec67a
refs/heads/master: 6f75a9b6426e686649ac440c37ec7c249501f9a5
15 changes: 12 additions & 3 deletions trunk/drivers/atm/fore200e.c
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,8 @@ fore200e_load_and_start_fw(struct fore200e* fore200e)
const struct firmware *firmware;
struct device *device;
struct fw_header *fw_header;
u32 *fw_data, fw_size;
const __le32 *fw_data;
u32 fw_size;
u32 __iomem *load_addr;
char buf[48];
int err = -ENODEV;
Expand All @@ -2582,7 +2583,7 @@ fore200e_load_and_start_fw(struct fore200e* fore200e)
return err;
}

fw_data = (u32 *) firmware->data;
fw_data = (__le32 *) firmware->data;
fw_size = firmware->size / sizeof(u32);
fw_header = (struct fw_header *) firmware->data;
load_addr = fore200e->virt_base + le32_to_cpu(fw_header->load_offset);
Expand Down Expand Up @@ -3199,6 +3200,14 @@ static const struct fore200e_bus fore200e_bus[] = {
{}
};

#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL");
#ifdef CONFIG_PCI
#ifdef __LITTLE_ENDIAN__
MODULE_FIRMWARE("pca200e.bin");
#else
MODULE_FIRMWARE("pca200e_ecd.bin2");
#endif
#endif /* CONFIG_PCI */
#ifdef CONFIG_SBUS
MODULE_FIRMWARE("sba200e_ecd.bin2");
#endif

0 comments on commit 343e1c5

Please sign in to comment.