Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 17:24:24 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_dc.c if_dcreg.h
Message-ID:  <200611131724.kADHOOrV049703@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2006-11-13 17:24:24 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_dc.c if_dcreg.h 
  Log:
  MFC: sys/dev/dc/if_dc.c 1.185, 1.186 (partial); sys/dev/dc/if_dcreg.h 1.52
  
  - Consistently use if_printf() only in interface methods: if_start(),
    if_watchdog, etc., or in functions used only in these methods.
    In all other functions in the driver use device_printf().
  - Use __func__ instead of typing function name.
  - Wrap code optimized for architectures without alignment constraints
    in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This
    means that amd64 now also uses the optimized code.
    While at it, fix a nearby style(9) bug.
  - In dc_setcfg() suppress printing a warning when forcing the receiver
    and transceiver to idle state times out for chips where the status
    bits in question just never change (observed in detail with DM9102A)
    and therefore the warning would be highly likely false positive.
  - In dc_ifmedia_sts() add a missing DC_UNLOCK().
  
  Approved by:    re (kensmith)
  
  Revision    Changes    Path
  1.160.2.12  +28 -16    src/sys/pci/if_dc.c
  1.44.2.5    +1 -0      src/sys/pci/if_dcreg.h



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