Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2005 17:42:36 +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/dev/esp esp_sbus.c
Message-ID:  <200504171742.j3HHgaJu087519@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2005-04-17 17:42:36 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/esp          esp_sbus.c 
  Log:
  Style and minor changes:
  - Merge esp_sbus.c rev. 1.31 from NetBSD: nuke trailing whitespace.
    Rev. 1.28 and 1.30 were already merged, 1.29 is not relevant for FreeBSD.
  - Remove unused headers.
  - Use BUS_PROBE_DEFAULT.
  - Use __func__ instead of hardcoded function names in error messages.
  - Correct some comments.
  - Correct some function declarations to match their prototypes.
  - Some style(9) fixes (don't use function calls in initializers; indentation).
  - Zero the allocated structs to avoid problems with uninitialized members.
  - Remove the ifdef'ed out SBus interrupt priority code and the hook for
    ncr53c9x_reset(), remove the unused SBus interrupt priority member from
    esp_softc. On FreeBSD setting the SBus interrupt priority is entirely done
    in sbus(4) and the reset function isn't even really used in NetBSD.
  - s,dma,DMA, in comments.
  - Make the code fit in 80 columns.
  
  Revision  Changes    Path
  1.10      +54 -57    src/sys/dev/esp/esp_sbus.c



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