Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Aug 2001 03:06:56 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        lists <lists@security.za.net>
Cc:        Mike Smith <msmith@freebsd.org>, Warner Losh <imp@harmony.village.org>, freebsd-hackers@freebsd.org
Subject:   Re: NewCard / pccbb 
Message-ID:  <200108051006.f75A6ug06183@mass.dis.org>
In-Reply-To: Your message of "Sat, 04 Aug 2001 11:32:54 %2B0200." <Pine.BSF.4.21.0108041127020.68444-100000@security.za.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi Mike, ok my pci->pcmcia bridge is in slot 0, my network card is in slot
> 3, below are the dmesg outputs from both oldcard and newcard,

Ok; this is different from the "linked" dmesg you were showing before, 
and what it's highlighting is the weakness in the algorithm that we use 
for picking an interrupt in the "I have no idea what is good" case.

Try taking the "life is tough" loop in sys/i386/pci/pci_cfgreg.c
:pci_cfgintr_virgin() and change it so that it just loops from 11 to 11, 
ie.

	for (i = 11; i < 12; i++) {
...

I still haven't worked out a "good" way of dealing with this problem; the 
way we hand out device resources makes it difficult to know in advance 
which interrupts are good choices. 8(

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108051006.f75A6ug06183>