Changeset a612b50 in rtems


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.
Location:
c/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    rb3ee778e ra612b50  
     12006-09-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libchip/network/cs8900.c, libchip/network/greth.c,
     4        libchip/network/i82586.c, libchip/network/open_eth.c,
     5        libchip/network/sonic.c: Remove warnings -- use uintptr_t, properly
     6        sized integers, and inttypes.h printf helpers.
     7
    182006-08-09      Kolja Waschk <waschk@telos.de>
    29
  • c/src/libchip/network/cs8900.c

    rb3ee778e ra612b50  
    10801080
    10811081static int
    1082 cs8900_ioctl (struct ifnet *ifp, u_long cmd, caddr_t data)
     1082cs8900_ioctl (struct ifnet *ifp, ioctl_command_t cmd, caddr_t data)
    10831083{
    10841084  cs8900_device *cs = ifp->if_softc;
  • 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;
  • c/src/libchip/network/i82586.c

    rb3ee778e ra612b50  
    183183void i82586_watchdog (struct ifnet *);
    184184void i82586_init (void *);
    185 int  i82586_ioctl (struct ifnet *, u_long cmd, caddr_t data);
     185int  i82586_ioctl (struct ifnet *, ioctl_command_t cmd, caddr_t data);
    186186void i82586_start (struct ifnet *);
    187187
     
    19531953
    19541954int
    1955 i82586_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
     1955i82586_ioctl(struct ifnet *ifp, ioctl_command_t cmd, caddr_t data)
    19561956{
    19571957  struct ie_softc *sc  = ifp->if_softc;
  • c/src/libchip/network/open_eth.c

    rb3ee778e ra612b50  
    5555#undef free
    5656#endif
     57
     58extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
    5759
    5860 /*
     
    631633 */
    632634static int
    633 open_eth_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
     635open_eth_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
    634636{
    635637    struct open_eth_softc *sc = ifp->if_softc;
  • c/src/libchip/network/sonic.c

    rb3ee778e ra612b50  
    14781478 */
    14791479static int
    1480 sonic_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
     1480sonic_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_t data)
    14811481{
    14821482  struct sonic_softc *sc = ifp->if_softc;
Note: See TracChangeset for help on using the changeset viewer.