autoinst.xml

Hi All,
Is there any way to make a autoinst.xml valid for cciss and sd controllers on HP servers? My problem is that I use the same build for HP 380 G7 (cciss) and for HP 380 G8 (sd) machines. From my autoinst.xml
<device_map config:type=“list”>
<device_map_entry>
hd0
/dev/sda
</device_map_entry>
<device_map_entry>
fd0
/dev/fd0
</device_map_entry>
</device_map>
Problem is, the build above will work on sd devices, but fails on cciss, so I have to make 2 builds, one for cciss and the other for sd. How can I detect what controller is in the machine? The auto detection works, if I remove the lines above as per the docs, but when you have multiple drives raided, the OS will install on the 2nd drive and not sda or /cciss/c0d0
Any suggestions please?