From owner-freebsd-questions Thu Apr 13 07:24:34 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA15653 for questions-outgoing; Thu, 13 Apr 1995 07:24:34 -0700 Received: from YALPH1.physics.yale.edu (yalph1.physics.yale.edu [130.132.48.4]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA15647 for ; Thu, 13 Apr 1995 07:24:25 -0700 From: LAJOIE@yalph2.physics.yale.edu Received: from yalph2.physics.yale.edu by yalph2.physics.yale.edu (PMDF V4.3-7 #8220) id <01HPACD3IHYM95MLRJ@yalph2.physics.yale.edu>; Thu, 13 Apr 1995 10:26:17 EDT Date: Thu, 13 Apr 1995 10:26:17 -0400 (EDT) Subject: sony cd driver To: questions@FreeBSD.org Reply-to: LAJOIE@yalph2.physics.yale.edu Message-id: <01HPACD3IIW095MLRJ@yalph2.physics.yale.edu> X-VMS-To: in%"questions@FreeBSD.org" MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Sender: questions-owner@FreeBSD.org Precedence: bulk Does anyone know if the sony cd driver supports interrupts for these devices or does it just use software polling? I recently obtained an interface for my CDU-33A that supports IRQ and under OS/2 the difference was pretty dramatic - multitaking applications were able to continue even under heavy cd-rom access. Anyway, I decided to just give it a shot ... I recompiled my kernel with the line #device scd0 at isa? port 0x230 bio irq 9 vector scdintr and that went fine. On boot, scd0 was found at irq 9 and the drive works fine. However, if I look in scd.c the routine scdintr is an empty routine. Is this something about Unix device drivers that I just don't know? Is the driver still using software polling and my changes to the kernel config are having no effect? Finally, is there a CD benchmark program for FreeBSD? Thanks for the info... John Lajoie Yale University Physics Dept. lajoie@yalph2.physics.yale.edu