Macros to make enumerating devices under Linux easier.