]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Merge branch 'master'
authorJeff Garzik <jgarzik@pobox.com>
Fri, 28 Oct 2005 16:31:34 +0000 (12:31 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 28 Oct 2005 16:31:34 +0000 (12:31 -0400)
1  2 
drivers/scsi/libata-scsi.c
drivers/scsi/libata.h

index 1ad75d58c30c21343377939451f078426b48bd56,58858886d751c8886fb4c5af8d354c57ff3069fc..b761bd1b971709029446763b0aff2a0106b617b7
  
  #include "libata.h"
  
- typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *qc, u8 *scsicmd);
 +#define SECTOR_SIZE   512
 +
+ typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *qc, const u8 *scsicmd);
  static struct ata_device *
- ata_scsi_find_dev(struct ata_port *ap, struct scsi_device *scsidev);
+ ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev);
  
  
  static void ata_scsi_invalid_field(struct scsi_cmnd *cmd,
index 39cce63dc45d603428d423ad59216afcf4763346,3d60190584ba00355b1de133f7d322d49c27c0af..65c264b911369dfb10864025d2bf004e071f1bb1
@@@ -48,10 -48,8 +48,10 @@@ extern int ata_qc_issue(struct ata_queu
  extern int ata_check_atapi_dma(struct ata_queued_cmd *qc);
  extern void ata_dev_select(struct ata_port *ap, unsigned int device,
                             unsigned int wait, unsigned int can_sleep);
- extern void ata_tf_to_host_nolock(struct ata_port *ap, struct ata_taskfile *tf);
+ extern void ata_tf_to_host_nolock(struct ata_port *ap, const struct ata_taskfile *tf);
  extern void swap_buf_le16(u16 *buf, unsigned int buf_words);
 +extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg);
 +extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg);
  
  
  /* libata-scsi.c */