* RE: A question about /linux/driver/net/e100
[not found] <200307232022.h6NKMSxs004385@indianer.linux-kernel.at>
@ 2003-07-24 23:20 ` De Yu Liu
0 siblings, 0 replies; 4+ messages in thread
From: De Yu Liu @ 2003-07-24 23:20 UTC (permalink / raw)
Cc: Scott Feldman, axp-kernel-list
[-- Attachment #1: Type: text/plain, Size: 2763 bytes --]
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, 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
[-- Attachment #2: Type: text/html, Size: 3459 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: A question about /linux/driver/net/e100
@ 2003-07-24 9:08 Deepak Mahadevappa
0 siblings, 0 replies; 4+ messages in thread
From: Deepak Mahadevappa @ 2003-07-24 9:08 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 776 bytes --]
As I know it will be related to each Individual device.
-----Original Message-----
From: De Yu Liu [mailto:bullleo2003@yahoo.com]
Sent: Thu 7/24/2003 12:00 AM
To: axp-kernel-list@redhat.com
Cc:
Subject: A question about /linux/driver/net/e100
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 <https://gateway-india.wipro.com/evt=10469/*http://sitebuilder.yahoo.com,DanaInfo=us.rd.yahoo.com+> - Free, easy-to-use web site design software
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 4098 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: A question about /linux/driver/net/e100
@ 2003-07-23 20:22 Oliver Pitzeier
0 siblings, 0 replies; 4+ messages in thread
From: Oliver Pitzeier @ 2003-07-23 20:22 UTC (permalink / raw)
Cc: 'Scott Feldman', axp-kernel-list
[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]
Hi De Yu Liu!
Hi Scott Feldman!
De Yu Liu <bullleo2003@yahoo.com> wrote:
> Oliver Pitzeier <oliver@linux-kernel.at> 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
[-- Attachment #2: e100.txt --]
[-- Type: text/plain, Size: 959 bytes --]
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.
^ permalink raw reply [flat|nested] 4+ messages in thread* A question about /linux/driver/net/e100
@ 2003-07-23 18:30 De Yu Liu
0 siblings, 0 replies; 4+ messages in thread
From: De Yu Liu @ 2003-07-23 18:30 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 513 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-07-24 23:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200307232022.h6NKMSxs004385@indianer.linux-kernel.at>
2003-07-24 23:20 ` A question about /linux/driver/net/e100 De Yu Liu
2003-07-24 9:08 Deepak Mahadevappa
-- strict thread matches above, loose matches on Subject: below --
2003-07-23 20:22 Oliver Pitzeier
2003-07-23 18:30 De Yu Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox