netdev
[Top] [All Lists]

Re: MII access (was [PATCH] support for Cobalt Networks (x86 only)

To: Bogdan Costescu <bogdan.costescu@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MII access (was [PATCH] support for Cobalt Networks (x86 only)
From: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>
Date: Sun, 03 Jun 2001 08:11:46 -0400
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, Mark Frazer <mark@xxxxxxxxxxxxxxxx>, Pete Zaitcev <zaitcev@xxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Organization: MandrakeSoft
References: <Pine.LNX.4.33.0106031343530.31050-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Bogdan Costescu wrote:
> With clearer mind, I have to make some a correction to one of the previous
> messages: the problem of not checking arguments range does not apply to
> 3c59x which has in the ioctl function '& 0x1f' for both transceiver number
> and register number. However, eepro100 and tulip don't do that. (I'm
> checking now with 2.4.3 from Mandrake 8, but I don't think that there were
> recent changes in these areas).

half right -- tulip does this for the phy id but not the MII register
number.  I'll fix that up.  Please bug Andrey about fixing up
eepro100...

-- 
Jeff Garzik      | Echelon words of the day, from The Register:
Building 1024    | FRU Lebed HALO Spetznaz Al Amn al-Askari Glock 26 
MandrakeSoft     | Steak Knife Kill the President anarchy echelon
                 | nuclear assassinate Roswell Waco World Trade Center

<Prev in Thread] Current Thread [Next in Thread>