Ignore:
Timestamp:
Dec 20, 2016, 9:35:27 PM (9 years ago)
Author:
David Azarewicz
Message:

Fix for sparse port hardware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ahci.h

    r183 r185  
    5959#define AHCI_PCI_BAR            5
    6060#define AHCI_MAX_PORTS          16 /* Spec says 32, but we only support 16 */
    61 #define AHCI_MAX_DEVS           8
     61#define AHCI_MAX_DEVS           1 /* was 8. we only support 1 drive per port */
    6262#define AHCI_MAX_SG             48 /* hardware max is 64K */
    6363#define AHCI_MAX_SG_ELEMENT_LEN (1UL << 22)
    6464#define AHCI_MAX_CMDS           32
    6565#define AHCI_RX_FIS_SZ          256
     66#define AHCI_DEV_NAME_LEN       40
    6667
    6768/* port-specific DMA scratch buffer aligned to 1024 bytes */
Note: See TracChangeset for help on using the changeset viewer.