From owner-freebsd-isdn Mon Apr 19 12:54:49 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (Postfix) with ESMTP id BC94515827 for ; Mon, 19 Apr 1999 12:54:23 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id VAA28794 for ; Mon, 19 Apr 1999 21:45:06 +0200 (CEST) Message-Id: <199904191945.VAA28794@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-isdn@FreeBSD.ORG Subject: Re: new-bus changes break i4b Reply-To: Gary Jennejohn In-reply-to: Your message of "Mon, 19 Apr 1999 10:10:57 +0200." <000101be8a3c$278b3d20$53cb08d4@martins.teuto.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Apr 1999 21:45:06 +0200 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Martin Husemann" writes: >I'll have to add my usual nitpick: > >> It seems to be an error that next_isic_unit is NOT incremented in >> layer1/i4b_isic_pnp.c. > >Actually, the idea of next_isic_unit is bogus by itself. > >Think of it: you have two boards at isa0, one at pci0, one at pci1 and one >at isapnp0 or pcmcia1 - which board will get what unit number for what >reason, and which will correspond with what index in the config file, and >what happens when you remove a pcmia card? > >I promised to clean this up a long ago (as this cleanup will remove several >gross hacks we needed for the NetBSD part to make a softc* <-> unit >conversion), and I will actually do it. Hellmuth scared me with hard >requirements what I should not break with such a cleanup (several things of >which I can't actually test myself), so it has been delayed. > How true. In FreeBSD at least the pci cards will be found before everything else. At least, with the old config. How this changes with the so called new-config (just introduced into -current) I can't say, but the order of discovery seems to be different now. What happens with PnP or pccard controllers I can't say, since I do not have any. At least in the existing FreeBSD framework I think my comment is valid. And of course for older versions of FreeBSD even moreso. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message