A question about NDIS miniport driver

Hi,

Does anybody know if it is possible to implement a
NDIS miniport driver for a dual-port NIC without using
PCI multiple device functions? I understand that if the
PCI adapter only support one device function, the
Windows NDIS will only invoke the “MiniportInitialize”
function for once. Is there any other way to register
dual interfaces in NDIS? It seems the MS DDK documents
say very little about multiple port NIC drivers.

Thanks in advance.

Jian-Rong Chen

SONY Broadcast & Professional Research Labs
Jays Close
Basingstoke UK
RG22 4SB

***********************************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.

This email and any response may be monitored by Sony United Kingdom Limited.
(gfd)
***********************************************************************************************

I think the bus should enumerate as two devices w/two different mac addr
!!!. Then all you have to care is as if your miniport is supporting two
different card(s) in two slots !!!

-prokash
----- Original Message -----
From: “Chen, Jian-Rong” <jian-rong.chen>
To: “Windows System Software Devs Interest List”
Sent: Friday, October 03, 2003 2:44 AM
Subject: [ntdev] A question about NDIS miniport driver

> Hi,
>
> Does anybody know if it is possible to implement a
> NDIS miniport driver for a dual-port NIC without using
> PCI multiple device functions? I understand that if the
> PCI adapter only support one device function, the
> Windows NDIS will only invoke the “MiniportInitialize”
> function for once. Is there any other way to register
> dual interfaces in NDIS? It seems the MS DDK documents
> say very little about multiple port NIC drivers.
>
> Thanks in advance.
>
> Jian-Rong Chen
>
> SONY Broadcast & Professional Research Labs
> Jays Close
> Basingstoke UK
> RG22 4SB
>
>
>
>
>
*********************************************************

> The information contained in this message or any of its attachments may be
confidential and is intended for the exclusive use of the addressee(s). Any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited without the express permission of the
sender. The views expressed in this email are those of the individual and
not necessarily those of Sony or Sony affiliated companies. Sony email is
for business use only.
>
> This email and any response may be monitored by Sony United Kingdom
Limited.
> (gfd)
>
*********************************************************

>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@garlic.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
></jian-rong.chen>

>

I think the bus should enumerate as two devices w/two
different mac addr !!!. Then all you have to care is as if
your miniport is supporting two different card(s) in two slots !!!

It should, but I think the OP’s problem is that it doesn’t. His PCI NDIS
card does not provide multiple functions for his NICs, so the PCI bus driver
cannot enumerate the two NICs. He could, if he is lucky, use mf.sys to do
the enumeration for him. Otherwise he has to write a bus driver for his PCI
device that enumerates the nics as independent functions on a virtual bus.

The OP should google newsgroups for multifunction ndis device, as this topic
has been discussed there.

=====================
Mark Roddy
Windows 2000/XP/2003 Consultant
Device Drivers and OS Internals
Windows DDK MVP
Hollis Technology Solutions
www.hollistech.com
xxxxx@hollistech.com
603 321 1032

-prokash
----- Original Message -----
From: “Chen, Jian-Rong” <jian-rong.chen>
> To: “Windows System Software Devs Interest List”
> Sent: Friday, October 03, 2003 2:44 AM
> Subject: [ntdev] A question about NDIS miniport driver
>
>
> > Hi,
> >
> > Does anybody know if it is possible to implement a
> > NDIS miniport driver for a dual-port NIC without using
> > PCI multiple device functions? I understand that if the
> > PCI adapter only support one device function, the
> > Windows NDIS will only invoke the “MiniportInitialize” function for
> > once. Is there any other way to register dual interfaces in
> NDIS? It
> > seems the MS DDK documents say very little about multiple port NIC
> > drivers.
> >
> > Thanks in advance.
> >
> > Jian-Rong Chen
> >
> > SONY Broadcast & Professional Research Labs
> > Jays Close
> > Basingstoke UK
> > RG22 4SB
> >
> >
> >
> >
> >
>
>

> *******************
> > The information contained in this message or any of its attachments
> > may be
> confidential and is intended for the exclusive use of the
> addressee(s). Any disclosure, reproduction, distribution or
> other dissemination or use of this communication is strictly
> prohibited without the express permission of the sender. The
> views expressed in this email are those of the individual and
> not necessarily those of Sony or Sony affiliated companies.
> Sony email is for business use only.
> >
> > This email and any response may be monitored by Sony United Kingdom
> Limited.
> > (gfd)
> >
>
**************
>
>
*****
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@garlic.com To
> > unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com</jian-rong.chen>

Thanx a bunch for the info !
-prokash
----- Original Message -----
From: “Roddy, Mark”
To: “Windows System Software Devs Interest List”
Sent: Friday, October 03, 2003 8:11 AM
Subject: [ntdev] Re: A question about NDIS miniport driver

> >
> > I think the bus should enumerate as two devices w/two
> > different mac addr !!!. Then all you have to care is as if
> > your miniport is supporting two different card(s) in two slots !!!
> >
>
> It should, but I think the OP’s problem is that it doesn’t. His PCI NDIS
> card does not provide multiple functions for his NICs, so the PCI bus
driver
> cannot enumerate the two NICs. He could, if he is lucky, use mf.sys to do
> the enumeration for him. Otherwise he has to write a bus driver for his
PCI
> device that enumerates the nics as independent functions on a virtual bus.
>
> The OP should google newsgroups for multifunction ndis device, as this
topic
> has been discussed there.
>
> =====================
> Mark Roddy
> Windows 2000/XP/2003 Consultant
> Device Drivers and OS Internals
> Windows DDK MVP
> Hollis Technology Solutions
> www.hollistech.com
> xxxxx@hollistech.com
> 603 321 1032
>
>
> > -prokash
> > ----- Original Message -----
> > From: “Chen, Jian-Rong” <jian-rong.chen>
> > To: “Windows System Software Devs Interest List”
> > Sent: Friday, October 03, 2003 2:44 AM
> > Subject: [ntdev] A question about NDIS miniport driver
> >
> >
> > > Hi,
> > >
> > > Does anybody know if it is possible to implement a
> > > NDIS miniport driver for a dual-port NIC without using
> > > PCI multiple device functions? I understand that if the
> > > PCI adapter only support one device function, the
> > > Windows NDIS will only invoke the “MiniportInitialize” function for
> > > once. Is there any other way to register dual interfaces in
> > NDIS? It
> > > seems the MS DDK documents say very little about multiple port NIC
> > > drivers.
> > >
> > > Thanks in advance.
> > >
> > > Jian-Rong Chen
> > >
> > > SONY Broadcast & Professional Research Labs
> > > Jays Close
> > > Basingstoke UK
> > > RG22 4SB
> > >
> > >
> > >
> > >
> > >
> >
> >

> > *******************
> > > The information contained in this message or any of its attachments
> > > may be
> > confidential and is intended for the exclusive use of the
> > addressee(s). Any disclosure, reproduction, distribution or
> > other dissemination or use of this communication is strictly
> > prohibited without the express permission of the sender. The
> > views expressed in this email are those of the individual and
> > not necessarily those of Sony or Sony affiliated companies.
> > Sony email is for business use only.
> > >
> > > This email and any response may be monitored by Sony United Kingdom
> > Limited.
> > > (gfd)
> > >
> >
**************
> >
> >
*****
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@garlic.com To
> > > unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> > >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@stratus.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@garlic.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
></jian-rong.chen>