Supply /dev/bpf and /dev/bpf0. Both are needed.

This commit is contained in:
Chris Johns 2015-06-19 15:25:06 +10:00
parent 98d7c3c015
commit 54409c7f6e

View File

@ -3005,7 +3005,9 @@ bpf_drvinit(void *unused)
/* For compatibility */
make_dev_alias(dev, "bpf0");
#else /* __rtems__ */
rv = IMFS_make_generic_node("/dev/bpf0", mode, &bpf_imfs_control, NULL);
rv = IMFS_make_generic_node("/dev/bpf", mode, &bpf_imfs_control, NULL);
BSD_ASSERT(rv == 0);
rv = symlink("/dev/bpf", "/dev/bpf0");
BSD_ASSERT(rv == 0);
#endif /* __rtems__ */