Changeset de7e68db in rtems


Ignore:
Timestamp:
Dec 15, 2006, 7:31:14 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e281050
Parents:
038e9fb9
Message:

Use ioctl_command_t as arg to ioctl functions.

Location:
c/src/lib/libbsp/powerpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen5200/network_5200/network.c

    r038e9fb9 rde7e68db  
    15561556 * Driver ioctl handler
    15571557 */
    1558 static int mpc5200_fec_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
     1558static int mpc5200_fec_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
    15591559  {
    15601560  struct mpc5200_enet_struct *sc = ifp->if_softc;
  • c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c

    r038e9fb9 rde7e68db  
    851851 */
    852852static int
    853 scc_ioctl (struct ifnet *ifp, int command, caddr_t data)
     853scc_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
    854854{
    855855  struct m8260_hdlc_struct *sc = ifp->if_softc;
  • c/src/lib/libbsp/powerpc/mvme5500/network/GT64260eth.c

    r038e9fb9 rde7e68db  
    127127#define ET_MINLEN 64            /* minimum message length */
    128128
    129 static int GTeth_ifioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
     129static int GTeth_ifioctl(struct ifnet *ifp, ioctl_command_t cmd, caddr_t data);
    130130static void GTeth_ifstart (struct ifnet *);
    131131static void GTeth_ifchange(struct GTeth_softc *sc);
     
    545545}
    546546
    547 static int GTeth_ifioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
     547static int GTeth_ifioctl(struct ifnet *ifp, ioctl_command_t cmd, caddr_t data)
    548548{
    549549  struct GTeth_softc *sc = ifp->if_softc;
Note: See TracChangeset for help on using the changeset viewer.