Changeset bbb71a15 in rtems


Ignore:
Timestamp:
Nov 1, 2002, 9:54:20 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3d1c0aa
Parents:
52a2cd91
Message:

2002-11-01 Joel Sherrill <joel@…>

  • canbus/canbus.c, clock/p_clock.c, console/console.c, network/network.c, startup/bspstart.c: Removed warnings.
Location:
c/src/lib/libbsp/powerpc/eth_comm
Files:
6 edited

Legend:

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

    r52a2cd91 rbbb71a15  
     12002-11-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * canbus/canbus.c, clock/p_clock.c, console/console.c,
     4        network/network.c, startup/bspstart.c: Removed warnings.
     5
    162002-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libbsp/powerpc/eth_comm/canbus/canbus.c

    r52a2cd91 rbbb71a15  
    110110{
    111111  int i,j;
     112#if 0
    112113  char dev_str[16]; /* This allows us to have a device name up to */
    113114                    /* 15 chars long. If we only use names like   */
    114115                    /* /dev/can0 (9 chars) we will be fine up to  */
    115116                    /* /dev/can9999999 */
     117#endif
    116118  rtems_status_code status;
    117119  rtems_isr_entry old_handler;
     
    312314  case 1: m8xx.simask |= M8xx_SIMASK_IRM4; break;
    313315  case 2: m8xx.simask |= M8xx_SIMASK_IRM2; break;
    314   default: return;
     316  default: return 0xffffffff;
    315317  }
    316318
  • c/src/lib/libbsp/powerpc/eth_comm/clock/p_clock.c

    r52a2cd91 rbbb71a15  
    1717#include <bsp.h>
    1818#include <bsp/irq.h>
     19#include <rtems/bspIo.h>
    1920
    2021extern void clockOn(void*);
  • c/src/lib/libbsp/powerpc/eth_comm/console/console.c

    r52a2cd91 rbbb71a15  
    3232#include <termios.h>
    3333#include <rtems/bspIo.h>
     34
     35extern void rtems_panic(char *,int);
    3436
    3537static void _BSP_null_char( char c ) {return;}
     
    125127    break;
    126128  default:
    127     rtems_panic ("CONSOLE: bad minor number");
     129    rtems_panic ("CONSOLE: bad minor number", 0);
    128130  }
    129131
  • c/src/lib/libbsp/powerpc/eth_comm/network/network.c

    r52a2cd91 rbbb71a15  
    3333#include <bsp/irq.h>
    3434
     35extern void rtems_panic(char *,int);
     36
    3537/*
    3638 * Number of interfaces supported by this driver
     
    128130static void  m8xx_scc1_ethernet_isOn(const rtems_irq_connect_data* ptr)
    129131{
    130   return BSP_irq_enabled_at_cpm (ptr->name);
     132  BSP_irq_enabled_at_cpm (ptr->name);
    131133}
    132134
     
    202204  int i;
    203205  unsigned char *hwaddr;
    204   rtems_status_code status;
    205   rtems_isr_entry old_handler;
    206206 
    207207  /*
     
    242242                       M_MBUF, M_NOWAIT);
    243243  if (!sc->rxMbuf || !sc->txMbuf)
    244     rtems_panic ("No memory for mbuf pointers");
     244    rtems_panic ("No memory for mbuf pointers",0);
    245245 
    246246  /*
     
    362362   */
    363363  if (!BSP_install_rtems_irq_handler (&ethernetSCC1IrqData)) {
    364     rtems_panic ("Can't attach M8xx SCC1 interrupt handler\n");
     364    rtems_panic ("Can't attach M8xx SCC1 interrupt handler\n",0);
    365365  }
    366366  m8xx.scc1.sccm = 0;     /* No interrupts unmasked till necessary */
     
    429429  unsigned char *hwaddr;
    430430  rtems_status_code status;
    431   rtems_isr_entry old_handler;
    432431
    433432  /*
     
    495494                       M_MBUF, M_NOWAIT);
    496495  if (!sc->rxMbuf || !sc->txMbuf)
    497     rtems_panic ("No memory for mbuf pointers");
     496    rtems_panic ("No memory for mbuf pointers",0);
    498497 
    499498  /*
     
    572571   */
    573572  if (!BSP_install_rtems_irq_handler (&ethernetFECIrqData))
    574     rtems_panic ("Can't attach M860 FEC interrupt handler\n");
     573    rtems_panic ("Can't attach M860 FEC interrupt handler\n", 0);
    575574
    576575}
     
    16211620rtems_enet_driver_attach (struct rtems_bsdnet_ifconfig *config)
    16221621{
    1623   int i;
    1624 
    16251622  if ((m8xx.fec.mii_data & 0xffff) == 0x2000) {
    16261623/*    rtems_scc1_driver_attach(config);*/
  • c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c

    r52a2cd91 rbbb71a15  
    119119  register unsigned char* intrStack;
    120120  register unsigned int intrNestingLevel = 0;
     121  extern void cpu_init(void);
    121122   
    122123  /*
Note: See TracChangeset for help on using the changeset viewer.