X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fcpci750%2Fide.c;h=0adafe2d085ec5fb21eae76dcc784eef05bac04f;hb=42246dacf60d5028d3a48a220ce94efcf56faec4;hp=bea99ce8e721b13e2b33ea04c5179fab75789c48;hpb=efe2a4d5cf96dd37bc4782ba1880cee4ed1117c5;p=u-boot diff --git a/board/esd/cpci750/ide.c b/board/esd/cpci750/ide.c index bea99ce8e7..0adafe2d08 100644 --- a/board/esd/cpci750/ide.c +++ b/board/esd/cpci750/ide.c @@ -25,7 +25,7 @@ #include -#ifdef CFG_CMD_IDE +#if defined(CONFIG_CMD_IDE) #include #include #include @@ -43,6 +43,8 @@ int ide_preinit (void) ide_bus_offset[l] = -ATA_STATUS; } devbusfn = pci_find_device (0x1103, 0x0004, 0); + if (devbusfn == -1) + devbusfn = pci_find_device (0x1095, 0x3114, 0); if (devbusfn != -1) { status = 0;