diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2008-01-18 15:30:09 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-25 06:52:51 -0500 |
commit | 034e0ab54bfe57bc980452f991d3ab443f1b085a (patch) | |
tree | a58c442aafab2bd29eb00d58b23fc919b77e7e28 /drivers/net/ps3_gelic_net.c | |
parent | cda563fb9ca2c26ff720110b25e96205b71d3bae (diff) |
[POWERPC] PS3: Make bus_id and dev_id u64
Change the PS3 bus_id and dev_id from type unsigned int to u64. These
IDs are 64-bit in the repository, and the special storage notification
device has a device ID of ULONG_MAX.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r-- | drivers/net/ps3_gelic_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 0a42bf517465..055af081e027 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c | |||
@@ -58,11 +58,11 @@ static inline struct device *ctodev(struct gelic_net_card *card) | |||
58 | { | 58 | { |
59 | return &card->dev->core; | 59 | return &card->dev->core; |
60 | } | 60 | } |
61 | static inline unsigned int bus_id(struct gelic_net_card *card) | 61 | static inline u64 bus_id(struct gelic_net_card *card) |
62 | { | 62 | { |
63 | return card->dev->bus_id; | 63 | return card->dev->bus_id; |
64 | } | 64 | } |
65 | static inline unsigned int dev_id(struct gelic_net_card *card) | 65 | static inline u64 dev_id(struct gelic_net_card *card) |
66 | { | 66 | { |
67 | return card->dev->dev_id; | 67 | return card->dev->dev_id; |
68 | } | 68 | } |