summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/pc98/wd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 1c44a79..77cee7b 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -1739,11 +1739,12 @@ wdcommand(struct disk *du, u_int cylinder, u_int head, u_int sector,
if( command == WDCC_FEATURES) {
if (old_epson_note)
epson_outb(wdc + wd_features, count);
- else
+ else {
outb(wdc + wd_sdh, WDSD_IBM | (du->dk_unit << 4) | head);
outb(wdc + wd_features, count);
if ( count == WDFEA_SETXFER )
outb(wdc + wd_seccnt, sector);
+ }
} else {
if (old_epson_note) {
epson_outb(wdc + wd_precomp, du->dk_dd.d_precompcyl/4);
OpenPOWER on IntegriCloud