Use ioctl_command_t as arg in ioctl-functions.

This commit is contained in:
Ralf Corsepius
2006-12-15 06:00:03 +00:00
parent 18c0e30540
commit ff73cf634a
8 changed files with 8 additions and 8 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;