blob: b9d0e8f10abb3287c370c909e2154a2dca4fc111 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#!/bin/sh
2
3cat <<EOF
4/* Generated file for OUI database */
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7#ifdef CONFIG_IEEE1394_OUI_DB
8struct oui_list_struct {
9 int oui;
10 char *name;
11} oui_list[] = {
12EOF
13
14while read oui name; do
15 echo " { 0x$oui, \"$name\" },"
16done
17
18cat <<EOF
19};
20
21#endif /* CONFIG_IEEE1394_OUI_DB */
22EOF