2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>

* network/network.c (au1x00_emac_ioctl): Use ioctl_command_t.
This commit is contained in:
Ralf Corsepius
2009-12-11 07:03:06 +00:00
parent a93d5c743f
commit 20b9e9d98c
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/network.c (au1x00_emac_ioctl): Use ioctl_command_t.
2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Remove nested externs.

View File

@@ -146,7 +146,7 @@ void au1x00_emac_tx_daemon (void *arg);
void au1x00_emac_rx_daemon (void *arg);
void au1x00_emac_sendpacket (struct ifnet *ifp, struct mbuf *m);
void au1x00_emac_stats (au1x00_emac_softc_t *sc);
static int au1x00_emac_ioctl (struct ifnet *ifp, int command, caddr_t data);
static int au1x00_emac_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data);
static void mii_write(au1x00_emac_softc_t *sc, uint8_t reg, uint16_t val);
static void mii_read(au1x00_emac_softc_t *sc, uint8_t reg, uint16_t *val);
static void mii_init(au1x00_emac_softc_t *sc);
@@ -780,7 +780,7 @@ void au1x00_emac_stats (au1x00_emac_softc_t *sc)
/* Driver ioctl handler */
static int
au1x00_emac_ioctl (struct ifnet *ifp, int command, caddr_t data)
au1x00_emac_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
{
au1x00_emac_softc_t *sc = ifp->if_softc;
int error = 0;