Revision f8d3d128 hw/pc.c
b/hw/pc.c | ||
---|---|---|
335 | 335 |
{ |
336 | 336 |
int val, nb, nb_heads, max_track, last_sect, i; |
337 | 337 |
FDriveType fd_type[2] = { FDRIVE_DRV_NONE, FDRIVE_DRV_NONE }; |
338 |
FDriveRate rate; |
|
338 | 339 |
BlockDriverState *fd[MAX_FD]; |
339 | 340 |
static pc_cmos_init_late_arg arg; |
340 | 341 |
|
... | ... | |
383 | 384 |
if (fd[i] && bdrv_is_inserted(fd[i])) { |
384 | 385 |
bdrv_get_floppy_geometry_hint(fd[i], &nb_heads, &max_track, |
385 | 386 |
&last_sect, FDRIVE_DRV_NONE, |
386 |
&fd_type[i]); |
|
387 |
&fd_type[i], &rate);
|
|
387 | 388 |
} |
388 | 389 |
} |
389 | 390 |
} |
Also available in: Unified diff