powerpc-specific adjustments to pci-API changes.

This commit is contained in:
Ralf Corsepius
2007-04-01 03:20:09 +00:00
parent 294638bc7a
commit 71cfbb8fb6
3 changed files with 4 additions and 4 deletions

View File

@@ -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
/*

View File

@@ -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

View File

@@ -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;