summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
diff options
context:
space:
mode:
authorli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-21 11:16:39 +0000
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-21 11:16:39 +0000
commitace74c67ba8a9ec8a183945a2d4e2f8fa18b3da7 (patch)
treeeba586e0d6f68fc33fe2cc48a4ecc0739c69dada /IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
parent2bfd90f959c94165c1e3b597992932e6dcb59669 (diff)
downloadedk2-platforms-ace74c67ba8a9ec8a183945a2d4e2f8fa18b3da7.tar.xz
Use PCD to customize if ps2 mouse and mouse pointer device do full reset.
Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12755 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c')
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
index de66ee0bff..664d7409b1 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
@@ -256,7 +256,10 @@ PS2MouseAbsolutePointerDriverStart (
//
// Reset the mouse
//
- Status = MouseAbsolutePointerDev->AbsolutePointerProtocol.Reset (&MouseAbsolutePointerDev->AbsolutePointerProtocol, TRUE);
+ Status = MouseAbsolutePointerDev->AbsolutePointerProtocol.Reset (
+ &MouseAbsolutePointerDev->AbsolutePointerProtocol,
+ FeaturePcdGet (PcdPs2MouseExtendedVerification)
+ );
if (EFI_ERROR (Status)) {
//
// mouse not connected