[SPARC64]: Add timeouts to streaming buffer synchronization.
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2005 18:37:00 +0000 (11:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2005 18:37:00 +0000 (11:37 -0700)
commit4dbc30fb27ac4e647e6efadb382ff7d38c3d368e
treee2fb7329e60be37e17f133a28ab6a5e77007db32
parente4fdee8e3b41239242a8f421a28736ef8e08ca55
[SPARC64]: Add timeouts to streaming buffer synchronization.

If some hardware error occurs and the flush flag never updates,
we will hang forever in these routines.  Add a timeout, and
print out a diagnostic if it is reached.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_iommu.c
arch/sparc64/kernel/sbus.c