Messages in this thread | | | Date | Sun, 03 Feb 2008 12:35:20 -0500 | From | Jeff Garzik <> | Subject | Re: LPFC compilation error in 2.6.24-git12/git13 |
| |
Peter Teoh wrote: > --- lpfc_init.c.old 2008-02-03 19:26:20.000000000 +0800 > +++ drivers/scsi/lpfc/lpfc_init.c 2008-02-03 19:26:42.000000000 +0800 > @@ -1894,7 +1894,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, > uint16_t iotag; > int bars = pci_select_bars(pdev, IORESOURCE_MEM); > > - if (pci_enable_device_bars(pdev, bars)) > + if (pci_enable_device_io(pdev)) > goto out;
As already discussed and pointed out on LKML and linux-scsi, this is the wrong change. Look at the line above the one you changed -- we want mem not io.
Jeff
| |