Patent ID: 7769831

Claim:
A method of dynamic PHY configuration in a SAS system, comprising: initializing a controller device; configuring a plurality of PHYs for the controller device to have a single SAS address; assigning an internal port to each of the plurality of PHYs; enabling each of the plurality of PHYs; determining a matching attached SAS device and a matching SAS address for each of the plurality of the enabled PHYs; initializing an identify frame for the physical link; assigning the single SAS address to the port associated with the physical link, if the port has no device attached; determining whether the attached SAS device is an expander or an end device; if the attached SAS device is an expander, assigning a new SAS address to the attached SAS device if there is an expander having an SAS address of a controller, wherein the new SAS address is assigned to the attached SAS device by firmware of the controller; and assigning the SAS address of the controller to the attached SAS device if there is no expander having the same SAS address of the controller, wherein the SAS address of the controller is assigned to the attached SAS device by firmware of the controller; if the attached SAS device is an end device, assigning the SAS address of the controller to the attached SAS device, wherein the SAS address of the controller is assigned to the attached SAS device via firmware of the controller; and making a SAS domain including the attached SAS device and the controller.