-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e6000sw: Add support for MV88E6190X switch variant #1408
base: main
Are you sure you want to change the base?
Conversation
c82471c
to
4e7ba71
Compare
5e19f53
to
7ea66cb
Compare
7ea66cb
to
8aece39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d359a43
to
812efad
Compare
0ef3d9c
to
475d528
Compare
8a68b7c
to
ae6652e
Compare
@@ -260,8 +260,9 @@ e6000sw_probe(device_t dev) | |||
*/ | |||
resource_int_value(device_get_name(sc->dev), | |||
device_get_unit(sc->dev), "is8190", &is_6190); | |||
resource_int_value(device_get_name(sc->dev), | |||
device_get_unit(sc->dev), "is6190x", &is_6190x); | |||
if (resource_int_value(device_get_name(sc->dev), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If "is6190" is available, but "is6190x" isn't, it will just stop the execution (according to resource_int_value() function, source: https://github.com/freebsd/freebsd-src/blob/abed32f91d01d91faa709622e3279e9baec37272/sys/kern/subr_hints.c#L338). I'm not exactly sure if MV88E6190 and MV88E6190X are related to each other (without one either one can't work).
Also, return isn't returning any meaningful values, and the function expects an integer.
rylish's comments need to be addressed. |
This commit adds support for MV88E6190X switch variant that is similar to MV88E6190 in its configuration. It also adds is6190x hint support for enabling on amd64 platform without device tree support. PR: 281211 Signed-off-by: Stas Alekseev <stas@alekseev.us>
b2b9d57
to
20b9633
Compare
This commit adds support for MV88E6190X switch variant that is similar to MV88E6190 in its configuration.
It also adds is6190x hint support for enabling on amd64 platform without device tree support.
PR: 281211