7800029df3
CRIS: Add new timerfd syscall entries.
2008-02-08 11:54:30 +01:00
0b07aa6d38
MAINTAINERS: Add my information for the CRIS port.
2008-02-08 11:16:47 +01:00
eb090473a7
CRIS v32: Correct spelling of bandwidth in function name.
2008-02-08 11:16:46 +01:00
9f68ff9ee9
CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS.
...
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-08 11:16:45 +01:00
ad433f2368
CRIS v10: Cleanup of drivers/gpio.c
...
- 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-08 11:16:45 +01:00
5efa1d1c94
CRIS v10: drivers/net/cris/eth_v10.c rename LED defines to CRIS_LED to avoid name clash.
2008-02-08 11:16:44 +01:00
a63461e9ea
CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h
2008-02-08 11:08:07 +01:00
79e04fdbb3
CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file.
2008-02-08 11:08:06 +01:00
c261038108
CRIS: Drop regs parameter from call to profile_tick in kernel/time.c
2008-02-08 11:06:40 +01:00
ac17e82a87
CRIS v32: Fix minor formatting issue in mach-a3/io.c
2008-02-08 11:06:39 +01:00
f8e47cb058
CRIS v32: Initialize GIO even if we're rambooting in kernel/head.S
2008-02-08 11:06:39 +01:00
a87434b04f
CRIS v32: Remove kernel/arbiter.c, it now exists in machine dependent directory.
2008-02-08 11:06:39 +01:00
1791f539cd
CRIS v32: Minor changes to avoid errors in asm-cris/arch-v32/hwregs/reg_rdwr.h
...
- 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-08 11:06:39 +01:00
b8ed6b4d83
CRIS v32: arch-v32/hwregs/intr_vect_defs.h moved to machine dependent directory.
2008-02-08 11:06:39 +01:00
fb5c6e1155
CRIS v32: Correct offset for TASK_pid in asm-cris/arch-v32/offset.h
2008-02-08 11:06:39 +01:00
78dbb60643
CRIS v32: Move register map header to machine dependent directory.
...
This file is machine dependent, and needs to be in
asm-cris/arch-v32/mach-fs/hwregs/reg_map.h instead.
2008-02-08 11:06:39 +01:00
57e6f9646c
CRIS v32: Let compiler know that memory is clobbered after a break op.
2008-02-08 11:06:39 +01:00
12e1b1e790
CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.h
...
CRIS v32 is not SMP.
2008-02-08 11:06:39 +01:00
de1c1419f9
CRIS v32: Completely rework spinlocks for ETRAX FS and ARTPEC-3
2008-02-08 11:06:39 +01:00
4258fb1932
CRIS v32: Change name for simulator config in asm-cris/arch-v32/processor.h
2008-02-08 11:06:38 +01:00
230d69cf2b
CRIS v32: Add prototype for crisv32_pinmux_dealloc_fixed in asm-cris/arch-v32/pinmux.h
...
Deallocation was not possible before, but is now.
2008-02-08 11:06:38 +01:00
e919a1201c
CRIS v32: Change name for simulator config in asm-cris/arch-v32/page.h
...
Also, fix a typo.
2008-02-08 11:06:38 +01:00
d9ebcacee9
CRIS v32: Remove juliette.h, it is not supported for CRIS v32.
2008-02-08 11:06:38 +01:00
6c6dc56c1e
CRIS v32: Add support for ETRAX FS and ARTPEC-3 for arch-v32/hwregs/eth_defs.h
...
- 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-08 11:06:38 +01:00
8d07328744
CRIS v32: Rename variable used in macro for arch-v32/hwregs/dma.h
...
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-08 11:06:38 +01:00
3fb18a3387
CRIS v32: Remove useless CVS id tag from arch-v32/hwregs/Makefile
2008-02-08 11:06:38 +01:00
94ebe16415
CRIS v32: Add defines for udelay and ndelay in arch-v32/delay.h
...
Both of these are implemented using cris_delay10ns().
2008-02-08 11:06:38 +01:00
209e9c43ad
CRIS v32: Adjust arch-v32/atomic.h for new spinlock/rwlock infrastructure
2008-02-08 11:06:38 +01:00
e52c2c72dd
CRIS v32: Add missing header to include/asm-cris/arch-v32/Kbuild
2008-02-08 11:06:37 +01:00
581b4fdc15
CRIS: Break long comment line in include/asm-cris/arch-v10/page.h
2008-02-08 11:06:37 +01:00
0d9f2e6f86
CRIS: Rename LED macros to CRIS_LED to avoid name clash in io.h
...
This is done to avoid collision with linux/leds.h
2008-02-08 11:06:37 +01:00
a1a7dc1d06
CRIS: Add missing headers to include/asm-cris Kbuild files.
2008-02-08 11:06:37 +01:00
daa00b9caf
CRIS: Add sched_clock to kernel/time.c
...
Also, clean up some whitespace errors.
2008-02-08 11:06:37 +01:00
60dead5a8c
CRIS: Register cpus in kernel/setup.c
...
Also, fix some white space errors, and constify cpuinfo_op.
2008-02-08 11:06:37 +01:00
3ae8d8baab
CRIS: Remove include of linux/init.h, not needed anymore.
2008-02-08 11:06:37 +01:00
6e0b688034
CRIS: Remove CONFIG_NO_IOMEM from ARTPEC-3 default config.
2008-02-08 11:06:37 +01:00
1b7e7da364
CRIS: Remove useless CVS log from kernel/ptrace.c
...
Also, fix some whitespace errors.
2008-02-08 11:06:37 +01:00
f32bb79c97
CRIS: Remove useless CVS id and log from kernel/process.c
2008-02-08 11:06:37 +01:00
08cfeacb6b
CRIS: Add configuration possibility for using kmalloc for modules.
...
Using kmalloc instead of vmalloc solves the stability problems
experienced by some 100 LX products.
2008-02-08 11:06:36 +01:00
b4945a90d0
CRIS: Remove CONFIG_NO_IOMEM from default configs.
2008-02-08 11:06:36 +01:00
baa69b121a
CRIS v32: Fix startup oops and replace hardcoded pagesize in vmlinux.lds.S
...
- 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-08 11:06:36 +01:00
52d82ef12a
CRIS v32: Avoid work when switching between tasks with shared memory 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-08 11:06:36 +01:00
3d44305abe
CRIS v32: Add workaround for MMU hardware bug for ETRAX FS in mm/mmu.S
2008-02-08 11:06:36 +01:00
108ecfbc31
CRIS v32: Fix bug in internal memory allocator mm/intmem.c
...
- Fix bug where allocated memory didn't account for alignment.
- Add support for ARTPEC-3
- Add module_init for crisv32_intmem_init.
2008-02-08 11:06:36 +01:00
0836c6d26f
CRIS v32: Change name of simulator config to CONFIG_ETRAX_VCS_SIM in mm/init.c
...
- Remove unneded code for ETRAX FS and ARTPEC-3
2008-02-08 11:06:36 +01:00
ea0af95b1c
CRIS v32: Change lib/spinlock.S to use byte operations instead of dwords.
2008-02-08 11:06:36 +01:00
ea402db97f
CRIS v32: Move hw_settings.S to machine specific directories for ETRAX FS and ARTPEC-3
2008-02-08 11:06:35 +01:00
41f9412b20
CRIS v32: Update lib/checksum.S and lib/checksumcopy.S
...
- 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.
2008-02-08 11:06:35 +01:00
7674464cb3
CRIS v32: Add lib/delay to build.
2008-02-08 11:06:35 +01:00
48c87a4483
CRIS v32: Add precise delay loops for ETRAX FS and ARTPEC-3.
...
Implements cris_delay10ns.
2008-02-08 11:06:35 +01:00