Paul Durrant wrote:
Paul Durrant wrote:
Garrett D'Amore wrote:
Pretty sure I've nailed it. I need to do some more debugging, but
softmac makes a horrible assumption that ppa ==
ddi_get_instance(dip) right at the start of softmac_create(). I'll
probably change this to use the minor number from the dev_t field
instead.
I recall that ppa == ddi_get_instance(dip) is a hard requirement from
somewhere. I think I filed a PSARC case for it years ago. I go look...
I think it's this one... It's not open though so I can't look in the
case file :-(
PSARC/2003/375: NIC Driver Name Constraints II
It does have some pertinent information, but its also a bit dated. It
refers to the situation before softmac and Nemo, where pure DLPI drivers
might have just a single cloneable minor node. With GLDv3 (and even
GLDv2), all drivers have both style 1 and style 2 nodes.
The case also specifically says that PPA does *not* have to be the same
as ddi_get_instance().
-- Garrett
_______________________________________________
networking-discuss mailing list
[email protected]