projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ahci: set controller id
[seabios.git]
/
src
/
ahci.c
diff --git
a/src/ahci.c
b/src/ahci.c
index 4ccee86b1cbdb50b1d7936d209e37537d9b5f553..e2b2dbf59ba1468ea41c395e133219b5254b2df9 100644
(file)
--- a/
src/ahci.c
+++ b/
src/ahci.c
@@
-345,6
+345,7
@@
ahci_port_init(struct ahci_ctrl_s *ctrl, u32 pnr)
}
port->drive.type = DTYPE_AHCI;
+ port->drive.cntl_id = pnr;
port->drive.removable = (buffer[0] & 0x80) ? 1 : 0;
port->drive.desc = malloc_tmp(MAXDESCSIZE);
if (!port->drive.desc) {