diff-tree 796084eedef602153c337e5c3ee60741e7acab64 (from 29292af943e12ace0115497616569f0629ed1cd7) Author: Carlos Martin <[EMAIL PROTECTED](none)> Date: Sat Feb 11 11:24:27 2006 +0100
Actually save the net_device in the dev When the no-ciclic-ndevs was done, it was forgotten that acxpci_s_device_chain_add set adev->ndev, but it was not added on the probe function. This fixes the error reported by DoNoBaN <[EMAIL PROTECTED]> Signed-off-by: Carlos Martin <[EMAIL PROTECTED]> diff --git a/pci.c b/pci.c index a3bccef..38ed937 100644 --- a/pci.c +++ b/pci.c @@ -1568,6 +1568,7 @@ acxpci_e_probe(struct pci_dev *pdev, con ** just _presume_ that we're under sem (instead of actually taking it): */ /* acx_sem_lock(adev); */ adev->pdev = pdev; + adev->ndev = ndev; adev->dev_type = DEVTYPE_PCI; adev->chip_type = chip_type; adev->chip_name = chip_name; cmn -- Carlos Martín Nieto | http://www.cmartin.tk Hobbyist programmer | - 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