Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2001 13:04:28 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Cc:        sos@freebsd.dk, current@FreeBSD.ORG
Subject:   Re: Problems with ata probing twice. 
Message-ID:  <200107072004.f67K4S701211@mass.dis.org>
In-Reply-To: Your message of "Sun, 08 Jul 2001 04:28:58 %2B0900." <20010708042858L.matusita@jp.FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> sos> Well, sortof, the ata driver doesn't allow for sharing irq14&15 
> sos> since lots of boards doesn't work that way. However if you need
> sos> it you can try to add the shared flag in the driver and see if 
> sos> it works on yours. Hmm, maybe I should make this tunable...
> 
> It this patch OK? I've tested a kernel with this patch and it works.
> 
> This patch simply adds a new kernel MIB (hw.ata.shareable in this
> patch, but I have no idea about its name), and if this MIB value is
> non-zero, ata driver doesn't drop RF_SHAREABLE bit for BUS_ALLOC_RESOURCE().

No.  This is utterly bogus.

There is absolutely no reason for the ata driver not to simply set 
RF_SHAREABLE and be done with it.  It's up to the driver's parent (isa, 
pci, etc) to decide whether the interrupt is in fact shareable or not.

The ata driver itself can share interrupts just fine, and it should 
reflect this in its interrupt allocation.

-- 
... 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-current" in the body of the message




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