From: Gleb Natapov Date: Thu, 23 Dec 2010 09:29:36 +0000 (+0200) Subject: Add BAID for ahci cdrom. X-Git-Tag: rel-0.6.2~44 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b67415251c073a36ea5925a2cbfd30c106beb27e;p=seabios.git Add BAID for ahci cdrom. Signed-off-by: Gleb Natapov --- 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);