On 2013-07-24 20:14, H Hartley Sweeten wrote:
Make the built-on dio subdevice 0 and the three add-on modules subdevices 1-3. This allows the driver to consistently use the ii20k_module_iobase() helper to get the base address needed to access a the registers used by a given subdevice. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
It's best to avoid reordering the subdevices if you can help it to avoid screwing with userspace unnecessarily.
-- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel