1. updated PCI/AGP Devices to check RemainingDevicePath in Supported() and Start() functions. The main changes are:

a. Add check validation of RemainingDevicePath in Supported()
  b. In Star() function, if RemaingDevicePath is the End of Device Path Node, don't create child device and return EFI_SUCCESS.
2. fixed one device path issue in ScsiBus driver.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9264 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2009-09-15 07:50:48 +00:00
parent e7b2c17aad
commit 6fe852082f
2 changed files with 78 additions and 40 deletions

View File

@@ -160,7 +160,7 @@ SCSIBusDriverBindingSupported (
//
if (Node->DevPath.Type != MESSAGING_DEVICE_PATH ||
Node->DevPath.SubType != MSG_SCSI_DP ||
DevicePathNodeLength(&Node->DevPath) != sizeof(ATAPI_DEVICE_PATH)) {
DevicePathNodeLength(&Node->DevPath) != sizeof(SCSI_DEVICE_PATH)) {
return EFI_UNSUPPORTED;
}
}