init_MUTEX_LOCKED(&ahd->platform_data->dv_sem); init_MUTEX_LOCKED(&ahd->platform_data->dv_cmd_sem); 
ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg){	ahd->platform_data =	    malloc(sizeof(struct ahd_platform_data), M_DEVBUF, M_NOWAIT);	if (ahd->platform_data == NULL)		return (ENOMEM);	memset(ahd->platform_data, 0, sizeof(struct ahd_platform_data));	TAILQ_INIT(&ahd->platform_data->completeq);	ahd->platform_data->irq = AHD_LINUX_NOIRQ;	ahd->platform_data->hw_dma_mask = 0xFFFFFFFF;	ahd_lockinit(ahd);	ahd_done_lockinit(ahd);	init_timer(&ahd->platform_data->completeq_timer);	ahd->platform_data->completeq_timer.data = (u_long)ahd;	ahd->platform_data->completeq_timer.function =	    (ahd_linux_callback_t *)ahd_linux_thread_run_complete_queue;	init_MUTEX_LOCKED(&ahd->platform_data->eh_sem);	init_MUTEX_LOCKED(&ahd->platform_data->dv_sem);	init_MUTEX_LOCKED(&ahd->platform_data->dv_cmd_sem);	ahd->seltime = (aic79xx_seltime & 0x3) << 4;	return (0);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/73a25462100772b72a5d62fd66dff01b53018618/aic79xx_osm.c/buggy/drivers/scsi/aic7xxx/aic79xx_osm.c