[SeaBIOS] [PATCH] Add BAID for ahci cdrom.
Gleb Natapov
gleb at redhat.com
Tue Dec 14 09:46:22 CET 2010
Signed-off-by: Gleb Natapov <gleb at redhat.com>
diff --git a/src/ahci.c b/src/ahci.c
index e2b2dbf..70c0f1c 100644
--- a/src/ahci.c
+++ b/src/ahci.c
@@ -395,8 +395,10 @@ ahci_port_init(struct ahci_ctrl_s *ctrl, u32 pnr)
, (iscd ? "DVD/CD" : "Device"));
// fill cdidmap
- if (iscd)
+ if (iscd) {
map_cd_drive(&port->drive);
+ add_baid_cdrom(&port->drive);
+ }
}
dprintf(1, "%s\n", port->drive.desc);
--
Gleb.
More information about the SeaBIOS
mailing list