Daniel Drake <[EMAIL PROTECTED]> : [...] > @@ -1442,20 +1444,24 @@ rtl8169_init_board(struct pci_dev *pdev, > } > } > > - /* make sure PCI base addr 1 is MMIO */ > - if (!(pci_resource_flags(pdev, 1) & IORESOURCE_MEM)) { > - if (netif_msg_probe(tp)) { > - printk(KERN_ERR PFX > - "region #1 not an MMIO resource, aborting\n"); > - } > - rc = -ENODEV; > - goto err_out_mwi; > + /* find MMIO resource: this varies between 8168 and 8169 */ > + for (i = 0; i < 5; i++) {
I'd rather use pci_device_id->driver_data but it's an option. Btw a 0x8167 may be encountered too. A diff between latest versions of Realtek's code suggests that rtl_chip_info and mac_info need an update as well. -- Ueimor - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html