made ni_daq_dio24 driver accept the driver name as the board name,
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 20 Aug 2005 15:47:10 +0000 (15:47 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 20 Aug 2005 15:47:10 +0000 (15:47 +0000)
as suggested by Calin A. Culianu.

comedi/drivers/ni_daq_dio24.c

index 8f1ca35d42b3c2d8f8fbf8b41591f9389f1e0244..0180d42aaa34405297ecf6fe62ee708b53fc19ec 100644 (file)
@@ -91,6 +91,12 @@ static dio24_board dio24_boards[] =
                bustype:        pcmcia_bustype,
                have_dio:       1,
        },
+       {
+               name:   "ni_daq_dio24",
+               device_id:      0x475c, // 0x10b is manufacturer id, 0x475c is device id
+               bustype:        pcmcia_bustype,
+               have_dio:       1,
+       },
 };
 
 /*