diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-15 07:50:48 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-15 07:50:48 +0000 |
commit | 6fe852082f747292ecdb51560f890eb6ac8036fa (patch) | |
tree | 8288cbedac89ff118ffb140b7b509d346911524b /MdeModulePkg | |
parent | e7b2c17aad3953d1c314c1e82cb5c6cad97885cd (diff) | |
download | edk2-6fe852082f747292ecdb51560f890eb6ac8036fa.tar.gz edk2-6fe852082f747292ecdb51560f890eb6ac8036fa.tar.bz2 edk2-6fe852082f747292ecdb51560f890eb6ac8036fa.zip |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c index d53fdc8eb3..e631fecf11 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c +++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c @@ -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;
}
}
|