Changeset a612b50 in rtems for c/src/libchip/network/greth.c


Ignore:
Timestamp:
Sep 1, 2006, 3:39:00 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
300c914c
Parents:
b3ee778e
Message:

2006-09-01 Joel Sherrill <joel@…>

  • libchip/network/cs8900.c, libchip/network/greth.c, libchip/network/i82586.c, libchip/network/open_eth.c, libchip/network/sonic.c: Remove warnings -- use uintptr_t, properly sized integers, and inttypes.h printf helpers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/network/greth.c

    rb3ee778e ra612b50  
    4141#undef free
    4242#endif
     43
     44extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
    4345
    4446/*
     
    225227    while (read_mii(0) & 0x8000) {}
    226228    fd = regs->mdio_ctrl >> 24; /*duplex mode*/
    227     printf("greth: driver attached, PHY config : 0x%04x\n", read_mii(0));
     229    printf(
     230      "greth: driver attached, PHY config: 0x%04" PRIx32 "\n", read_mii(0));
    228231
    229232    /* Initialize rx/tx descriptor pointers */
     
    561564 */
    562565static int
    563 greth_ioctl (struct ifnet *ifp, int command, caddr_t data)
     566greth_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
    564567{
    565568    struct greth_softc *sc = ifp->if_softc;
Note: See TracChangeset for help on using the changeset viewer.