forked from Imagelibrary/rtems
Use ioctl_command_t as arg in ioctl-functions.
This commit is contained in:
@@ -679,7 +679,7 @@ static void _3c509_stats (struct ep_softc *sc)
|
||||
* RETURNS:
|
||||
*
|
||||
**********************************************************************************/
|
||||
static int _3c509_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
|
||||
static int _3c509_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct ep_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -1074,7 +1074,7 @@ ne_stats (struct ne_softc *sc)
|
||||
/* NE2000 driver ioctl handler. */
|
||||
|
||||
static int
|
||||
ne_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
|
||||
ne_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct ne_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -523,7 +523,7 @@ wd_stats (struct wd_softc *sc)
|
||||
* Driver ioctl handler
|
||||
*/
|
||||
static int
|
||||
wd_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
|
||||
wd_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct wd_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -883,7 +883,7 @@ ne_stats (struct ne_softc *sc)
|
||||
/* NE2000 driver ioctl handler. */
|
||||
|
||||
static int
|
||||
ne_ioctl (struct ifnet *ifp, int command, caddr_t data)
|
||||
ne_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct ne_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -774,7 +774,7 @@ enet_stats(struct mcf5282_enet_struct *sc)
|
||||
}
|
||||
|
||||
static int
|
||||
fec_ioctl(struct ifnet *ifp, int command, caddr_t data)
|
||||
fec_ioctl(struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct mcf5282_enet_struct *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -845,7 +845,7 @@ scc_stats (struct scc_softc *sc)
|
||||
* Driver ioctl handler
|
||||
*/
|
||||
static int
|
||||
scc_ioctl (struct ifnet *ifp, int command, caddr_t data)
|
||||
scc_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
|
||||
struct scc_softc *sc = ifp->if_softc;
|
||||
|
||||
@@ -893,7 +893,7 @@ scc_stats (struct scc_softc *sc)
|
||||
* Driver ioctl handler
|
||||
*/
|
||||
static int
|
||||
scc_ioctl (struct ifnet *ifp, int command, caddr_t data)
|
||||
scc_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct scc_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -725,7 +725,7 @@ enet_stats(struct mcf5235_enet_struct *sc)
|
||||
}
|
||||
|
||||
static int
|
||||
fec_ioctl(struct ifnet *ifp, int command, caddr_t data)
|
||||
fec_ioctl(struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct mcf5235_enet_struct *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
Reference in New Issue
Block a user