mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
net: Use phys_addr_t for SMC net device addresses
Use same type as eth_device->iobase and support addresses greater than INT_MAX. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
806734f41b
commit
b8da46fda6
3 changed files with 4 additions and 4 deletions
|
@ -1269,7 +1269,7 @@ static void print_packet( byte * buf, int length )
|
|||
}
|
||||
#endif
|
||||
|
||||
int smc91111_initialize(u8 dev_num, int base_addr)
|
||||
int smc91111_initialize(u8 dev_num, phys_addr_t base_addr)
|
||||
{
|
||||
struct smc91111_priv *priv;
|
||||
struct eth_device *dev;
|
||||
|
|
|
@ -478,7 +478,7 @@ static int smc911x_recv(struct eth_device *dev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int smc911x_initialize(u8 dev_num, int base_addr)
|
||||
int smc911x_initialize(u8 dev_num, phys_addr_t base_addr)
|
||||
{
|
||||
struct smc911x_priv *priv;
|
||||
int ret;
|
||||
|
|
|
@ -70,8 +70,8 @@ int rtl8169_initialize(struct bd_info *bis);
|
|||
int scc_initialize(struct bd_info *bis);
|
||||
int sh_eth_initialize(struct bd_info *bis);
|
||||
int skge_initialize(struct bd_info *bis);
|
||||
int smc91111_initialize(u8 dev_num, int base_addr);
|
||||
int smc911x_initialize(u8 dev_num, int base_addr);
|
||||
int smc91111_initialize(u8 dev_num, phys_addr_t base_addr);
|
||||
int smc911x_initialize(u8 dev_num, phys_addr_t base_addr);
|
||||
int uec_standard_init(struct bd_info *bis);
|
||||
int uli526x_initialize(struct bd_info *bis);
|
||||
int armada100_fec_register(unsigned long base_addr);
|
||||
|
|
Loading…
Reference in a new issue