640K!enough wrote on 2020-05-16, 02:10:
Have you considered using a data file to map ISA vendor/device IDs to initialisation method? This would allow you (or anyone else, with appropriate documentation) to add support for a particular card with a chip that is already supported, without your having to modify the source, re-compile and issue an updated release.
Nope, I have reasons not to...
- It goes against the main philisophy of the tool: Simplicity, only one file to configure cards. Adding more files is closer to the original drivers "mess" I wanted to avoid.
- In fact, the Vendor ID "issue" is pretty well covered now, because the only affected chips were AZT2320 (and only a few for AD181x, and two for ES1869, covered already), because there are some different IDs for branded cards (from HP and Compaq..), and I recently found a list of IDs for AZT2320 chip based cards, so I'll add the missing ones to the next version of Unisound.
- To avoid possible issues with some chips, (for example, like ES968 PnP bridge chip), that altough they are the same in different cards, some cards require totally different configuration process (In that case I use other tricks to distinguish between cards)
- After the next version (which I think this will be pretty much covered with the mentioned list), If some IDs for known chip were missing, it would be very very few, and it would be absolutely no problem for me to add them manually.
So, no, it will not happen.
Before posting, please, read the FAQ in the first post! Thanks!
Respect, and be happy! 😀