aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add SOCK_DCCP definition for MIPS also.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* The type of sum in csum_tcpudp_nofold is "unsigned int", so when we assignRalf Baechle2005-10-291-1/+1
| | | | | | | | | | | | | | | to it in an asm() block, and we're running on a system with 64-bit registers, it is vitally important that we sign extend it correctly before returning to C. Otherwise the stray high bits will be preserved into csum_fold, and on the SB-1 processor, 32-bit arithmetic on a non sign-extended register will yield surprising results. This caused incorrect checksums in some UDP packets for NFS root. The problem was mild when using a 10.0.1.x IP address, but severe when using 192.168.1.x. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Kernel gpio/2 routines that will be used by some drivers.Pete Popov2005-10-293-1/+140
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix a cache snooping issue.Pete Popov2005-10-291-9/+17
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Updated pcmcia driver with pb1200 and db1200 support.Pete Popov2005-10-296-6/+41
| | | | | | Updated db1200_defconfig so pcmcia is enabled by default. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* - moved platform structure to platform.cPete Popov2005-10-293-7/+9
| | | | | | | - fixed an iounmap warning - export fixup_xx, needed by the module Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix excessive signal latencies.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reorder & reformat a bit.Ralf Baechle2005-10-291-15/+16
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use ARCH_MAY_HAVE_PC_FDC where needed.Ralf Baechle2005-10-291-0/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* GCC bulletproofing: __mips64 is only defined when compiling for 64-bitRalf Baechle2005-10-291-6/+6
| | | | | | processors. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* The values for SO_SNDBUFFORCE / SO_RCVBUFFORCE were already taken ...Ralf Baechle2005-10-291-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Futexes for MIPS, for the time being only the R10000_LLSC_WAR version.Ralf Baechle2005-10-291-0/+50
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define pcibus_to_node() for IP27.Ralf Baechle2005-10-292-0/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleaned up AMD Au1200 IDE driver:Pete Popov2005-10-2912-7/+1840
| | | | | | | | | | | | | - converted to platform bus - removed pci dependencies - removed virt_to_phys/phys_to_virt calls System now can root off of a disk. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README new file mode 100644
* Misc au1200 updates.Pete Popov2005-10-292-32/+160
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Delete the SABLE_RTL case.Ralf Baechle2005-10-291-5/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* When no yamon command line is passed to the kernel, preserve the defaultPete Popov2005-10-291-1/+2
| | | | | | compiled in command line. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Provide MODULE_ARCH_VERMAGIC for MIPS.Ralf Baechle2005-10-291-0/+50
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add/Fix missing bit of R4600 hit cacheop workaround.Thiemo Seufer2005-10-292-1/+2
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Minor code cleanup.Thiemo Seufer2005-10-291-15/+15
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* R4600 v2.0 needs a nop before tlbp.Thiemo Seufer2005-10-291-0/+2
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't set up a sg dma address if we have no page address for some reason.Thiemo Seufer2005-10-291-38/+8
| | | | | | | Code cleanup. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move MIPS Technologies processor IDs to where they belong.Maciej W. Rozycki2005-10-291-2/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More .set push/pop.Thiemo Seufer2005-10-291-2/+2
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move genrtc.c's functions into <asm/rtc.h>Ralf Baechle2005-10-293-71/+48
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Let r4600 PRID detection match only legacy CPUs, cleanups.Thiemo Seufer2005-10-292-7/+10
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define some more common ip22 CPU features.Thiemo Seufer2005-10-291-0/+6
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Typo fix.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More .set push/pop encapsulation, more eyefriendly code formatting.Thiemo Seufer2005-10-291-36/+36
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix MAP_BASE for 64bit ip22.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* IP22 EISA support update.Thiemo Seufer2005-10-291-81/+67
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Handle mtc0 - tlb write hazard for VR5432.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Make static what ought to be static.Maciej W. Rozycki2005-10-291-7/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sprinkle a few more .set mipsX over xchg to make sure we dont' end up withRalf Baechle2005-10-291-0/+4
| | | | | | | 64-bit instructions on 32-bit processors, they tend to be unhappy about that kind of food ;-) Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of a bunch of debug serial routines. Use prom_printf instead.Pete Popov2005-10-291-76/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove workaround for binutils 2.15 assembler bug; this version is notRalf Baechle2005-10-291-8/+0
| | | | | | | suitable to reliably build kernels anymore anyway and 2.16 has this fixed. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Drop might_sleep() calls from get_user() & co. This should fix the issueRalf Baechle2005-10-291-2/+0
| | | | | | | in http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=200508171321.20094.Joshua.Wise%40sicortex.com and it's the right thing to do anyway because it was inflating those functions way too much. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Virtual SMP support for the 34K.Ralf Baechle2005-10-299-15/+450
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MT bulletproofing.Ralf Baechle2005-10-292-14/+75
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* On CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', butRalf Baechle2005-10-291-1/+1
| | | | | | | | pfn<<PAGE_SHIFT sometimes extends beyond. The pte is big enough to hold 'long long', but the shift in pfn_pte() needs to do its calculation with enough bits to hold the result. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix parenthesis in macros.Ralf Baechle2005-10-291-3/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Do the timer interrupt only once on CPU 0 ...Ralf Baechle2005-10-291-8/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define cpu_icache_snoops_remote_store. This is slight abuse of somethingRalf Baechle2005-10-291-0/+2
| | | | | | | which originally was meant for SMP cache managment but it can be argued to apply on the 34K as well. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add a few simple error checks to tlb dumper.Ralf Baechle2005-10-291-11/+14
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reindent dump_tlb.c.Ralf Baechle2005-10-291-34/+49
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add missing space.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.Ralf Baechle2005-10-291-2/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Delete old junk.Ralf Baechle2005-10-291-1/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Spelling fix.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for CoreFPGA-3.Ralf Baechle2005-10-294-15/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>