patch-2.4.0-test2 linux/drivers/isdn/hisax/hfc_pci.c

Next file: linux/drivers/isdn/hisax/netjet.c
Previous file: linux/drivers/isdn/hisax/gazel.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/isdn/hisax/hfc_pci.c linux/drivers/isdn/hisax/hfc_pci.c
@@ -1738,7 +1738,9 @@
 						     dev_hfcpci);
 			i++;
 			if (tmp_hfcpci) {
-				if ((card->para[0]) && (card->para[0] != (tmp_hfcpci->resource[ 0].start & PCI_BASE_ADDRESS_IO_MASK)))
+				if (pci_enable_device(tmp_hfcpci))
+					continue;
+				if ((card->para[0]) && (card->para[0] != pci_resource_start(tmp_hfcpci, 0)))
 					continue;
 				else
 					break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)