Increase MAXDEV up to 10.
This commit is contained in:
parent
b698380f33
commit
0e49db83c5
@ -896,7 +896,7 @@ main(int argc, char **argv)
|
||||
/* init firewire */
|
||||
switch (dc->type) {
|
||||
case TYPE_FW:
|
||||
#define MAXDEV 4
|
||||
#define MAXDEV 10
|
||||
for (i = 0; i < MAXDEV; i ++) {
|
||||
snprintf(devname, sizeof(devname),
|
||||
"/dev/fwmem%d.%d", unit, i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user