firewire: ohci: beautify some macro definitions
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 5 Aug 2013 13:14:36 +0000 (15:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 04:52:11 +0000 (21:52 -0700)
commitfc6b2d2c27a836a42ac39c471a9de219d31414e5
tree72dc1d98808547e65cd5c95065b70609024e99ed
parent7ba8b86fa59aee2895bb94824768c2217fd92623
firewire: ohci: beautify some macro definitions

commit 0dbe15f88be5b2cdf4ca4145797861dfb0d583a5 upstream.

a) Sort device IDs by vendor -- device -- revision.

b) Write quirk flags in hexadecimal.  This affects the user-visible
output of "modinfo firewire-ohci".  Since more flags have been added
recently, it is now easier to cope with them in hexadecimal represen-
tation.  Besides, the device-specific combination of quirk flags is
shown in hexadecimal in the kernel log too.  (And firewire-sbp2
presents its own quirk flags in modinfo as hexadecimals as well.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firewire/ohci.c