Changeset 54409c7 in rtems-libbsd


Ignore:
Timestamp:
Jun 19, 2015, 5:25:06 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, 5283630d2c9d40deb0183696d278e02644fe4326, freebsd-9.3, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
c31922b
Parents:
98d7c3c
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/net/bpf.c

    r98d7c3c r54409c7  
    30063006        make_dev_alias(dev, "bpf0");
    30073007#else /* __rtems__ */
    3008         rv = IMFS_make_generic_node("/dev/bpf0", mode, &bpf_imfs_control, NULL);
     3008        rv = IMFS_make_generic_node("/dev/bpf", mode, &bpf_imfs_control, NULL);
     3009        BSD_ASSERT(rv == 0);
     3010  rv = symlink("/dev/bpf", "/dev/bpf0");
    30093011        BSD_ASSERT(rv == 0);
    30103012#endif /* __rtems__ */
Note: See TracChangeset for help on using the changeset viewer.