freebsd-dev/sys/sparc64/sbus
Marius Strobl bdbca4ddae o lsi64854_enet_intr():
- Like lsi64854_scsi_intr() return -1 in case there was a DMA error so
    the caller can distinguish it from a normal interrupt and leave the
    reset of the DMA engine to the caller so we don't kill any state there.
  - Move the static 'dodrain' flag to struct lsi64854_softc as there can
    be more than one LSI64854 used for a LANCE in a system and reset it
    again once draining the E-cache is done so we don't keep draining the
    cache with every interrupt.
  - Remove calling sc->sc_intrchain(), we will call lsi64854_enet_intr()
    via sc->intr() in the interrupt handler of the LANCE driver and not
    use it in chained mode.

o lsi64854_pp_intr():
  - Like lsi64854_scsi_intr() return -1 in case there was a DMA error so
    the caller can distinguish it from a normal interrupt.

o Remove the no longer used sc_intrchain* from struct lsi64854_softc.

o Make lsi64854_reset(), lsi64854_setup*() and lsi64854_*_intr() static
  to lsi64854.c as we do and will only call them via the respective
  function pointers in struct lsi64854_softc.

o While here fix style(9) bugs (variable definition inside a nested scope).
2006-01-31 12:50:02 +00:00
..
dma_sbus.c Revert the part of rev. 1.3 which enabled the chaining of the DMA engine 2006-01-30 21:43:14 +00:00
lsi64854.c o lsi64854_enet_intr(): 2006-01-31 12:50:02 +00:00
lsi64854reg.h Style and minor changes: 2005-04-17 17:41:32 +00:00
lsi64854var.h o lsi64854_enet_intr(): 2006-01-31 12:50:02 +00:00
ofw_sbus.h
sbus.c - Register the generic implementations for the device shutdown, suspend 2006-01-26 21:14:32 +00:00
sbusreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
sbusvar.h - Add an IVAR for retrieving the interrupt group number of the parent Sbus 2005-05-19 14:47:31 +00:00