mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
Use ioctl_command_t as ioctl argument.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user