[PATCH] ext2: prevent div-by-zero on corrupted fs
[linux-2.6] / drivers / ieee1394 / oui2c.sh
1 #!/bin/sh
2
3 cat <<EOF
4 /* Generated file for OUI database */
5
6
7 #ifdef CONFIG_IEEE1394_OUI_DB
8 struct oui_list_struct {
9         int oui;
10         char *name;
11 } oui_list[] = {
12 EOF
13
14 while read oui name; do
15         echo "  { 0x$oui, \"$name\" },"
16 done
17
18 cat <<EOF
19 };
20
21 #endif /* CONFIG_IEEE1394_OUI_DB */
22 EOF