Patchwork utilities: kernelscan.sh: Add more paths to scan

login
register
mail settings
Submitter Colin King
Date Nov. 5, 2012, 6:43 p.m.
Message ID <1352141032-15267-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/197274/
State Accepted
Headers show

Comments

Colin King - Nov. 5, 2012, 6:43 p.m.
From: Colin Ian King <colin.king@canonical.com>

Add some more paths and source files to automatically scan.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/utilities/kernelscan.sh |   64 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
Keng-Yu Lin - Nov. 8, 2012, 3:03 a.m.
On Mon, Nov 5, 2012 at 7:43 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add some more paths and source files to automatically scan.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/utilities/kernelscan.sh |   64 +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 64 insertions(+)
>
> diff --git a/src/utilities/kernelscan.sh b/src/utilities/kernelscan.sh
> index a4296ac..529d9cc 100755
> --- a/src/utilities/kernelscan.sh
> +++ b/src/utilities/kernelscan.sh
> @@ -62,3 +62,67 @@ scan_source_tree()
>
>  scan_source_tree $src/drivers/acpi
>  scan_source_tree $src/arch/x86/kernel/acpi
> +scan_source_tree $src/arch/x86/platform/efi
> +scan_source_tree $src/drivers/pnp/pnpbios  # need to do, loads of errors
> +
> +
> +#
> +# Individual files
> +#
> +scan_source_file $src/arch/x86/pci/pcbios.c
> +#scan_source_file $src/drivers/cpufreq/powernow-k8.c
> +scan_source_file $src/arch/x86/kernel/cpu/mtrr/generic.c
> +scan_source_file $src/arch/ia64/kernel/acpi.c
> +scan_source_file $src/arch/x86/boot/video-bios.c
> +scan_source_file $src/arch/x86/boot/video-mode.c
> +scan_source_file $src/arch/x86/boot/video-vesa.c
> +scan_source_file $src/arch/x86/boot/video-vga.c
> +scan_source_file $src/arch/x86/boot/video.c
> +scan_source_file $src/arch/x86/kernel/apm_32.c
> +scan_source_file $src/arch/x86/kernel/cpu/amd.c
> +scan_source_file $src/arch/x86/kernel/cpu/common.c
> +scan_source_file $src/arch/x86/kernel/e820.c
> +scan_source_file $src/arch/x86/kernel/hpet.c
> +scan_source_file $src/arch/x86/kernel/setup.c
> +scan_source_file $src/arch/x86/kernel/smpboot.c
> +scan_source_file $src/kernel/time/timekeeping.c
> +scan_source_file $src/drivers/watchdog/iTCO_vendor_support.c
> +scan_source_file $src/drivers/watchdog/hpwdt.c
> +scan_source_file $src/drivers/usb/host/pci-quirks.c
> +
> +
> +#
> +# Various Platform drivers
> +#    some of these are commented out because they
> +#    break the CPP phase, this needs fixing
> +#
> +scan_source_file $src/drivers/platform/x86/acerhdf.c
> +scan_source_file $src/drivers/platform/x86/acer-wmi.c
> +scan_source_file $src/drivers/platform/x86/asus-laptop.c
> +scan_source_file $src/drivers/platform/x86/asus-nb-wmi.c
> +scan_source_file $src/drivers/platform/x86/asus-wmi.c
> +scan_source_file $src/drivers/platform/x86/classmate-laptop.c
> +scan_source_file $src/drivers/platform/x86/compal-laptop.c
> +scan_source_file $src/drivers/platform/x86/dell-laptop.c
> +scan_source_file $src/drivers/platform/x86/dell-wmi-aio.c
> +scan_source_file $src/drivers/platform/x86/dell-wmi.c
> +scan_source_file $src/drivers/platform/x86/eeepc-laptop.c
> +scan_source_file $src/drivers/platform/x86/eeepc-wmi.c
> +scan_source_file $src/drivers/platform/x86/fujitsu-laptop.c
> +scan_source_file $src/drivers/platform/x86/fujitsu-tablet.c
> +scan_source_file $src/drivers/platform/x86/hp-wmi.c
> +scan_source_file $src/drivers/platform/x86/ideapad-laptop.c
> +scan_source_file $src/drivers/platform/x86/msi-laptop.c
> +scan_source_file $src/drivers/platform/x86/msi-wmi.c
> +scan_source_file $src/drivers/platform/x86/mxm-wmi.c
> +scan_source_file $src/drivers/platform/x86/panasonic-laptop.c
> +scan_source_file $src/drivers/platform/x86/samsung-laptop.c
> +scan_source_file $src/drivers/platform/x86/samsung-q10.c
> +#scan_source_file $src/drivers/platform/x86/sony-laptop.c
> +scan_source_file $src/drivers/platform/x86/tc1100-wmi.c
> +#scan_source_file $src/drivers/platform/x86/thinkpad_acpi.c
> +scan_source_file $src/drivers/platform/x86/topstar-laptop.c
> +scan_source_file $src/drivers/platform/x86/toshiba_acpi.c
> +scan_source_file $src/drivers/platform/x86/toshiba_bluetooth.c
> +scan_source_file $src/drivers/platform/x86/wmi.c
> +scan_source_file $src/drivers/platform/x86/xo15-ebook.c
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - Nov. 21, 2012, 3:14 a.m.
On 11/06/2012 02:43 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add some more paths and source files to automatically scan.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/utilities/kernelscan.sh |   64 +++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 64 insertions(+)
>
> diff --git a/src/utilities/kernelscan.sh b/src/utilities/kernelscan.sh
> index a4296ac..529d9cc 100755
> --- a/src/utilities/kernelscan.sh
> +++ b/src/utilities/kernelscan.sh
> @@ -62,3 +62,67 @@ scan_source_tree()
>
>   scan_source_tree $src/drivers/acpi
>   scan_source_tree $src/arch/x86/kernel/acpi
> +scan_source_tree $src/arch/x86/platform/efi
> +scan_source_tree $src/drivers/pnp/pnpbios  # need to do, loads of errors
> +
> +
> +#
> +# Individual files
> +#
> +scan_source_file $src/arch/x86/pci/pcbios.c
> +#scan_source_file $src/drivers/cpufreq/powernow-k8.c
> +scan_source_file $src/arch/x86/kernel/cpu/mtrr/generic.c
> +scan_source_file $src/arch/ia64/kernel/acpi.c
> +scan_source_file $src/arch/x86/boot/video-bios.c
> +scan_source_file $src/arch/x86/boot/video-mode.c
> +scan_source_file $src/arch/x86/boot/video-vesa.c
> +scan_source_file $src/arch/x86/boot/video-vga.c
> +scan_source_file $src/arch/x86/boot/video.c
> +scan_source_file $src/arch/x86/kernel/apm_32.c
> +scan_source_file $src/arch/x86/kernel/cpu/amd.c
> +scan_source_file $src/arch/x86/kernel/cpu/common.c
> +scan_source_file $src/arch/x86/kernel/e820.c
> +scan_source_file $src/arch/x86/kernel/hpet.c
> +scan_source_file $src/arch/x86/kernel/setup.c
> +scan_source_file $src/arch/x86/kernel/smpboot.c
> +scan_source_file $src/kernel/time/timekeeping.c
> +scan_source_file $src/drivers/watchdog/iTCO_vendor_support.c
> +scan_source_file $src/drivers/watchdog/hpwdt.c
> +scan_source_file $src/drivers/usb/host/pci-quirks.c
> +
> +
> +#
> +# Various Platform drivers
> +#    some of these are commented out because they
> +#    break the CPP phase, this needs fixing
> +#
> +scan_source_file $src/drivers/platform/x86/acerhdf.c
> +scan_source_file $src/drivers/platform/x86/acer-wmi.c
> +scan_source_file $src/drivers/platform/x86/asus-laptop.c
> +scan_source_file $src/drivers/platform/x86/asus-nb-wmi.c
> +scan_source_file $src/drivers/platform/x86/asus-wmi.c
> +scan_source_file $src/drivers/platform/x86/classmate-laptop.c
> +scan_source_file $src/drivers/platform/x86/compal-laptop.c
> +scan_source_file $src/drivers/platform/x86/dell-laptop.c
> +scan_source_file $src/drivers/platform/x86/dell-wmi-aio.c
> +scan_source_file $src/drivers/platform/x86/dell-wmi.c
> +scan_source_file $src/drivers/platform/x86/eeepc-laptop.c
> +scan_source_file $src/drivers/platform/x86/eeepc-wmi.c
> +scan_source_file $src/drivers/platform/x86/fujitsu-laptop.c
> +scan_source_file $src/drivers/platform/x86/fujitsu-tablet.c
> +scan_source_file $src/drivers/platform/x86/hp-wmi.c
> +scan_source_file $src/drivers/platform/x86/ideapad-laptop.c
> +scan_source_file $src/drivers/platform/x86/msi-laptop.c
> +scan_source_file $src/drivers/platform/x86/msi-wmi.c
> +scan_source_file $src/drivers/platform/x86/mxm-wmi.c
> +scan_source_file $src/drivers/platform/x86/panasonic-laptop.c
> +scan_source_file $src/drivers/platform/x86/samsung-laptop.c
> +scan_source_file $src/drivers/platform/x86/samsung-q10.c
> +#scan_source_file $src/drivers/platform/x86/sony-laptop.c
> +scan_source_file $src/drivers/platform/x86/tc1100-wmi.c
> +#scan_source_file $src/drivers/platform/x86/thinkpad_acpi.c
> +scan_source_file $src/drivers/platform/x86/topstar-laptop.c
> +scan_source_file $src/drivers/platform/x86/toshiba_acpi.c
> +scan_source_file $src/drivers/platform/x86/toshiba_bluetooth.c
> +scan_source_file $src/drivers/platform/x86/wmi.c
> +scan_source_file $src/drivers/platform/x86/xo15-ebook.c
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/src/utilities/kernelscan.sh b/src/utilities/kernelscan.sh
index a4296ac..529d9cc 100755
--- a/src/utilities/kernelscan.sh
+++ b/src/utilities/kernelscan.sh
@@ -62,3 +62,67 @@  scan_source_tree()
 
 scan_source_tree $src/drivers/acpi
 scan_source_tree $src/arch/x86/kernel/acpi
+scan_source_tree $src/arch/x86/platform/efi
+scan_source_tree $src/drivers/pnp/pnpbios  # need to do, loads of errors
+
+
+#
+# Individual files
+#
+scan_source_file $src/arch/x86/pci/pcbios.c
+#scan_source_file $src/drivers/cpufreq/powernow-k8.c
+scan_source_file $src/arch/x86/kernel/cpu/mtrr/generic.c
+scan_source_file $src/arch/ia64/kernel/acpi.c
+scan_source_file $src/arch/x86/boot/video-bios.c
+scan_source_file $src/arch/x86/boot/video-mode.c
+scan_source_file $src/arch/x86/boot/video-vesa.c
+scan_source_file $src/arch/x86/boot/video-vga.c
+scan_source_file $src/arch/x86/boot/video.c
+scan_source_file $src/arch/x86/kernel/apm_32.c
+scan_source_file $src/arch/x86/kernel/cpu/amd.c
+scan_source_file $src/arch/x86/kernel/cpu/common.c
+scan_source_file $src/arch/x86/kernel/e820.c
+scan_source_file $src/arch/x86/kernel/hpet.c
+scan_source_file $src/arch/x86/kernel/setup.c
+scan_source_file $src/arch/x86/kernel/smpboot.c
+scan_source_file $src/kernel/time/timekeeping.c
+scan_source_file $src/drivers/watchdog/iTCO_vendor_support.c
+scan_source_file $src/drivers/watchdog/hpwdt.c
+scan_source_file $src/drivers/usb/host/pci-quirks.c
+
+
+#
+# Various Platform drivers
+#    some of these are commented out because they
+#    break the CPP phase, this needs fixing
+# 
+scan_source_file $src/drivers/platform/x86/acerhdf.c
+scan_source_file $src/drivers/platform/x86/acer-wmi.c
+scan_source_file $src/drivers/platform/x86/asus-laptop.c
+scan_source_file $src/drivers/platform/x86/asus-nb-wmi.c
+scan_source_file $src/drivers/platform/x86/asus-wmi.c
+scan_source_file $src/drivers/platform/x86/classmate-laptop.c
+scan_source_file $src/drivers/platform/x86/compal-laptop.c
+scan_source_file $src/drivers/platform/x86/dell-laptop.c
+scan_source_file $src/drivers/platform/x86/dell-wmi-aio.c
+scan_source_file $src/drivers/platform/x86/dell-wmi.c
+scan_source_file $src/drivers/platform/x86/eeepc-laptop.c
+scan_source_file $src/drivers/platform/x86/eeepc-wmi.c
+scan_source_file $src/drivers/platform/x86/fujitsu-laptop.c
+scan_source_file $src/drivers/platform/x86/fujitsu-tablet.c
+scan_source_file $src/drivers/platform/x86/hp-wmi.c
+scan_source_file $src/drivers/platform/x86/ideapad-laptop.c
+scan_source_file $src/drivers/platform/x86/msi-laptop.c
+scan_source_file $src/drivers/platform/x86/msi-wmi.c
+scan_source_file $src/drivers/platform/x86/mxm-wmi.c
+scan_source_file $src/drivers/platform/x86/panasonic-laptop.c
+scan_source_file $src/drivers/platform/x86/samsung-laptop.c
+scan_source_file $src/drivers/platform/x86/samsung-q10.c
+#scan_source_file $src/drivers/platform/x86/sony-laptop.c
+scan_source_file $src/drivers/platform/x86/tc1100-wmi.c
+#scan_source_file $src/drivers/platform/x86/thinkpad_acpi.c
+scan_source_file $src/drivers/platform/x86/topstar-laptop.c
+scan_source_file $src/drivers/platform/x86/toshiba_acpi.c
+scan_source_file $src/drivers/platform/x86/toshiba_bluetooth.c
+scan_source_file $src/drivers/platform/x86/wmi.c
+scan_source_file $src/drivers/platform/x86/xo15-ebook.c