forked from Imagelibrary/rtems
2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c, libchip/network/if_dc.c, libchip/network/if_fxp.c: Reflect changes to pci-API.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libchip/network/dec21140.c, libchip/network/if_dc.c,
|
||||
libchip/network/if_fxp.c: Reflect changes to pci-API.
|
||||
|
||||
2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libchip/network/elnk.c: Use ioctl_command_t as ioctl argument.
|
||||
|
||||
@@ -881,7 +881,7 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
|
||||
int mtu;
|
||||
unsigned char cvalue;
|
||||
#if defined(__i386__)
|
||||
unsigned int value;
|
||||
uint32_t value;
|
||||
unsigned char interrupt;
|
||||
#endif
|
||||
int pbus, pdev, pfun;
|
||||
|
||||
@@ -1604,7 +1604,7 @@ static
|
||||
struct dc_type *dc_devtype( int unitnum )
|
||||
{
|
||||
struct dc_type *t;
|
||||
u_int32_t rev;
|
||||
uint32_t rev;
|
||||
int rc;
|
||||
|
||||
|
||||
@@ -1908,13 +1908,13 @@ rtems_dc_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
|
||||
char *unitName;
|
||||
int unitNumber;
|
||||
|
||||
u_int32_t command;
|
||||
uint32_t command;
|
||||
struct dc_softc *sc;
|
||||
struct ifnet *ifp;
|
||||
struct dc_type *t;
|
||||
u_int32_t revision;
|
||||
int error = 0, mac_offset;
|
||||
unsigned int value;
|
||||
uint32_t value;
|
||||
|
||||
/*
|
||||
* Get the instance number for the board we're going to configure
|
||||
|
||||
@@ -401,9 +401,9 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
|
||||
int error = 0;
|
||||
struct fxp_softc *sc;
|
||||
struct ifnet *ifp;
|
||||
u_int16_t val16;
|
||||
u_int32_t val32;
|
||||
u_int16_t data;
|
||||
uint16_t val16;
|
||||
uint32_t val32;
|
||||
uint16_t data;
|
||||
int i;
|
||||
int s;
|
||||
int unitNumber;
|
||||
|
||||
Reference in New Issue
Block a user