On 15/08/14 04:51, Tian, Feng wrote: > Hi, Reza > > This is a reason to use IdeInit.ChannelCount rather than the constant value. > Some platforms may only expose one ide channel to external. By this way, we > can skip unnecessary enumeration time according to platform policy. > > Do you see any real impact with original code? On a sidenote ahcimode uses the CAP register directly to skip unnecessary enumeration instead of IdeInit.ChannelCount. I think it makes sense too, unnecessary enumeration can be much larger for ahci, but for ide it would be maximum 1.
------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel