1. 31 10月, 2005 36 次提交
  2. 30 10月, 2005 4 次提交
    • J
      fbf30fba
    • J
      [libata ata_piix] use dev_printk() where appropriate · 6248e647
      Jeff Garzik 提交于
      6248e647
    • J
      [libata] fix legacy IDE probing · 0f0d5192
      Jeff Garzik 提交于
      ata_pci_init_one() receives an array of struct ata_port_info.  Recent
      updates to the code had always obtained port information from
      array element 0, rather than array element N.
      
      Change to avoid hardcoding port_info[0], thereby restoring proper
      hardware information to secondary legacy ports.
      0f0d5192
    • J
      [libata] change ata_qc_complete() to take error mask as second arg · a7dac447
      Jeff Garzik 提交于
      The second argument to ata_qc_complete() was being used for two
      purposes: communicate the ATA Status register to the completion
      function, and indicate an error.  On legacy PCI IDE hardware, the latter
      is often implicit in the former.  On more modern hardware, the driver
      often completely emulated a Status register value, passing ATA_ERR as an
      indication that something went wrong.
      
      Now that previous code changes have eliminated the need to use drv_stat
      arg to communicate the ATA Status register value, we can convert it to a
      mask of possible error classes.
      
      This will lead to more flexible error handling in the future.
      a7dac447