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:
Ralf Corsepius
2007-03-31 01:18:37 +00:00
parent a2bb1dee28
commit ec09d84f4d
4 changed files with 12 additions and 7 deletions

View File

@@ -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> 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/elnk.c: Use ioctl_command_t as ioctl argument. * libchip/network/elnk.c: Use ioctl_command_t as ioctl argument.

View File

@@ -881,7 +881,7 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
int mtu; int mtu;
unsigned char cvalue; unsigned char cvalue;
#if defined(__i386__) #if defined(__i386__)
unsigned int value; uint32_t value;
unsigned char interrupt; unsigned char interrupt;
#endif #endif
int pbus, pdev, pfun; int pbus, pdev, pfun;

View File

@@ -1604,7 +1604,7 @@ static
struct dc_type *dc_devtype( int unitnum ) struct dc_type *dc_devtype( int unitnum )
{ {
struct dc_type *t; struct dc_type *t;
u_int32_t rev; uint32_t rev;
int rc; int rc;
@@ -1908,13 +1908,13 @@ rtems_dc_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
char *unitName; char *unitName;
int unitNumber; int unitNumber;
u_int32_t command; uint32_t command;
struct dc_softc *sc; struct dc_softc *sc;
struct ifnet *ifp; struct ifnet *ifp;
struct dc_type *t; struct dc_type *t;
u_int32_t revision; u_int32_t revision;
int error = 0, mac_offset; int error = 0, mac_offset;
unsigned int value; uint32_t value;
/* /*
* Get the instance number for the board we're going to configure * Get the instance number for the board we're going to configure

View File

@@ -401,9 +401,9 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
int error = 0; int error = 0;
struct fxp_softc *sc; struct fxp_softc *sc;
struct ifnet *ifp; struct ifnet *ifp;
u_int16_t val16; uint16_t val16;
u_int32_t val32; uint32_t val32;
u_int16_t data; uint16_t data;
int i; int i;
int s; int s;
int unitNumber; int unitNumber;