Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - io-pkt native driver device names: Page 1 of 6 (6 Items)
   
io-pkt native driver device names  
Everyone is away right now, so I'm going to use this
opportunity to slip in a somewhat contentious change:

See PR54549.

There are three different kinds of network drivers
that can be used with io-pkt:

1) io-net binary drivers, that are run with the
shim, and get the device name enX

2) ported bsd drivers, which use their bsd device
names, such as fxpX for speedo, and wmX for i82544

3) native io-pkt drivers, which currently use the bsd 
names, which creates confusion as to which driver is 
actually running.

Given that we currently allow different device
names for the same hardware (eg #1 vs #2) it
would seem to be reasonable to extend this 
naming difference convention to #2 vs #3.

So a few commits later ...

Native speedo driver now has device name spX which
means that a simple ifconfig tells you which of 3 
possible drivers is running on 82557/82558/82559 nic:

en0:  io-net binary
sp0:  io-pkt native
fxp0: bsd ported


And native i82544 driver now has device name prX
which means that a simple ifconfig tells you
which of 3 possible drivers is running:

en0:   io-net binary
pr0:    io-pkt native
wm0:  bsd ported