Subject: Re: DELL PERC 4/Di
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 10/01/2003 12:22:13
Mark Davies wrote:

> Below are the patches I've been using for our Dell PERC 4Di for the last few 
> months quite happily.

That's nice to know.

> perhaps these should be committed in the meantime.

Yes please. I installed FreeBSD on that server but I can still reinstall it
as I have no software in it (pkgsrc problems with FreeBSD).

> The previous current-users thread can be seen at:
> http://mail-index.netbsd.org/current-users/2003/06/09/0071.html

Yes, I read that but as the current had some support I thought it would
just work. It seems I was wrong.


> @@ -474,7 +476,7 @@
>  	}
>  
>  	SIMPLEQ_INIT(&amr->amr_ccb_queue);
> -	kthread_create(amr_thread_create, amr);
> +	/*kthread_create(amr_thread_create, amr);*/
>  }
>  
>  /*

> @@ -1186,7 +1188,8 @@
>  
>  	ac->ac_start_time = (time_t)mono_time.tv_sec;
>  	ac->ac_flags |= AC_ACTIVE;
> -	amr_outl(amr, AMR_QREG_IDB, amr->amr_mbox_paddr | AMR_QIDB_SUBMIT);
> +	amr_outl(amr, AMR_QREG_IDB,
> +	    (amr->amr_mbox_paddr + 16) | AMR_QIDB_SUBMIT);
>  	return (0);
>  }
>  

How does these affect the driver and/or controller?

Martti