/[grub]/grub/stage2/bios.c
ViewVC logotype

Diff of /grub/stage2/bios.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by okuji, Wed Dec 13 17:11:19 2000 UTC revision 1.13 by okuji, Sat Oct 13 12:28:37 2001 UTC
# Line 33  extern int get_diskinfo_standard (int dr Line 33  extern int get_diskinfo_standard (int dr
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
# Line 215  get_diskinfo (int drive, struct geometry Line 217  get_diskinfo (int drive, struct 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    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26