diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-12-03 11:10:41 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-12-03 11:10:41 +0100 |
commit | 6c06d974fa61254f2627f22fce016c8fdcbcd042 (patch) | |
tree | 1d9150e283072cfe162d5bb32f52fe4d0dc179d4 | |
parent | 13939c353ff58b743f771da2cae62ad0ca50803d (diff) |
ahci: set controller idahci.3
-rw-r--r-- | src/ahci.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |