More newline and whitespace cleanups

This commit is contained in:
Jasmine Iwanek
2022-02-20 02:26:27 -05:00
parent a66e392b26
commit 4674756664
401 changed files with 6985 additions and 6985 deletions

View File

@@ -369,7 +369,7 @@ get_sector(hdc_t *dev, drive_t *drive, off64_t *addr)
}
*addr = ((((off64_t)dev->cylinder * drive->cfg_hpc) + dev->head) * drive->cfg_spt) + dev->sector;
return(1);
}
@@ -619,7 +619,7 @@ st506_callback(void *priv)
st506_complete(dev);
break;
}
break;
break;
case CMD_GET_GEOMETRY_ST11: /* "Get geometry" is really "Read cylinder 0" */
if ((dev->type < 11) || (dev->type > 12)) {
@@ -1115,7 +1115,7 @@ st506_read(uint16_t port, void *priv)
dev->status = 0x00;
dev->state = STATE_IDLE;
break;
case STATE_SEND_DATA:
ret = dev->buff[dev->buff_pos++];
if (dev->buff_pos == dev->buff_cnt) {
@@ -1357,7 +1357,7 @@ loadhd(hdc_t *dev, int c, int d, const char *fn)
drive->present = 0;
return;
}
/* Make sure we can do this. */
/* Allow 31 sectors per track on RLL controllers, for the
ST225R, which is 667/2/31. */