Created
February 10, 2019 15:31
-
-
Save bluecmd/17c7d697984e4c675d757673290a670a to your computer and use it in GitHub Desktop.
CFCC for Hercules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/scescsi.c b/scescsi.c | |
| index 1754889b..8c708d6f 100644 | |
| --- a/scescsi.c | |
| +++ b/scescsi.c | |
| @@ -89,6 +89,7 @@ typedef struct _SCCB_HWL_BK { | |
| #define SCCB_HWL_TYPE_RESET 0x01 /* Reset request */ | |
| #define SCCB_HWL_TYPE_INFO 0x02 /* Load info request */ | |
| /*007*/ BYTE file; | |
| +#define SCCB_HWL_FILE_CFCC 0x01 /* CFCC Image Loader */ | |
| #define SCCB_HWL_FILE_SCSIBOOT 0x02 /* SCSI Boot Loader */ | |
| /*008*/ FWORD resv1[2]; | |
| /*010*/ FWORD hwl; /* Pointer to HWL BK */ | |
| @@ -108,6 +109,7 @@ struct name2file { | |
| struct name2file n2flist[] = { | |
| + { "cfcc", SCCB_HWL_FILE_CFCC }, | |
| { "scsiboot", SCCB_HWL_FILE_SCSIBOOT }, | |
| #if 0 | |
| { "netboot", 7 }, // Hercules implementation of PXE style netboot for OSA | |
| @@ -274,10 +276,12 @@ SCCB_HWL_BK *hwl_bk = (SCCB_HWL_BK*) arg; | |
| } | |
| + LOGMSG( "HHCHL005I Hardware loader file type %d IS supported\n", | |
| + hwl_bk->file ); | |
| } | |
| -// else | |
| -// LOGMSG( "HHCHL005I Hardware loader file type %d not not supported\n", | |
| -// hwl_bk->file ); | |
| + else | |
| + LOGMSG( "HHCHL005I Hardware loader file type %d not supported\n", | |
| + hwl_bk->file ); | |
| hwl_tid = 0; | |
| @@ -838,6 +842,7 @@ U32 dt, ct; | |
| ct = dev->devid[1] << 16 | dev->devid[2] << 8 | dev->devid[3]; | |
| dt = dev->devid[4] << 16 | dev->devid[5] << 8 | dev->devid[6]; | |
| + LOGMSG("support_boot: ct=%x, dt=%x\n", ct, dt); | |
| switch(ct) { | |
| #if 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment