diff options
author | Kirill Tkhai <tkhai@yandex.ru> | 2012-08-24 05:50:28 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-08-31 11:14:19 -0400 |
commit | 22beb565d42bcf762585c477a34dcc00618e371e (patch) | |
tree | b2d90a021e916d316f4be2b4103b0920f33b447f /scripts | |
parent | 3085897359d80e73da2b4ea32ade7a9095594422 (diff) |
scripts/tags.sh: Add magic for pci access functions
scripts/tags.sh: Add magic for pci access functions
Make [ce]tags find the pci_bus_read_config_* and pci_bus_write_config_*
definitions
Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index cff8faad73d1..79fdafb0d263 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh | |||
@@ -154,7 +154,9 @@ exuberant() | |||
154 | --regex-c++='/__CLEARPAGEFLAG_NOOP\(([^,)]*).*/__ClearPage\1/' \ | 154 | --regex-c++='/__CLEARPAGEFLAG_NOOP\(([^,)]*).*/__ClearPage\1/' \ |
155 | --regex-c++='/TESTCLEARFLAG_FALSE\(([^,)]*).*/TestClearPage\1/' \ | 155 | --regex-c++='/TESTCLEARFLAG_FALSE\(([^,)]*).*/TestClearPage\1/' \ |
156 | --regex-c++='/__TESTCLEARFLAG_FALSE\(([^,)]*).*/__TestClearPage\1/' \ | 156 | --regex-c++='/__TESTCLEARFLAG_FALSE\(([^,)]*).*/__TestClearPage\1/' \ |
157 | --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' | 157 | --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' \ |
158 | --regex-c='/PCI_OP_READ\(([a-z]*[a-z]).*[1-4]\)/pci_bus_read_config_\1/' \ | ||
159 | --regex-c='/PCI_OP_WRITE\(([a-z]*[a-z]).*[1-4]\)/pci_bus_write_config_\1/' | ||
158 | 160 | ||
159 | all_kconfigs | xargs $1 -a \ | 161 | all_kconfigs | xargs $1 -a \ |
160 | --langdef=kconfig --language-force=kconfig \ | 162 | --langdef=kconfig --language-force=kconfig \ |
@@ -197,7 +199,9 @@ emacs() | |||
197 | --regex='/__CLEARPAGEFLAG_NOOP\(([^,)]*).*/__ClearPage\1/' \ | 199 | --regex='/__CLEARPAGEFLAG_NOOP\(([^,)]*).*/__ClearPage\1/' \ |
198 | --regex='/TESTCLEARFLAG_FALSE\(([^,)]*).*/TestClearPage\1/' \ | 200 | --regex='/TESTCLEARFLAG_FALSE\(([^,)]*).*/TestClearPage\1/' \ |
199 | --regex='/__TESTCLEARFLAG_FALSE\(([^,)]*).*/__TestClearPage\1/' \ | 201 | --regex='/__TESTCLEARFLAG_FALSE\(([^,)]*).*/__TestClearPage\1/' \ |
200 | --regex='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' | 202 | --regex='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' \ |
203 | --regex='/PCI_OP_READ\(([a-z]*[a-z]).*[1-4]\)/pci_bus_read_config_\1/' \ | ||
204 | --regex='/PCI_OP_WRITE\(([a-z]*[a-z]).*[1-4]\)/pci_bus_write_config_\1/' | ||
201 | 205 | ||
202 | all_kconfigs | xargs $1 -a \ | 206 | all_kconfigs | xargs $1 -a \ |
203 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' | 207 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' |