Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jan 2008 01:19:08 +0000 (17:19 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jan 2008 01:19:08 +0000 (17:19 -0800)
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (200 commits)
  [SCSI] usbstorage: use last_sector_bug flag universally
  [SCSI] libsas: abstract STP task status into a function
  [SCSI] ultrastor: clean up inline asm warnings
  [SCSI] aic7xxx: fix firmware build
  [SCSI] aacraid: fib context lock for management ioctls
  [SCSI] ch: remove forward declarations
  [SCSI] ch: fix device minor number management bug
  [SCSI] ch: handle class_device_create failure properly
  [SCSI] NCR5380: fix section mismatch
  [SCSI] sg: fix /proc/scsi/sg/devices when no SCSI devices
  [SCSI] IB/iSER: add logical unit reset support
  [SCSI] don't use __GFP_DMA for sense buffers if not required
  [SCSI] use dynamically allocated sense buffer
  [SCSI] scsi.h: add macro for enclosure bit of inquiry data
  [SCSI] sd: add fix for devices with last sector access problems
  [SCSI] fix pcmcia compile problem
  [SCSI] aacraid: add Voodoo Lite class of cards.
  [SCSI] aacraid: add new driver features flags
  [SCSI] qla2xxx: Update version number to 8.02.00-k7.
  [SCSI] qla2xxx: Issue correct MBC_INITIALIZE_FIRMWARE command.
  ...

18 files changed:
1  2 
Documentation/kernel-parameters.txt
MAINTAINERS
block/ll_rw_blk.c
drivers/ata/libata-scsi.c
drivers/base/attribute_container.c
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iser_initiator.c
drivers/s390/scsi/zfcp_ccw.c
drivers/scsi/Kconfig
drivers/scsi/advansys.c
drivers/scsi/hosts.c
drivers/scsi/ipr.c
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/qla2xxx/qla_os.c
fs/sysfs/file.c
include/linux/blkdev.h
kernel/params.c

Simple merge
diff --cc MAINTAINERS
Simple merge
Simple merge
index 3fd08201bef472d4b38774b545ee76a4592ffe66,bc5cf6b8a4b885a32569ea6166cdba4a4ec5ee3c..c02c490122dc0cfbb5492542b0c690552616a32d
@@@ -839,11 -839,15 +839,18 @@@ static void ata_scsi_dev_config(struct 
        if (dev->class == ATA_DEV_ATAPI) {
                struct request_queue *q = sdev->request_queue;
                blk_queue_max_hw_segments(q, q->max_hw_segments - 1);
-       }
+               /* set the min alignment */
+               blk_queue_update_dma_alignment(sdev->request_queue,
+                                              ATA_DMA_PAD_SZ - 1);
+       } else
+               /* ATA devices must be sector aligned */
+               blk_queue_update_dma_alignment(sdev->request_queue,
+                                              ATA_SECT_SIZE - 1);
  
 +      if (dev->class == ATA_DEV_ATA)
 +              sdev->manage_start_stop = 1;
 +
        if (dev->flags & ATA_DFLAG_AN)
                set_bit(SDEV_EVT_MEDIA_CHANGE, sdev->supported_events);
  
Simple merge
Simple merge
Simple merge
Simple merge
index 6325115e5b3d31b1fd5be8f05b10d5d4bb472a8b,9a10b4335e76cd7cda2a44bbac686a9be2bf757d..5ea1f986220cf052e2786d6f91a5d7e86aebcf39
@@@ -429,18 -428,8 +428,17 @@@ void scsi_unregister(struct Scsi_Host *
  }
  EXPORT_SYMBOL(scsi_unregister);
  
 +static int __scsi_host_match(struct class_device *cdev, void *data)
 +{
 +      struct Scsi_Host *p;
 +      unsigned short *hostnum = (unsigned short *)data;
 +
 +      p = class_to_shost(cdev);
 +      return p->host_no == *hostnum;
 +}
 +
  /**
   * scsi_host_lookup - get a reference to a Scsi_Host by host no
-  *
   * @hostnum:  host number to locate
   *
   * Return value:
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/sysfs/file.c
Simple merge
Simple merge
diff --cc kernel/params.c
Simple merge