Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 15:44:36 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Nick Hibma <n_hibma@calcaphon.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern subr_bus.c 
Message-ID:  <6139.962631876@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 03 Jul 2000 14:22:43 BST." <Pine.BSF.4.20.0007031415520.20669-100000@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.20.0007031415520.20669-100000@localhost>, Nick Hibma wri
tes:

>I object to it.

Then don't use it.  It has legitimate uses.

In fact: I object to newbus allocating the softc for exactly the
reason this one is needed:  There may be a 1:N or N:1 correspondence
between softc's and newbus devices.  In this case I have two 
newbus devices for one softc.  (Well, actually I have two newbus
devices for five softc's, but lets not get into that)

>Apart from that, where is the manpage for it? 

On my TODO list.

>Please make
>sure you mention that this method should only be called in rare cases
>where the softc allocated by the newbus system would not do for some
>obscure reason.

I disagree, as you can see above.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


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




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