On Fri, Sep 28, 2007 at 10:50:34AM -0400, Jeff Garzik wrote:
> > 
> >     /* Save base address */
> >-    tw_dev->base_addr = ioremap(mem_addr, PAGE_SIZE);
> >+    tw_dev->base_addr = ioremap(mem_addr, mem_len);
> 
> Have you verified that the hardware resource is always a reasonable size?

I have seen it on only one machine, where it was 256 bytes.

Were there cases of hardware with broken resource information, before? I
didn't expect this to happen.

If it happens, wouldn't it break pci_request_regions(), anyway?

-- 
Eduardo
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to