summaryrefslogtreecommitdiffstats
path: root/drivers/char/rio
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] make more file_operation structs staticArjan van de Ven2006-07-041-1/+1
| | | | | | | | | | | | Mark the static struct file_operations in drivers/char as const. Making them const prevents accidental bugs, and moves them to the .rodata section so that they no longer do any false sharing; in addition with the proper debug option they are then protected against corruption.. [akpm@osdl.org: build fix] Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] irq-flags: rio: Use the new IRQF_ constantsThomas Gleixner2006-07-021-1/+1
| | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Remove obsolete #include <linux/config.h>Jörn Engel2006-06-303-3/+0Star
| | | | | Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
* spelling fixesAndreas Mohr2006-06-261-1/+1
| | | | | | | | | | | | acquired (aquired) contiguous (contigious) successful (succesful, succesfull) surprise (suprise) whether (weather) some other misspellings Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
* [PATCH] missing readb/readw in rioAl Viro2006-05-273-24/+24
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] copy_to_user() from iomem is a bad thingAl Viro2006-05-271-4/+16
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] forgotten swap of copyout() argumentsAl Viro2006-05-271-1/+1
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] handling rio MEMDUMPAl Viro2006-05-271-1/+1
| | | | | | | it copies data _from_ iomem, so it should be rio_memcpy_fromio(), not ->Copy(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] fix rio_copy_to_card() for OLDPCI caseAl Viro2006-05-272-2/+14
| | | | | | | | It replaced old rio_pcicopy(). That puppy did _not_ do readb() (unlike rio_memcpy_toio()) and current implementation is simply broken - readb(NULL) is never a valid thing to do. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] uses of ->Copy() in rioroute are bogusAl Viro2006-05-271-5/+5
| | | | | | | ... there we are building a command in normal memory; it will be copied to iomem (by ->Copy()) later. Use memcpy()... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] bogus order of copy_from_user() argumentsAl Viro2006-05-271-1/+1
| | | | | | ... aka "somebody forgot to swap arguments when converting from copyin()" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] rio ->Copy() expects the sourse as first argumentAl Viro2006-05-272-2/+2
| | | | | | | ... so conversion from rio_pcicopy() to rio_copy_to_card() had broken the damn thing. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] trivial annotations in rioAl Viro2006-05-2717-230/+228Star
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* [PATCH] Final rio polishAlan Cox2006-05-154-75/+34Star
| | | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Yet more rio cleaning (2 of 2)Alan Cox2006-03-2418-912/+265Star
| | | | | | | | | | | | | | - Remove more unused headers - Remove various typedefs - Correct type of PaddrP (physical addresses should be ulong) - Kill use of bcopy - More printk cleanups - Kill true/false - Clean up direct access to pci BARs Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Yet more rio cleaning (1 of 2)Alan Cox2006-03-2415-524/+36Star
| | | | | | | | | | | | | | - Remove more unused headers - Remove various typedefs - Correct type of PaddrP (physical addresses should be ulong) - Kill use of bcopy - More printk cleanups - Kill true/false - Clean up direct access to pci BARs Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio driver rework continued #5Alan Cox2006-03-242-9/+1Star
| | | | | | | | | Final polish. There is no more save_flags/cli type locking left. We also no longer use the pcicopy function and file so they can go. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio driver rework continued #4Alan Cox2006-03-241-272/+118Star
| | | | | | | | | | | | Third large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio driver rework continued #3Alan Cox2006-03-247-535/+232Star
| | | | | | | | | | | | Second large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio driver rework continued #2Alan Cox2006-03-244-154/+115Star
| | | | | | | | | | | | First large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio driver rework continued #1Alan Cox2006-03-2410-167/+118Star
| | | | | | | | | | | | | More header cleanups, strip out typedefs and remove cruft. There are a lot of magic macros that can go and also a great deal of abuse of volatile that is not needed any more as this patch set cleans up the misuse of pointer access to ISA and PCI space. It now builds cleanly on 64bit, although there is more work left to do Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rioboot: post-LindentAlan Cox2006-03-241-252/+177Star
| | | | | | | | | After the indent we can now clean up unused code, and fix all myriad cases that don't use readb/writeb properly. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rioboot: lindentAlan Cox2006-03-241-811/+704Star
| | | | | | | | This is the result of indent -kr -i8 -bri0 -l255 Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio: more header cleanupAlan Cox2006-03-2410-400/+243Star
| | | | | | | | | Strip some of the typedef mess out Remove a small subset of unused defines and the like. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] rio cleanupsAlan Cox2006-02-0311-567/+0Star
| | | | | | | | | | | | INKERNEL is always defined HOST is never defined therefore RTA is also never defined Strip the relevant garbage out of the headers on this basis. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove unused code from rioctrl.c (Last for this batch of work)Alan Cox2006-01-171-110/+1Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove rio_table.c unused codeAlan Cox2006-01-171-8/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove unused code from rio_linux.cAlan Cox2006-01-171-60/+0Star
| | | | Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove unused CHECK code from riocmd.cAlan Cox2006-01-171-30/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove unused code from rioroute.hAlan Cox2006-01-171-24/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove unused code from rioboot.hAlan Cox2006-01-171-61/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove unused code from riobootAlan Cox2006-01-171-1152/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove #if 0 and other long dead code from rio_ttyAlan Cox2006-01-171-583/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove long dead #if 0 code from rio_paramAlan Cox2006-01-171-43/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove old firmware headers from rio driversAlan Cox2006-01-174-235/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove rtahw.h from rio driver (unused file)Alan Cox2006-01-171-75/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove file riscos.h from rio driver (unused file)Alan Cox2006-01-171-63/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove file riowinif.h from rio driver (unused file)Alan Cox2006-01-171-1329/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove riotime.h from rio driver (unused file)Alan Cox2006-01-171-63/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove file riolocks.h from rio driver (unused file)Alan Cox2006-01-171-43/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove proto.h from rio driver (unused file)Alan Cox2006-01-171-244/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove poll.h from rio driver (unused file)Alan Cox2006-01-171-73/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove mesg.h from rio driver (unused file)Alan Cox2006-01-171-41/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove mca.h from rio driver (unused file)Alan Cox2006-01-171-73/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove internal firmware building files from rioAlan Cox2006-01-173-154/+0Star
| | | | Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove hosthw.h from rio (unused file)Alan Cox2006-01-171-55/+0Star
| | | | Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove formpkt.h from rio (unused file)Alan Cox2006-01-171-153/+0Star
| | | | Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove enable.h from rio (unused file)Alan Cox2006-01-171-48/+0Star
| | | | Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove enable.h from rio driver (unused file)Alan Cox2006-01-171-104/+0Star
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Remove debug.h from rio.h (unused file)Alan Cox2006-01-171-39/+0Star
| | | | Signed-off-by: Linus Torvalds <torvalds@osdl.org>