[parisc-linux-cvs] linux-2.5 jejb
   
    James Bottomley
     
    parisc-linux@lists.parisc-linux.org
       
    Thu,  2 Jan 2003 15:15:33 -0700 (MST)
    
    
  
CVSROOT:	/var/cvs
Module name:	linux-2.5
Changes by:	jejb	03/01/02 15:15:33
Modified files:
	arch/parisc/kernel: drivers.c 
Log message:
Correct bogus check of whether a device is already registered.
You can't use dev->dev.parent because top level devices don't have
parents and so may get registered multiple times.
use dev->dev.dma_mask instead because that is set on all registered
devices.
This corrects a boot hang on my C360.