forked from Imagelibrary/rtems
powerpc-specific adjustments to pci-API changes.
This commit is contained in:
@@ -886,8 +886,8 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
|
||||
#endif
|
||||
int pbus, pdev, pfun;
|
||||
#if defined(__PPC__)
|
||||
int tmp;
|
||||
unsigned int lvalue;
|
||||
int tmp;
|
||||
uint32_t lvalue;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -3129,7 +3129,7 @@ rtems_elnk_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
|
||||
unsigned char interrupt;
|
||||
#endif
|
||||
#if defined(__PPC__)
|
||||
unsigned int lvalue;
|
||||
uint32_t lvalue;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1912,7 +1912,7 @@ rtems_dc_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
|
||||
struct dc_softc *sc;
|
||||
struct ifnet *ifp;
|
||||
struct dc_type *t;
|
||||
u_int32_t revision;
|
||||
uint32_t revision;
|
||||
int error = 0, mac_offset;
|
||||
uint32_t value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user