Use ioctl_command_t as ioctl argument.

This commit is contained in:
Ralf Corsepius
2006-12-14 07:24:39 +00:00
parent 0efdeff2a4
commit bd20bc8a12
2 changed files with 3 additions and 3 deletions

View File

@@ -804,7 +804,7 @@ dec21140_stats (struct dec21140_softc *sc)
* Driver ioctl handler
*/
static int
dec21140_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
dec21140_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
{
struct dec21140_softc *sc = ifp->if_softc;
int error = 0;

View File

@@ -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, u_long command,
static int fxp_ioctl(struct ifnet *ifp, ioctl_command_t command,
caddr_t data);
static void fxp_watchdog(struct ifnet *ifp);
static int fxp_add_rfabuf(struct fxp_softc *sc, struct mbuf *oldm);
@@ -2085,7 +2085,7 @@ fxp_miibus_writereg(device_t dev, int phy, int reg, int value)
#endif
static int
fxp_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
fxp_ioctl(struct ifnet *ifp, ioctl_command_t command, caddr_t data)
{
struct fxp_softc *sc = ifp->if_softc;
#ifdef NOTUSED