summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-12-03 11:10:41 +0100
committerGerd Hoffmann <kraxel@redhat.com>2010-12-03 11:10:41 +0100
commit6c06d974fa61254f2627f22fce016c8fdcbcd042 (patch)
tree1d9150e283072cfe162d5bb32f52fe4d0dc179d4
parent13939c353ff58b743f771da2cae62ad0ca50803d (diff)
ahci: set controller idahci.3
-rw-r--r--src/ahci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ahci.c b/src/ahci.c
index 17bd522..fde8034 100644
--- a/src/ahci.c
+++ b/src/ahci.c
@@ -342,6 +342,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) {