Device: RAD: Add reboot support

This commit is contained in:
David Rebbe
2026-06-25 14:06:43 -04:00
committed by Kyle Schwarz
parent 40d83f3b7c
commit 4b9cf1a37f
11 changed files with 22 additions and 0 deletions
@@ -42,6 +42,8 @@ public:
size_t getEthernetActivationLineCount() const override { return 1; } size_t getEthernetActivationLineCount() const override { return 1; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADA2B; return ProductID::RADA2B;
} }
@@ -47,6 +47,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADComet2; return ProductID::RADComet2;
} }
@@ -54,6 +54,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADComet3; return ProductID::RADComet3;
} }
@@ -63,6 +63,7 @@ public:
size_t getEthernetActivationLineCount() const override { return 1; } size_t getEthernetActivationLineCount() const override { return 1; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADGalaxy; return ProductID::RADGalaxy;
@@ -71,6 +71,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADGalaxy2; return ProductID::RADGalaxy2;
} }
@@ -24,6 +24,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADGigastar; return ProductID::RADGigastar;
} }
@@ -89,6 +89,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsGPTP() const override { return true; } bool supportsGPTP() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADGigastar2; return ProductID::RADGigastar2;
} }
@@ -59,6 +59,9 @@ public:
bool getEthPhyRegControlSupported() const override { return true; } bool getEthPhyRegControlSupported() const override { return true; }
// Covers RADMoon2 and RADMoon2ZL; firmware reboots and ignores the safe flag
bool supportsReboot() const override { return true; }
virtual uint8_t getPhyAddrOrPort() const = 0; virtual uint8_t getPhyAddrOrPort() const = 0;
protected: protected:
@@ -30,6 +30,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADMoon3; return ProductID::RADMoon3;
} }
@@ -34,6 +34,8 @@ public:
bool supportsTC10() const override { return true; } bool supportsTC10() const override { return true; }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADMoonT1S; return ProductID::RADMoonT1S;
} }
@@ -32,6 +32,8 @@ public:
return supportedNetworks; return supportedNetworks;
} }
bool supportsReboot() const override { return true; }
ProductID getProductID() const override { ProductID getProductID() const override {
return ProductID::RADStar2; return ProductID::RADStar2;
} }