if (deviceCount > 0x7f) // syk
{
// while (!(LunBits[0] || LunBits[1])) //AT: Skip this blocking loop to allow fw start without properly working
// { //ATA device. After device appearing on the intf, forced chip reset will make things OK
for (j=(deviceCount & 3);j<MAX_LUN;j++)
{
// Clearing ActiveLunBits clears the bMasterSlaveBit (i.e. we will search for the master the next time
// through this loop)
ActiveLunBits = 0;
bMasterSlave = j; //AT: LUNBits: bMasterSlave
detectSCSIvsATA(); //AT: affects LUNBits: bDevicePresent, bScsi