python: Simplify connectPorts() around EtherObject/EtherDevice.
authorGabe Black <gabeblack@google.com>
Thu, 7 Mar 2019 02:03:50 +0000 (18:03 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 15 Mar 2019 18:14:25 +0000 (18:14 +0000)
commitb5046b2e512ccf3ffdbba85b169b1adcba6c4443
treed5bedb1a6614f185fa3d44bc7efda2ea5858853a
parentb482cff6c3330d1c43d5c8d18d25731f552f02ee
python: Simplify connectPorts() around EtherObject/EtherDevice.

EtherDevice now inherits EtherObject and shares the same getEthPort
virtual function, so there's no need to treat them separately any more.

Change-Id: Ia6c147fd97fece4a281c296521a7b095f793d32e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17030
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/python/pybind11/pyobject.cc