Re: [RFT][PATCH] aic79xx: remove busyq

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

 



On Sunday 29 May 2005 11:46, Jeff Garzik wrote:
> This changes the aic79xx driver to use the standard Linux SCSI queueing
> code, rather than its own.  After applying this patch, NO behavior
> changes should be seen.
> 
> The patch is against 2.6.12-rc5, but probably applies OK to recent 2.6.x
> kernels.

s/PF_FREEZE/PF_NOFREEZE/ to apply to recent ones.

> --- a/drivers/scsi/aic7xxx/aic79xx_osm.c
> +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c

> @@ -2478,18 +2045,10 @@ ahd_linux_dv_thread(void *data)
>  	 * Complete thread creation.
>  	 */
>  	lock_kernel();
> -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,60)
> -	/*
> -	 * Don't care about any signals.
> -	 */
> -	siginitsetinv(&current->blocked, 0);
>  
> -	daemonize();
> -	sprintf(current->comm, "ahd_dv_%d", ahd->unit);
> -#else
>  	daemonize("ahd_dv_%d", ahd->unit);
>  	current->flags |= PF_FREEZE;
> -#endif
> +
>  	unlock_kernel();
>  
>  	while (1) {
-
: 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