mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Oops, added parentheses after `else'.
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
This commit is contained in:
parent
27286ca9a8
commit
32373eaf9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43341
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user