}
// Add the device patterns to the device.
Identification identification = loadIdentification();
final Map patterns = new HashMap();
IdentificationEntry idEntry = identification.find(deviceName);
if (idEntry != null) {
iterateGenericPatterns(idEntry, new GenericPatternIteratee() {
public void next(String pattern) {
// NOTE: yes this is intentional, why this must be a
// map I have no idea - a list would be fine.