1. 10 2月, 2008 3 次提交
  2. 09 2月, 2008 31 次提交
  3. 08 2月, 2008 6 次提交
    • J
      CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup. · a34d2442
      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)
      a34d2442
    • J
      CRIS: Add new timerfd syscall entries. · 7800029d
      Jesper Nilsson 提交于
      7800029d
    • J
      eb090473
    • J
      CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS. · 9f68ff9e
      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.
      9f68ff9e
    • J
      CRIS v10: Cleanup of drivers/gpio.c · ad433f23
      Jesper 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.
      ad433f23
    • J
      79e04fdb