SeaBIOS CD/DVD abbreviations
authorStefan Reinauer <stefan.reinauer@coresystems.de>
Wed, 9 Jun 2010 19:10:13 +0000 (21:10 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 11 Jun 2010 02:47:08 +0000 (22:47 -0400)
- Use the same description text for CD and DVD drives all over the tree.
- Mention DVD first as it's more likely these days

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
src/ata.c
src/boot.c

index 62cdbb8c9b6b4f924e9235d6fddf9bec38d14efa..2e934beeb3a0e279bab48de0ff70964fe57733ca 100644 (file)
--- a/src/ata.c
+++ b/src/ata.c
@@ -774,7 +774,7 @@ init_drive_atapi(struct atadrive_s *dummy, u16 *buffer)
     snprintf(adrive_g->drive.desc, MAXDESCSIZE, "ata%d-%d: %s ATAPI-%d %s"
              , adrive_g->chan_gf->chanid, adrive_g->slave
              , extract_model(model, buffer), extract_version(buffer)
-             , (iscd ? "CD-Rom/DVD-Rom" : "Device"));
+             , (iscd ? "DVD/CD" : "Device"));
     dprintf(1, "%s\n", adrive_g->drive.desc);
 
     // fill cdidmap
index 335522faf0b8b01f32bbf5bb60d3a8bab5d4a873..d2ac703f860f9e3d5ac376eeff1bf22c4791431c 100644 (file)
@@ -29,9 +29,9 @@ boot_setup(void)
     dprintf(3, "init boot device ordering\n");
 
     memset(&IPL, 0, sizeof(IPL));
+    struct ipl_entry_s *ie = &IPL.bev[0];
 
     // Floppy drive
-    struct ipl_entry_s *ie = &IPL.bev[0];
     ie->type = IPL_TYPE_FLOPPY;
     ie->description = "Floppy";
     ie++;
@@ -44,7 +44,7 @@ boot_setup(void)
     // CDROM
     if (CONFIG_CDROM_BOOT) {
         ie->type = IPL_TYPE_CDROM;
-        ie->description = "CD-Rom";
+        ie->description = "DVD/CD";
         ie++;
     }
 
@@ -191,7 +191,7 @@ menu_show_cdrom(struct ipl_entry_s *ie, int menupos)
     int i;
     for (i = 0; i < Drives.cdcount; i++) {
         struct drive_s *drive_g = getDrive(EXTTYPE_CD, i);
-        printf("%d. CD-Rom [%s]\n", menupos + i, drive_g->desc);
+        printf("%d. DVD/CD [%s]\n", menupos + i, drive_g->desc);
     }
     return Drives.cdcount;
 }