--- np2/io/np2sysp.c 2004/01/22 01:10:04 1.12 +++ np2/io/np2sysp.c 2004/03/22 05:38:47 1.15 @@ -10,7 +10,7 @@ #endif -#define NP2SYSP_VER "B" +#define NP2SYSP_VER "C" // #define NP2SYSP_CREDIT "" // 要るなら・・・ // NP2依存ポート @@ -92,6 +92,13 @@ static void np2sysp_multiple(const void (void)arg2; } +static void np2sysp_hwreset(const void *arg1, long arg2) { + + hardwarereset = TRUE; + (void)arg1; + (void)arg2; +} + // ---- @@ -102,6 +109,7 @@ static const char str_credit[] = "credit static const char str_cpu[] = "cpu"; static const char str_clock[] = "clock"; static const char str_multiple[] = "multiple"; +static const char str_hwreset[] = "hardwarereset"; static const char str_sasibios[] = "sasibios"; static const char str_scsibios[] = "scsibios"; static const char str_scsidev[] = "scsi_dev"; @@ -137,8 +145,11 @@ static const SYSPCMD np2spcmd[] = { {str_clock, np2sysp_clock, NULL, 0}, {str_multiple, np2sysp_multiple, NULL, 0}, +// version:C + {str_hwreset, np2sysp_hwreset, NULL, 0}, + // extension -#if defined(SUPPORT_SASI) +#if defined(SUPPORT_IDEIO) || defined(SUPPORT_SASI) {str_sasibios, np2sysp_sasi, NULL, 0}, #endif #if defined(SUPPORT_SCSI) @@ -147,7 +158,7 @@ static const SYSPCMD np2spcmd[] = { #endif #if defined(SUPPORT_HOSTDRV) - {str_hdrvcheck, np2sysp_outstr, "supported", 0}, + {str_hdrvcheck, np2sysp_outstr, "0.74", 0}, {str_hdrvopen, hostdrv_mount, NULL, 0}, {str_hdrvclose, hostdrv_unmount, NULL, 0}, {str_hdrvintr, hostdrv_intr, NULL, 0},