]> xenbits.xensource.com Git - seabios.git/commitdiff
Update drive type default boot order.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 11 Mar 2012 15:22:07 +0000 (11:22 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 11 Mar 2012 15:24:44 +0000 (11:24 -0400)
The default boot order among different drive types is determined by
the driver id (DTYPE_X).  Reorder them to make more sense (USB drives
shouldn't have a higher default priority than AHCI/virtio drives).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/disk.h

index d344399b9f77f2b5d9c040711810705f254250a1..a675aebf5002d1edfa2f5ae8b2b19caebdbe40fc 100644 (file)
@@ -204,10 +204,10 @@ struct drive_s {
 #define DTYPE_ATAPI        0x03
 #define DTYPE_RAMDISK      0x04
 #define DTYPE_CDEMU        0x05
-#define DTYPE_USB          0x06
-#define DTYPE_VIRTIO_BLK   0x07
-#define DTYPE_AHCI         0x08
-#define DTYPE_VIRTIO_SCSI  0x09
+#define DTYPE_AHCI         0x06
+#define DTYPE_VIRTIO_SCSI  0x07
+#define DTYPE_VIRTIO_BLK   0x08
+#define DTYPE_USB          0x09
 
 #define MAXDESCSIZE 80