Adapted from an older patch from Paul Haddad <paul@pth.com>.
The devicelist table maps chip ID bytes to an enum of devicetype_t. A separate table provides configuration data for each value of devicetype_t. Original patch submitted by Stanimir Bonev <bonev_st@abv.bg>.