Support flashing cards with IR firmware
I bought a h200 off ebay, turns out it was pre-flashed to IR mode which caused the card to not get recognized by script and gets stuck at the part where it is grabbing the SAS address of the card.
By default the only adpaters supported are variants of the H310 with Dell firmware, but the card it searches for can be changed relatively easily; not sure how it will react to a card with IR firmware, though. See the Testing other adapters section.
I would try altering the ADAPTER_PATTERN to match the new display name of the adapter, since it won't show as an H200 after it's been flashed with non-Dell firmware.
I'd like to note there is an open issue for supporting H200s out of the box (#2), and I think supporting adapters with IR firmware would be valuable as well.