27 Apr, 2011

1 commit


31 Mar, 2011

1 commit


10 Mar, 2011

1 commit


19 Feb, 2011

1 commit


22 Jan, 2011

1 commit


08 Dec, 2010

1 commit


18 Nov, 2010

3 commits

  • The spectra nand driver takes quite some time to initialize because
    it needs to scan the whole nand disk to find the latest block table.
    This patch initializes the spectra nand driver asynchronously so that
    other things in the kernel can initialize in parallel to the scanning
    operation.

    Signed-off-by: Yong Wang
    Signed-off-by: Greg Kroah-Hartman

    Yong Wang
     
  • Currently there are some driver initialization logic that
    is not part of nand_pci_probe function. This will result in
    that part of driver initialization code executing even on
    platforms without the corresponding hardware which is always
    dangerous.

    Signed-off-by: Chuanxiao Dong
    Signed-off-by: Yong Wang
    Signed-off-by: Greg Kroah-Hartman

    Yong Wang
     
  • blk_queue_ordered() has been deprecated and replaced with
    blk_queue_flush() by Tejun. However, use of blk_queue_ordered()
    in spectra nand driver has not been converted yet and thus results
    in the following build error.

    drivers/staging/spectra/ffsport.c: In function SBD_setup_device:
    drivers/staging/spectra/ffsport.c:659: error: implicit declaration of function blk_queue_ordered
    drivers/staging/spectra/ffsport.c:659: error: QUEUE_ORDERED_DRAIN_FLUSH undeclared (first use in this function)
    drivers/staging/spectra/ffsport.c:659: error: (Each undeclared identifier is reported only once
    drivers/staging/spectra/ffsport.c:659: error: for each function it appears in.)

    Signed-off-by: Yong Wang
    Cc: Tejun Heo
    Signed-off-by: Greg Kroah-Hartman

    Yong Wang
     

10 Nov, 2010

1 commit


29 Oct, 2010

1 commit


06 Oct, 2010

1 commit


05 Oct, 2010

1 commit

  • The block device drivers have all gained new lock_kernel
    calls from a recent pushdown, and some of the drivers
    were already using the BKL before.

    This turns the BKL into a set of per-driver mutexes.
    Still need to check whether this is safe to do.

    file=$1
    name=$2
    if grep -q lock_kernel ${file} ; then
    if grep -q 'include.*linux.mutex.h' ${file} ; then
    sed -i '/include.*/d' ${file}
    else
    sed -i 's/include.*.*$/include /g' ${file}
    fi
    sed -i ${file} \
    -e "/^#include.*linux.mutex.h/,$ {
    1,/^\(static\|int\|long\)/ {
    /^\(static\|int\|long\)/istatic DEFINE_MUTEX(${name}_mutex);

    } }" \
    -e "s/\(un\)*lock_kernel\>[ ]*()/mutex_\1lock(\&${name}_mutex)/g" \
    -e '/[ ]*cycle_kernel_lock();/d'
    else
    sed -i -e '/include.*\/d' ${file} \
    -e '/cycle_kernel_lock()/d'
    fi

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

21 Sep, 2010

1 commit


05 Sep, 2010

2 commits


04 Sep, 2010

2 commits

  • lld_nand fails to build on arches without virt_to_bus. Since this driver
    is specifically for hardware enablment on Moorestown, this patch adds
    Moorestown MID support as a dependency.

    Signed-off-by: Jeff Mahoney
    Cc: David Woodhouse
    Signed-off-by: Greg Kroah-Hartman

    Jeff Mahoney
     
  • On one of my m68k test builds I get:

    drivers/staging/spectra/ffsport.c: In function ‘ioctl_read_page_data’:
    drivers/staging/spectra/ffsport.c:196: error: implicit declaration of function ‘kmalloc’
    drivers/staging/spectra/ffsport.c:196: warning: assignment makes pointer from integer without a cast
    drivers/staging/spectra/ffsport.c:212: error: implicit declaration of function ‘kfree’
    drivers/staging/spectra/ffsport.c: In function ‘ioctl_write_page_data’:
    drivers/staging/spectra/ffsport.c:229: warning: assignment makes pointer from integer without a cast
    drivers/staging/spectra/ffsport.c: In function ‘SBD_setup_device’:
    drivers/staging/spectra/ffsport.c:637: warning: assignment makes pointer from integer without a cast

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Pekka Enberg
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     

01 Sep, 2010

1 commit


24 Aug, 2010

7 commits


26 Jun, 2010

1 commit

  • The spectra driver doesn't compile with today linux-next

    The problem is that it tries to use a blk_fs_request macro. Searching
    for this macro I saw that it used to exist in linux/blkdev.h as

    #define blk_fs_request(rq) ((rq)->cmd_type == REQ_TYPE_FS)

    This patch solves the issue eliminating the unnecessary (and now inexistent) wrapper

    Signed-off-by: Javier Martinez Canillas
    Acked-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Javier Martinez Canillas
     

09 Jun, 2010

2 commits