Date: Sun, 22 Mar 2009 21:38:24 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/pci psycho.c psychovar.h Message-ID: <200903222138.n2MLcUB7026806@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2009-03-22 21:38:24 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/sparc64/pci psycho.c psychovar.h
Log:
SVN rev 190290 on 2009-03-22 21:38:24Z by marius
MFC: r190109
- Ensure we find no unexpected partner.
- Failing to register as interrupt controller during attach shouldn't
be fatal so just inform about this instead of panicing.
- Disable rerun of the streaming cache as workaround for a silicon bug
of certain Psycho versions.
- Remove the comment regarding lack of newbus'ified bus_dma(9) as being
able to associate a DMA tag with a device would allow to implement
CDMA flushing/syncing in bus_dmamap_sync(9) but that would totally
kill performance. Given that for devices not behind a PCI-PCI bridge
the host-to-PCI bridges also only do CDMA flushing/syncing based on
interrupts there's no additional disadvantage for polling(4) callbacks
in the case schizo(4) has to do the CDMA flushing/syncing but rather a
general problem.
- Don't panic if the power failure, power management or over-temperature
interrupts doesn't exist as these aren't mandatory and not available
with all controllers (not even Psychos). [1]
- Take advantage of KOBJMETHOD_END.
- Remove some redundant variables.
- Add missing const.
PR: 131371 [1]
Revision Changes Path
1.70.2.10 +58 -51 src/sys/sparc64/pci/psycho.c
1.16.2.3 +2 -2 src/sys/sparc64/pci/psychovar.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903222138.n2MLcUB7026806>
