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

2008-02-02 Thread Miguel Botón
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/ This patch should fix b44 errors when 'SSB_PCIHOST' is n

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

2008-01-13 Thread Miguel Botón
data': mspro_block.c:(.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 &

Re: hwclock failure in x86.git

2008-01-11 Thread Miguel Botón
Ingo 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] 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: [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

[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: paravirt_patch_{32|64}.c unification

2008-01-06 Thread Miguel Botón
TCH_SITE(pv_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_SIT

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

2008-01-05 Thread Miguel Botón
ng do_iopl(unsigned int level, 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
gs = (struct pt_regs *)®sp; > unsigned int level = regs->bx; > return do_iopl(regs->bx, ®s->flags); > } > #else > asmlinkage long sys_iopl(unsigned int level, struct pt_regs *regs) > { > return do_iopl(level, ®s->flags); > } > #endif > >

[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]&g

[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: 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. > >

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-49

[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 +

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

2008-01-04 Thread Miguel Botón
for example, breaks '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..

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

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

2008-01-03 Thread Miguel Botón
takes (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

[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

[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

[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 <[

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

2007-12-29 Thread Miguel Botón
nd 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 f10c1cfd359660c01446807b6c2

[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]> di

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

2007-12-18 Thread Miguel Botón
depends 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

[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 ---

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

[PATCH] ps3: "mm/Kconfig" fix

2007-12-08 Thread Miguel Botón
ff-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" -

[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 1

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

2007-11-26 Thread Miguel Botón
ER_AC in any 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 bo

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

2007-11-25 Thread Miguel Botón
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] More majordomo info at http://vger.k

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

2007-11-16 Thread Miguel Botón
wer, /* SIOCSIWPOWER */ + (iw_handler) ieee80211_ioctl_giwpower, /* SIOCGIWPOWER */ (iw_handler) NULL, /* -- hole -- */ (iw_handler) NULL, /* -- hole -- */ (iw_handler) ieee80211_ioctl_siwgenie, /* SIOCSI

[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

[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

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

2007-11-16 Thread Miguel Botón
-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

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:

[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

[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] iwlwifi: Remove unnecessary code in iwl3945 and iwl4965 drivers

2007-11-10 Thread Miguel Botón
= mode; - 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 Pl

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

2007-11-07 Thread Miguel Botón
vcpu_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] 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 2/2] b44: power down PHY when interface down

2007-10-24 Thread Miguel Botón
hot); ssb_set_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 fr

[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

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

2007-10-24 Thread Miguel Botón
007-10-24 15:56:42.0 +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, coun

[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

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,

Re: [patch] CFS scheduler, -v17

2007-06-15 Thread Miguel Botón
P > return rq->cpu; > #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.

Re: v2.6.21.4-rt11

2007-06-10 Thread Miguel Botón
d works 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. Greet