Re: hwclock failure in x86.git

2008-01-11 Thread Miguel Botón
. -- Miguel Botón -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] [MEMSTICK] Initial commit for Sony MemoryStick support

2008-01-13 Thread Miguel Botón
:(.text+0xd): multiple definition of `memstick_set_drvdata' drivers/memstick/core/memstick.o:memstick.c:(.text+0xd): first defined here This is because those three functions are not defined as static in include/linux/memstick.h. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include

[PATCH] iwlwifi: Remove unnecessary code in iwl3945 and iwl4965 drivers

2007-11-10 Thread Miguel Botón
; } cmd.keep_alive_beacons = 0; -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 1/2] mac80211: add power management support

2007-11-16 Thread Miguel Botón
This patch adds power management support in mac80211. This allows us to enable power management through the iwconfig device power off/on command. The code is based on mac80211-10.0.0 but it is a little bit modified. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/net/mac80211

[PATCH 2/2] iwlwifi: add power management support

2007-11-16 Thread Miguel Botón
This patch adds power management support in iwl3945 and iwl4965 drivers. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9baf8de..5c7b422 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945

Re: [PATCH 1/2] mac80211: add power management support

2007-11-16 Thread Miguel Botón
Ok, the previous patch had a little error. -- This patch adds power management support in mac80211. This allows us to enable power management through the iwconfig device power off/on command. The code is based on mac80211-10.0.0 but it is a little bit modified. Signed-off-by: Miguel Botón

Re: [PATCH 1/2] mac80211: add power management support

2007-11-16 Thread Miguel Botón
but it is a little bit modified. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 5fcc4c1..c82b6fa 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -452,6 +452,8 @@ struct ieee80211_conf { u8 antenna_max

[PATCH 2/2] iwlwifi: add power management support -v2

2007-11-16 Thread Miguel Botón
This patch adds power management support in iwl3945 and iwl4965 drivers. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9baf8de..5c7b422 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945

[PATCH 1/2] mac80211: add power management support -v2

2007-11-16 Thread Miguel Botón
This patch adds power management support in mac80211. This allows us to enable power management through the iwconfig device power off/on command. The code is based on mac80211-10.0.0 but it is a little bit modified. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include/net

Re: [PATCH 1/2] mac80211: add power management support -v2

2007-11-16 Thread Miguel Botón
-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 5fcc4c1..c82b6fa 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -452,6 +452,8 @@ struct ieee80211_conf { u8 antenna_max; u8 antenna_sel_tx; u8

[PATCH] iwlwifi: fix typo in 'drivers/net/wireless/iwlwifi/Kconfig'

2007-12-18 Thread Miguel Botón
--- This option will enable spectrum measurement for the iwl4965 driver. -- Miguel Botón -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH] acpi: remove duplicated warning message

2007-12-01 Thread Miguel Botón
Remove duplicated warning message in acpi_power_transition() This warning message is printed by acpi_bus_set_power() so we don't need to print it again. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index af1769a..b4af974 100644

[PATCH] iwlwifi: remove redundant declaration of 'iwl3945_priv' and 'iwl4965_priv' structs

2007-11-25 Thread Miguel Botón
-struct iwl4965_priv; - /* Hardware specific file defines the PCI IDs table for that hardware module */ extern struct pci_device_id iwl4965_hw_card_ids[]; -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

Re: [PATCH 2/2] iwlwifi: add power management support -v2

2007-11-26 Thread Miguel Botón
. This patch, depending if power management is enabled or not, sets which power mode we should use, Then, it checks if we're already using this mode or not. -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCH] ps3: mm/Kconfig fix

2007-12-08 Thread Miguel Botón
-by: Miguel Botón [EMAIL PROTECTED] diff --git a/mm/Kconfig b/mm/Kconfig index c0f5cbb..010a261 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -117,8 +117,8 @@ config SPARSEMEM_VMEMMAP_ENABLE config SPARSEMEM_VMEMMAP bool Sparse Memory virtual memmap - depends on SPARSEMEM - default y

Re: [PATCH] ps3: mm/Kconfig fix

2007-12-08 Thread Miguel Botón
Previous patch had another bug. This one works fine. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/mm/Kconfig b/mm/Kconfig index 010a261..9ef9741 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -117,7 +117,7 @@ config SPARSEMEM_VMEMMAP_ENABLE config SPARSEMEM_VMEMMAP bool

[PATCH] alsa: fix SNDRV_PCM_IOCTL_TTSTAMP value.

2007-12-15 Thread Miguel Botón
[ALSA] Use posix clock monotonic for PCM and timer timestamps introduces a bug that makes audio device unusable in some computers. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include/sound/asound.h b/include/sound/asound.h index 475eb71..d35aa44 100644 --- a/include/sound/asound.h

[PATCH] x86: export 'leave_mm' symbol

2007-12-28 Thread Miguel Botón
This patch fixes a linking error if CONFIG_ACPI_PROCESSOR=m (this error occurs in the 'mm' branch of linux-2.6-x86.git). We need to export the 'leave_mm' symbol so it can be accessible for the ACPI processor module. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/arch/x86/kernel

Re: Fwd: laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)

2007-12-29 Thread Miguel Botón
majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ These hardlocks start to appear with commit f10c1cfd359660c01446807b6c2bc8ce3aee919a -- Miguel Botón -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] alsa: fix compilation warning in GCC

2007-12-31 Thread Miguel Botón
This is just a little patch to shut up GCC. 'snd_shutdown_f_ops' is not a pointer so its address will never be NULL. GCC will complain because 'fops_get' will do an unnecessary check because 'snd_shutdown_f_ops' is always true. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/sound

[PATCH 1/2] ssb: add 'ssb_pcihost_set_power_state' function

2007-12-31 Thread Miguel Botón
This patch adds the 'ssb_pcihost_set_power_state' function. This function allows us to set the power state of a PCI device (for example b44 ethernet device). Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h index a21ab29..aa70fd0

[PATCH 2/2] b44: power down PHY when interface down

2007-12-31 Thread Miguel Botón
This is just this patch (http://lkml.org/lkml/2007/7/1/51) but adapted to the 'b44' ssb driver. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 49e9172..ea2a2b5 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -128,6 +128,8

[PATCH] x86: reboot_{32|64}.c unification

2008-01-03 Thread Miguel Botón
(like I usually do) so I hope we can identify and fix them soon. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 0903bbf..0cd4085 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile @@ -30,8 +30,8 @@ obj-y

Re: [PATCH] x86: reboot_{32|64}.c unification

2008-01-04 Thread Miguel Botón
On Friday 04 January 2008 14:03:31 Ingo Molnar wrote: * Miguel Botón [EMAIL PROTECTED] wrote: reboot_{32|64}.c unification patch. This patch unifies the code from the reboot_32.c and reboot_64.c files. It has been tested in computers with X86_32 and X86_64 kernels and it looks like

[PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'

2008-01-04 Thread Miguel Botón
This patch fixes a compilation warning in 'iwl-4965.c'. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 74999af..92237cd 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net

[PATCH] x86: little fix in 'include/asm-x86/topology.h'

2008-01-04 Thread Miguel Botón
'perfmon_amd64.c' compilation. This patch defines ENABLE_TOPO_DEFINE if this is a X86_64 kernel and we have SMP support enabled. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/include/asm-x86/topology.h b/include/asm-x86/topology.h index 9c25160..f95b3cc 100644 --- a/include/asm-x86/topology.h

Re: [PATCH] x86: little fix in 'include/asm-x86/topology.h'

2008-01-05 Thread Miguel Botón
On Saturday 05 January 2008 16:09:44 Ingo Molnar wrote: * Miguel Botón [EMAIL PROTECTED] wrote: Before 'topology_32.h' and 'topology_64.h' were unified, topology defines in a X86_64 kernel were declared if CONFIG_SMP was enabled. Now, post unification, these same defines in a X86_64 kernel

[PATCH] x86: paravirt_patch_{32|64}.c unification

2008-01-05 Thread Miguel Botón
paravirt_patch_{32|64}.c unification. This patch unifies the code from the paravirt_patcht_32.c and paravirt_patch_64.c files. I couldn't test this modification but it shouldn't have any bugs (it's a very simple modification). Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/arch/x86

[PATCH] x86: ioport_{32|64}.c unification

2008-01-05 Thread Miguel Botón
ioport_{32|64}.c unification. This patch unifies the code from the ioport_32.c and ioport_64.c files. Tested and working fine with i386 and x86_64 kernels. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 0903bbf..5ed68b4

Re: [PATCH] x86: ioport_{32|64}.c unification

2008-01-05 Thread Miguel Botón
, struct pt_regs *regs); -- Miguel Botón -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] x86: paravirt_patch_{32|64}.c unification

2008-01-06 Thread Miguel Botón
); - break; - - default: - ret = paravirt_patch_default(type, clobbers, ibuf, addr, len); - break; - } -#undef PATCH_SITE - return ret; -} --- Miguel Botón -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] x86: ioport_{32|64}.c unification -v2

2008-01-06 Thread Miguel Botón
ioport_{32|64}.c unification. This patch unifies the code from the ioport_32.c and ioport_64.c files. Tested and working fine with i386 and x86_64 kernels. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 0903bbf..92d9ac6

Re: [PATCH] x86: ioport_{32|64}.c unification -v2

2008-01-06 Thread Miguel Botón
Ingo Molnar wrote: * Miguel Botón [EMAIL PROTECTED] wrote: ioport_{32|64}.c unification. This patch unifies the code from the ioport_32.c and ioport_64.c files. Tested and working fine with i386 and x86_64 kernels. in what way have you tested it? Have you tried iopl() and ioperm

Re: [PATCH] x86: ioport_{32|64}.c unification -v2

2008-01-06 Thread Miguel Botón
Ingo Molnar wrote: * Miguel Botón [EMAIL PROTECTED] wrote: in what way have you tested it? Have you tried iopl() and ioperm() syscalls to check whether they properly block/allow port IO? I made a little app to check that iopl() and ioperm() were working properly. cool, thx. Could you

[PATCH] mac80211: fix format '%d' expects type 'int', but argument 7 has type 'long unsigned int' warning

2007-10-24 Thread Miguel Botón
-name, reassoc ? Rea : A, print_mac(mac, mgmt-sa), capab_info, status_code, aid ~(BIT(15) | BIT(14))); -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[PATCH] fix passing argument # of '__memcpy' discards qualifiers from pointer target type warnings

2007-10-24 Thread Miguel Botón
__force *)src, count); + const void __force *src1 = (const void __force *)src; + __memcpy(dst, src1, count); } static inline void -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCH 2/2] b44: power down PHY when interface down

2007-10-24 Thread Miguel Botón
ssb_dev *sdev, pm_message_t state) b44_setup_wol(bp); } + ssb_pci_set_power_state(sdev, PCI_D3hot); return 0; } -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

[PATCH 1/2] ssb: Add ssb_pci_set_power_state function

2007-10-24 Thread Miguel Botón
-bustype == SSB_BUSTYPE_PCI) + pci_set_power_state(dev-bus-host_pci, state); +} #endif /* CONFIG_SSB_PCIHOST */ -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH] Cute feature: colored printk output

2007-10-06 Thread Miguel Botón
On 10/5/07, Jan Engelhardt [EMAIL PROTECTED] wrote: Colored kernel message output Let's work more on Linux's cuteness! [http://lkml.org/lkml/2007/10/4/431] The following patch makes it possible to give kernel messages a selectable color which helps to distinguish it from other noise, such

Re: linux-2.6.24 compile error in drivers/net/b44.c

2008-02-02 Thread Miguel Botón
-info.html Please read the FAQ at http://www.tux.org/lkml/ This patch should fix b44 errors when 'SSB_PCIHOST' is not enabled. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git a/drivers/net/b44.c b/drivers/net/b44.c index ea2a2b5..d081234 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c

[PATCH] x86: remove duplicated #include entry

2007-11-01 Thread Miguel Botón
#include linux/kprobes.h is duplicated in arch/x86/mm/fault_32.c. We just remove one of the entries. Signed-off-by: Miguel Botón [EMAIL PROTECTED] Index: linux-2.6.24-rc1/arch/x86/mm/fault_32.c === --- linux-2.6.24-rc1.orig/arch

Re: Linux 2.6.24-rc2 build fails: implicit declaration of function ‘smp_call_function_mask'

2007-11-07 Thread Miguel Botón
@@ if (cpu != -1 cpu != raw_smp_processor_id()) cpu_set(cpu, cpus); } + +#ifdef CONFIG_SMP smp_call_function_mask(cpus, ack_flush, NULL, 1); +#endif } int kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) -- Miguel Botón

Re: v2.6.21.4-rt11

2007-06-10 Thread Miguel Botón
. -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch] CFS scheduler, -v17

2007-06-15 Thread Miguel Botón
and I didn't see something wrong). Looks like it only appears in kernel 2.6.22-rc4. -- Miguel Botón - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [patch] CFS scheduler, -v17

2007-06-15 Thread Miguel Botón
; #else > return 0; > #endif > } > ... > #endif I patched kernel 2.6.21.5 with CFS v17 and I didn't experience this problem (I checked that piece of code and I didn't see something wrong). Looks like it only appears in kernel 2.6.22-rc4. -- Miguel Botón - To unsubscribe

Re: v2.6.21.4-rt11

2007-06-10 Thread Miguel Botón
fine. I got rid of this message by commenting the code of the function "ieee80211_set_multicast_list()" that's on "net/mac80211/ieee80211.c" but this isn't a proper fix. I think you should know about this because kernel 2.6.22 already includes mac80211. Greetings. -- Miguel Bot

[PATCH 1/2] mac80211: add power management support

2007-11-16 Thread Miguel Botón
This patch adds power management support in mac80211. This allows us to enable power management through the "iwconfig power " command. The code is based on "mac80211-10.0.0" but it is a little bit modified. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]>

[PATCH 2/2] iwlwifi: add power management support

2007-11-16 Thread Miguel Botón
This patch adds power management support in iwl3945 and iwl4965 drivers. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9baf8de..5c7b422 100644 --- a/drivers/net/wireless/i

Re: [PATCH 1/2] mac80211: add power management support

2007-11-16 Thread Miguel Botón
Ok, the previous patch had a little error. -- This patch adds power management support in mac80211. This allows us to enable power management through the "iwconfig power " command. The code is based on "mac80211-10.0.0" but it is a little bit modified. Signed-off-by:

Re: [PATCH 1/2] mac80211: add power management support

2007-11-16 Thread Miguel Botón
mac80211-10.0.0" but it is a little bit modified. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 5fcc4c1..c82b6fa 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -452,6 +452,8 @@ struct ieee80211_con

[PATCH 2/2] iwlwifi: add power management support -v2

2007-11-16 Thread Miguel Botón
This patch adds power management support in iwl3945 and iwl4965 drivers. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9baf8de..5c7b422 100644 --- a/drivers/net/wireless/i

[PATCH 1/2] mac80211: add power management support -v2

2007-11-16 Thread Miguel Botón
This patch adds power management support in mac80211. This allows us to enable power management through the "iwconfig power " command. The code is based on "mac80211-10.0.0" but it is a little bit modified. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git

Re: [PATCH 1/2] mac80211: add power management support -v2

2007-11-16 Thread Miguel Botón
_handler) ieee80211_ioctl_giwpower, /* SIOCGIWPOWER */ (iw_handler) NULL, /* -- hole -- */ (iw_handler) NULL, /* -- hole -- */ (iw_handler) ieee80211_ioctl_siwgenie, /* SIOCSIWGENIE */ --

Re: [PATCH] Cute feature: colored printk output

2007-10-06 Thread Miguel Botón
On 10/5/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > Colored kernel message output > > Let's work more on Linux's cuteness! [http://lkml.org/lkml/2007/10/4/431] > The following patch makes it possible to give kernel messages a > selectable color which helps to distinguish it from other noise,

[PATCH] mac80211: fix "format '%d' expects type 'int', but argument 7 has type 'long unsigned int'" warning

2007-10-24 Thread Miguel Botón
quot;, + "status=%d aid=%ld)\n", dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa), capab_info, status_code, aid & ~(BIT(15) | BIT(14))); -- Miguel Botón - To unsubscribe from this list: send the line &quo

[PATCH] fix "passing argument # of '__memcpy' discards qualifiers from pointer target type" warnings

2007-10-24 Thread Miguel Botón
+0200 @@ -208,7 +208,8 @@ static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) { - __memcpy(dst, (const void __force *)src, count); + const void __force *src1 = (const void __force *)src; + __memcpy(dst, src1, count); } static inline v

[PATCH 2/2] b44: power down PHY when interface down

2007-10-24 Thread Miguel Botón
et_drvdata(sdev, NULL); } @@ -2312,6 +2329,7 @@ static int b44_suspend(struct ssb_dev *sdev, pm_message_t state) b44_setup_wol(bp); } + ssb_pci_set_power_state(sdev, PCI_D3hot); return 0; } -- Miguel Botón - To unsubscribe from this list: send

[PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function

2007-10-24 Thread Miguel Botón
f(dev->bus->bustype == SSB_BUSTYPE_PCI) + pci_set_power_state(dev->bus->host_pci, state); +} #endif /* CONFIG_SSB_PCIHOST */ -- Miguel Botón - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAI

Re: Linux 2.6.24-rc2 build fails: implicit declaration of function ‘smp_call_function_mask'

2007-11-07 Thread Miguel Botón
init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) -- Miguel Botón - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] iwlwifi: Remove unnecessary code in iwl3945 and iwl4965 drivers

2007-11-10 Thread Miguel Botón
ode; - break; } cmd.keep_alive_beacons = 0; -- Miguel Botón - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] x86: remove duplicated #include entry

2007-11-01 Thread Miguel Botón
"#include " is duplicated in "arch/x86/mm/fault_32.c". We just remove one of the entries. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> Index: linux-2.6.24-rc1/arch/x86/mm/fault_32.c === --- linux-2

[PATCH] x86: reboot_{32|64}.c unification

2008-01-03 Thread Miguel Botón
(like I usually do) so I hope we can identify and fix them soon. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 0903bbf..0cd4085 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile @@ -30,8 +30,8 @@

Re: [PATCH] x86: reboot_{32|64}.c unification

2008-01-04 Thread Miguel Botón
On Friday 04 January 2008 14:03:31 Ingo Molnar wrote: > * Miguel Botón <[EMAIL PROTECTED]> wrote: > > reboot_{32|64}.c unification patch. > > > > This patch unifies the code from the reboot_32.c and reboot_64.c > > files. > > > > It has been teste

[PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'

2008-01-04 Thread Miguel Botón
This patch fixes a compilation warning in 'iwl-4965.c'. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 74999af..92237cd 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drive

[PATCH] x86: little fix in 'include/asm-x86/topology.h'

2008-01-04 Thread Miguel Botón
'perfmon_amd64.c' compilation. This patch defines ENABLE_TOPO_DEFINE if this is a X86_64 kernel and we have SMP support enabled. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/include/asm-x86/topology.h b/include/asm-x86/topology.h index 9c25160..f95b3cc 100644 --- a/include/a

Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'

2008-01-04 Thread Miguel Botón
Ok, there's a new patch. This patch fixes a compilation warning in 'iwl-4965.c'. "warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’" Signed-off-by: Miguel Botón <[EMAIL PROTECTED] diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers

Re: [PATCH] x86: little fix in 'include/asm-x86/topology.h'

2008-01-05 Thread Miguel Botón
On Saturday 05 January 2008 16:09:44 Ingo Molnar wrote: > * Miguel Botón <[EMAIL PROTECTED]> wrote: > > Before 'topology_32.h' and 'topology_64.h' were unified, topology > > defines in a X86_64 kernel were declared if CONFIG_SMP was enabled. > > Now, post unif

[PATCH] x86: paravirt_patch_{32|64}.c unification

2008-01-05 Thread Miguel Botón
paravirt_patch_{32|64}.c unification. This patch unifies the code from the paravirt_patcht_32.c and paravirt_patch_64.c files. I couldn't test this modification but it shouldn't have any bugs (it's a very simple modification). Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git

[PATCH] x86: ioport_{32|64}.c unification

2008-01-05 Thread Miguel Botón
ioport_{32|64}.c unification. This patch unifies the code from the ioport_32.c and ioport_64.c files. Tested and working fine with i386 and x86_64 kernels. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 0903bbf..5

Re: [PATCH] x86: ioport_{32|64}.c unification

2008-01-05 Thread Miguel Botón
l, struct pt_regs *regs); -- Miguel Botón -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] x86: ioport_{32|64}.c unification

2008-01-05 Thread Miguel Botón
*regs = (struct pt_regs *) > unsigned int level = regs->bx; > return do_iopl(regs->bx, >flags); > } > #else > asmlinkage long sys_iopl(unsigned int level, struct pt_regs *regs) > { > return do_iopl(level, >flags); > } > #endif > > Ar

Re: [PATCH] x86: paravirt_patch_{32|64}.c unification

2008-01-06 Thread Miguel Botón
v_irq_ops, irq_disable); - PATCH_SITE(pv_cpu_ops, iret); - PATCH_SITE(pv_cpu_ops, irq_enable_syscall_ret); - PATCH_SITE(pv_cpu_ops, swapgs); - PATCH_SITE(pv_mmu_ops, read_cr2); - PATCH_SITE(pv_mmu_ops, read_cr3); - PATCH_SITE(pv_

[PATCH] x86: ioport_{32|64}.c unification -v2

2008-01-06 Thread Miguel Botón
ioport_{32|64}.c unification. This patch unifies the code from the ioport_32.c and ioport_64.c files. Tested and working fine with i386 and x86_64 kernels. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 0903bbf..9

Re: [PATCH] x86: ioport_{32|64}.c unification -v2

2008-01-06 Thread Miguel Botón
Ingo Molnar wrote: > * Miguel Botón <[EMAIL PROTECTED]> wrote: > >> ioport_{32|64}.c unification. >> >> This patch unifies the code from the ioport_32.c and ioport_64.c >> files. >> >> Tested and working fine with i386 and x86_64 kernels. > &g

Re: [PATCH] x86: ioport_{32|64}.c unification -v2

2008-01-06 Thread Miguel Botón
Ingo Molnar wrote: > * Miguel Botón <[EMAIL PROTECTED]> wrote: > >>> in what way have you tested it? Have you tried iopl() and ioperm() >>> syscalls to check whether they properly block/allow port IO? >> I made a little app to check that iopl() and ioperm()

Re: hwclock failure in x86.git

2008-01-11 Thread Miguel Botón
mmm, i'll try to reproduce it tomorrow and find a fix. thanks for notifying this problem. -- Miguel Botón -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] [MEMSTICK] Initial commit for Sony MemoryStick support

2008-01-13 Thread Miguel Botón
:(.text+0xd): multiple definition of `memstick_set_drvdata' drivers/memstick/core/memstick.o:memstick.c:(.text+0xd): first defined here This is because those three functions are not defined as static in "include/linux/memstick.h". Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff

[PATCH] ps3: "mm/Kconfig" fix

2007-12-08 Thread Miguel Botón
-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/mm/Kconfig b/mm/Kconfig index c0f5cbb..010a261 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -117,8 +117,8 @@ config SPARSEMEM_VMEMMAP_ENABLE config SPARSEMEM_VMEMMAP bool "Sparse Memory virtual memmap" - depe

Re: [PATCH] ps3: "mm/Kconfig" fix

2007-12-08 Thread Miguel Botón
Previous patch had another bug. This one works fine. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/mm/Kconfig b/mm/Kconfig index 010a261..9ef9741 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -117,7 +117,7 @@ config SPARSEMEM_VMEMMAP_ENABLE config SPARSEMEM_VMEMMAP

Re: linux-2.6.24 compile error in drivers/net/b44.c

2008-02-02 Thread Miguel Botón
unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ This patch should fix b44 errors when 'SSB_PCIHOST' is not enabled. Signed-off-

[PATCH] x86: export 'leave_mm' symbol

2007-12-28 Thread Miguel Botón
This patch fixes a linking error if CONFIG_ACPI_PROCESSOR=m (this error occurs in the 'mm' branch of linux-2.6-x86.git). We need to export the 'leave_mm' symbol so it can be accessible for the ACPI processor module. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/arch/x86/

Re: Fwd: laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)

2007-12-29 Thread Miguel Botón
the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ These hardlocks start to appear with commit f10c1cfd359660c01446807b6c2bc8ce

[PATCH] alsa: fix compilation warning in GCC

2007-12-31 Thread Miguel Botón
This is just a little patch to shut up GCC. 'snd_shutdown_f_ops' is not a pointer so its address will never be NULL. GCC will complain because 'fops_get' will do an unnecessary check because '_shutdown_f_ops' is always true. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a

[PATCH 1/2] ssb: add 'ssb_pcihost_set_power_state' function

2007-12-31 Thread Miguel Botón
This patch adds the 'ssb_pcihost_set_power_state' function. This function allows us to set the power state of a PCI device (for example b44 ethernet device). Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h index a21ab29..a

[PATCH 2/2] b44: power down PHY when interface down

2007-12-31 Thread Miguel Botón
This is just this patch (http://lkml.org/lkml/2007/7/1/51) but adapted to the 'b44' ssb driver. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 49e9172..ea2a2b5 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -128,6

[PATCH] iwlwifi: remove redundant declaration of 'iwl3945_priv' and 'iwl4965_priv' structs

2007-11-25 Thread Miguel Botón
table for that hardware module */ extern struct pci_device_id iwl4965_hw_card_ids[]; -- Miguel Botón - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-

Re: [PATCH 2/2] iwlwifi: add power management support -v2

2007-11-26 Thread Miguel Botón
moment. This patch, depending if power management is enabled or not, sets which power mode we should use, Then, it checks if we're already using this mode or not. -- Miguel Botón - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

[PATCH] acpi: remove duplicated warning message

2007-12-01 Thread Miguel Botón
Remove duplicated warning message in acpi_power_transition() This warning message is printed by acpi_bus_set_power() so we don't need to print it again. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index af1769a..b4af974

[PATCH] alsa: fix SNDRV_PCM_IOCTL_TTSTAMP value.

2007-12-15 Thread Miguel Botón
"[ALSA] Use posix clock monotonic for PCM and timer timestamps" introduces a bug that makes audio device unusable in some computers. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> diff --git a/include/sound/asound.h b/include/sound/asound.h index 475eb71..d35aa44 100644 ---

[PATCH] iwlwifi: fix typo in 'drivers/net/wireless/iwlwifi/Kconfig'

2007-12-18 Thread Miguel Botón
on IWL4965 ---help--- This option will enable spectrum measurement for the iwl4965 driver. -- Miguel Botón -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http:/