Lines Matching refs:pshost
665 struct Scsi_Host *pshost; in Pci2000_Detect() local
684 pshost = scsi_register (tpnt, sizeof(ADAPTER2000)); in Pci2000_Detect()
685 if(pshost == NULL) in Pci2000_Detect()
687 padapter = HOSTDATA(pshost); in Pci2000_Detect()
714 scsi_set_pci_device(pshost, pdev); in Pci2000_Detect()
715 pshost->irq = pdev->irq; in Pci2000_Detect()
720 if ( PsiHost[z]->irq == pshost->irq ) // if shared then, don't posses in Pci2000_Detect()
725 if ( request_irq (pshost->irq, Irq_Handler, SA_SHIRQ, "pci2000", padapter) < 0 ) in Pci2000_Detect()
727 if ( request_irq (pshost->irq, Irq_Handler, SA_INTERRUPT | SA_SHIRQ, "pci2000", padapter) < 0 ) in Pci2000_Detect()
734 padapter->irqOwned = pshost->irq; // set IRQ as owned in Pci2000_Detect()
736 PsiHost[installed] = pshost; // save SCSI_HOST pointer in Pci2000_Detect()
738 pshost->io_port = padapter->basePort; in Pci2000_Detect()
739 pshost->n_io_port = 0xFF; in Pci2000_Detect()
740 pshost->unique_id = padapter->basePort; in Pci2000_Detect()
741 pshost->max_id = 16; in Pci2000_Detect()
742 pshost->max_channel = 1; in Pci2000_Detect()
758 …0 Intelligent Storage SCSI CONTROLLER: at I/O = %lX IRQ = %d\n", padapter->basePort, pshost->irq); in Pci2000_Detect()
765 scsi_unregister (pshost); in Pci2000_Detect()
815 int Pci2000_Release (struct Scsi_Host *pshost) in Pci2000_Release() argument
817 PADAPTER2000 padapter = HOSTDATA (pshost); in Pci2000_Release()
820 free_irq (pshost->irq, padapter); in Pci2000_Release()
822 release_region (pshost->io_port, pshost->n_io_port); in Pci2000_Release()
823 scsi_unregister(pshost); in Pci2000_Release()