forked from Imagelibrary/rtems
Use ioctl_command_t.
This commit is contained in:
@@ -103,7 +103,7 @@ void mc9328mxl_enet_sendpacket (struct ifnet *ifp, struct mbuf *m);
|
||||
void mc9328mxl_enet_rx_task(void *arg);
|
||||
void mc9328mxl_enet_stats(mc9328mxl_enet_softc_t *sc);
|
||||
static int mc9328mxl_enet_ioctl(struct ifnet *ifp,
|
||||
unsigned long command, caddr_t data);
|
||||
ioctl_command_t command, caddr_t data);
|
||||
|
||||
|
||||
int rtems_mc9328mxl_enet_attach (
|
||||
@@ -632,7 +632,7 @@ static int enet_isr_is_on(const rtems_irq_connect_data *irq)
|
||||
|
||||
/* Driver ioctl handler */
|
||||
static int
|
||||
mc9328mxl_enet_ioctl (struct ifnet *ifp, unsigned long command, caddr_t data)
|
||||
mc9328mxl_enet_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
mc9328mxl_enet_softc_t *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -167,7 +167,7 @@ void at91rm9200_emac_sendpacket (struct ifnet *ifp, struct mbuf *m);
|
||||
void at91rm9200_emac_rxDaemon(void *arg);
|
||||
void at91rm9200_emac_stats (at91rm9200_emac_softc_t *sc);
|
||||
static int at91rm9200_emac_ioctl (struct ifnet *ifp,
|
||||
int command,
|
||||
ioctl_command_t command,
|
||||
caddr_t data);
|
||||
|
||||
|
||||
@@ -622,7 +622,7 @@ static int at91rm9200_emac_isr_is_on(const rtems_irq_connect_data *irq)
|
||||
|
||||
/* Driver ioctl handler */
|
||||
static int
|
||||
at91rm9200_emac_ioctl (struct ifnet *ifp, int command, caddr_t data)
|
||||
at91rm9200_emac_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
at91rm9200_emac_softc_t *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
@@ -111,7 +111,7 @@ void uti596_init (void * );
|
||||
int uti596initRxBufs (int num);
|
||||
int uti596_initRFA (int num);
|
||||
int uti596initRxBufs (int num);
|
||||
static int uti596_ioctl (struct ifnet *, u_long, caddr_t);
|
||||
static int uti596_ioctl (struct ifnet *, ioctl_command_t, caddr_t);
|
||||
rtems_isr uti596DynamicInterruptHandler (rtems_vector_number);
|
||||
|
||||
void uti596_txDaemon (void *);
|
||||
@@ -2462,7 +2462,7 @@ void uti596_stop(struct uti596_softc *sc)
|
||||
}
|
||||
|
||||
static int
|
||||
uti596_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
|
||||
uti596_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
|
||||
{
|
||||
struct uti596_softc *sc = ifp->if_softc;
|
||||
int error = 0;
|
||||
|
||||
Reference in New Issue
Block a user