From owner-freebsd-hackers Sun May 14 13:29:36 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA28673 for hackers-outgoing; Sun, 14 May 1995 13:29:36 -0700 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA28656 for ; Sun, 14 May 1995 13:29:30 -0700 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id PAA01143; Sun, 14 May 1995 15:26:00 -0400 From: "House of Debuggin'" Message-Id: <199505141926.PAA01143@skynet.ctr.columbia.edu> Subject: Re: shared IRQ for 2nd IDE controller To: graichen@sirius.physik.fu-berlin.de (Thomas Graichen) Date: Sun, 14 May 1995 15:25:57 -0400 (EDT) Cc: hackers@FreeBSD.org In-Reply-To: <9505141836.AA10446@sirius.physik.fu-berlin.de> from "Thomas Graichen" at May 14, 95 08:36:25 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2799 Sender: hackers-owner@FreeBSD.org Precedence: bulk They say this Thomas Graichen person was kidding when he wrote: > hello > > is it supported under FreeBSD to use 2 IDE controller cards at the same IRQ > (14) and at different port adresses - i ask because i get an "not probed due > to IRQ conflict ..." - if i try it - this way it would be very easy to add > more than 2 IDE disks to a system (i don't want to discuss the performance of > that) - nearly all no name ide-controller cards allow to select the secondary > port but not to use IRQ 15 for instance In the earlier Linux days, there was a README file that came with the patches to enable the use of a second IDE controller which told you how to modify your controller to use IRQ 15. It basically amounts to 5 minutes of work with an X-acto knife and a soldering iron: you scratch through the circuit trace that leads to the edge-connector contact for IRQ 14 and solder a wire from the open trace to the contact for IRQ 15 instead. This was the method I used, and both my controllers are working fine on my 1.1.5.1 box. The trouble is that controller manufacturers sometimes make your life tough by etching off the cladding from all the contacts on the card edge-connector that aren't actually used by the card's circuitry. This means that there may not be a contact for IRQ 15. In this instance you may have to do something evil like buying a blank ISA card, plugging it into an adjacent slot and connecting its IRQ 15 contact to the disk controller with a short length of wire. > - Linux supports this configuration > (two controllers at IRQ 14) and i think it should'nt be hard for a wdc guru to > insert it also into FreeBSD - it's in the linux IDE driver (file > linux/drivers/block/ide.c - kernel version >= 1.2.0) - it would be nice if > someone could look at it (... or tell me that it now works with FreeBSD too - > maybe i only don't know it) - thanks in advance - t I'm pretty sure it doesn't work with FreeBSD yet. You'd have to declare the second controller as being in conflict with the first in your kernel config file, for one thing. But even if you did this, it wouldn't work: the driver would likely spit out lots of timeout errors. I'll leave it to someone who understands wd.c to decide what driver modifications would be needed. -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~ FreeBSD 2.1: "We can kick your operating system's ass!" ~~~~~~~~~~