path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2005-06-27[PATCH] pcmcia: file2aliasDominik Brodowski1-0/+39
Create PCMCIA entries in modules.alias Signed-off-by: Dominik Brodowski <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-06-25[PATCH] Kill signed charsJ.A. Magallon6-25/+25
scripts/ is full of mismatches between char* params an signed char* arguments, and viceversa. gcc4 now complaints loud about this. Patch below deletes all those 'signed'. Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-06-25[PATCH] mconf.c needs locale.hJean-Christophe Dubois1-0/+1
This is failing on my cross-compilation environment (From a solaris system) using gcc-3.4.1 (as the compiler can't find a prototype for the setlocale() function). Signed-off-by: Jean-Christophe Dubois <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-06-23[PATCH] gconfig: only show scrollbars if neededThierry Vignaud1-5/+5
gconfig: only show scrollbars if needed (which is more user friendly): Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-06-23[PATCH] apply quotation handling to Makefile.buildJan Beulich1-2/+2
Adding quotation handling to rule_cc_o_c in scripts/ as used elsewhere. Signed-off-by: Jan Beulich <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-05[PATCH] patch-kernel: support non-incremental 2.6.x.y 'stable' patchesRandy.Dunlap1-30/+101
Add better support for (non-incremental) 2.6.x.y patches; If an ending version number if not specified, the script automatically increments the SUBLEVEL (x in 2.6.x.y) until no more patch files are found; however, EXTRAVERSION (y in 2.6.x.y) is never automatically incremented but must be specified fully. patch-kernel does not normally support reverse patching, but does so when applying EXTRAVERSION (x.y) patches, so that moving from 2.6.11.y to 2.6.11.z is easy and handled by the script (reverse 2.6.11.y and apply 2.6.11.z). Signed-off-by: Randy Dunlap <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-05[PATCH] ppc32: platform-specific functions missing from kallsyms.David Woodhouse1-7/+13
The PPC32 kernel puts platform-specific functions into separate sections so that unneeded parts of it can be freed when we've booted and actually worked out what we're running on today. This makes kallsyms ignore those functions, because they're not between _[se]text or _[se]inittext. Rather than teaching kallsyms about the various pmac/chrp/etc sections, this patch adds '_[se]extratext' markers for kallsyms. Signed-off-by: David Woodhouse <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-05[PATCH] Kconfig i18n supportArnaldo Carvalho de Melo10-124/+395
This patch adds i18n support for make *config, allowing users to have the config process in their own language. No printk was harmed in the process, don't worry, so all the bug reports, kernel messages, etc, remain in english, just the user tools to configure the kernel are internationalized. Users not interested in translations can just unset the related LANG, LC_ALL, etc env variables and have the config process in plain english, something like: LANG= make menuconfig is enough for having the whole config process in english. Or just don't install any translation file. Translations for brazilian portuguese are being done by a team of volunteers at: To start the translation process: make update-po-config This will generate the pot template named scripts/kconfig/linux.pot, copy it to, say, ~/es.po, to start the translation for spanish. To test your translation, as root issue this command: msgfmt -o /usr/share/locale/es/LC_MESSAGES/ ~/es.po Replace "es" with your language code. Then execute, for instance: make menuconfig The current patch doesn't use any optimization to reduce the size of the generated .mo file, it is possible to use the config option as a key, but this doesn't prevent the current patch from being used or the translations done under the current scheme to be in any way lost if we chose to do any kind of keying. Thanks to Fabricio Vaccari for starting the pt_BR (brazilian portuguese) translation effort, Thiago Maciera for helping me with the (QT frontent) i18n coding and to all the volunteers that are already working on the first translation, to pt_BR. I left the question on whether to ship the translations with the stock kernel sources to be discussed here, please share your suggestions. Signed-off-by: Arnaldo Carvalho de Melo <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds < Signed-off-by: Andrew Morton <>
2005-05-01[PATCH] DocBook: Use xmlto to process the DocBook files.Martin Waitz3-301/+28
xmlto uses standared XSLT templates to generate manpages, (x)html pages, and XML FO files which can be processed with passivetex. This is much faster than using jadetex for everything. This patch also reduces the number of kernel-specific scripts that are needed to generate documentation. Signed-off-by: Martin Waitz <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-01[PATCH] DocBook: use <informalexample> for examplesRich Walker1-4/+9
Signed-off-by: Martin Waitz <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-01[PATCH] DocBook: fix <void/> xml tagMartin Waitz1-1/+1
This fix is needed to create valid XML. Signed-off-by: Martin Waitz <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-01[PATCH] DocBook: changes and extensions to the kernel documentationPavel Pisa1-0/+2
I have recompiled Linux kernel documentation for me and our university students again. The documentation could be extended for more sources which are equipped by structured comments for recent 2.6 kernels. I have tried to proceed with that task. I have done that more times from 2.6.0 time and it gets boring to do same changes again and again. Linux kernel compiles after changes for i386 and ARM targets. I have added references to some more files into kernel-api book, I have added some section names as well. So please, check that changes do not break something and that categories are not too much skewed. I have changed kernel-doc to accept "fastcall" and "asmlinkage" words reserved by kernel convention. Most of the other changes are modifications in the comments to make kernel-doc happy, accept some parameters description and do not bail out on errors. Changed <pid> to @pid in the description, moved some #ifdef before comments to correct function to comments bindings, etc. You can see result of the modified documentation build at Some more sources are ready to be included into kernel-doc generated documentation. Sources has been added into kernel-api for now. Some more section names added and probably some more chaos introduced as result of quick cleanup work. Signed-off-by: Pavel Pisa <> Signed-off-by: Martin Waitz <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-05-01[PATCH] kallsyms C_SYMBOL_PREFIX supportYoshinori Sato1-20/+56
kallsyms does not consider SYMBOL_PREFIX of C. Consequently it does not work on architectures using that prefix character (h8300, v850). Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2005-04-22[PATCH] USB: scripts/mod/file2alias.c: handle numeric ranges for USB bcdDeviceRoman Kagan1-23/+88
Another attempt at that... The attached patch fixes the longstanding problem with USB bcdDevice numeric ranges incorrectly converted into patterns for MODULE_ALIAS generation. Previously it put both the lower and the upper limits into the pattern, dlXdhY, making it impossible to fnmatch against except for a few special cases, like dl*dh* or dlXdhX. The patch makes it generate multiple MODULE_ALIAS lines covering the whole range with fnmatch-able patterns. E.g. for a range between 0x0001 and 0x8345 it gives the following patterns: 000[1-9] 00[1-9]* 0[1-9]* [1-7]* 8[0-2]* 83[0-3]* 834[0-5] Since bcdDevice is 2 bytes wide = 4 digits in hex representation, the max no. of patters is 2 * 4 - 1 = 7. The values are BCD (binary-coded decimals) and not hex, so patterns using a dash seem to be safe regardless of locale collation order. The patch changes bcdDevice part of the alias from dlXdhY to dZ, but this shouldn't have big compatibility issues because fnmatch()-based modprobing hasn't yet been widely used. Besides, the most common (and almost the only working) case of dl*dh* becomes d* and thus continues to work. The patch is against 2.6.12-rc2, applies to -mm3 with an offset. The matching patch to fix the MODALIAS environment variable now generated by the usb hotplug function follows. Signed-off-by: Roman Kagan <> Signed-off-by: Greg Kroah-Hartman <>
2005-04-18[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.Steven Cole1-1/+1
Without the attached patch, the ver_linux script gives the following if udev utils are not present. ./scripts/ver_linux: line 90: udevinfo: command not found The patch causes ver_linux to be silent in the case of no udevinfo command. Signed-off-by: Steven Cole <> Signed-off-by: Greg Kroah-Hartman <>
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds94-0/+34478
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!