projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77e179
)
Add BAID for ahci cdrom.
author
Gleb Natapov
<gleb@redhat.com>
Thu, 23 Dec 2010 09:29:36 +0000
(11:29 +0200)
committer
Kevin O'Connor
<kevin@koconnor.net>
Fri, 24 Dec 2010 15:33:17 +0000
(10:33 -0500)
Signed-off-by: Gleb Natapov <gleb@redhat.com>
src/ahci.c
patch
|
blob
|
history
diff --git
a/src/ahci.c
b/src/ahci.c
index e2b2dbf59ba1468ea41c395e133219b5254b2df9..70c0f1cba2f44183b9b282d1959d53c4c918079b 100644
(file)
--- 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);