Hello,

  The eepro100.c driver has a subtle change
from RH7.1 source to RH7.2 source. Because
of this, the ioctl SIOCGIFMAP (which reads from
the dev structure dev->ioaddr) returns the
"ioremap"ped value of the phys addr (pci_config_space)
 

The first line of the code was...

#define USE_IO 1

which is deleted in RH7.2 code.

Can anyone, please, explain the following questions that I have?

a. What does that line really mean? 
   I mean why would one want to do something like define to 1
   and then use
  
   #ifdef USE_IO .... #else.... #endif 

   Does it serve any purpose?

b. Why was this line deleted in the 7.2 release?
   Was it a mistake? Or was it on purpose? I would
   think it was the latter. :-)

c. Are there change logs available for this or
   any open source files, which would tell me/us
   why A particular change is made to A file??

d. Is there other way to get the base address from
   the driver (not the ioremapped address, but the actual
   base address, as seen in /proc/pci or /proc/ioports)

 Thanks for all your help in advance.

  Please reply (CC:) to me as I am NOT subscribed
to the list currently.


        tushar 

--
Work: (512) - 725 1790
Home: (512) - 238 0814
Cell: (512) - 589 3437 (512 - LUW DIES)
http://ozas.tripod.com

Disclaimer: I question and speak for myself.



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to