lkml.org 
[lkml]   [2002]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectIntel NIC driver and SIOCGMIIPHY? (Warning! maybe stupid question!)
Date
Hi,

I am trying to access Intel NIC (10/100) internal data using ioctl () with
SIOCGMIIPHY and SIOCDEVPRIVATE command parameters (the kernel is 2.4.18 with
some patches). The SIOCGMIIPHY does not passed to the driver, while the
SIOCDEVPRIVATE does. Why?
In the original Intel driver (e100) there is no case for SIOCDEVPRIVATE in
e100_ioctl(), so this access method is not working. The eepro100 driver has
the same case for both these commands (in speedo_ioctl()), so it works. Is
this problem caused by kernel itself?
What is interesting, that the Intel Gigabit NIC Linux driver (e1000) does
not allow access to internal registers at all.

Thanks
Kosta

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release Date: 5/7/2002


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:4.539 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site