"Richard B. Johnson" wrote:
>
> On Fri, 6 Jul 2001, Chris Friesen wrote:
> > mdelay(1); /* One ms delay... */
> >
> > ...rest of code...
> >
>
> What? What kernel version?
> The code here says:
> /* Establish sync by sending at least 32 logic ones */
> for (i = 32; i >=0;
On Fri, 6 Jul 2001, Chris Friesen wrote:
> The beginning of mdio_read() in tulip.c goes like this:
>
> static int mdio_read(struct device *dev, int phy_id, int location)
> {
> struct tulip_private *tp = (struct tulip_private *)dev->priv;
> int i;
> int read_cmd = (0xf6 << 10) |
The beginning of mdio_read() in tulip.c goes like this:
static int mdio_read(struct device *dev, int phy_id, int location)
{
struct tulip_private *tp = (struct tulip_private *)dev->priv;
int i;
int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
int retval = 0;
3 matches
Mail list logo