ssch1034 wrote:
I wonder however, why would IRIX look it up in the patched emu_dd.o rather than mad_dd.o or rad_dd.o if it wasn't a EMU card?
All that matters is which file has the correct vendor/device ID pair. Rather than thinking that IRIX looked up the card in emu_dd.o, you should think of it as IRIX looked in all the driver files until it found the matching vendor/device ID. Basically, you told IRIX to use emu_dd.o, and IRIX trusted you.
ssch1034 wrote:
As I only modified this object and got IRIX to accept it I am sure it must have been the correct object file.
Don't be so sure. I suspect you could modify any driver file to have your card's vendor/device ID and get IRIX to recognize the hardware as whatever corresponded to that driver. Of course the hardware wouldn't actually work, but IRIX would try to use any driver you told it to.
ssch1034 wrote:
After all the entries in emu_dd.o were already close to the IDs of this card (If I remember correctly I changed the device from 0x0004 to 0x0006 or vice versa as the vendor id was the same).
That doesn't necessarily mean much. It's normal for different products from the same vendor to require very different drivers, regardless of their device IDs.
In fact, looking at device IDs from the Linux driver for the EMU 10K series soundcards, device IDs 0x0002, 0x0004, 0x0008 all use the same emu10k1 driver, while device ID 0x0006 uses the completely different emu10k1
x
driver. Note that Creative and Ectiva both use vendor ID 0x1102. So what you have there is a clone of a similar, but different sound card that the IRIX driver won't be able to use. The fact that the device IDs are close is meaningless.