On Mon, May 28, 2012 at 12:21:34PM -0600, Bjorn Helgaas wrote: > linked in vs. loaded as a module after boot? What if you add a long > delay in the driver probe routine? I'm attaching patch which add 200 ms delay after pci_enable_device() in ->probe routine. Stanislaw
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c index faec404..96fe43d 100644 --- a/drivers/net/wireless/iwlegacy/3945-mac.c +++ b/drivers/net/wireless/iwlegacy/3945-mac.c @@ -3635,6 +3635,8 @@ il3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) goto out_ieee80211_free_hw; } + msleep(200); + pci_set_master(pdev); err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));