33 |
unsigned long *cylinders, |
unsigned long *cylinders, |
34 |
unsigned long *heads, |
unsigned long *heads, |
35 |
unsigned long *sectors); |
unsigned long *sectors); |
36 |
|
#if 0 |
37 |
extern int get_diskinfo_floppy (int drive, |
extern int get_diskinfo_floppy (int drive, |
38 |
unsigned long *cylinders, |
unsigned long *cylinders, |
39 |
unsigned long *heads, |
unsigned long *heads, |
40 |
unsigned long *sectors); |
unsigned long *sectors); |
41 |
|
#endif |
42 |
|
|
43 |
|
|
44 |
/* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY |
/* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY |
217 |
&geometry->heads, |
&geometry->heads, |
218 |
&geometry->sectors); |
&geometry->sectors); |
219 |
|
|
220 |
|
#if 0 |
221 |
/* If fails, then try floppy-specific probe routine. */ |
/* If fails, then try floppy-specific probe routine. */ |
222 |
if (err) |
if (err) |
223 |
err = get_diskinfo_floppy (drive, |
err = get_diskinfo_floppy (drive, |
224 |
&geometry->cylinders, |
&geometry->cylinders, |
225 |
&geometry->heads, |
&geometry->heads, |
226 |
&geometry->sectors); |
&geometry->sectors); |
227 |
|
#endif |
228 |
|
|
229 |
if (err) |
if (err) |
230 |
return err; |
return err; |
231 |
|
|