mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 12:04:46 +08:00
6ab3d5624e
Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
23 lines
277 B
Bash
23 lines
277 B
Bash
#!/bin/sh
|
|
|
|
cat <<EOF
|
|
/* Generated file for OUI database */
|
|
|
|
|
|
#ifdef CONFIG_IEEE1394_OUI_DB
|
|
struct oui_list_struct {
|
|
int oui;
|
|
char *name;
|
|
} oui_list[] = {
|
|
EOF
|
|
|
|
while read oui name; do
|
|
echo " { 0x$oui, \"$name\" },"
|
|
done
|
|
|
|
cat <<EOF
|
|
};
|
|
|
|
#endif /* CONFIG_IEEE1394_OUI_DB */
|
|
EOF
|