windows - How does Microsoft Storport work with SATA legacy mode? -


i have driver designed in storport-miniport model. i'm trying modify driver support sata legacy mode. here questions looking help:

  1. the i/o address

    in native mode, io address shown in bar0 bar3. in legacy mode, io address fixed(0x1f0 command, 0x3f6 control in channel-0). in native mode, used storportgetdevicebase memory-map of io address, doesn't work legacy mode since storport handle io space announced in pci space. therefore, tried use mmmapiospace allocate memories. correct way?

  2. the irq

    just io address, irq fix legacy mode. whole thing irq done storport, should or here?

  3. the hwstorinitialize not called

    msdn says hwstorinitialize should called if hwstorfindadapter return true. in driver legacy mode, hwstorinitialize not called adapter in device manager shows not ready yellow mark. did miss something?

  4. ataport-minoport

    when trying figure out problems, found there's driver mode called ataport-miniport. mean should design driver in model if adapter in legacy mode? possible implement legacy mode in same driver native mode storport-miniport?


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -