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--