mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
7 lines
147 B
Bash
Executable file
7 lines
147 B
Bash
Executable file
#!/bin/sh
|
|
# TODO: use udev instead
|
|
|
|
insmod litepcie.ko
|
|
|
|
major=$(awk '/ litepcie$/{print $1}' /proc/devices)
|
|
mknod -m 666 /dev/litepcie0 c $major 0
|