Ignore:
Timestamp:
Apr 21, 2004, 4:01:48 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7dd6e8d
Parents:
6128a4a
Message:

Remove duplicate white lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mvme167/network/network.c

    r6128a4a rf05b2ac  
    5050#define NIC_RESET_EVENT         RTEMS_EVENT_3
    5151
    52 
    5352#include <bsp.h>
    5453#include <stdio.h>
     
    120119  0x3f    /* Byte 13: no multi IA, backoff enabled */
    121120};
    122 
    123121
    124122/* Local Routines */
     
    156154static void send_packet ( struct ifnet *, struct mbuf * );
    157155
    158 
    159156/* Required RTEMS network driver functions and tasks (plus reset daemon) */
    160157
     
    179176#endif
    180177
    181 
    182 
    183178/*
    184179 *  word_swap
     
    200195  return (((val >> 16)&(0x0000ffff)) | ((val << 16)&(0xffff0000)));
    201196}
    202 
    203197
    204198/*
     
    237231}
    238232
    239 
    240233/*
    241234 *  uti596_scp_alloc
     
    274267}
    275268
    276 
    277269/*
    278270 *  uti596_writePortFunction
     
    299291}
    300292
    301 
    302293/*
    303294 *  uti596_portReset
     
    315306  uti596_writePortFunction( NULL, UTI596_RESET_PORT_FUNCTION );
    316307}
    317 
    318308
    319309/* currently unused by RTEMS */
     
    371361#endif
    372362
    373 
    374363/* currently unused by RTEMS */
    375364#if 0
     
    423412}
    424413#endif
    425 
    426414
    427415/*
     
    458446    case UTI596_NO_WAIT:
    459447      return 0;
    460 
    461448
    462449    case UTI596_WAIT_FOR_CU_ACCEPT:
     
    522509}
    523510
    524 
    525511/*
    526512 *  uti596_issueCA
     
    551537}
    552538
    553 
    554539/*
    555540 *  uti596_addCmd
     
    605590}
    606591
    607 
    608592/*
    609593 *  uti596_addPolledCmd
     
    649633}
    650634
    651 
    652635/* currently unused by RTEMS */
    653636#if 0
     
    678661}
    679662#endif
    680 
    681663
    682664/*
     
    708690}
    709691
    710 
    711692/*
    712693 *  uti596_setScpAndScb
     
    740721  return ( uti596_issueCA ( sc, UTI596_WAIT_FOR_INITIALIZATION ) );
    741722}
    742 
    743723
    744724/*
     
    769749}
    770750
    771 
    772751/*
    773752 *  uti596_configure
     
    797776}
    798777
    799 
    800778/*
    801779 *  uti596_IAsetup
     
    829807  return ( uti596_wait ( sc, UTI596_WAIT_FOR_STAT_C ) );
    830808}
    831 
    832809
    833810/*
     
    877854  return 0;
    878855}
    879 
    880856
    881857/*
     
    962938}
    963939
    964 
    965940/*
    966941 *  uti596_initMem
     
    10751050  sc->scb.command = 0;
    10761051}
    1077 
    10781052
    10791053/*
     
    11261100}
    11271101
    1128 
    11291102/*
    11301103 *  uti596_reset_hardware
     
    11761149}
    11771150
    1178 
    11791151/*
    11801152 *  uti596_clearListStatus
     
    11981170  }
    11991171}
    1200 
    12011172
    12021173/*
     
    12421213  sc->pCmdHead = sc->pCmdTail = sc->scb.pCmd = I596_NULL;
    12431214
    1244 
    12451215  /* restore the RFA */
    12461216
     
    12781248        #endif
    12791249}
    1280 
    12811250
    12821251/*
     
    13191288  return pRfd;
    13201289}
    1321 
    13221290
    13231291/*
     
    13671335  }
    13681336}
    1369 
    13701337
    13711338/*
     
    15041471}
    15051472
    1506 
    15071473/*
    15081474 *  send_packet
     
    16461612}
    16471613
    1648 
    16491614/***********************************************************************
    16501615 *  Function:   uti596_attach
     
    19341899  i82596->chan_attn = 0x00000000;
    19351900}
    1936 
    1937 
    19381901
    19391902/***********************************************************************
     
    21252088}
    21262089
    2127 
    21282090/***********************************************************************
    21292091 *  Function:   void uti596_resetDaemon
     
    21582120  }
    21592121}
    2160 
    21612122
    21622123/***********************************************************************
     
    22092170    uti596_softc.nic_reset = 1;
    22102171  }
    2211 
    22122172
    22132173  if ( (scbStatus & SCB_STAT_CX) && !(scbStatus & SCB_STAT_CNA) ) {
     
    23252285    }
    23262286  } /* end if ( scbStatus & SCB_STAT_FR ) */
    2327 
    23282287
    23292288 /*
     
    24742433    }
    24752434  }  /* end if command complete */
    2476 
    24772435
    24782436 /*
     
    26082566  count_rx=0;
    26092567
    2610 
    26112568 /* Do this last, to ensure that the reset is called at the right time. */
    26122569  if ( uti596_softc.nic_reset ) {
     
    26182575  return;
    26192576}
    2620 
    26212577
    26222578/***********************************************************************
     
    26882644  return error;
    26892645}
    2690 
    26912646
    26922647/***********************************************************************
     
    27402695}
    27412696
    2742 
    2743 
    2744 
    27452697/************************ PACKET DEBUG ROUTINES ************************/
    27462698
     
    27812733  }
    27822734}
    2783 
    27842735
    27852736/*
     
    28262777}
    28272778
    2828 
    28292779/*
    28302780 *  show_queues
     
    28612811  printk(("uti596_softc.pEndRFA: %p\n",uti596_softc.pEndRFA))
    28622812}
    2863 
    28642813
    28652814/*
     
    29242873    printk (("%u\n", add[41]))
    29252874  }
    2926 
    29272875
    29282876  if ( add[12] == 0x08 && add[13] == 0x00 ) {
     
    29512899}
    29522900
    2953 
    29542901/*
    29552902 *  print_hdr
     
    29792926  printk (("print_hdr: completed"))
    29802927}
    2981 
    29822928
    29832929/*
     
    30663012}
    30673013
    3068 
    30693014/*
    30703015 *  print_echo
Note: See TracChangeset for help on using the changeset viewer.