Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 09:08:48 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Nick Hibma <n_hibma@calcaphon.com>
Cc:        FreeBSD Newbus Mailing List <new-bus@freebsd.org>
Subject:   Re: Patch for review
Message-ID:  <Pine.BSF.4.21.0003160907001.66122-100000@salmon.nlsystems.com>
In-Reply-To: <Pine.BSF.4.20.0003152250090.571-200000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Mar 2000, Nick Hibma wrote:

> 
> The attached patch removes the use of nextunit and replaces it with a
> linear search for the first element available.
> 
> This avoids the unit number from ever increasing and memory being wasted
> if you unplug & plug two devices alternatingly.

Good.

> 
> It also flags that we have called DEVICE_NOMATCH and should not call it
> again during a reprobe.
> 
> Let me know if this is anything you would not like to see implemented.

I was working around this by putting "if (!cold) return" in pci_nomatch
but this is cleaner.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003160907001.66122-100000>