Changeset 07e76b9b in rtems


Ignore:
Timestamp:
Sep 14, 2007, 3:14:36 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
28e56ede
Parents:
24af51c5
Message:

2007-09-14 Joel Sherrill <joel.sherrill@…>

  • network/if_1GHz/if_wm.c, network/if_1GHz/pci_map.c: Remove a few warnings.
Location:
c/src/lib/libbsp/powerpc/mvme5500
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    r24af51c5 r07e76b9b  
     12007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * network/if_1GHz/if_wm.c, network/if_1GHz/pci_map.c: Remove a few
     4        warnings.
     5
    162007-09-07      Kate Feng <feng1@bnl.gov>
    27
  • c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c

    r24af51c5 r07e76b9b  
    261261  }
    262262}
    263 static int ifwm_macaddr(char *hwaddr)
    264 {
    265   hwaddr[0] = 0x00;
    266   hwaddr[1] = 0x01;
    267   hwaddr[2] = 0xaf;
    268   hwaddr[3] = 0x0b;
    269   hwaddr[4] = 0xb4;
    270   hwaddr[5] = 0x75;
    271 
    272   return 0;
    273 }
    274263
    275264static int i82544EI_irq_is_on(const rtems_irq_connect_data *irq)
     
    292281  uint8_t enaddr[ETHER_ADDR_LEN];
    293282  uint16_t myea[ETHER_ADDR_LEN / 2], cfg1, cfg2, swdpin;
    294   unsigned reg, preg;
     283  unsigned reg;
    295284  int b,d,f; /* PCI bus/device/function */
    296   int unit, pmreg;
     285  int unit;
    297286  void     *softc_mem;
    298287  char     *name;
     
    504493{
    505494  struct wm_softc *sc = ifp->if_softc;
    506   int error;
     495  int error=0;
    507496
    508497  switch (cmd) {
     
    14791468  struct mbuf   *m=0;
    14801469  struct ifnet  *ifp=&sc->arpcom.ac_if;
    1481   int i;
    14821470
    14831471#ifdef WM_DEBUG
  • c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/pci_map.c

    r24af51c5 r07e76b9b  
    6767{
    6868  uint32_t address, mask;
    69   int s;
    7069
    7170  if (reg < PCI_MAPREG_START ||
Note: See TracChangeset for help on using the changeset viewer.