Re: [edk2] [PATCH] MdeModulePkg/PciSioSerial: Fix a bug that wrongly produces 2 UARTs

2016-11-08 Thread Zeng, Star
Reviewed-by: Star Zeng -Original Message- From: Ni, Ruiyu Sent: Tuesday, November 8, 2016 10:36 AM To: edk2-devel@lists.01.org Cc: Zeng, Star ; Dong, Eric Subject: [PATCH] MdeModulePkg/PciSioSerial: Fix a bug that wrongly produces 2 UARTs When PciSioSerial is firstly started with a no

[edk2] [PATCH] MdeModulePkg/PciSioSerial: Fix a bug that wrongly produces 2 UARTs

2016-11-07 Thread Ruiyu Ni
When PciSioSerial is firstly started with a non-NULL remaining device path, the UART instance is created using the parameters specified in the remaining device path. Later when the driver is started again on the same UART controller with NULL remaining device path, the correct logic is to directly