forked from Imagelibrary/rtems
2005-05-03 Jennifer Averett <jennifer.averett@oarcorp.com>
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/serial/mc68681.c: Modified parameter list to remove warnings.
This commit is contained in:
@@ -925,7 +925,7 @@ dec21140_stats (struct dec21140_softc *sc)
|
||||
* Driver ioctl handler
|
||||
*/
|
||||
static int
|
||||
dec21140_ioctl (struct ifnet *ifp, int command, caddr_t data)
|
||||
dec21140_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
|
||||
{
|
||||
struct dec21140_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -3037,7 +3037,7 @@ elnk_stats (struct elnk_softc *sc)
|
||||
* Driver ioctl handler
|
||||
*/
|
||||
static int
|
||||
elnk_ioctl (struct ifnet *ifp, int command, caddr_t data)
|
||||
elnk_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
|
||||
{
|
||||
struct elnk_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -228,7 +228,7 @@ static void fxp_tick(void *xsc);
|
||||
static void fxp_start(struct ifnet *ifp);
|
||||
static void fxp_stop(struct fxp_softc *sc);
|
||||
static void fxp_release(struct fxp_softc *sc);
|
||||
static int fxp_ioctl(struct ifnet *ifp, int command,
|
||||
static int fxp_ioctl(struct ifnet *ifp, u_long command,
|
||||
caddr_t data);
|
||||
static void fxp_watchdog(struct ifnet *ifp);
|
||||
static int fxp_add_rfabuf(struct fxp_softc *sc, struct mbuf *oldm);
|
||||
@@ -2095,7 +2095,7 @@ fxp_miibus_writereg(device_t dev, int phy, int reg, int value)
|
||||
#endif
|
||||
|
||||
static int
|
||||
fxp_ioctl(struct ifnet *ifp, int command, caddr_t data)
|
||||
fxp_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
||||
{
|
||||
struct fxp_softc *sc = ifp->if_softc;
|
||||
#ifdef NOTUSED
|
||||
|
||||
@@ -278,7 +278,7 @@ MC68681_STATIC int mc68681_open(
|
||||
unsigned int baud;
|
||||
unsigned int acr_bit;
|
||||
unsigned int vector;
|
||||
unsigned int command;
|
||||
unsigned int command = 0;
|
||||
rtems_interrupt_level Irql;
|
||||
setRegister_f setReg;
|
||||
unsigned int status;
|
||||
|
||||
Reference in New Issue
Block a user