Re: [PATCH 2/3] aic79xx: Update to adaptec version 2.0.14

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

 



> -MODULE_AUTHOR("Maintainer: Justin T. Gibbs <gibbs@xxxxxxxxxxx>");
> +MODULE_AUTHOR("Maintainer: Luben Tuikov <luben_tuikov@xxxxxxxxxxx>");

Does Luben plan to actually maintain the driver we have now?  I suspect
that correct person to put here would be either you or James.

>  MODULE_DESCRIPTION("Adaptec Aic790X U320 SCSI Host Bus Adapter driver");
>  MODULE_LICENSE("Dual BSD/GPL");
>  MODULE_VERSION(AIC79XX_DRIVER_VERSION);
> @@ -343,6 +358,7 @@ MODULE_PARM_DESC(aic79xx,
>  "	amplitude:<int>		Set the signal amplitude (0-7).\n"
>  "	seltime:<int>		Selection Timeout:\n"
>  "				(0/256ms,1/128ms,2/64ms,3/32ms)\n"
> +"	slowcrc			Turn on the SLOWCRC bit (Rev B only)\n"		 
>  "\n"
>  "	Sample /etc/modprobe.conf line:\n"
>  "		Enable verbose logging\n"
> @@ -1003,6 +1019,7 @@ aic79xx_setup(char *s)
>  		{ "slewrate", NULL },
>  		{ "precomp", NULL },
>  		{ "amplitude", NULL },
> +		{ "slowcrc", &aic79xx_slowcrc },

please use a single module_param for each new paramater.  Adding them
for old ones aswell would also be very nice, then we could add a depreaction
message to the old ones and remove them after a year or two.

> +		if (cmd->request)
> +			msg_bytes = scsi_populate_tag_msg(cmd, tag_msgs);

cmd->request can't be zero.

> -	if (request_region(*base, 256, "aic79xx") == 0)
> +	if (request_region(*base, 256, "aic79xx") == NULL)
>  		return (ENOMEM);
> -	if (request_region(*base2, 256, "aic79xx") == 0) {
> -		release_region(*base2, 256);
> +	if (request_region(*base2, 256, "aic79xx") == NULL) {
> +		release_region(*base, 256);

What about just if (!request_region(...)) {

>  		if (request_mem_region(start, 0x1000, "aic79xx") == 0)
>  			error = ENOMEM;
>  		if (error == 0) {
> -			*maddr = ioremap_nocache(base_page, base_offset + 256);
> +			*maddr = ioremap_nocache(base_page, base_offset + 512);

so how could this work before?

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