summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-08CRIS v32: Change drivers/i2c.c locking.Jesper Nilsson
- Change spin_lock + local_irq_save into spin_lock_irqsave - Change spin_unlock + local_irq_restore into spin_unlock_irqrestore - Return ENOTTY if ioctl is not recognized as a cris ioctl. - Make init functions static.
2008-02-08CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup.Jesper Nilsson
Changes as suggested by Andrew Morton, plus general cleanup to ease later consolidation of driver into machine common driver. - Correct parameter type of gpio_write to const char __user * - Remove volatile from the arrays of machine dependent registers, use readl and writel to access them instead. - Remove useless casts of void. - Use spin_lock_irqsave for locking. - Break gpio_write into smaller sub-functions. - Remove useless breaks after returns. - Don't perform any change in IO_CFG_WRITE_MODE if values are invalid. (previously values were set and then set to zero) - Change cast for copy_to_user to (void __user *) - Make file_operations gpio_fops static and const. - Make setget_output static. (However, it's still inline since the CRIS architecture is still not SMP, which makes the function small enough to inline)
2008-02-08CRIS: Add new timerfd syscall entries.Jesper Nilsson
2008-02-08MAINTAINERS: Add my information for the CRIS port.Jesper Nilsson
2008-02-08CRIS v32: Correct spelling of bandwidth in function name.Jesper Nilsson
2008-02-08CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS.Jesper Nilsson
Clean up issues noticed by Andrew Morton: - Use a combined struct for allocating the mtd_info and nand_chip structs instead of using anonymous memory as the example in Documentation/DocBook/mtdnand.tmpl - Use kzalloc instead of using kmalloc/memset(0) - Make crisv32_device_ready static.
2008-02-08CRIS v10: Cleanup of drivers/gpio.cJesper Nilsson
- Change parameters of gpio_write (const char * buf -> const char __user *buf) - Don't initialize static variables to zero. - Remove useless casts from void. - Change name of interrupt routine (gpio_pa_interrupt -> gpio_interrupt) - Use kzmalloc instead of allocating memory and zeroing it manually. - Correct casts for copy_to_user and copy_from_user to (void __user *) - Make file_operations gpio_fops static. - Make ioif_watcher static, not used outside this file.
2008-02-08CRIS v10: drivers/net/cris/eth_v10.c rename LED defines to CRIS_LED to avoid ↵Jesper Nilsson
name clash.
2008-02-08CRIS: Make io_pwm_set_period members unsigned in etraxgpio.hJesper Nilsson
2008-02-08CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file.Jesper Nilsson
2008-02-08CRIS: Drop regs parameter from call to profile_tick in kernel/time.cJesper Nilsson
2008-02-08CRIS v32: Fix minor formatting issue in mach-a3/io.cJesper Nilsson
2008-02-08CRIS v32: Initialize GIO even if we're rambooting in kernel/head.SJesper Nilsson
2008-02-08CRIS v32: Remove kernel/arbiter.c, it now exists in machine dependent directory.Jesper Nilsson
2008-02-08CRIS v32: Minor changes to avoid errors in asm-cris/arch-v32/hwregs/reg_rdwr.hJesper Nilsson
- Add ifdef around macros to read and write hardware registers - Add parens around REG_READ expression to avoid possible precedence errors. - Remove useless CVS id tag.
2008-02-08CRIS v32: arch-v32/hwregs/intr_vect_defs.h moved to machine dependent directory.Jesper Nilsson
2008-02-08CRIS v32: Correct offset for TASK_pid in asm-cris/arch-v32/offset.hJesper Nilsson
2008-02-08CRIS v32: Move register map header to machine dependent directory.Jesper Nilsson
This file is machine dependent, and needs to be in asm-cris/arch-v32/mach-fs/hwregs/reg_map.h instead.
2008-02-08CRIS v32: Let compiler know that memory is clobbered after a break op.Jesper Nilsson
2008-02-08CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.hJesper Nilsson
CRIS v32 is not SMP.
2008-02-08CRIS v32: Completely rework spinlocks for ETRAX FS and ARTPEC-3Jesper Nilsson
2008-02-08CRIS v32: Change name for simulator config in asm-cris/arch-v32/processor.hJesper Nilsson
2008-02-08CRIS v32: Add prototype for crisv32_pinmux_dealloc_fixed in ↵Jesper Nilsson
asm-cris/arch-v32/pinmux.h Deallocation was not possible before, but is now.
2008-02-08CRIS v32: Change name for simulator config in asm-cris/arch-v32/page.hJesper Nilsson
Also, fix a typo.
2008-02-08CRIS v32: Remove juliette.h, it is not supported for CRIS v32.Jesper Nilsson
2008-02-08CRIS v32: Add support for ETRAX FS and ARTPEC-3 for arch-v32/hwregs/eth_defs.hJesper Nilsson
- A couple of fields have changed name: reg_eth_rw_ga_lo.table -> tbl reg_eth_rw_ga_hi.table -> tbl reg_eth_rw_gen_ctrl.flow_ctrl_dis -> flow_ctrl - Add some new register fields. reg_eth_rw_gen_ctrl.gtxclk_out reg_eth_rw_gen_ctrl.phyrst_n reg_eth_rw_tr_ctrl.carrier_ext - max_size in reg_eth_rw_rec_ctrl had the wrong size. - Registers reg_eth_rw_mgm_ctrl and reg_eth_r_stat was reworked completely.
2008-02-08CRIS v32: Rename variable used in macro for arch-v32/hwregs/dma.hJesper Nilsson
The old name "r" would quite often produce warnings when other variables with the same name was shadowed. Rename it __x to make it more unlikely to happen.
2008-02-08CRIS v32: Remove useless CVS id tag from arch-v32/hwregs/MakefileJesper Nilsson
2008-02-08CRIS v32: Add defines for udelay and ndelay in arch-v32/delay.hJesper Nilsson
Both of these are implemented using cris_delay10ns().
2008-02-08CRIS v32: Adjust arch-v32/atomic.h for new spinlock/rwlock infrastructureJesper Nilsson
2008-02-08CRIS v32: Add missing header to include/asm-cris/arch-v32/KbuildJesper Nilsson
2008-02-08CRIS: Break long comment line in include/asm-cris/arch-v10/page.hJesper Nilsson
2008-02-08CRIS: Rename LED macros to CRIS_LED to avoid name clash in io.hJesper Nilsson
This is done to avoid collision with linux/leds.h
2008-02-08CRIS: Add missing headers to include/asm-cris Kbuild files.Jesper Nilsson
2008-02-08CRIS: Add sched_clock to kernel/time.cJesper Nilsson
Also, clean up some whitespace errors.
2008-02-08CRIS: Register cpus in kernel/setup.cJesper Nilsson
Also, fix some white space errors, and constify cpuinfo_op.
2008-02-08CRIS: Remove include of linux/init.h, not needed anymore.Jesper Nilsson
2008-02-08CRIS: Remove CONFIG_NO_IOMEM from ARTPEC-3 default config.Jesper Nilsson
2008-02-08CRIS: Remove useless CVS log from kernel/ptrace.cJesper Nilsson
Also, fix some whitespace errors.
2008-02-08CRIS: Remove useless CVS id and log from kernel/process.cJesper Nilsson
2008-02-08CRIS: Add configuration possibility for using kmalloc for modules.Jesper Nilsson
Using kmalloc instead of vmalloc solves the stability problems experienced by some 100 LX products.
2008-02-08CRIS: Remove CONFIG_NO_IOMEM from default configs.Jesper Nilsson
2008-02-08CRIS v32: Fix startup oops and replace hardcoded pagesize in vmlinux.lds.SJesper Nilsson
- Move alignment of init data to page size outside define CONFIG_BLK_DEV_INITRD This avoids oops due to memory on the same page as init data being freed. - Change hardcoded page size to use macro from asm/page.h - Add reserved memory via CONFIG_ETRAX_VMEM_SIZE. - Use available defines for TEXT_TEXT and INITCALLS. - Cleanup whitespace.
2008-02-08CRIS v32: Avoid work when switching between tasks with shared memory ↵Jesper Nilsson
descriptors in mm/tlb.c There is no need to do all this work if they share memory descriptors. Also, fix some minor whitespace and long lines.
2008-02-08CRIS v32: Add workaround for MMU hardware bug for ETRAX FS in mm/mmu.SJesper Nilsson
2008-02-08CRIS v32: Fix bug in internal memory allocator mm/intmem.cJesper Nilsson
- Fix bug where allocated memory didn't account for alignment. - Add support for ARTPEC-3 - Add module_init for crisv32_intmem_init.
2008-02-08CRIS v32: Change name of simulator config to CONFIG_ETRAX_VCS_SIM in mm/init.cJesper Nilsson
- Remove unneded code for ETRAX FS and ARTPEC-3
2008-02-08CRIS v32: Change lib/spinlock.S to use byte operations instead of dwords.Jesper Nilsson
2008-02-08CRIS v32: Move hw_settings.S to machine specific directories for ETRAX FS ↵Jesper Nilsson
and ARTPEC-3
2008-02-08CRIS v32: Update lib/checksum.S and lib/checksumcopy.SJesper Nilsson
- Slight tweaks, use $acr + addoq to propagate carry across the loop boundary. - Better use of latency cycles. - Remove duplicate folding of carry, it is not needed.