2008年12月17日 星期三

Linux SATA AHCI

Per port priv structure

  • SG entry is limited to 168 entries
    • 65535 in spec
  • total 91392 (0x16500) bytes
  • alignment requirements
    • CLB (command header): 1-KB aligned
    • FB(rx fis buffer): 256-byte aligned
    • CTBA(command table): 128-byte aligned
    • DBA (data buffer): word(4-byte) aligned
  • Each PRD entry (of command table) could point to a buffer of maximum length of 4MB

沒有留言: