On 06/05/2015 13:31, Gerd Hoffmann wrote:
> Put the number of serial ports into a local variable in
> multi_serial_pci_realize, then increment the port count
> (pci->ports) as we initialize the serial port cores.
>
> Now pci->ports always holds the number of successfully
> initialized ports and
Put the number of serial ports into a local variable in
multi_serial_pci_realize, then increment the port count
(pci->ports) as we initialize the serial port cores.
Now pci->ports always holds the number of successfully
initialized ports and we can use multi_serial_pci_exit
to properly cleanup the