The recently day I setup scst + QLE2562 as a scsi target in fibre channel.
refer to http://scst.sourceforge.net/qla2x00t-howto.html
How pci driver framework, regard to qla2xxx
1. Probe. pci_register_driver register callback function to pci core
qla2x00_module_init -> pci_register_driver(&qla2xxx_pci_driver);
2.0 /* Configure PCI I/O space */
2. Enabling the PCI Device
pci_enable_device()
3. Request IRQ, using msix(each port with 2 irq, request and respose separately)
qla2x00_request_irqs()
4. Enable intr
qla24xx_enable_intrs()
沒有留言:
張貼留言