The language in question is from section 13.2 of volume 3 of the ATA/ATAPI-7 standard. In this section it states that "Immediately after reset, the host adapter shall place the value 0x7Fh in its Shadow Status register and Shadow Alternate Status Register and shall place the value 0xFFh in all the other Shadow Command Block registers (0xFFFFh in the Data register). In this state the host bus adapter shall not accept writes to the Shadow Command Block and Shadow Control Block. When the host Phy detects presence of an attached device, the host bus adapter shall set bit 7 in the Shadow Status register yielding the value 0xFFh or 0x80h, and the host bus adapter shall allow writes to the Shadow Command Block and Shadow Control Block." The crux of the issue is what defines "device detection". I could not find a clear definition anywhere in 13.2 or nearby. In a search I could only find a reference to this is 20.2.2.1.

 

Based on the language in section 20.2.2.1: the "'device detect' state bit shall be set in the host adapter when the host adapter detects a COMINIT signal from the attached device."... Am I correct in reading 13.2 means that 0xFF or 0x80 should be present in the status register as soon as COMINIT is received?

 

 

Reply via email to