From owner-freebsd-hackers Fri Jun 26 16:04:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21718 for freebsd-hackers-outgoing; Fri, 26 Jun 1998 16:04:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA21608; Fri, 26 Jun 1998 16:03:59 -0700 (PDT) (envelope-from se@dialup124.zpr.uni-koeln.de) Received: from dialup124.zpr.Uni-Koeln.DE (annexr2-44.slip.Uni-Koeln.DE [134.95.170.94]) by Octopussy.MI.Uni-Koeln.DE (8.8.8/8.8.8) with ESMTP id BAA22767; Sat, 27 Jun 1998 01:03:52 +0200 (MET DST) Received: (from se@localhost) by dialup124.zpr.Uni-Koeln.DE (8.8.8/8.6.9) id AAA03077; Thu, 25 Jun 1998 00:29:36 +0200 (CEST) X-Face: " Date: Thu, 25 Jun 1998 00:29:33 +0200 From: Stefan Esser To: matthew@wolfepub.com, hackers@FreeBSD.ORG Cc: Stefan Esser Subject: Re: PCI support for INTs Mail-Followup-To: matthew@wolfepub.com, hackers@FreeBSD.ORG, Stefan Esser References: <3589D32F.6B27@wolfepub.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <3589D32F.6B27@wolfepub.com>; from Matthew Hagerty on Thu, Jun 18, 1998 at 10:55:43PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1998-06-18 22:55 -0400, Matthew Hagerty wrote: > Greetings, > > Does 2.2.6-R support various PCI INTs? Sure! > For example, I have an older MB > that has 3 PCI slots. Each slot is assined an INT (A, B, and C) and > each INT can be assinged a system IRQ. I was having trouble getting PCI > cards to work, most recently a NIC, and found that they only work in PCI > slot 1 which is assigned INT-A. PCI does not work that way! Your MB must be pre-PCI-1.0, if it does not exclusively use Int A for single function devices. > That would not be so bad except 1. I could only use 1 PCI card, 2. INT-A > can only be assigned IRQ14 (which conflicts the onboard IDE) or IRQ5 > (which just conflicts everything), 3. PCI slot 1 is a shared PCI/ISA > slot, so I lose an ISA slot too! :( Starting with 3: FreeBSD is about software, and we can't possibly fix your hardware problems ;-) With regard to 2: FreeBSD supports shared interrupts, and thus you could assign the same IRQ to each PCI slot. But if you really can only use IRQ 14 and IRQ 5, then there is no way to make it work, except to reserve IRQ 5 for PCI and make all PCI slots use Int A / IRQ 5 ... Well, and 1 seems to be a result of your other problems with that MB, if I understand you correctly. > Anyway, if I put a card in PCI slot 3 for example and set IRQ15 to it, > when 2.2.6-R starts it finds the card and the IRQ assigned to it by the > BIOS, but it reports that the card is using INT-A when actually PCI slot > 3 is INT-C. Alas the card won't work. Put it in PCI slot 1 and all is > fine. You should not be using Int C for slot 3. Int A is correct! > Any ideas or information? Well, either your MB is too old and you should expect no end of trouble because of lack of standards conformance, or you just need some more information about how PCI is supposed to work ;-) Check out the mail archives for messages regarding PCI and interrupts, there was a thread that might help, a few weeks ago. Please send more details about your chip-set, BIOS, and verbose boot messages, if you need more support. Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message