/* s2io_init_pci -Initialization of PCI and PCI-X configuration registers . @sp : private member of the device structure, which is a pointer to the s2io_nic structure. Description: This function initializes a few of the PCI and PCI-X configuration registers with recommended values. Return value: void  */
static void s2io_init_pci(struct s2io_nic *sp)
/* s2io_init_pci -Initialization of PCI and PCI-X configuration registers . @sp : private member of the device structure, which is a pointer to the s2io_nic structure. Description: This function initializes a few of the PCI and PCI-X configuration registers with recommended values. Return value: void  */
static void s2io_init_pci(struct s2io_nic *sp)
{
	u16 pci_cmd = 0, pcix_cmd = 0;
	pci_read_config_word(sp->pdev, PCIX_COMMAND_REGISTER,
			     &(pcix_cmd));
	pci_write_config_word(sp->pdev, PCIX_COMMAND_REGISTER,
			      (pcix_cmd | 1));
	pci_read_config_word(sp->pdev, PCIX_COMMAND_REGISTER,
			     &(pcix_cmd));
	pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd);
	pci_write_config_word(sp->pdev, PCI_COMMAND,
			      (pci_cmd | PCI_COMMAND_PARITY));
	pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd);
}