lkml.org 
[lkml]   [2002]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] aic7xxx bouncing over 4G
> gibbs@scsiguy.com said:
>> That hasn't applied since 6.2.10 or so. 2.5.X is still using 6.2.4.
>
> The bug report is against 2.5.53 which has 6.2.24 in it, so it still
> needs fixing. At a cursory glance at the code, it looks like you don't
> call scsi_set_pci_device early enough in the detect routine.

I don't see how this enters into it. The dma mask should be set on
the PCI device in aic7xxx_osm_pci.c just after we enable the device
and set it as a bus master. The pci device is setup in the host
structure as it is allocated and before it is registered with the
SCSI subsystem. I can't imagine that the merge function (and thereby
the bounce limit) is selected before the host is even registered.
My guess is that the original call to setup the PCI mask is not happening
due to either a logic bug in ahc_linux_get_memsize() or the logic that
interprets its response in aic7xxx_osm_pci.c.

I'm not in front of a Linux system to debug this, so all I can do is
inspect the code right now. Perhaps someone with an affected machine
can toss in a few printks and figure this out?

--
Justin

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.221 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site