mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Increase MAXDEV up to 10.
This commit is contained in:
parent
b698380f33
commit
0e49db83c5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122356
|
@ -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…
Reference in a new issue