cvs commit: src/sys/dev/esp esp_sbus.c
Marius Strobl
marius at FreeBSD.org
Sun Apr 17 10:42:37 PDT 2005
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
More information about the cvs-all
mailing list