Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 22:18:15 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/vge if_vge.c if_vgereg.h if_vgevar.h
Message-ID:  <201001082218.o08MIP80038534@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-01-08 22:18:15 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/vge          if_vge.c if_vgereg.h if_vgevar.h 
  Log:
  SVN rev 201839 on 2010-01-08 22:18:15Z by yongari
  
  MFC r200526-200527,200529,200531-200533,200536
  
  r200526:
    Use PCIR_BAR instead of hard-coded value.
  
  r200527:
    Fix typo in register definition.
  
  r200529:
    Clear VGE_TXDESC_Q bit for transmitted frames. The VGE_TXDESC_Q bit
    seems to work like a tag that indicates 'not list end' of queued
    frames. Without having a VGE_TXDESC_Q bit indicates 'list end'. So
    the last frame of multiple queued frames has no VGE_TXDESC_Q bit.
    The hardware has peculiar behavior for VGE_TXDESC_Q bit handling.
    If the VGE_TXDESC_Q bit of descriptor was set the controller would
    fetch next descriptor. However if next descriptor's OWN bit was
    cleared but VGE_TXDESC_Q was set, it could confuse controller.
    Clearing VGE_TXDESC_Q bit for transmitted frames ensure correct
    behavior.
  
  r200531:
    Use ANSI function definations.
  
  r200532:
    Remove unnecessary return statement.
  
  r200533:
    s/u_intXX_t/uintXX_t/g
  
  r200536:
    style(9).
  
  Revision  Changes    Path
  1.31.2.6  +153 -232  src/sys/dev/vge/if_vge.c
  1.2.10.2  +4 -4      src/sys/dev/vge/if_vgereg.h
  1.4.10.3  +1 -1      src/sys/dev/vge/if_vgevar.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001082218.o08MIP80038534>