Re: qla1280 mem-mapped I/O fix

David Mosberger (davidm@napali.hpl.hp.com)
Sat, 10 May 2003 03:25:35 -0700


>>>>> On 10 May 2003 12:15:08 +0200, Arjan van de Ven <arjanv@redhat.com> said:

>> @@ -2634,7 +2634,7 @@
>> /*
>> * Get memory mapped I/O address.
>> */
>> - pci_read_config_word (ha->pdev, PCI_BASE_ADDRESS_1, &mmapbase);
>> + pci_read_config_dword (ha->pdev, PCI_BASE_ADDRESS_1, &mmapbase);
>> mmapbase &= PCI_BASE_ADDRESS_MEM_MASK;

Arjan> shouldn't this be pci_resource_start() ?

Probably should be. I wanted a minimal fix, because if you start
cleaning up qla1280, it won't stop there... ;-(

--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/