- 08 Feb, 2008 40 commits
-
-
Jesper Nilsson authored
-
Jesper Nilsson authored
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.
-
Jesper Nilsson authored
- 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.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
- 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.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
This file is machine dependent, and needs to be in asm-cris/arch-v32/mach-fs/hwregs/reg_map.h instead.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
CRIS v32 is not SMP.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
Deallocation was not possible before, but is now.
-
Jesper Nilsson authored
Also, fix a typo.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
- 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.
-
Jesper Nilsson authored
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.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
Both of these are implemented using cris_delay10ns().
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
This is done to avoid collision with linux/leds.h
-
Jesper Nilsson authored
-
Jesper Nilsson authored
Also, clean up some whitespace errors.
-
Jesper Nilsson authored
Also, fix some white space errors, and constify cpuinfo_op.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
-
Jesper Nilsson authored
Also, fix some whitespace errors.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
Using kmalloc instead of vmalloc solves the stability problems experienced by some 100 LX products.
-
Jesper Nilsson authored
-
Jesper Nilsson authored
- 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.
-
Jesper Nilsson authored
There is no need to do all this work if they share memory descriptors. Also, fix some minor whitespace and long lines.
-