|
|
| version 1.12, 2005/03/23 08:07:48 | version 1.13, 2005/05/14 19:41:25 |
|---|---|
| Line 90 void diskdrv_hddbind(void) { | Line 90 void diskdrv_hddbind(void) { |
| if (sxsi_devopen(drv, np2cfg.sasihdd[i]) == SUCCESS) { | if (sxsi_devopen(drv, np2cfg.sasihdd[i]) == SUCCESS) { |
| drv++; | drv++; |
| } | } |
| else { | |
| sxsi_setdevtype(drv, SXSIDEV_NC); | |
| } | |
| } | } |
| #if defined(SUPPORT_SCSI) | #if defined(SUPPORT_SCSI) |
| drv = 0x20; | drv = 0x20; |
| Line 99 void diskdrv_hddbind(void) { | Line 102 void diskdrv_hddbind(void) { |
| if (sxsi_devopen(drv, np2cfg.scsihdd[i]) == SUCCESS) { | if (sxsi_devopen(drv, np2cfg.scsihdd[i]) == SUCCESS) { |
| drv++; | drv++; |
| } | } |
| else { | |
| sxsi_setdevtype(drv, SXSIDEV_NC); | |
| } | |
| } | } |
| #endif | #endif |
| } | } |