summaryrefslogtreecommitdiffstats
path: root/include
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-291-0/+20
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Updated pcmcia driver with pb1200 and db1200 support.Pete Popov2005-10-292-0/+18
| | | | | | Updated db1200_defconfig so pcmcia is enabled by default. 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>
* 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-291-0/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleaned up AMD Au1200 IDE driver:Pete Popov2005-10-294-1/+350
| | | | | | | | | | | | | - 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
* Delete the SABLE_RTL case.Ralf Baechle2005-10-291-5/+0
| | | | 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>
* 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>
* Move genrtc.c's functions into <asm/rtc.h>Ralf Baechle2005-10-291-5/+48
| | | | 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>
* 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>
* 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-292-2/+2
| | | | 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>
* 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 missing space.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for CoreFPGA-3.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for Toshiba's RBHMA4500 eval board for the TX4938.Ralf Baechle2005-10-295-0/+1042
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.Pete Popov2005-10-2913-2/+984
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More AP / SP bits for the 34K, the Malta bits and things. Still wantsRalf Baechle2005-10-294-2/+119
| | | | | | a little polishing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanups.Ralf Baechle2005-10-291-10/+12
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move Origin crapola into a machine-specific header file.Ralf Baechle2005-10-292-0/+77
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect the MIPS R2 vectored interrupt, external interrupt controllerRalf Baechle2005-10-294-48/+99
| | | | | | options and the precense of the MT ASE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Macros to access the register of processors using the new MIPSRalf Baechle2005-10-292-0/+369
| | | | | | | | | Multithreading ASE, also know as MT ASE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/include/asm-mips/mipsmtregs.h b/include/asm-mips/mipsmtregs.h new file mode 100644
* Fix the fixup_bigphys_addr compile problem.Pete Popov2005-10-292-2/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Removed __ilog2 since it's no longer needed and conflicts with thePete Popov2005-10-291-23/+0
| | | | | | generic one. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* A few more macros to access MIPS R2 architecture registers.Ralf Baechle2005-10-291-0/+28
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries.Ralf Baechle2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add a few more SHN_MIPS_* symbols from glibc.Ralf Baechle2005-10-291-1/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add inotify syscalls for MIPS.Ralf Baechle2005-10-291-3/+13
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS R2 instruction hazard handling.Ralf Baechle2005-10-291-0/+16
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect the 34K.Ralf Baechle2005-10-291-1/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use ei / di MIPS32 R2 instructions if available.Ralf Baechle2005-10-291-53/+85
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use clz / dclz on MIPS32 / MIPS64 processors.Ralf Baechle2005-10-291-22/+115
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define kmap_atomic_pfn() for MIPS.Ralf Baechle2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix endianess bugs.Ralf Baechle2005-10-291-0/+25
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Protect noat assembly with .set push/pop and make it somewhat readable.Thiemo Seufer2005-10-291-76/+78
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* Fix get_saved_sp for 64bit address space. Simplify set_save_sp.Thiemo Seufer2005-10-291-5/+9
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* IP30 Identification.Thiemo Seufer2005-10-291-0/+1
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.Ralf Baechle2005-10-296-13/+13
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use physical addresses at the interface level, letting drivers remapMaciej W. Rozycki2005-10-299-68/+40
| | | | | | them as appropriate. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud