dev: Make EtherInt inherit from Port.
authorGabe Black <gabeblack@google.com>
Thu, 7 Mar 2019 08:33:53 +0000 (00:33 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 15 Mar 2019 18:37:49 +0000 (18:37 +0000)
commit6e8be00dff5717ba6bd066749d1847ea48680878
treefcf564fc8be09f570e597388c1231ccf50b12915
parenta73069c87dab6d32d5de021d37e009a93cd50cac
dev: Make EtherInt inherit from Port.

This way a common function can return EtherInt (and master and slave
ports).

Change-Id: I1215baaad918ef0352b228877241b2b6dd2503fc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17035
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/dev/net/etherint.hh