Re: [PATCH] 3w-9xxx: use PCI resource length correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux