diff options
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index 529486b..b8c2827 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -475,7 +475,7 @@ enable_fifo(fdc_p fdc) * first byte, and check for an early turn of data directon. */ - if (out_fdc(fdc, I8207X_CONFIGURE) < 0) + if (out_fdc(fdc, I8207X_CONFIG) < 0) return fdc_err(fdc, "Enable FIFO failed\n"); /* If command is invalid, return */ @@ -498,7 +498,7 @@ enable_fifo(fdc_p fdc) return 0; } if (fd_cmd(fdc, 4, - I8207X_CONFIGURE, 0, (fifo_threshold - 1) & 0xf, 0, 0) < 0) + I8207X_CONFIG, 0, (fifo_threshold - 1) & 0xf, 0, 0) < 0) return fdc_err(fdc, "Re-enable FIFO failed\n"); return 0; } |