1. 22 10月, 2006 3 次提交
    • A
      [PATCH] ATA must depend on BLOCK · bf2d401b
      Adrian Bunk 提交于
      Fix the following compile error with CONFIG_ATA=y, CONFIG_BLOCK=n:
      
      ...
        CC      drivers/ata/libata-scsi.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c: In function ‘ata_scsi_dev_config’:
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:791: warning: implicit declaration of function ‘blk_queue_max_sectors’
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: ‘request_queue_t’ undeclared (first use in this function)
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: (Each undeclared identifier is reported only once
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: for each function it appears in.)
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: ‘q’ undeclared (first use in this function)
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:800: warning: implicit declaration of function ‘blk_queue_max_hw_segments’
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c: In function ‘ata_scsi_slave_config’:
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:831:
      warning: implicit declaration of function ‘blk_queue_max_phys_segments’
      make[3]: *** [drivers/ata/libata-scsi.o] Error 1
      
      Bug report by Jesper Juhl.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      bf2d401b
    • K
      [PATCH] libata: use correct map_db values for ICH8 · 158f30c8
      Kristen Carlson Accardi 提交于
      Use valid values for ICH8 map_db.  With the old values, when the
      controller was in Native mode, and SCC was 1 (drives configured for
      IDE), any drive plugged into a slave port was not recognized.  For
      Combined Mode (and SCC is still 1), 2 is a value value for MAP.map_value,
      and needs to be recognized.
      Signed-off-by: NKristen Carlson Accardi <kristen.c.accardi@intel.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      158f30c8
    • L
      Merge branch 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block · 7b7fc708
      Linus Torvalds 提交于
      * 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block:
        [PATCH] Remove SUID when splicing into an inode
        [PATCH] Add lockless helpers for remove_suid()
        [PATCH] Introduce generic_file_splice_write_nolock()
        [PATCH] Take i_mutex in splice_from_pipe()
      7b7fc708
  2. 21 10月, 2006 37 次提交