summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/sfc_ast2500.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/pnor/sfc_ast2500.C')
-rw-r--r--src/usr/pnor/sfc_ast2500.C5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/pnor/sfc_ast2500.C b/src/usr/pnor/sfc_ast2500.C
index 39465f9b2..9f4d88ae1 100644
--- a/src/usr/pnor/sfc_ast2500.C
+++ b/src/usr/pnor/sfc_ast2500.C
@@ -94,6 +94,11 @@ errlHndl_t SfcAST2500::hwInit( )
uint32_t l_lpc_addr;
do
{
+ // The BMC may have disabled SIO access, but there's not much point in
+ // testing whether it's available as there's no alternative action if
+ // it is not. Instead, just try the SIO accesses and bail out with the
+ // errl if they fail.
+
/* Enable device 0x0D*/
uint8_t l_data = SIO::ENABLE_DEVICE;
size_t l_len = sizeof(l_data);
OpenPOWER on IntegriCloud