[rtl818x] Remove broken mmio register support
[people/mcb30/gpxe.git] / src / drivers / net / rtl818x / rtl818x.c
index 167409d..7c7ca48 100644 (file)
@@ -680,9 +680,6 @@ static int rtl818x_probe(struct pci_device *pdev,
        dev->netdev->dev = &pdev->dev;
 
        priv->map = (struct rtl818x_csr *)pdev->ioaddr;
-       if (!priv->map)
-               priv->map = (struct rtl818x_csr *)pdev->membase;
-
        if (!priv->map) {
                DBG("rtl818x: cannot find device memory\n");
                err = -ENXIO;