From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: De Yu Liu Newsgroups: gmane.linux.redhat.axp.kernel Subject: A question about /linux/driver/net/e100 Date: Wed, 23 Jul 2003 11:30:39 -0700 (PDT) Sender: axp-kernel-list-admin@redhat.com Message-ID: <20030723183039.42698.qmail@web14712.mail.yahoo.com> Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1829586415-1058985039=:42666" X-Trace: main.gmane.org 1058985104 25458 80.91.224.249 (23 Jul 2003 18:31:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2003 18:31:44 +0000 (UTC) Original-X-From: axp-kernel-list-admin@redhat.com Wed Jul 23 20:31:43 2003 Return-path: Original-Received: from hormel.redhat.com ([66.187.233.30]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fONb-0006VI-00 for ; Wed, 23 Jul 2003 20:30:23 +0200 Original-Received: from listman.back-rdu.redhat.com (listman.back-rdu.redhat.com [10.10.2.136]) by hormel.redhat.com (Postfix) with ESMTP id 05E7F7863D; Wed, 23 Jul 2003 14:31:19 -0400 (EDT) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h6NIU9N05403 for ; Wed, 23 Jul 2003 14:30:09 -0400 Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h6NIUgc08070 for axp-kernel-list@listman.back-rdu.redhat.com; Wed, 23 Jul 2003 14:30:42 -0400 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h6NIUgI08066 for ; Wed, 23 Jul 2003 14:30:42 -0400 Original-Received: from web14712.mail.yahoo.com (web14712.mail.yahoo.com [216.136.232.92]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h6NIUfH12272 for ; Wed, 23 Jul 2003 14:30:41 -0400 Original-Received: from [128.186.118.107] by web14712.mail.yahoo.com via HTTP; Wed, 23 Jul 2003 11:30:39 PDT Original-To: axp-kernel-list@redhat.com X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:133 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:133 --0-1829586415-1058985039=:42666 Content-Type: text/plain; charset=us-ascii Greeting all: In /linux/driver/net/e100 directory of RH 9, there are several files like e100_config.c, e100_eeprom.c, e100_main.c, e100_phy.c, e100_proc.c, e100_test.c and etc. What's is the relationship between them? Please draw me a picture like flow chart? Thanks in advance. Deyu --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software --0-1829586415-1058985039=:42666 Content-Type: text/html; charset=us-ascii
Greeting all:
In /linux/driver/net/e100 directory of RH 9,
there are several files like e100_config.c, e100_eeprom.c, e100_main.c,
e100_phy.c, e100_proc.c, e100_test.c and etc.
What's is the relationship between them?
Please draw me a picture like flow chart?
Thanks in advance.
Deyu


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software --0-1829586415-1058985039=:42666-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Oliver Pitzeier" Newsgroups: gmane.linux.redhat.axp.kernel Subject: RE: A question about /linux/driver/net/e100 Date: Wed, 23 Jul 2003 22:22:48 +0200 Organization: UPtime system solutions Sender: axp-kernel-list-admin@redhat.com Message-ID: <001201c35158$2fed2b30$1311a8c0@pitzeier.priv.at> Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_01C35168.F375FB30" X-Trace: main.gmane.org 1058991806 31916 80.91.224.249 (23 Jul 2003 20:23:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2003 20:23:26 +0000 (UTC) Cc: "'Scott Feldman'" , Original-X-From: axp-kernel-list-admin@redhat.com Wed Jul 23 22:23:23 2003 Return-path: Original-Received: from hormel.redhat.com ([66.187.233.30]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fQ8x-0008IL-00 for ; Wed, 23 Jul 2003 22:23:23 +0200 Original-Received: from listman.back-rdu.redhat.com (listman.back-rdu.redhat.com [10.10.2.136]) by hormel.redhat.com (Postfix) with ESMTP id 5716378477; Wed, 23 Jul 2003 16:24:19 -0400 (EDT) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h6NKNON12317 for ; Wed, 23 Jul 2003 16:23:24 -0400 Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h6NKNwj17347 for axp-kernel-list@listman.back-rdu.redhat.com; Wed, 23 Jul 2003 16:23:58 -0400 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h6NKNwI17343 for ; Wed, 23 Jul 2003 16:23:58 -0400 Original-Received: from mail.uptime.at (mail.uptime.at [62.116.87.11]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h6NKNuH13884 for ; Wed, 23 Jul 2003 16:23:57 -0400 Original-Received: from dagobert (opadsl [62.99.146.174]) (authenticated bits=0) by mail.uptime.at (8.12.9/8.12.9) with ESMTP id h6NKNYJY016672 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 23 Jul 2003 22:23:35 +0200 Original-To: "'De Yu Liu'" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-MailScanner-Information: Please contact UPtime Systemloesungen for more information X-MailScanner: clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.1, required 4.1, BAYES_30 -0.93, EMAIL_ATTRIBUTION -0.50, MAILTO_TO_SPAM_ADDR 0.68, QUOTED_EMAIL_TEXT -0.38) X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:134 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:134 This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C35168.F375FB30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi De Yu Liu! Hi Scott Feldman! De Yu Liu wrote: > Oliver Pitzeier wrote: > > > Greeting all: > > > In /linux/driver/net/e100 directory of RH 9, > > > there are several files like e100_config.c, e100_eeprom.c, e100_main.c, > > > e100_phy.c, e100_proc.c, e100_test.c and etc. > > > What's is the relationship between them? > > > Please draw me a picture like flow chart? > > > Thanks in advance. > > The AXP mailing list is certainly not the right > > place for such questions, but however... We get used to it... > > Don't we? > > I can't access my kernel-repository currently, but I take a guess: [ ... ] > Thanks a lot. No problem... Was just a guess! :) > I think you're right. Not completely... I remembered, that e100_test.c is using other files (_config, _phy, and maybe _proc). So e100_test.c is _NOT_ used by e100_main.c... Can be wrong again... But I guess that's true now.... > But is any relationship between others except *main.c? They do not have any relation-ship... All those files are included by e100_main.c... > What's the role for each file? Every file has some specific functions... e100_config.c is for configuration stuff. e100_eeprom.c is for reading and (maybe) writing the onboard EEPROM. The e100_phy.c has something to do with the MII register stuff and is executed in polled time... e100_proc.c takes care of /proc entries and so on... I guess that's also right... > I look at the manual and try to make a corresponding match between > the topic in manual and each file under .../e100/ directory. What manual? > But i couldn't figure it out. I hope, that I could help you! I believe, that Scott Feldman (the e100 maintainer) can help you MUCH more... Keep me posted CC: while discussing this topic... :) I attached my ascii-art and parts of my previous mail, so Scott can tell me, that I'm completely wrong. :) Best regards, Oliver ------=_NextPart_000_0013_01C35168.F375FB30 Content-Type: text/plain; name="e100.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="e100.txt" The AXP mailing list is certainly not the right place for such = questions, but however... We get used to it... Don't we? I can't access my kernel-repository currently, but I take a guess: --------------- ------------- |e100_config.c|------------->|e100_main.c| --------------- ------------- ^ ^ ^ ^ | | | | | | | -------------- | | | | --------------- | | ------------- | |e100_eeprom.c|---------------- | |e100_proc.c| | --------------- | ------------- | | | ------------ | ------------- | |e100_phy.c|--------------------- |e100_test.c|--- ------------ ------------- That's maybe completely wrong, but *main.c normaly is the glue between = everything else. ------=_NextPart_000_0013_01C35168.F375FB30-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Deepak Mahadevappa" Newsgroups: gmane.linux.redhat.axp.kernel Subject: RE: A question about /linux/driver/net/e100 Date: Thu, 24 Jul 2003 14:38:27 +0530 Sender: axp-kernel-list-admin@redhat.com Message-ID: Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C351C3.248FF9F4" X-Trace: main.gmane.org 1059037705 10559 80.91.224.249 (24 Jul 2003 09:08:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2003 09:08:25 +0000 (UTC) Original-X-From: axp-kernel-list-admin@redhat.com Thu Jul 24 11:08:23 2003 Return-path: Original-Received: from hormel.redhat.com ([66.187.233.30]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fc5G-0002ju-00 for ; Thu, 24 Jul 2003 11:08:22 +0200 Original-Received: from listman.back-rdu.redhat.com (listman.back-rdu.redhat.com [10.10.2.136]) by hormel.redhat.com (Postfix) with ESMTP id F290C7847B; Thu, 24 Jul 2003 05:09:17 -0400 (EDT) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h6O98AN11027 for ; Thu, 24 Jul 2003 05:08:10 -0400 Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h6O98jg14219 for axp-kernel-list@listman.back-rdu.redhat.com; Thu, 24 Jul 2003 05:08:45 -0400 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h6O98jI14215 for ; Thu, 24 Jul 2003 05:08:45 -0400 Original-Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h6O98gH29078 for ; Thu, 24 Jul 2003 05:08:43 -0400 Original-Received: from m2vwall5.wipro.com (m2vwall5.wipro.com [10.115.50.5]) by wiprom2mx1.wipro.com (8.12.9/8.12.9) with SMTP id h6O98SxX023625 for ; Thu, 24 Jul 2003 14:38:33 +0530 (IST) Original-Received: from blr-ec-msg02.wipro.com ([10.200.51.99]) by blr-ec-bh1.wipro.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 24 Jul 2003 14:38:27 +0530 content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: A question about /linux/driver/net/e100 Thread-Index: AcNRSM9PriupTsBKTHGqzxChru0+ogAef1/l Original-To: X-OriginalArrivalTime: 24 Jul 2003 09:08:27.0122 (UTC) FILETIME=[249C9520:01C351C3] X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:135 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:135 This is a multi-part message in MIME format. ------_=_NextPart_001_01C351C3.248FF9F4 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QXMgSSBrbm93IGl0IHdpbGwgYmUgcmVsYXRlZCB0byBlYWNoIEluZGl2aWR1YWwgZGV2aWNlLg0K DQoJLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0gDQoJRnJvbTogRGUgWXUgTGl1IFttYWlsdG86 YnVsbGxlbzIwMDNAeWFob28uY29tXSANCglTZW50OiBUaHUgNy8yNC8yMDAzIDEyOjAwIEFNIA0K CVRvOiBheHAta2VybmVsLWxpc3RAcmVkaGF0LmNvbSANCglDYzogDQoJU3ViamVjdDogQSBxdWVz dGlvbiBhYm91dCAvbGludXgvZHJpdmVyL25ldC9lMTAwDQoJDQoJDQoJR3JlZXRpbmcgYWxsOg0K CUluIC9saW51eC9kcml2ZXIvbmV0L2UxMDAgZGlyZWN0b3J5IG9mIFJIIDksDQoJdGhlcmUgYXJl IHNldmVyYWwgZmlsZXMgbGlrZSBlMTAwX2NvbmZpZy5jLCBlMTAwX2VlcHJvbS5jLCBlMTAwX21h aW4uYywNCgllMTAwX3BoeS5jLCBlMTAwX3Byb2MuYywgZTEwMF90ZXN0LmMgYW5kIGV0Yy4NCglX aGF0J3MgaXMgdGhlIHJlbGF0aW9uc2hpcCBiZXR3ZWVuIHRoZW0/DQoJUGxlYXNlIGRyYXcgbWUg YSBwaWN0dXJlIGxpa2UgZmxvdyBjaGFydD8NCglUaGFua3MgaW4gYWR2YW5jZS4NCgkNCglEZXl1 DQoNCgkNCiAgX19fX18gIA0KDQoJRG8geW91IFlhaG9vIT8NCglZYWhvbyEgU2l0ZUJ1aWxkZXIg PGh0dHBzOi8vZ2F0ZXdheS1pbmRpYS53aXByby5jb20vZXZ0PTEwNDY5LypodHRwOi8vc2l0ZWJ1 aWxkZXIueWFob28uY29tLERhbmFJbmZvPXVzLnJkLnlhaG9vLmNvbSs+ICAtIEZyZWUsIGVhc3kt dG8tdXNlIHdlYiBzaXRlIGRlc2lnbiBzb2Z0d2FyZQ0KDQo= ------_=_NextPart_001_01C351C3.248FF9F4 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IhwJAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAENgAQAAgAAAAIAAgABBYAD AA4AAADTBwcAGAAOACYAGwAEAEwBASCAAwAOAAAA0wcHABgADgAmABsABABMAQEJgAEAIQAAAEU0 MkJBRDdDODE3RjZCNDg5MTg0MkZCNDA5MjM0RTg5ADIHAQOQBgBkDwAAOAAAAB8AGgABAAAAEgAA AEkAUABNAC4ATgBvAHQAZQAAAAAAAwA2AAAAAAAfADcAAQAAAFgAAABSAEUAOgAgAEEAIABxAHUA ZQBzAHQAaQBvAG4AIABhAGIAbwB1AHQAIAAvAGwAaQBuAHUAeAAvAGQAcgBpAHYAZQByAC8AbgBl AHQALwBlADEAMAAwAAAAQAA5APT5jyTDUcMBHwA9AAEAAAAKAAAAUgBFADoAIAAAAAAAAgFHAAEA AAAyAAAAYz11czthPSA7cD1XaXBybztsPUJMUi1FQy1NU0cwMi0wMzA3MjQwOTA4MjdaLTQxMgAA AB8ASQABAAAAUAAAAEEAIABxAHUAZQBzAHQAaQBvAG4AIABhAGIAbwB1AHQAIAAvAGwAaQBuAHUA eAAvAGQAcgBpAHYAZQByAC8AbgBlAHQALwBlADEAMAAwAAAAQABOAIDx9oNIUcMBHwBaAAEAAAAU AAAARABlACAAWQB1ACAATABpAHUAAAACAVsAAQAAAD0AAAAAAAAAgSsfpL6jEBmdbgDdAQ9UAgAA AABEZSBZdSBMaXUAU01UUABidWxsbGVvMjAwM0B5YWhvby5jb20AAAAAAgFcAAEAAA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EgAQQBEAEUAVgAAAAAAHwA5QAEAAAAEAAAALgAAAAsAKQAAAAAACwAjAAAAAAADAAYQ 90LyHQMABxBRAgAAAwAQEAAAAAADABEQAAAAAB4ACBABAAAAZQAAAEFTSUtOT1dJVFdJTExCRVJF TEFURURUT0VBQ0hJTkRJVklEVUFMREVWSUNFLS0tLS1PUklHSU5BTE1FU1NBR0UtLS0tLUZST006 REVZVUxJVU1BSUxUTzpCVUxMTEVPMjAwM0AAAAAAAgF/AAEAAABAAAAAPEU3QUQ1MzAzOTc1MDhG NEQ4OEJERDdFOUYwNEU1RjhCMkU0M0I2QGJsci1lYy1tc2cwMi53aXByby5jb20+AHUM ------_=_NextPart_001_01C351C3.248FF9F4-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: De Yu Liu Newsgroups: gmane.linux.redhat.axp.kernel Subject: RE: A question about /linux/driver/net/e100 Date: Thu, 24 Jul 2003 16:20:34 -0700 (PDT) Sender: axp-kernel-list-admin@redhat.com Message-ID: <20030724232034.21731.qmail@web14705.mail.yahoo.com> References: <200307232022.h6NKMSxs004385@indianer.linux-kernel.at> Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1380541380-1059088834=:18601" X-Trace: main.gmane.org 1059088785 2332 80.91.224.249 (24 Jul 2003 23:19:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2003 23:19:45 +0000 (UTC) Cc: Scott Feldman , axp-kernel-list@redhat.com Original-X-From: axp-kernel-list-admin@redhat.com Fri Jul 25 01:19:43 2003 Return-path: Original-Received: from hormel.redhat.com ([66.187.233.30]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fpN8-0000bN-00 for ; Fri, 25 Jul 2003 01:19:42 +0200 Original-Received: from listman.back-rdu.redhat.com (listman.back-rdu.redhat.com [10.10.2.136]) by hormel.redhat.com (Postfix) with ESMTP id CA8D0780B6; Thu, 24 Jul 2003 19:20:36 -0400 (EDT) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h6ONJxN00495 for ; Thu, 24 Jul 2003 19:19:59 -0400 Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h6ONKa112304 for axp-kernel-list@listman.back-rdu.redhat.com; Thu, 24 Jul 2003 19:20:36 -0400 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h6ONKZI12282 for ; Thu, 24 Jul 2003 19:20:35 -0400 Original-Received: from web14705.mail.yahoo.com (web14705.mail.yahoo.com [216.136.224.122]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h6ONKYH10032 for ; Thu, 24 Jul 2003 19:20:34 -0400 Original-Received: from [128.186.120.77] by web14705.mail.yahoo.com via HTTP; Thu, 24 Jul 2003 16:20:34 PDT Original-To: Oliver Pitzeier In-Reply-To: <200307232022.h6NKMSxs004385@indianer.linux-kernel.at> X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:136 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:136 --0-1380541380-1059088834=:18601 Content-Type: text/plain; charset=us-ascii Greeting all: The manual i am talking about is intel 8255x manual. You can download it from intel.com. I understand better now. But i still get confused about e100_config.c. Whom it would configure? I mean configure Control/Status Registers(CSR) or (Manegement Data Interface Register)MDI registers. Secondly, i get confused about MII registers(in source code) and MDI registers(in manual). Are they same. Thirdly, is Media Independent Interface(MII) same as (Manegement Data Register)MDI? As i know MII is the interface between MAC controller and PHY. But it seems MDI is also the interface between MAC controller and PHY. So maybe there are two interfaces between MAC controller and PHY. Am i right??? regards, Deyu Oliver Pitzeier wrote: Hi De Yu Liu! Hi Scott Feldman! De Yu Liu wrote: > Oliver Pitzeier wrote: > > > Greeting all: > > > In /linux/driver/net/e100 directory of RH 9, > > > there are several files like e100_config.c, e100_eeprom.c, > > > e100_main.c, e100_phy.c, e100_proc.c, e100_test.c and etc. What's > > > is the relationship between them? Please draw me a picture like > > > flow chart? Thanks in advance. > > The AXP mailing list is certainly not the right > > place for such questions, but however... We get used to it... Don't > > we? > > I can't access my kernel-repository currently, but I take a guess: [ ... ] > Thanks a lot. No problem... Was just a guess! :) > I think you're right. Not completely... I remembered, that e100_test.c is using other files (_config, _phy, and maybe _proc). So e100_test.c is _NOT_ used by e100_main.c... Can be wrong again... But I guess that's true now.... > But is any relationship between others except *main.c? They do not have any relation-ship... All those files are included by e100_main.c... > What's the role for each file? Every file has some specific functions... e100_config.c is for configuration stuff. e100_eeprom.c is for reading and (maybe) writing the onboard EEPROM. The e100_phy.c has something to do with the MII register stuff and is executed in polled time... e100_proc.c takes care of /proc entries and so on... I guess that's also right... > I look at the manual and try to make a corresponding match between the > topic in manual and each file under .../e100/ directory. What manual? > But i couldn't figure it out. I hope, that I could help you! I believe, that Scott Feldman (the e100 maintainer) can help you MUCH more... Keep me posted CC: while discussing this topic... :) I attached my ascii-art and parts of my previous mail, so Scott can tell me, that I'm completely wrong. :) Best regards, Oliver --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software --0-1380541380-1059088834=:18601 Content-Type: text/html; charset=us-ascii
Greeting all:
The manual i am talking about is intel 8255x manual. You can download it from intel.com.
I understand better now. But i still get confused about e100_config.c. 
Whom it would configure? I mean configure Control/Status Registers(CSR) or (Manegement Data Interface Register)MDI registers.
Secondly, i get confused about MII registers(in source code) and MDI registers(in manual). Are they same.
Thirdly, is Media Independent Interface(MII) same as (Manegement Data Register)MDI?
As i know MII is the interface between MAC controller and PHY. But it seems MDI is also the interface between MAC controller and PHY. So maybe there are two interfaces between MAC controller and PHY. Am i right???
regards,
Deyu
 

Oliver Pitzeier <oliver@linux-kernel.at> wrote:
Hi De Yu Liu!
Hi Scott Feldman!

De Yu Liu wrote:
> Oliver Pitzeier wrote:
> > > Greeting all:
> > > In /linux/driver/net/e100 directory of RH 9,
> > > there are several files like e100_config.c, e100_eeprom.c,
> > > e100_main.c, e100_phy.c, e100_proc.c, e100_test.c and etc. What's
> > > is the relationship between them? Please draw me a picture like
> > > flow chart? Thanks in advance.

> > The AXP mailing list is certainly not the right
> > place for such questions, but however... We get used to it... Don't
> > we?

> > I can't access my kernel-repository currently, but I take a guess:

[ ... ]

> Thanks a lot.

No problem... Was just a guess! :)

> I think you're right.

Not completely... I remembered, that e100_test.c is using other files (_config, _phy, and maybe _proc). So e100_test.c is _NOT_ used by e100_main.c... Can be wrong again... But I guess that's true now....

> But is any relationship between others except *main.c?

They do not have any relation-ship... All those files are included by e100_main.c...

> What's the role for each file?

Every file has some specific functions... e100_config.c is for configuration stuff. e100_eeprom.c is for reading and (maybe) writing the onboard EEPROM. The e100_phy.c has something to do with the MII register stuff and is executed in polled time... e100_proc.c takes care of /proc entries and so on... I guess that's also right...

> I look at the manual and try to make a corresponding match between the
> topic in manual and each file under .../e100/ directory.

What manual?

> But i couldn't figure it out.

I hope, th! at I could help you! I believe, that Scott Feldman (the e100 maintainer) can help you MUCH more... Keep me posted CC: while discussing this topic... :)

I attached my ascii-art and parts of my previous mail, so Scott can tell me, that I'm completely wrong. :)

Best regards,
Oliver


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software --0-1380541380-1059088834=:18601--