Re: aic7xxx support for >2TB volumes?

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

 



On Saturday 19 November 2005 00:05, Douglas Gilbert wrote:
> Perhaps Kilian could try the following patch (borrowed from
> scsi_debug). The patch is against lk 2.6.15-rc1 but should
> by widely applicable (unless the aic7... series really
> does have a 12 byte limit). 

Well, I just downloaded a fresh 2.6.15-rc1 source tree from kernel.org, and, 
to my surprise, I can't apply your patch.

Talking about linux/drivers/scsi/aic7xxx/aic7xxx_osm.c, the only occurrence of 
	/* Initial Domain Validation */

is at line 736, and it's preceded by:
        if (bootverbose)
                printf("%s: Slave Configure %d\n", ahc_name(ahc), device->id);

        dev = ahc_linux_get_device(ahc, device->channel, device->id,
                                   device->lun);
        dev->scsi_device = device;

        ahc_linux_device_queue_depth(ahc, dev);

instead of:
	if (bootverbose)
                sdev_printk(KERN_INFO, sdev, "Slave Configure\n");
 
	ahc_linux_device_queue_depth(sdev);

in your patch.
So it seems functions have changed between your 2.6.15-rc1, and my 2.6.15-rc1, 
unless I missed something.

I nevertheless tried to apply your patch, but sdev and dev objects seems to be 
different, so I can't attibute host->max_cmd_len to the dev object. As you 
probably already understood, I'm not a kernel developer, and my C knowledge 
is far from being sufficient to handle changes myself. :)

Any hint?

Thanks and regards,

-- 
Kilian CAVALOTTI                      Administrateur réseaux et systèmes
UPMC / CNRS - LIP6 (C870)
8, rue du Capitaine Scott                          Tel. : 01 44 27 88 54
75015 Paris - France                               Fax. : 01 44 27 70 00
-
: 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