Supported()
, Start()
, and Stop()
-must be implemented by a SCSI host controller driver.Supported()
function tests to see if a given controller handle is SCSI adapter the driver knows how to manage. In this function, a SCSI host controller driver checks to see if the EFI_DEVICE_PATH_PROTOCOL
and EFI_PCI_IO_PROTOCOL
are present to ensure the handle that is passed in represents a PCI device. In addition, a SCSI host controller driver checks the ClassCode, VendorId, and DeviceId from the device's PCI configuration header to see if it is a conformant SCSI adapter that can be managed by the SCSI host controller driver.Start()
function tells the SCSI host controller driver to start managing the SCSI host controller. In this function, a single channel SCSI host controller driver uses chipspecific knowledge to perform the following tasks:Stop()
function performs the opposite operations as Start()
. Generally speaking, a SCSI driver is required to do the following:Start()
function.Start()
must contain a Device Path Protocol instance and a Extended SCSI Pass Thru abstraction layer.