Patent ID: 7996206

Claim:
A system for emulating a serial small computer system interface (serial SCSI) connection for direct attached serial advanced technology attachment (serial ATA) communication, comprising: a host controller including a first physical interface configured to connect with a serial SCSI device and a second physical interface configured to connect with a serial ATA device, the host controller including: a common interface logic configured to receive serial SCSI communications and serial ATA communications having an emulated serial SCSI connection; and an emulation logic configured to emulate a serial SCSI connection between the second physical interface and the common interface logic by providing emulated serial small computer system interface (SAS) data to the common interface logic, communicatively coupled with the common interface logic, the emulation logic being configured for determining a value of a ConnectedSata signal for a serial ATA communication, the emulation logic including a SataConID register and a ConID multiplexer, the ConID multiplexer being communicatively coupled with the SataConID register, the SataCon ID register configured for being programmed with device ID information for a direct attached SATA device when the direct attached SATA device is present, thereby permitting identification of said direct attached SATA device, the ConID multiplexer configured for selecting between: a SAS ConID provided when a SAS device is present and a device ID associated with the SATA device when the SATA device is present, said device ID being included in the device ID information of the SataConID register, wherein the emulation logic generates at least one of asserting a ConnectedSata signal or deasserting a ConnectedSata signal based on the state of a host link state machine, the emulation logic being configured for accounting for a status of registers of a Phy layer and accounting for a status of registers of a port layer to an extent that data contained in the registers of the Phy layer and the port layer indicate conditions impacting the connection emulation.