patch-2.3.16 linux/drivers/net/sunhme.c

Next file: linux/drivers/net/sunlance.c
Previous file: linux/drivers/net/sdlamain.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/net/sunhme.c linux/drivers/net/sunhme.c
@@ -3325,7 +3325,7 @@
 	}		
 
 	hpreg_base = pdev->resource[0].start;
-	if ((pdev->resource[0].flags & IORESOURCE_IOPORT) != 0) {
+	if ((pdev->resource[0].flags & IORESOURCE_IO) != 0) {
 		printk("happymeal(PCI): Cannot find proper PCI device base address.\n");
 		return ENODEV;
 	}

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