aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2005-03-30[PATCH] x86, x86_64: reading deterministic cache parameters and exporting it ↵Venkatesh Pallipadi3-0/+480
in /sysfs The attached patch adds support for using cpuid(4) instead of cpuid(2), to get CPU cache information in a deterministic way for Intel CPUs, whenever supported. The details of cpuid(4) can be found here IA-32 Intel Architecture Software Developer's Manual (vol 2a) (http://developer.intel.com/design/pentium4/manuals/index_new.htm#sdm_vol2a) and Prescott New Instructions (PNI) Technology: Software Developer's Guide (http://www.intel.com/cd/ids/developer/asmo-na/eng/events/43988.htm) The advantage of using the cpuid(4) ('Deterministic Cache Parameters Leaf') are: - It provides more information than the descriptors provided by cpuid(2) - It is not table based as cpuid(2). So, we will not need changes to the kernel to support new cache descriptors in the descriptor table (as is the case with cpuid(2)). The patch also adds a bunch of interfaces under /sys/devices/system/cpu/cpuX/cache, showing various information about the caches. Most useful field being shared_cpu_map, which says what caches are shared among which logical cpus. The patch adds support for both i386 and x86-64. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] x86-64 kprobes: handle %RIP-relative addressing modeRoland McGrath1-4/+136
The existing x86-64 kprobes implementation doesn't cope with the %RIP-relative addressing mode. Kprobes work by single-stepping a copy of an instruction overwritten by a breakpoint. When a probe is inserted on an instruction that uses the %RIP-relative data addressing mode, the copy run in a different location gets different data and so the presence of that probe causes the probed code to read or write the wrong memory location. Without this problem fixed, it is woefully unsafe to use the current kprobes code on x86-64 unless you are sure the instruction you instrument is not one that accesses global data using the %RIP addressing mode. This patch fixes the problem by recognizing the %RIP-relative addressing mode in an instruction when it's being copied to insert the kprobe, and adjusting its displacement so that it finds the right data. Taking this approach requires that the copied instruction's %RIP value be within 2GB of the virtual address of the data, i.e. the text/data areas of the kernel code and loaded modules. To satisfy this need the patch also replaces the use of vmalloc for getting instruction pages with lower-level calls to use a different part of the address space, the area at the top of the address space just above where modules are loaded. I left one page of red zone at the top, and the 1MB-4KB thus available allows for at most 69632 kprobes. (If we ever need to overcome that limit, we can change this to add a hook into the arch/x86_64/kernel/modules.c code and allocate pages inside the module area loading area instead.) Signed-off-by: Roland McGrath <roland@redhat.com> Acked-by: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] x86_64: reduce cacheline bouncing in cpu_idle_waitZwane Mwaikambo1-15/+26
Andi noted that during normal runtime cpu_idle_map is bounced around a lot, and occassionally at a higher frequency than the timer interrupt wakeup which we normally exit pm_idle from. So switch to a percpu variable. I didn't move things to the slow path because it would involve adding scheduler code to wakeup the idle thread on the cpus we're waiting for. Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] x86_64: avoid panic lockupAndrea Arcangeli1-1/+4
This patch avoids a lockup with kernel.panic sysctl > 0, due an underflow of the number of the cpus. Later, Andrea said: While this still seems a needed fix, unfortunately this wasn't enough to fix the problem (the first positive report I got was because they did a mistake and they tested an UP kernel, oh well ;). Anyway the smp_stop_cpu executed by the cpu that invoked panic is wrong and it really causes an underflow of the number of cpus that can lead to further lockups. So I don't want to stop you from merging it since it seems a correct fix and it brings x86-64 in line with the x86 code too. But apparently we need something more than this too. Signed-off-by: Andrea Arcangeli <andrea@suse.de> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] arch/i386/kernel/smp.c: remove a pointless "inline"Adrian Bunk1-1/+1
All callers of send_IPI_mask_sequence are in other files, so marking it "inline" is quite pointless. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] x86: fix ESP corruption CPU bug (take 2)Stas Sergeev6-26/+171
This works around the corruption of the high word of the ESP register, which is the official bug of x86 CPUs. The bug triggers only when the one is using the 16bit stack segment, and is described here: http://www.intel.com/design/intarch/specupdt/27287402.PDF From: Oleg Nesterov <oleg@tv-sign.ru> I think that Stas tries to steal 1024 bytes from kernel's memory. Acked-by: Linus Torvalds <torvalds@osdl.org> Acked-by: Petr Vandrovec <vandrove@vc.cvut.cz> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Stas Sergeev <stsp@aknet.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] x86: reduce cacheline bouncing in cpu_idle_waitZwane Mwaikambo1-9/+20
Andi noted that during normal runtime cpu_idle_map is bounced around a lot, and occassionally at a higher frequency than the timer interrupt wakeup which we normally exit pm_idle from. So switch to a percpu variable. I didn't move things to the slow path because it would involve adding scheduler code to wakeup the idle thread on the cpus we're waiting for. Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc64: Add mem=X boot command line optionMichael Ellerman8-32/+276
This patch adds the mem=X boot command line option for PPC64. On iSeries the user's mem=X value is aligned to PAGE_SIZE, on pSeries we align to 16 MB which is the size of a large page. The iSeries implementation is fairly straight forward, we declare mem=X as an early_param() and then in iSeries_init_early() we modify the systemcfg->physicalMemorySize based on that value. On pSeries the mem=X option is parsed in prom_init.c before the kernel proper starts, and is used to modify prom_init_mem()'s idea of memory. The mem=X value and computed tce_alloc_start/end values are saved by prom_init() into the device tree for later use by the kernel. The device tree properties are read by the kernel in early_dt_scan_chosen(), and used to modify the lmb structure in early_init_devtree(). That's the guts of it. On non-LPAR machines the tce_alloc_start/end values are read from the device tree and used in htab_initialize() to make sure the TCE table is mapped at the real top of RAM. If NUMA is enabled we also have to make changes in parse_numa_properties() and do_init_bootmem() to exclude memory regions above the memory limit, and truncate any region which stradles the limit. NB. This patch does not facilitate using mem=X to give drivers access to large regions of contiguous memory. Thanks to BenH, Anton, Olof, Stephen, Mike & Maneesh for their help. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc64: fix zilog link errorAmos Waterland1-1/+1
drivers/built-in.o(.text+0x2c640): In function `pmz_attach': /home/apw/devel/percs-head/linux-2.6/drivers/serial/pmac_zilog.c:1560: undefined reference to `.macio_request_resources' Signed-off-by: Amos Waterland <apw@us.ibm.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] seccomp for ppc64Andrea Arcangeli9-27/+93
This patch against 12-rc1 adds seccomp to the ppc64 arch. I tested it successfully with the seccomp_test. I didn't bother to change the syscall exit not to check for TIF_SECCOMP, in theory that bit could be optimized but it's an optimization in the slow path, and current code is a bit simpler. I also verified it still compiles and works fine on x86 and x86-64. Instead of the TIF_32BIT redefine, if you want to change x86-64 to use TIF_32BIT too (instead of TIF_IA32), let me know. Signed-off-by: Andrea Arcangeli <andrea@cpushare.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: MPC8555 CPM2 size/pointers for FCCs aka "All-ones problem"Stefan Nickl1-1/+1
I've seen that MPC8555 support also made it into linux-2.6 by now. I don't have hardware and time to test, but it looks like this bug has made it over from the linuxppc-2.4 tree. The 8541/8555 has a smaller CPM DPRAM than the standard CPM2, just like the 8272. Unfortunately, the manual recommends you to use a segment of CPM DPRAM that is not implemented in the 8541/55. If the smaller DPRAM is not taken into account, fcc_enet.c will initialise the internal CPM buffer pointers (fcc_riptr/fcc_tiptr) to invalid offsets, with the result that all the FCC will ever send and receive are 0xff-en. See also "All-ones problem with FCC1 on MPC8541" ~October 2004 on linuxppc-embedded. Signed-off-by: Stefan Nickl <Stefan.Nickl@kontron.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: Fix MPC8555 & MPC8555E device lists (updated)Kumar Gala1-4/+4
Removed the FCC3 device from the lists of devices on MPC8555 & MPC8555E since it does not exist on these processors. Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: CPM2 PIC cleanup irq_to_siubit arrayKumar Gala1-13/+15
Cleaned up irq_to_siubit array so we no longer need to do 1 << (31-bit), just 1 << bit. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: CPM2 PIC cleanupKumar Gala8-181/+172
Cleaned up the CPM2 interrupt controller code: * Added the ability to offset the IRQs * Refactored common PIC init code out of platform files * Fixed IRQ offsets on MPC85xx so it can handle properly handled multiple interrupt controllers (i8259, CPM2 PIC, and OpenPIC) Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: cleanup of Book-E exception handlingKumar Gala5-326/+106
Cleaned up the Book-E exception handling code to remove saving/restoring registers that were not needed. Moved the register save/restore area onto the exception stacks instead of dedicated offsets. Additionally, this allows for proper SMP handling of the additional exception levels. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: Adds necessary cpu init to use USB on LITE5200 PlatformSylvain Munaut1-3/+35
To use external peripheral on MPC5200, some clocking registers and port-muxing must be done. Since this is platform specific, it's placed the platform support file. This particular patch is for USB support on the LITE5200. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] serial: Update mpc52xx_uart.c to use platform busSylvain Munaut1-103/+86
All Freescale MPC52xx related code now use new constants and the platform bus for it's driver. This patch makes this driver make use of that. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: Use platform bus / ppc_sys model for Freescale MPC52xxSylvain Munaut7-1/+422
This patch makes all platform based around the Freescale MPC52xx use the platform bus and more precisly the ppc_sys model put in place by Kumar Gala. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: Change constants style in Freescale MPC52xx related codeSylvain Munaut7-70/+67
This patch changes the way the constants used for register block address are defined/used. This is a preparation for the use of the platform bus / ppc_sys model. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: Remove the OCP system from the Freescale MPC52xx supportSylvain Munaut5-44/+4
We remove all usage of the OCP system as preparation to switch to the platform bus model / ppc_sys model. This is only for 'generic' support, drivers are adapted separatly, afterwards. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] ppc32: Remove unnecessary test in MPC52xx reset codeSylvain Munaut1-5/+2
That test is part of an old version of the code and erroneously made it to mainstream. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] cpuset: make function decl. ANSIRandy Dunlap1-1/+1
kernel/cpuset.c:1428:41: warning: non-ANSI function declaration Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Acked-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] cpusets GFP_ATOMIC fix: tonedown panic commentpj@engr.sgi.com2-6/+6
This patch applies on top of my patch of March 26, entitled "cpusets special case GFP_ATOMIC allocs". It tones down my panic'y commentary. My commentary shouldn't imply that failed GFP_ATOMICs should lead to, or normally lead to, panics. Even though there are a few panic() calls following failed GFP_ATOMIC allocs, this is not the usual or desired result of a failed GFP_ATOMIC. The kernel will probably drop some detail on the floor and keep on working. Thanks to Nick Piggin for noticing (I hope this answers his point.) Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] cpusets: special-case GFP_ATOMIC allocsPaul Jackson2-1/+12
Stringent enforcement of cpuset memory placement could cause the kernel to fail a GFP_ATOMIC (!wait) memory allocation, even though memory was available elsewhere in the system. Relax the cpuset constraint, on the last zone loop in mm/page_alloc.c:__alloc_pages(), for ATOMIC requests. Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] read_kmem() fixesHirofumi Ogawa1-12/+13
drivers/char/mem.c:289 if (p < PAGE_SIZE && read > 0) { [...] read -= tmp; count -= tmp; This part is losting the number of bytes which read. drivers/char/mem.c:302 sz = min_t(unsigned long, sz, count); This should use "read" instead of "count". drivers/char/mem.c:315 read -= sz; count -= sz; Also lost the number of bytes which read. In short, kmem returns incorrect number always if user is accessing the lowmem area. And also it doesn't handle the highmem boundary rightly. This patch uses "low_count" instead of "read", as the number of copy in lowmem area. And "read" is used as the number of bytes which read. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] BDI: Provide backing device capability information [try #3]David Howells15-20/+68
The attached patch replaces backing_dev_info::memory_backed with capabilitied bitmap. The capabilities available include: (*) BDI_CAP_NO_ACCT_DIRTY Set if the pages associated with this backing device should not be tracked by the dirty page accounting. (*) BDI_CAP_NO_WRITEBACK Set if dirty pages associated with this backing device should not have writepage() or writepages() invoked upon them to clean them. (*) Capability markers that indicate what a backing device is capable of with regard to memory mapping facilities. These flags indicate whether a device can be mapped directly, whether it can be copied for a mapping, and whether direct mappings can be read, written and/or executed. This information is primarily aimed at improving no-MMU private mapping support. The patch also provides convenience functions for determining the dirty-page capabilities available on backing devices directly or on the backing devices associated with a mapping. These are provided to keep line length down when checking for the capabilities. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] NFS: Fix typo in access caching codeTrond Myklebust1-1/+1
Currently we fail to clear the "invalid cache" flag when we've revalidated the cache. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[PATCH] arm atomic_sub_and_test()zam@namesys.com1-0/+1
Add a wrapper for atomic_sub_and_test into include/asm-arm/atomic.h Acked-by: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-30[SERIAL] Remove serial8250_late_console_initRussell King1-8/+0
The serial core will try to register the console each time a port is registered with it. This makes serial8250_late_console_init redundant, so remove it. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2005-03-30Merge sunset.davemloft.net:/home/davem/src/BK/sparcwork-2.6David S. Miller66-4664/+2017
into sunset.davemloft.net:/home/davem/src/BK/sparc-2.6
2005-03-30[SPARC64]: Kill final normal g5 register reference.David S. Miller1-13/+13
This one was in strncpy_from_user(). Now we can finally put the per-cpu data area base into g5 on SMP. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30[SPARC64]: Simplify checksumming code.David S. Miller10-2893/+386
The main impetus was to get rid of some of the remaining g5 register accesses. But this routine is about as fast as the older VIS stuff, and actually faster on UltraSPARC-III and later chips. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30Merge bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds16-29/+73
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-30[SERIAL] m32r_sio driver updatetakata@org.rmk.(none)2-141/+31
Patch from Hirokazu Takata m32r_sio driver updates: - Move m32r_sio specific description from asm-m32r/serial.h to driver/serial/m32r_sio.c. - Remove __register_m32r_sio, register_m32r_sio and unregister_m32r_sio from driver/serial/m32r_sio.c. Signed-off-by: Hirokazu Takata
2005-03-30Merge bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds10-266/+167
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-30Merge pobox.com:/garz/repo/netdev-2.6/b44Jeff Garzik2-17/+22
into pobox.com:/garz/repo/net-drivers-2.6
2005-03-30Merge pobox.com:/garz/repo/netdev-2.6/e1000Jeff Garzik2-3/+19
into pobox.com:/garz/repo/net-drivers-2.6
2005-03-30Merge pobox.com:/garz/repo/netdev-2.6/s2ioJeff Garzik2-1/+3
into pobox.com:/garz/repo/net-drivers-2.6
2005-03-30[PATCH] fix Jazzsonic driver build on m68kFinn Thain1-0/+1
Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-03-30[PATCH] pcnet32: 79C975 fiber fixDon Fry1-1/+2
From: "HARDY, Steven" <steven.hardy@astrium.eads.net> I have found a bug in the pcnet32 driver (drivers/net/pcnet32.c) affecting all ethernet cards based on the AMD79C975 chip, using the fiber interface. It's a one line fix, where some config registers get corrupted during initialisation (which stops the Fiber interface working with this chip) This bug was introduced somewhere betweeen 2.4.17 and 2.6.x (noticed whilst upgrading to 2.6), and it may affect other chips too. I have checked all versions up to 2.6.11-bk6 and they are all broken. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Don Fry <brazilnut@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-03-30[PATCH] S2io: Changed copyright and added support for Xframe IIRavinandan Arakali4-5/+11
1. Change of Copyright to reflect S2io's new name "Neterion Inc." 2. Updated driver version number. 3. Add an additional PCI device id to support Neterion's new Xframe II. Some background info on Xframe-II, just in case - The NIC was announced back in January (see http://www.serverwatch.com/news/article.php/3464871) Xframe II is a PCI-X 2.0 DDR adapter designed to work in PCI-X 2.0 servers (it is also backwards compatible with current pci-x and pci slots); it's a first card to overcome pci-x 133 throughput bottleneck. Some of these pci-x 2.0 servers are available now and more are coming later in the year. Xframe II is completely backward compatible and hence the current driver will work as-is, except the device id change. There are some additional features/stateless offloads in Xframe-II as well; we plan to submit patches for these soon. Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-03-30[PATCH] S2io: h/w initialization fixesRavinandan Arakali2-85/+73
Below patch addresses couple of issues w.r.t h/w initialization. 1. The SWAPPER_CTRL register is now initialized as per recommended procedure from h/w team. This register when initialized correctly ensures correct access to other registers on big-endian and little-endian systems. 2. Enabling the Continuous interrupt feature by default on Tx at a rate of 250 interrupts/sec. Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-03-30[PATCH] S2io: Statistics fixRavinandan Arakali2-155/+39
Below patch fixes the statistics problem on big-endian systems(such as IBM PPC). Basically, the problem was "ethtool -s" was reporting huge values on counters like no. of Tx frames, no. of Rx packets etc. The fix has been tested on little-endian and big-endian systems. Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-03-30[PATCH] e1000: add MODULE_VERSIONJohn W. Linville1-1/+3
Add MODULE_VERSION entry. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-03-30[NETLINK]: Fix sk_rmem_alloc assertion failure.Herbert Xu1-0/+2
In netlink_dump we're operating on sk after dropping the cb lock. This is racy because the owner of the socket could close it after we drop the cb lock. This is possible because netlink_dump isn't always called from the context of the process that owns the socket. For instance, if there is contention on rtnl then rtnetlink requests will be processed by the process that owns the rtnl. The solution is to hold a ref count on the socket before we drop the cb lock. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30Merge bk://kernel.bkbits.net/tgraf/net-2.6-tcf_extsDavid S. Miller8-22/+28
into sunset.davemloft.net:/home/davem/src/BK/net-2.6
2005-03-30[AF_UNIX]: unix_mkname commentHideaki Yoshifuji1-0/+7
Resurrect an old comment, explaining why this isn't an off-by-one error. Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30[IPV6]: Fix address/interface handling according to the scoping architectureHideaki Yoshifuji2-4/+12
I think this has been there for long time (maybe since 2.4...). With the following patch, I can connect local link-local address. - Change incoming interface according to the scoping architecture - Choose source address on appropriate interface, according to the scoping architecture. Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30[PKT_SCHED]: Memory leak in ipt.cHerbert Xu1-0/+2
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30[NETFILTER]: Restore ports module parameter for ip_nat_{ftp,irq}Rusty Russell2-0/+18
There is no 'ports' parameter for the ip_nat_ftp and ip_nat_irc modules in 2.6.11: the ports parameter supplied to the ip_conntrack_ftp/ip_conntrack_irc module defines the ports. It was unfortunate that we were lazy in the original implementation, and forced the user to duplicate the arguments. Even more unfortunate, the removal of the parameter caused autoloading to break for various setups, with an 'Unknown parameter' message. The solution is to restore the parameter as a dummy, with a polite warning message that it is no longer neccessary. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-30[NET]: NULL pointer bug in netpoll.cjan.kiszka@web.de1-3/+4
It seems that there is a gremlin sleeping in net/core/netpoll.c:find_skb(). Even if no more buffers are available through skbs, skb is dereferenced anyway. The tiny patch should fix it. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-29Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds36-1295/+1366
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-30[PATCH] aacraid: endian cleanupMark Haverkamp8-213/+235
An update to the patch from Adaptec with byte order changes: - drop byte swapping on all 0's and all 1's content - fix up missing swapping directives - ensure swapping on 16 bit values does not use 32 bit swap - Made hardware registers __le* types. - hopefully caught the style issues. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-30Fix SCSI internal requests hangJames Bottomley1-0/+11
When a device is being torn down (mostly in USB ejection) we hit conditions where SCSI hangs in wait_for_completion(). The reason is that the scsi request prep function does a state check on the device and rejects it with BLKPREP_KILL if we're in the DEL (going away, no more I/O) state. Unfortunately, I/O submitted by scsi_wait_req() doesn't have its request->end_io initialised, so we're never notified of this (the submit path expects everything to come back via the scsi_request->sr_done() routine, which only happens if the I/O actually gets submitted. Note: almost everything that uses scsi_do_request() is wrong not only in this regard but also on other things, like ending tags. Problem Diagnosed with help from: Tejun Heo <htejun@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-29Merge bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds4-3/+16
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-30[ARM PATCH] 2636/1: Missing include breaking cats buildVincent Sanders1-0/+1
Patch from Vincent Sanders Fixes missing include which breaks footbridge_defconfig build Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-30[ARM PATCH] 2635/1: i.MX serial hardware handshaking supportSascha Hauer1-0/+7
Patch from Sascha Hauer This patch adds support for hardwarehandshaking on i.MX soc Signed-off-by: Sascha Hauer Signed-off-by: Mike Lee Signed-off-by: Russell King
2005-03-30[ARM PATCH] 2634/1: prevent the lack of any CPU and/or machine record at ↵Nicolas Pitre1-0/+4
link time Patch from Nicolas Pitre Without this, someone could successfully link a kernel with, for example, no machine description structure at all. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King
2005-03-30[ARM PATCH] 2630/1: Fixes definition of GPB10 on S3C2410lucasvr@org.rmk.(none)1-3/+4
Patch from Lucas Correia Villa Real This patch fixes the definition of the GPB10 bits on the S3C2410 by using the correct offset to access its functions. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King
2005-03-29Sound/USB mergeLinus Torvalds80-827/+2807
2005-03-29[SPARC64]: Add UltraSPARC-IV cpu ids.David S. Miller1-0/+2
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-29[SPARC64]: Simplified csum_partial() implementation.David S. Miller2-1/+158
There is no need to make this thing use VIS et al. A simple straightforward prefetching integer version is fine. Actually, most of the time this routine is run to compute checksums of small header bits or similar. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-29Merge suse.de:/home/greg/linux/BK/bleed-2.6Greg Kroah-Hartman112-2357/+3280
into suse.de:/home/greg/linux/BK/usb-2.6
2005-03-30[PKT_SCHED]: Fix action statistics dumping in compatibility modeThomas Graf3-9/+14
Extends the action dumping function by a parameter to differ between regular calls and the one supposed to add the backward compatiblity bits for old userspace applications. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-29Merge davem@cheetah:src/BK/sparc-2.6David S. Miller2-167/+39
into sunset.davemloft.net:/home/davem/src/BK/sparc-2.6
2005-03-29[SPARC64]: Missed some cases in U1memcpy register rework.David S. Miller1-39/+39
Register o4 is referenced both with a preceeding percent sign and without (via macros), so make sure to replace all such cases. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-29[SPARC64]: Kill unused header arch/sparc64/lib/VIS.hDavid S. Miller1-128/+0
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-29[PATCH] FRV: Fix kernel configurationDavid Howells3-147/+77
This fixes the FRV configuration to work with 2.6.12-rc1. It does this by breaking out the kernel hacking menu into a separate file, in the same way this is done in other archs. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] FRV: Cleanup unused variableDavid Howells1-1/+0
This removes an unused variable from the FRV arch. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] FRV: Fix TLB miss mapping cache flushDavid Howells1-1/+2
This fixes the TLB miss mapping cache flush function. The flush was attempting to invalidate the coverage start virtual addresses for the cached page table mappings held in registers SCR0 and SCR1 by writing 0 into them. Unfortunately, 0x00000000-0x04000000 is itself a valid part of the virtual address range. This patches places -1 in there instead, thus specifying 0xfc000000-0xffffffff which is covered by a static I/O mapping, and so shouldn't ever be seen by the TLB-miss handler. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Remaining u32 vs. pm_message_t fixesPavel Machek2-3/+3
This fixes three remaining places where we put u32 (or worse suspend_state_t) into pm_message_t-sized box. As a bonus, PCI_D0 is used instead of constant 0. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t confusion in AGPPavel Machek1-3/+3
This should fix u32 vs. pm_message_t confusion in AGP. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t in macintoshPavel Machek1-1/+1
This fixes u32 vs. pm_message_t confusion in macintosh. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t confusion in serialsPavel Machek1-1/+1
This fixes u32 vs. pm_message_t confusion in serials. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t confusion in MMCPavel Machek3-3/+3
This fixes u32 vs. pm_message_t confusion in MMC layer. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t confusion in framebuffersPavel Machek7-10/+10
This should fix u32 vs pm_message_t confusion in framebuffers, and do no code changes. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t confusion in PCMCIAPavel Machek7-7/+7
This should fix part of u32 vs. pm_message_t confusion in pcmcia. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t confusion in OSSPavel Machek9-13/+13
This fixes (part of) u32 vs. pm_message_t confusion in OSS. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] more pm_message_t fixesPavel Machek3-6/+10
While fixing usb, I stomped on a few more fixes. Print error when some device fails to power down, and 2 is no longer valid state to pass in pm_message_t. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix u32 vs. pm_message_t in USBPavel Machek3-6/+6
This fixes (part of) u32 vs. pm_message_t confusion in USB. It should cause no code changes. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] Fix pm_message_t in generic codePavel Machek2-2/+2
This fixes u32 vs. pm_message_t in generic code. No code changes. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-29[PATCH] USB: ohci D3 resume fixDavid Brownell4-6/+17
This fixes a problem that cropped up resuming OHCI from PCI D3 on NForce2. Evidently the register controlling frame timing gets clobbered in D3, but not other registers ... a "by the book" reinit seems to solve this particular problem. (And ought to help a few startup glitches on other implementations. Linux never used that toggle bit before, and has had to struggle with glitchy init...) It also updates some diagnostics to be bit more useful, and tries to avoid a particular "wakeup while suspending" glitch that seems particular to one particular type of Australian mouse. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29USB: fix up a lot of sparse warnings and bugs in the pwc driver.Greg Kroah-Hartman3-23/+24
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] ftdi_sio: fix sysfs attribute permissionsIan Abbott1-2/+2
This patch changes the permissions of the 'event_char' and 'latency_timer' sysfs attributes for devices supported by the ftdi_sio driver. They should only be set by root. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] ftdi_sio: Support sysfs attributes for more chipIan Abbott1-5/+16
A couple of sysfs attributes were added for the FT232BM (and FT245BM) chip type in 2.6.11. This patch extends there use to the FT8U232AM (and FT8U245AM) and FT2232C chip types, where applicable. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] ftdi_sio: add array to map chip type to a stringIan Abbott1-9/+9
This patch just adds an array to map the chip type to a string for use in debug messages for the ftdi_sio driver. I use it in the get_ftdi_divisor function and another patch. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] USB: rewrite the usblcd driverGeorges Toth1-250/+278
The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file. Signed-off-by: Georges Toth <g.toth@e-biz.lu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] USB: Put the Kconfig and Makefile back in proper order for the ↵Greg Kroah-Hartman2-10/+11
serial drivers Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] USB: mark functions static in the cp2101 driver.Greg Kroah-Hartman1-13/+11
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29[PATCH] USB: add driver for CP2101/CP2102 RS232 adaptorscraig@microtron.org.uk3-0/+603
This patch against 2.6.10 provides the driver for the CP2101 and CP2102 USB to RS232 adaptor chips which are found in some serial converter cables and usb mobile phone cables. It provides cp2101.c, and patches Kconfig and Makefile in drivers/usb/serial Since there is no technical data sheet freely available for these chips, much of the code in this driver has been based on protocol analysis, assumptions and guesswork. The cp210x family of devices have OEM programmable device IDs so updates will be required as and when new devices are found. The driver currently only supports configuration of baud rate, data bits, stop bits and parity mode. While this is enough to enable the use of a wide range of devices based on this chip, the driver is still incomplete in many areas such as flow control. Unfortunately without technical datasheets, implementing these features is made very difficult indeed. Signed-off-by: Craig Shelley craig@microtron.org.uk Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-29Merge sunset.davemloft.net:/home/davem/src/BK/sparcwork-2.6David S. Miller55-1619/+1448
into sunset.davemloft.net:/home/davem/src/BK/sparc-2.6
2005-03-29Merge davem@sunset:src/BK/sparc-2.6David S. Miller19-742/+409
into cheetah.davemloft.net:/home/davem/src/BK/sparc-2.6
2005-03-29[PATCH] fix fc class work queue usageMike Christie3-3/+23
According to this article http://lwn.net/Articles/125930/, "When cancel_delayed_work() returns zero, it means that the delayed work request was fired off before the call; it might, in fact, be running on another CPU when the cancel attempt is made". If it is successful, it returns a nonzero value. Tracing through cancel_delayed_work's timer usage would seem to confirm this. The fc class today though performs a flush_scheduled_work, when the return value is nonzero instead of zero. Also it appears the fc class will use flush_scheduled_work to flush the work from the shost_work_q when it should be using flush_workqueue(shost->work_q) (flush_scheduled_work() only flushes the default, keventd_wq, work queue). The attached patch adds a scsi_flush_work function for scsi_transport_fc to use and it fixes the cancel_delayed_work() test to detect when to flush the work queues correctly (it also only calls cancel_delayed_work when the work is queued as delayed (scan_work is not delayed). Signed-off-by: Mike Chrisite <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-29Merge bk://linux.bkbits.net/linux-2.5Steve French14-24/+69
into bkbits.net:/repos/c/cifs/linux-2.5cifs
2005-03-28[SPARC64]: More g5 register usage elimination.David S. Miller18-718/+370
Use temporal stores and prefetches in memset/bzero while we are at it. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-28Merge bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds11-20/+32
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-29Merge pobox.com:/garz/repo/linux-2.6Jeff Garzik11-20/+32
into pobox.com:/garz/repo/net-drivers-2.6
2005-03-29[libata sata_sil] Don't presume PCI cache-line-size reg is > 0Jeff Garzik1-6/+10
Some BIOSen are known to screw up the PCI cache-line-size register, so add a paranoia check.
2005-03-29Merge pobox.com:/garz/repo/linux-2.6Jeff Garzik3-4/+33
into pobox.com:/garz/repo/libata-2.6
2005-03-283ware 9000 driver updateJames Bottomley2-305/+295
From: adam radford <aradford@gmail.com> - Add support for PAE mode. - Add lun support. - Fix twa_remove() to free irq handler/unregister_chrdev() before shutting down the card. - Change to new 'change_queue_depth' api. (From James) - Fix 'handled=1' ISR usage, remove bogus IRQ check (from Jeff Garzik) - Remove un-needed eh_abort handler. - Add support for embedded firmware error strings. Signed-off-by: Adam Radford <linuxraid@amcc.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-28[PATCH] scsi_sysfs: use NULL instead of 0Randy Dunlap1-1/+1
drivers/scsi/scsi_sysfs.c:814:66: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-29[NET]: Make primary TLV type optionalThomas Graf1-3/+7
Allows the use of the gnet_stats API for backward compatiblity cases where no "modern" TLV structure is needed. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-28[PATCH] rm unused scan delay varMike Christie1-3/+0
Is FC_SCSI_SCAN_DELAY used by a FC driver that is not yet in mainline? This patch just deletes it if not since no one else is. Signed-off-by: Mike Chrisite <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-29Cset exclude: hadi@cyberus.ca|ChangeSet|20050325173452|50562Thomas Graf4-10/+7
2005-03-28Merge bk://linux.bkbits.net/linux-2.5Steve French646-16985/+34081
into bkbits.net:/repos/c/cifs/linux-2.5cifs
2005-03-28[PATCH] x86-64: Fix preemption off of irq context with PREEMPT_BKLChristophe Saout1-6/+1
Fixing the interrupt tst for CONFIG_PREEMPT on x86-64 exposes another bug with CONFIG_PREEMPT_BKL. Calling schedule due to preemption releases the BKL which it shouldn't do. Call preempt_schedule_irq instead (like for i386). This fixes the easily reproducible filesystem errors I've seen (with reiserfs, which heavily relies on the BKL). Signed-off-by: Christophe Saout <christophe@saout.de> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[CIFS] Return inode numbers (from server) more consistently on lookup and ↵Steve French4-21/+107
readdir to both types of servers (whether they support Unix extensions or not) when serverino mount parm specified. Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-03-28[PATCH] PCI: create PCI_DEBUG config option to make it easier for users to ↵Greg Kroah-Hartman9-67/+35
enable pci debugging Now you don't have to dig through a file to change a #define, it's a real config option. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-28PCI: clean up the dynamic id logic a little bit.Greg Kroah-Hartman1-9/+2
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-03-28[PATCH] Add a scsi_device flag for RETRY_HWERRORAlan Stern3-5/+5
It turns out that a bunch of USB-IDE converters make the mistake of returning SK = 04 (Hardware Error) whenever the IDE device signals any sort of error, without bothering to distinguish recoverable from non-recoverable errors. The best way to handle this is for usb-storage to set a per-device flag indicating that these errors should always be retried. The current scheme (blacklist flag but no per-device flag) isn't well suited for this situation. This patch adds the per-device flag and sets it initially based on the blacklist setting. Once this has been merged, a separate patch will be submitted to Matt Dharm adding the corresponding support to usb-storage. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-03-28Merge bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds56-9468/+13086
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-28[ARM PATCH] 2583/1: add several registers to arch-ixp2000/ixp2000-regs.hLennert Buytenhek1-0/+24
Patch from Lennert Buytenhek These registers ({RAW_STATUS,ENABLE_SET,ENABLE_CLEAR}_[AB]_[0123]) are needed for checking the status of, acking, unmasking and masking the 256 individual thread interrupt sources. This is used by the microengine thread interrupt driver. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2582/1: correct thread interrupt comments in arch-ixp2000/irqs.hLennert Buytenhek1-4/+4
Patch from Lennert Buytenhek Some comments in arch-ixp2000/irqs.h say that thread interrupts 64-127 are IXP2800-only, but this is not true: IXP2400 has 0-31 and 64-95, and 32-63 and 96-127 are IXP2800-only. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King
2005-03-28[ARM] Fix ARM TLB shootdown codeRussell King1-14/+20
We missed flushing the TLB when we're unmapping only reserved pages. Since the kernel is now better at passing vmas which correspond solely with the region to unmap, we can use tlb_*_vma() to do "just enough" flushing, both for the TLB and cache. We can avoid all flushes in tlb_*_vma() for the full-MM case, and just do a flush_tlb_mm(). We can omit the cache flushing because this thread will die soon. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2005-03-28[ARM PATCH] 2629/1: Update shark_defconfig default configVincent Sanders1-382/+442
Patch from Vincent Sanders Updates shark_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2628/1: Update simpad_defconfig default configVincent Sanders1-151/+219
Patch from Vincent Sanders Updates simpad_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2627/1: Update lusl7200_defconfig default configVincent Sanders1-281/+251
Patch from Vincent Sanders Updates lusl7200_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2626/1: Update versatile_defconfig default configVincent Sanders1-215/+267
Patch from Vincent Sanders Updates versatile_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2625/1: Update lubbock_defconfig default configVincent Sanders1-166/+234
Patch from Vincent Sanders Updates lubbock_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2624/1: Update lpd7a404_defconfig default configVincent Sanders1-312/+364
Patch from Vincent Sanders Updates lpd7a404_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2623/1: Update lpd7a400_defconfig default configVincent Sanders1-181/+223
Patch from Vincent Sanders Updates lpd7a400_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2622/1: Update lart_defconfig default configVincent Sanders1-253/+319
Patch from Vincent Sanders Updates lart_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2621/1: Update hackkit_defconfig default configVincent Sanders1-236/+352
Patch from Vincent Sanders Updates hackkit_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2620/1: Update h7202_defconfig default configVincent Sanders1-118/+198
Patch from Vincent Sanders Updates h7202_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2619/1: Update h7201_defconfig default configVincent Sanders1-97/+153
Patch from Vincent Sanders Updates h7201_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2618/1: Update h3600_defconfig default configVincent Sanders1-542/+509
Patch from Vincent Sanders Updates h3600_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2617/1: Update fortunet_defconfig default configVincent Sanders1-351/+320
Patch from Vincent Sanders Updates fortunet_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28Merge bk://linux-1394.bkbits.net/1394-2.6Linus Torvalds915-14951/+28839
into ppc970.osdl.org:/home/torvalds/v2.6/linux
2005-03-28[ARM PATCH] 2616/1: Update smdk2410_defconfig default configVincent Sanders1-164/+234
Patch from Vincent Sanders Updates smdk2410_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2615/1: Update shannon_defconfig default configVincent Sanders1-326/+466
Patch from Vincent Sanders Updates shannon_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2614/1: Update jornada720_defconfig default configVincent Sanders1-555/+582
Patch from Vincent Sanders Updates jornada720_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2613/1: Update ixp4xx_defconfig default configVincent Sanders1-223/+309
Patch from Vincent Sanders Updates ixp4xx_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2612/1: Update ixdp2801_defconfig default configVincent Sanders1-89/+181
Patch from Vincent Sanders Updates ixdp2801_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28Merge whitespace and __nocast changesLinus Torvalds543-7328/+20797
2005-03-28[ARM PATCH] 2611/1: Update footbridge_defconfig default configVincent Sanders1-449/+829
Patch from Vincent Sanders Updates footbridge_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[ARM PATCH] 2610/1: Update epxa10db_defconfig default configVincent Sanders1-149/+197
Patch from Vincent Sanders Updates epxa10db_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[PATCH] ext3: fix journal_unmap_buffer raceStephen C. Tweedie1-3/+3
There is a race condition in jbd between journal_unmap_buffer() and journal_commit_transaction(). This is leading to corruption of buffers on the transaction's t_locked_list, leading to a variety of symptoms usually involving an oops in kjournald. The problem is that various special-case exit paths in journal_unmap_buffer() call journal_put_journal_head without any locking. This is racing against a refiling of the same journal_head in journal_commit_transaction(): __journal_unfile_buffer(jh); __journal_file_buffer(jh, commit_transaction, BJ_Locked); The way these functions work, this leaves the jh temporarily with b_transaction==NULL; and if journal_unmap_buffer()'s call to journal_put_journal_head() hits this window, it sees the NULL transaction and frees the journal_head which is just about to get refiled on the locked list. The main exit path on journal_unmap_buffer() performs its journal_put_journal_head() before dropping the j_list_lock, so is not vulnerable to this race. The fix is to move the other similar calls on special-case exit branches in that function so that they also release the journal_head before dropping that lock. This is low-risk since the new order has already been tested as the normal exit path from this function. The change has had extensive testing and has been shown to fix the problem with no regressions found. Signed-off-by: Peter Keilty <Peter.Keilty@hp.com> Signed-off-by: Nicholas Dokos <nicholas.dokos@hp.com> Signed-off-by: Stephen Tweedie <sct@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] ext3 writeback "nobh" optionBadari Pulavarty3-5/+52
Add a `nobh' mount option to ext3 in writeback mode: avoid attaching buffer_head to data pages, like ext2. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] ext3 writepages support for writeback modeBadari Pulavarty3-1/+60
Add writepages support for ext3 writeback mode. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] ext3/jbd race: releasing in-use journal_headsStephen C. Tweedie4-9/+22
Fix destruction of in-use journal_head journal_put_journal_head() can destroy a journal_head at any time as long as the jh's b_jcount is zero and b_transaction is NULL. It has no locking protection against the rest of the journaling code, as the lock it uses to protect b_jcount and bh->b_private is not used elsewhere in jbd. However, there are small windows where b_transaction is getting set temporarily to NULL during normal operations; typically this is happening in __journal_unfile_buffer(jh); __journal_file_buffer(jh, ...); call pairs, as __journal_unfile_buffer() will set b_transaction to NULL and __journal_file_buffer() re-sets it afterwards. A truncate running in parallel can lead to journal_unmap_buffer() destroying the jh if it occurs between these two calls. Fix this by adding a variant of __journal_unfile_buffer() which is only used for these temporary jh unlinks, and which leaves the b_transaction field intact so that we never leave a window open where b_transaction is NULL. Additionally, trap this error if it does occur, by checking against jh->b_jlist being non-null when we destroy a jh. Signed-off-by: Stephen Tweedie <sct@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: mt352: cleanupsJohannes Stezenbach1-66/+39
o remove s* from state, they are only used in read_status o remove casting of void* o remove FIXME in set_parameters, should be handled by dvb-core state machine o remove some unnecessary braces o remove #if 1 in read_status, and add note from Zarlink design manual o change read_signal_strength to read total AGC_GAIN in case some adapter turns on the RF_AGC loop. (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: gcc 2.95 compile fixesJohannes Stezenbach4-5/+10
Patch by Olaf Titz: gcc 2.95 compile fixes Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: ttusb_dec: cleanupJohannes Stezenbach1-20/+29
Cleanup patch from Peter Beutner: o unregister the input device on disconnect and move cleanup stuff of the RC to own function o keymap should be static not const o set up keymap correctly and completly for input device plus a more cosmetic one: o usb endpoints are only 4bit numbers[0...15], the 8th bit only specifies the direction and is set by the snd/rcvxxxpipe() macro Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[ARM PATCH] 2609/1: Update ep80219_defconfig default configVincent Sanders1-155/+207
Patch from Vincent Sanders Updates ep80219_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[PATCH] dvb: support Nova-S rev 2.2Johannes Stezenbach1-13/+94
Support for Nova-S rev 2.2 (Gregor Kroesen) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: sparse warnings on one-bit bitfieldsJohannes Stezenbach1-3/+3
Remove some sparse warnings on one-bit bitfields. Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: support dtt200u (Yakumo/Typhoon/Hama) USB2.0 deviceJohannes Stezenbach9-50/+350
o added native support for the dtt200u (Yakumo/Typhoon/Hama) USB2.0 device o URBs are now submitted, when the actual transfer began, not right from the device plugin (solves a lot of problems) o minor fixes in the dib3000-frontends (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: convert from pci_module_init to pci_register_driverJohannes Stezenbach2-2/+2
From: http://kerneljanitors.org/TODO o convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas <c.lucas@ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: vfree() checking cleanupsJohannes Stezenbach3-15/+7
vfree() checking cleanups. Signed-off by: James Lamanna <jlamanna@gmail.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: HanfTek UMT-010 fixesJohannes Stezenbach3-33/+28
HanfTek UMT-010: adapted the pll-programming, the usb-ids and the firmware name to the new firmware (thanks to Sunny Liu from HanfTek) (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: support for Technotrend PCI DVB-TJohannes Stezenbach3-1/+48
patch by Anssi Hannula: add support for Technotrend PCI DVB-T (0x13c2,0x0008, Grundig 29504-401 (LSI L64781 Based) frontend) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: remove useless ifdefJohannes Stezenbach1-5/+1
removed useless ifdef: dvb_register_adapter always takes 3 parameters in this tree (Andreas Oberritter) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: clear up confusion between ids and adaptersJohannes Stezenbach1-4/+5
clear up confusion between ids and adapters (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: frontends: kfree() cleanupJohannes Stezenbach28-37/+29
kfree(NULL) is safe (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: fix CAMs on Typhoon DVB-SJohannes Stezenbach2-2/+13
Fix for CAMs on Typhoon DVB-S, where it would constantly reset itself. (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: saa7146: remove duplicate setgpioJohannes Stezenbach1-24/+5
Remove duplicate setgpio (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: tda10021: fix continuity errorsJohannes Stezenbach1-1/+1
Fix Continuity Errors with tda10021 (slickhenry, Robert Schlabbach) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: pll fixJohannes Stezenbach1-7/+7
o fixed pll frequency calculation for channels > 700 MHz. (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: ttusb_dec: IR supportJohannes Stezenbach1-3/+150
Add IR support added by Peter Beutner Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: OREN or51211, or51132_qam and or51132_vsb firmware download infoJohannes Stezenbach3-8/+52
o add OREN or51211, or51132_qam and or51132_vsb firmware o correct some links Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: support nova-t usb irJohannes Stezenbach5-38/+187
o added native nova-t support, since only the nova-t firmware works with the nova-t remote control o added keys statically (maybe we should find something to sort this out... cinergyt2 is doing the same) (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: support pcHDTV HD2000Johannes Stezenbach8-5/+761
o DVB support for the pcHDTV HD2000 card, submitted by Rusty Scott o remove bttv dependency from frontend (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: corrected links to firmware filesJohannes Stezenbach2-7/+14
corrected links to firmware files (reported by Stefan Frings) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: av7110: error handling during attachJohannes Stezenbach7-99/+147
Janitoring - error handling during attach o av7110_arm_sync(): small helper to factor out some code; o av7110_attach() does not check the status code returned by all the functions is uses; o balance the error path in av7110_attach and have it easy to check. Please check it; o if everything is correctly balanced, device_initialized is not needed anymore in struct av7110; o av7110_detach(): no need to cast a void * pointer; o av7110_detach(): die #ifdef, die ! o change the returned value of av7110_av_exit() as it can't fail; o change the returned value of av7110_ca_init() as it can fail. Removed extraneous casts while are it; o check for failure of vmalloc() in ci_ll_init(). o vfree(NULL) is safe. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: saa7146: static initializationJohannes Stezenbach1-27/+2
Static initialization. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: av7110: fix Oops when av7110_ir_init() failedJohannes Stezenbach2-12/+11
o don't call av7110_ir_init() if driver initialization failed already due to previous errors (resulted in Oops in out-of-memory conditions) (me) o don't do av7110_ir_exit if init was not done (Kenneth Aafloy) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: ttusb-budget: s/usb_unlink_urb/usb_kill_urb/Johannes Stezenbach1-1/+1
patch by Colin Western: s/usb_unlink_urb/usb_kill_urb/ Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: nxt2002: fix max frequencyJohannes Stezenbach1-1/+1
Patch by Taylor Jacob and Tom Dombrosky: There was a typo in the BBTI/B2C2 specs that stated the upper frequency of the air2pc/nxt2002 was 806Mhz, not 860Mhz. Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: refactor sw pid filter to drop redundant codeJohannes Stezenbach8-186/+24
o added index field to struct dvb_demux_feed for having a unique feed id, which can be used for hardware pid filter tables o dibusb: adding the index to struct dvb_demux_feed makes dibusb-pid-filtering redundant o ttusb-budget: struct channel removed in favour of dvbdmxfeed->index (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: cleanups, make stuff staticJohannes Stezenbach14-66/+16
This patch contains the following possible cleanups: o make needlessly global code static o remove the following EXPORT_SYMBOL'ed but unused function: - bt8xx/bt878.c: bt878_find_by_i2c_adap o remove the following unused global functions: - dvb-core/dvb_demux.c: dmx_get_demuxes - dvb-core/dvb_demux.c: dvb_set_crc32 o remove the following unneeded EXPORT_SYMBOL's: - dvb-core/dvb_demux.c: dvb_dmx_swfilter_packet - dvb-core/dvb_demux.c: dvbdmx_connect_frontend - dvb-core/dvb_demux.c: dvbdmx_disconnect_frontend - dvb-core/dvbdev.c: dvb_class Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: support KWorld/ADSTech Instant DVB-T USB2.0Johannes Stezenbach7-24/+83
o added support for KWorld/ADSTech Instant DVB-T USB2.0 (DiB3000M-B) o added deactivation option of the pid parser for the DiB3000M-B (since there are USB2.0 devices and which now have the ability to deliver the complete Transport Stream) (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: skystar2: fix MAC address readingJohannes Stezenbach1-2/+2
fixed MAC address reading (eeprom address to read, was not correctly set, respectively overwritten) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: l64781: email address fixJohannes Stezenbach2-6/+4
fix marko kohtala's mail address Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[ARM PATCH] 2608/1: Update pxa255-idp_defconfig default configVincent Sanders1-136/+170
Patch from Vincent Sanders Updates pxa255-idp_defconfig to take account of the Kconfig changes Signed-off-by: Vincent Sanders Signed-off-by: Russell King
2005-03-28[PATCH] dvb: ttusb_dec: use alternative interface to save bandwidthJohannes Stezenbach1-2/+2
Use alternative interface. Asks for less bandwidth and therefore works with OHCI as well as UHCI (Alex Woods) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: increased the number of urbs for usb1.1 devicesJohannes Stezenbach1-3/+2
increased the number of urbs for usb1.1 devices (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: debug changesJohannes Stezenbach4-20/+14
o use own err,info,warn defines, driver description o remove warning about firmware bug (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dib3000: corrected device namingJohannes Stezenbach7-17/+17
corrected device naming (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: get_dvb_firmware: new unshield versionJohannes Stezenbach1-3/+3
patch by Mattias Holmlund: support new version of unshield for sp887x firmware extraction (changed cmdline parameters) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: nxt2002: QAM64/256 supportJohannes Stezenbach2-2/+42
patch by Taylor Jacob: Add QAM64/256 Support Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: support Hauppauge WinTV NOVA-T USB2Johannes Stezenbach2-11/+25
o added support for Hauppauge WinTV NOVA-T USB2 (clone of MOD3000P by DiBcom) (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb readme updateJohannes Stezenbach1-32/+25
dibusb readme update (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: ves1x93: invert_pwm fixJohannes Stezenbach1-3/+9
fix unhandled invert_pwm option (needed on dbox2 hardware) submitted by Carsten Juttner Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: skystar2: update email addressJohannes Stezenbach1-5/+5
Updated email address. Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: support Activy Budget cardJohannes Stezenbach1-4/+12
support Activy Budget with ALPS BSRU6 tuner submitted by Andreas 'randy' Weinberger. Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: mt352: Pinnacle 300i commentsJohannes Stezenbach1-0/+4
Comment preliminary Pinnacle 300i changes to the mt352 driver. Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: skystar2: remove duplicate pci_release_region()Johannes Stezenbach1-4/+0
remove duplicated pci_release_region() etc. Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibusb: misc. fixesJohannes Stezenbach2-35/+39
o worked around hw_sleep handling for usb1.1 devices o fixed oops when no frontend was attached (because of usb1.1 timeouts in my debugging sessions) (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: dibcom: frontend fixesJohannes Stezenbach2-60/+8
o corrected the name in driver_desc o removed debug messages and some comments (see dib3000-watch) (Patrick Boettcher) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] dvb: clarify firmware upload messagesJohannes Stezenbach2-3/+6
clarify firmware upload messages Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: unicode decompose supportRoman Zippel4-22/+3013
HFS+ specificies that a number of unicode characters must be stored in its decomposed form on disk. This adds the support for the composition and decomposition of such HFS+ file names. There is also an option to turn it off again, in case one managed to create invalid names, which otherwise become inaccessible. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: add nls supportRoman Zippel7-69/+102
Add full nls support for HFS+. The default is still utf8, but that can be changed now via a mount option. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: use parse library for mount optionsRoman Zippel2-112/+148
Make use of parser library to parse mount options. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: fix sign problem in hfs_ext_keycmpRoman Zippel1-16/+15
The key values are unsigned, so comparing them using the difference doesn't always work. (Problem reported by k_guillaume@libertysurf.fr) Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: more bnode error checksRoman Zippel2-0/+24
Check for errors during reading of bnode pages and report them. Also improve error checks in case bnode validity checks failed. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: fix umask behaviourRoman Zippel2-7/+13
This makes umask behaviour more consistent, so it's now also used for new files and the mount options behave like other umask users. (Problem reported by <horms@verge.net.au>) Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] hfs: free page buffers in releasepageRoman Zippel2-14/+2
Call try_to_free_buffers() when a page can be released. This behaviour changed during 2.5 and wasn't fixed in hfs while porting it to 2.6. Also remove an unnecessary PageActive() check, only the node ref count is really relevant. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] Specialix/IO8 cli() conversionPatrick vd Lageweg3-277/+683
This patch converts all save_flags/restore_flags to the new spin_lock_irqsave/spin_unlock_irqrestore calls, as well as some other 2.6.X cleanups. This allows the "io8+" driver to become SMP safe. The large size of this patch comes mostly from the added debug features. Signed-off-by: Patrick vd Lageweg <patrick@bitwizard.nl> Signed-off-by: Rogier Wolff <R.E.Wolff@BitWizard.nl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] au1x00_uart deadlock fixStas Sergeev1-0/+2
This driver also needs to drop the lock when calling back into the tty layer. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-28[PATCH] fs/attr.c: fix check after useAdrian Bunk1-2/+5
This patch fixes a check after use found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>