Subject: Re: CCISS support, anyone?
To: Tonnerre LOMBARD <email@example.com>
From: Michael L. Hitch <firstname.lastname@example.org>
Date: 03/09/2006 10:16:49
On Thu, 9 Mar 2006, Tonnerre LOMBARD wrote:
> On Thu, Mar 09, 2006 at 04:37:53PM +0100, Tonnerre LOMBARD wrote:
> > Ok, I could use some help here. I am encountering a really bizarre situation:
> And it doesn't get less bizarre:
> sc->maxcmd=1024 sc->ccblen=0x200 total=0x80000
> i=0 ccb=0xcb39f000
> i=1 ccb=0xcb3b2000
> i=2 ccb=0xcb3c5000
> i=3 ccb=0xcb3d8000
> i=4 ccb=0xcb3eb000
> i=5 ccb=0xcb3fe000
> i=6 ccb=0xcb411000
> i=7 ccb=0xcb424000 (which is larger than 0xcb39f000 + 0x80000)
> By what stretch of logic is 0xcb39f000 + 7 * 0x200 equal to 0xcb424000?
> In my sense of maths, that is 0xcb39fe00. Am I the only one who doesn't
> see the logic here?
I believe that is because it is not really 0xcb39f000 + 7 * 0x200,
but 0xcb39f000 + 7 * 0x200 * sizeof(struct ciss_ccb). I suspect this
is because it looks like you changed the "void *ccbs" to "struct
ciss_ccb *ccbs" in the ciss_softc structure.
Michael L. Hitch email@example.com
Information Technology Center
Montana State University Bozeman, MT USA