Hello, I have been using the add_drv command as below to load PCI adapter driver (called qla). "add_drv -v -i '"pci1077,3022"' -m '* 0666 root sys' -n qla"
where the 1077 is the value of PCI vendor_id register (00h of PCI register sets) and 3022, the PCI device_id(02h). This command works well for almost all PCI boards on both x86 and SPARC machines. However, I just got a new board and though this board's Vendor ID and Device ID are also 1077 and 3022, the "prtconf" command shows that the board is somehow recognized as : pci1014,36f, instand #xx where the 1014 and 36f are PCI Subsystem Vendor Id and Sub system Id register. And I have to use the following script to load driver. "add_drv -v -i '"pci1014,36f"' -m '* 0666 root sys' -n qla" But this script works only on x86 not SPARC. I don't why I have to use Sub System vendor Id and Sub System ID to load driver for some boards and why this works on x86 only? Can someone help me? Below is its PCI register sets value: vendorid =0x1077. deviceid =0x3032. command =0x156. status =0x230. revision id =0x0. programming class code =0x0. subclass code =0x0. basic class code =0x2. cache line size =0x8. latency timer =0x20. header =0x80. built in self test =0x0. I/O Base Register Address0 =0x4001. Memory Base Register Address1 =0xd8300004. Cardbus CIS Pointer =0x0. Subsytem Vendor Id =0x1014. Subsytem Id =0x36f. ROM Base Register =0x0. Capabilities Pointer =0x44. Interrupt Line =0xa. Interrupt Pin =0x1. Min Grant =0x40. Max Grant =0x0. Tom This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org