Skip to contentSkip to conversation

aic94xx: fix routing algorithms

PATCH Robert Tarte 2 participants 2 messages Jul 11, 2006 SCSI

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

No ... this is the programme in annex L of sas-2, isn't it? Even if

it

Quoted 1 line

were available somewhere, the aic94xx doesn't yet have the necessary

SMP

Quoted 1 line

tap to try it.

[Tarte, Robert] I wrote an expander simulator that I ran in user space for the adp94xx. I extracted the routing code from the adp94xx driver and ran through numerous configurations hand checking the table to make sure that it came up with the right answer.

#1 lore raw
Quoted 5 lines · Robert Tarte

[Tarte, Robert] I wrote an expander simulator that I ran in user space for the adp94xx. I extracted the routing code from the adp94xx driver and ran through numerous configurations hand checking the table to make
sure that it came up with the right answer.

If you want to do that again, that would be great. However, mathematically, I think you'll find the results are identical for every configuration other than expander S->T connections, for which the old algorithm was provably wrong. If the original scan didn't pick this up, it's probably because that configuration isn't included ... so I think the results this time around will be completely identical.

James