aboutsummaryrefslogblamecommitdiffstats
path: root/drivers/ieee1394/oui2c.sh
blob: b9d0e8f10abb3287c370c909e2154a2dca4fc111 (plain) (tree)
1
2
3
4
5




                                     
















                                       
#!/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