diff options
Diffstat (limited to 'board/esd')
| -rw-r--r-- | board/esd/common/lcd.h | 2 | ||||
| -rw-r--r-- | board/esd/cpci750/ide.c | 2 | ||||
| -rw-r--r-- | board/esd/cpci750/pci.c | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/board/esd/common/lcd.h b/board/esd/common/lcd.h index 96e4b9972..5b14bf926 100644 --- a/board/esd/common/lcd.h +++ b/board/esd/common/lcd.h @@ -9,7 +9,7 @@   * Neutralize little endians.   */  #define SWAP_LONG(data) ((unsigned long)                                  \ -		         (((unsigned long)(data) >> 24)                 | \ +			 (((unsigned long)(data) >> 24)                 | \  			  ((unsigned long)(data)  << 24)                | \  			  (((unsigned long)(data) >> 8) & 0x0000ff00 )  | \  			   (((unsigned long)(data) << 8) & 0x00ff0000 ))) diff --git a/board/esd/cpci750/ide.c b/board/esd/cpci750/ide.c index 5f306855a..f555c0842 100644 --- a/board/esd/cpci750/ide.c +++ b/board/esd/cpci750/ide.c @@ -43,7 +43,7 @@ int ide_preinit (void)  	if (devbusfn != -1) {  		cpci_hd_type = 1;  	} else { -	        devbusfn = pci_find_device (0x1095, 0x3114, 0); +		devbusfn = pci_find_device (0x1095, 0x3114, 0);  		if (devbusfn != -1) {  			cpci_hd_type = 2;  		} diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index c9b3ac2a4..59f170a0d 100644 --- a/board/esd/cpci750/pci.c +++ b/board/esd/cpci750/pci.c @@ -746,7 +746,7 @@ static int gt_read_config_dword (struct pci_controller *hose,  	int bus = PCI_BUS (dev);  	if ((bus == local_buses[0]) || (bus == local_buses[1])) { -	        *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr, +		*value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,  					   offset | (PCI_FUNC(dev) << 8),  					   PCI_DEV (dev));  	} else { |