1. 22 Nov, 2002 2 commits
    • James Bottomley's avatar
      remove struct pci_dev from scsi · 6242b376
      James Bottomley authored
      This patch completely removes struct pci_dev from scsi and replaces it with struct device
      (actually as host_driverfs_dev.parent)
      
      The old (but now deprecated) scsi_pci primitives are left in.  These should be replaced
      by using the new scsi_device primitives.
      6242b376
    • James Bottomley's avatar
      move dma_mask into struct device · 8ab1bc19
      James Bottomley authored
      Attached is a patch which moves dma_mask into struct device and cleans up the 
      scsi mid-layer to use it (instead of using struct pci_dev).  The advantage to 
      doing this is probably most apparent on non-pci bus architectures where 
      currently you have to construct a fake pci_dev just so you can get the bounce 
      buffers to work correctly.
        
      The patch tries to perturb the minimum amount of code, so dma_mask in struct 
      device is simply a pointer to the one in pci_dev.  However, it will make it 
      easy for me now to add generic device to MCA without having to go the fake pci
      route.
      8ab1bc19
  2. 17 Nov, 2002 38 commits