<div dir="ltr">On Sat, Jul 19, 2014 at 3:51 PM, Robert Heller <span dir="ltr"><<a href="mailto:heller@deepsoft.com" target="_blank">heller@deepsoft.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="HOEnZb"><div class="h5">At Sat, 19 Jul 2014 12:34:46 -0400 Sabniveesu Shashank <<a href="mailto:shashank@linux.com">shashank@linux.com</a>> wrote:<br>


<br>
><br>
><br>
> On Fri, Jul 18, 2014 at 10:41 AM, Robert Heller <<a href="mailto:heller@deepsoft.com">heller@deepsoft.com</a>> wrote:<br>
><br>
> > At Fri, 18 Jul 2014 08:27:39 -0400 "Ubuntu user technical support,  not<br>
> > for general discussions" <<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a>> wrote:<br>
> ><br>
> > ><br>
> > ><br>
> > ><br>
> > > Hi,<br>
> > ><br>
> > > I found from nm-tool output that my system is using Driver:  r8169.<br>
> > ><br>
> > > lspci showed this text:  "*RTL8101E/RTL8102E PCI Express Fast Ethernet<br>
> > > controller*"<br>
> > ><br>
> > > I searched over the Internet "r8169" and found that the above text<br>
> > > occurring in <a href="http://cateee.net/lkddb/web-lkddb/R8169.html" target="_blank">http://cateee.net/lkddb/web-lkddb/R8169.html</a>. but saying<br>
> > > "device: 8136"<br>
> > ><br>
> > > Q) How can an "8169" work well for "8136"? If it does and if I'm to<br>
> > compile<br>
> > > for any other chipset, how would I know if the exact device/driver no.<br>
> > > isn't going to appear?<br>
> ><br>
> ><br>
> > Many NICs (from various makers) have 'common' parts or the things that vary<br>
> > are minor or on the 'far side' of the interface or something (not<br>
> > 'visible' to<br>
> > the software). In which case one software driver can manage with whole<br>
> > families of NIC board/chipsets. The RealTek 8100 series NIC is a case of<br>
> > this.<br>
> > There are several variations, from motherboard based versions to plain PCI<br>
> > and<br>
> > PCI Express, boards etc. The basic set of device registers are all much the<br>
> > same, with maybe minor variations.<br>
><br>
> When you mention the registers(the low-level part), I see that I'm getting<br>
> the point<br>
><br>
> In many cases the core NIC controler 'chip'<br>
> > might be the same in several different boards and the boards only vary in<br>
> > things like form factor or type of bus interface.<br>
><br>
> I now think of this as "Though the bus interfaces vary, it is the duty of<br>
> the controller<br>
> to take care of; in any case, the driver has to deal only with the<br>
> controller and<br>
> hence 'one driver is for one controller but not the board' "<br>
><br>
> Are my conclusions valid?<br>
<br>
</div></div>In essence, yes. In some cases there are different controllers, but they all<br>
present the same software interface -- the differences are 'invisible' to the<br>
software driver -- usually the differences are things like power supply<br>
voltages or signaling methods or something. In which case you have a 'family'<br>
of controller chips that all have the same driver API, but may be different at<br>
other levels (say a twisted pair NIC vs. a Coax NIC, like some old 3COM NICs,<br>
which came in versions with either a thin coax connector, or a RJ45, or a<br>
15-pin tranceiver [thick coax] connector, but otherwise were all the same<br>
otherwise). In the case of the aic7xxx driver, it is for a whole slew of<br>
Adaptec SCSI controllers, with three different bus interfaces (EISA, VLB, and<br>
PCI, both as add in boards and built onto the motherboard), with different<br>
SCSI-bus configurations (narrow (8bit), wide (16bit), SE, differencial,<br>
low-voltage differencial (LVD), standard speed, fast speed, ultra [fast]<br>
speed) and different types of connectors (internal, external, etc.) -- each<br>
flavor had its own model number and product id, but the same driver works for<br>
all of them.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> > In other cases, different<br>
> > board level makers have bought chips from a common chip maker and had the<br>
> > vendor/product ids changed, but the chips are otherwise exactly the same,<br>
> > and<br>
> > so are completely interchangable from an software driver POV. RealTek makes<br>
> > the chips, but generally does not make the boards.<br>
> ><br>
> > ><br>
> > > Q) Also, there are many "device: <other numbers>" in the quote below.<br>
> > Does<br>
> > > it mean that all these devices work well with the driver I'm using?<br>
> ><br>
> > Yes.  See above.<br>
> ><br>
> Thank you very much for responding. I would be better if you could check my<br>
> conclusions drawn above<br>
><br>
><br>
> ><br>
> > ><br>
> > > > Help text<br>
> > > ><br>
> > > > Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.<br>
> > > ><br>
> > > > To compile this driver as a module, choose M here: the module will be<br>
> > > > called r8169. This is recommended.<br>
> > > > Hardware PCI<br>
> > > ><br>
> > > > Numeric ID (from LKDDb) and names (from pci.ids) of recognized devices:<br>
> > > ><br>
> > > >    - vendor: 0001, device: 8168<br>
> > > >    - vendor: 10ec ("*Realtek Semiconductor Co., Ltd.*"), device: 8129<br>
> > ("<br>
> > > >    *RTL-8129*")<br>
> > > >    - vendor: 10ec ("*Realtek Semiconductor Co., Ltd.*"), device: 8136<br>
> > ("*RTL8101E/RTL8102E<br>
> > > >    PCI Express Fast Ethernet controller*")<br>
> > > >    - vendor: 10ec ("*Realtek Semiconductor Co., Ltd.*"), device: 8167<br>
> > ("*RTL-8110SC/8169SC<br>
> > > >    Gigabit Ethernet*")<br>
> > > >    - vendor: 10ec ("*Realtek Semiconductor Co., Ltd.*"), device: 8168<br>
> > ("*RTL8111/8168/8411<br>
> > > >    PCI Express Gigabit Ethernet Controller*")<br>
> > > >    - vendor: 10ec ("*Realtek Semiconductor Co., Ltd.*"), device: 8169<br>
> > ("*RTL8169<br>
> > > >    PCI Gigabit Ethernet Controller*")<br>
> > > >    - vendor: 1186 ("*D-Link System Inc*"), device: 4300 ("*DGE-528T<br>
> > > >    Gigabit Ethernet Adapter*")<br>
> > > >    - vendor: 1259 ("*Allied Telesis*"), device: c107<br>
> > > >    - vendor: 16ec ("*U.S. Robotics*"), device: 0116 ("*USR997902<br>
> > > >    10/100/1000 Mbps PCI Network Card*")<br>
> > > >    - vendor: 1737 ("*Linksys*"), device: 1032 ("*Gigabit Network<br>
> > Adapter*<br>
> > > >    ")<br>
> > > ><br>
> > > > Please ask for more details if necessary.<br>
> > ><br>
> > >  <<a href="http://about.me/shashank.computers" target="_blank">http://about.me/shashank.computers</a>><br>
> > ><br>
> > ><br>
> > ><br>
> > > S.V.R.S.N. Shashank<br>
> > > <a href="http://about.me/shashank.computers" target="_blank">about.me/shashank.computers</a><br>
> > >     <<a href="http://about.me/shashank.computers" target="_blank">http://about.me/shashank.computers</a>><br>
> > ><br>
> > > We’ve created the greatest collection of shared knowledge in history.<br>
> > Help<br>
> > > protect Wikipedia. Donate now: <a href="https://donate.wikimedia.org" target="_blank">https://donate.wikimedia.org</a><br>
> > > MIME-Version: 1.0<br>
> > ><br>
> ><br>
> > --<br>
> > Robert Heller             -- <a href="tel:978-544-6933" value="+19785446933">978-544-6933</a> / <a href="mailto:heller@deepsoft.com">heller@deepsoft.com</a><br>
> > Deepwoods Software        -- <a href="http://www.deepsoft.com/" target="_blank">http://www.deepsoft.com/</a><br>
> > ()  ascii ribbon campaign -- against html e-mail<br>
> > /\  <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a>   -- against proprietary attachments<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > ubuntu-users mailing list<br>
> > <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
> > Modify settings or unsubscribe at:<br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
> ><br>
> ><br>
><br>
><br>
<br>
--<br>
Robert Heller             -- <a href="tel:978-544-6933" value="+19785446933">978-544-6933</a> / <a href="mailto:heller@deepsoft.com">heller@deepsoft.com</a><br>
Deepwoods Software        -- <a href="http://www.deepsoft.com/" target="_blank">http://www.deepsoft.com/</a><br>
()  ascii ribbon campaign -- against html e-mail<br>
/\  <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a>   -- against proprietary attachments<br>
<br>
<br>
</div><div class="h5">Thank you very much Mr. Robert Heller!<br>
</div></div></blockquote></div><br></div></div>