Cross Reference: /illumos-gate/usr/src/pkgdefs/common_files/i.devlinktab_sparc
i.devlinktab_sparc revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#!/bin/sh
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# CDDL HEADER START
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# The contents of this file are subject to the terms of the
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# Common Development and Distribution License, Version 1.0 only
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# (the "License"). You may not use this file except in compliance
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# with the License.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# or http://www.opensolaris.org/os/licensing.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# See the License for the specific language governing permissions
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# and limitations under the License.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# When distributing Covered Code, include this CDDL HEADER in each
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# If applicable, add the following below this CDDL HEADER, with the
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# fields enclosed by brackets "[]" replaced with your own identifying
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# information: Portions Copyright [yyyy] [name of copyright owner]
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# CDDL HEADER END
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#ident "%Z%%M% %I% %E% SMI"
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico#
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# Use is subject to license terms.
#
PATH="/usr/bin:/usr/sbin:${PATH}"
export PATH
while read src dest
do
if [ ! -f $dest ] ; then
cp $src $dest
else
grep '^#ident[ ]*"@(#)devlink.tab' $src \
> /tmp/newident.$$ 2>/dev/null
egrep -v '^#(pragma ident|ident)[ ]*"@\(#\)devlink.tab' $dest \
> /tmp/rest.$$ 2>/dev/null
cat /tmp/newident.$$ /tmp/rest.$$ > $dest
sed -e '/^type=ddi_pseudo;name=app /d' \
-e '/^type=ddi_pseudo;name=sw /d' \
-e '/^type=ddi_pseudo;name=consfb;minor=consfb /d' \
-e '/^type=ddi_pseudo;name=win /d' \
-e '/^type=ddi_pseudo;name=winlock /d' \
-e '/^type=ddi_pseudo;name=mm /d' \
-e '/^type=ddi_pseudo;name=conskbd /d' \
-e '/^type=ddi_pseudo;name=consms /d' \
-e '/^type=ddi_pseudo;name=wc /d' \
-e '/^type=ddi_pseudo;name=dump /d' \
-e '/^type=ddi_pseudo;name=cn /d' \
-e '/^type=ddi_pseudo;name=lo /d' \
-e '/^type=ddi_pseudo;name=ptm /d' \
-e '/^type=ddi_pseudo;name=ptc /d' \
-e '/^type=ddi_pseudo;name=pts /d' \
-e '/^type=ddi_pseudo;name=ptsl /d' \
-e '/^type=ddi_pseudo;name=log /d' \
-e '/^type=ddi_pseudo;name=sad /d' \
-e '/^type=ddi_pseudo;name=sy /d' \
-e '/^type=ddi_pseudo;name=clone /d' \
-e '/^type=ddi_network /d' \
-e '/^type=ddi_pseudo;name=openeepr /d' \
-e '/^type=ddi_pseudo;name=lockstat /d' \
-e '/^type=ddi_pseudo;name=kstat /d' \
-e '/^type=ddi_pseudo;name=ksyms /d' \
-e '/^type=ddi_display /d' \
-e '/^type=ddi_pseudo;name=clone;minor=icmp /d' \
-e '/^type=ddi_pseudo;name=SUNW,bpp /d' \
-e '/^type=ddi_pseudo;name=eeprom /d' \
-e '/^type=ddi_pseudo;name=clone;minor=ipdcm /d' \
-e '/^type=ddi_pseudo;name=vol /d' \
-e '/^type=ddi_pseudo;name=profile /d' \
-e '/^type=ddi_parallel;name=mcpp /d' \
-e '/^type=ddi_pseudo;name=zsh /d' \
-e '/^type=ddi_pseudo;name=clone;minor=zsh /d' \
-e '/^type=ddi_pseudo;name=SUNW,sx /d' \
-e '/^type=ddi_pseudo;name=sx_cmem /d' \
-e '/^type=ddi_parallel;name=SUNW,spif;minor=stclp /d' \
-e '/^type=ddi_pseudo;name=SUNW,spif;minor=stc /d' \
-e '/^type=ddi_pseudo;name=tl;minor=ticots /d' \
-e '/^type=ddi_pseudo;name=tl;minor=ticotsord /d' \
-e '/^type=ddi_pseudo;name=tl;minor=ticlts /d' \
-e '/^type=ddi_pseudo;name=md;minor=admin /d' \
-e '/^type=ddi_pseudo;name=md;minor2=blk /d' \
-e '/^type=ddi_pseudo;name=md;minor2=raw /d' \
-e '/^type=ddi_pseudo;name=tnf /d' \
-e '/^type=ddi_pseudo;name=pm /d' \
-e '/^type=ddi_pseudo;name=winlock /d' \
-e '/^type=ddi_pseudo;name=mm /d' \
-e '/^type=ddi_pseudo;name=conskbd /d' \
-e '/^type=ddi_pseudo;name=consms /d' \
-e '/^type=ddi_pseudo;name=wc /d' \
-e '/^type=ddi_pseudo;name=dump /d' \
-e '/^type=ddi_pseudo;name=cn /d' \
-e '/^type=ddi_pseudo;name=lo /d' \
-e '/^type=ddi_pseudo;name=ptm /d' \
-e '/^type=ddi_pseudo;name=ptc /d' \
-e '/^type=ddi_pseudo;name=pts /d' \
-e '/^type=ddi_pseudo;name=ptsl /d' \
-e '/^type=ddi_pseudo;name=log /d' \
-e '/^type=ddi_pseudo;name=sad /d' \
-e '/^type=ddi_pseudo;name=sy /d' \
-e '/^type=ddi_pseudo;name=clone /d' \
-e '/^type=ddi_network /d' \
-e '/^type=ddi_pseudo;name=openeepr /d' \
-e '/^type=ddi_pseudo;name=lockstat /d' \
-e '/^type=ddi_pseudo;name=kstat /d' \
-e '/^type=ddi_pseudo;name=ksyms /d' \
-e '/^type=ddi_display /d' \
-e '/^type=ddi_pseudo;name=clone;minor=icmp /d' \
-e '/^type=ddi_pseudo;name=SUNW,bpp /d' \
-e '/^type=ddi_pseudo;name=eeprom /d' \
-e '/^type=ddi_pseudo;name=clone;minor=ipdcm /d' \
-e '/^type=ddi_pseudo;name=vol /d' \
-e '/^type=ddi_pseudo;name=profile /d' \
-e '/^type=ddi_parallel;name=mcpp /d' \
-e '/^type=ddi_pseudo;name=zsh /d' \
-e '/^type=ddi_pseudo;name=clone;minor=zsh /d' \
-e '/^type=ddi_pseudo;name=SUNW,sx /d' \
-e '/^type=ddi_pseudo;name=sx_cmem /d' \
-e '/^type=ddi_parallel;name=SUNW,spif;minor=stclp /d' \
-e '/^type=ddi_pseudo;name=SUNW,spif;minor=stc /d' \
-e '/^type=ddi_pseudo;name=tl;minor=ticots /d' \
-e '/^type=ddi_pseudo;name=tl;minor=ticotsord /d' \
-e '/^type=ddi_pseudo;name=tl;minor=ticlts /d' \
-e '/^type=ddi_pseudo;name=md;minor=admin /d' \
-e '/^type=ddi_pseudo;name=md;minor2=blk /d' \
-e '/^type=ddi_pseudo;name=md;minor2=raw /d' \
-e '/^type=ddi_pseudo;name=tnf /d' \
-e '/^type=ddi_pseudo;name=pm /d' \
-e '/^type=ddi_block:diskette;minor=c /d' \
-e '/^type=ddi_block:diskette;minor=c,raw /d' \
-e '/^type=ddi_block:diskette;minor=c /d' \
-e '/^type=ddi_block:diskette;minor=c,raw /d' \
-e '/^type=ddi_pseudo;name=tod /d' \
-e '/^type=ddi_other;name=SUNW,pmc /d' \
-e '/^type=ddi_other;name=SUNW,mic /d' \
-e '/^type=ddi_pseudo;name=SUNW,envctrl /d' \
-e '/^type=ddi_other;name=power /d' \
-e '/^type=ddi_pseudo;name=SUNW,envctrltwo /d' \
-e '/^type=ddi_nexus;minor=initpcmcia /d' \
-e '/^type=ddi_pseudo;name=ecpp /d' \
-e '/^type=ddi_pseudo;name=se /d' \
-e 's,sys/obpdefs.h,<sys/sunddi.h>,' $dest > /tmp/d.$$
cp /tmp/d.$$ $dest
rm -f /tmp/d.$$ /tmp/newident.$$ /tmp/rest.$$
fi
done
exit 0