Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 17:03:44 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org, jeremie@le-hen.org, bana@sitadelle.com
Subject:   Re: Can't get MAC addr of an ed(4) adapter
Message-ID:  <20050608150344.GL41050@obiwan.tataz.chchile.org>
In-Reply-To: <20050606.230742.103661451.imp@bsdimp.com>
References:  <20050606131957.GL41050@obiwan.tataz.chchile.org> <20050606133434.GG734@empiric.icir.org> <20050606155400.GP41050@obiwan.tataz.chchile.org> <20050606.230742.103661451.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Warner,

On Mon, Jun 06, 2005 at 11:07:42PM -0600, M. Warner Losh wrote:
> : It seems that the ed(4) driver from 2005.01.01 are working well.
> : There have been numerous commits since then, but I'm trying to find
> : the culprit ATM.  I'll keep list abreast of the results. 
> 
> If you find the one that's at issue, I'll be happy to work with you to
> resolve it.

I narrowed the one breaking MAC address probe :
    http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1231599+0+archive/2005/cvs-all/20050220.cvs-all

I tried to patch the driver myself and I found that you should not clear
pending interrupts before reading the MAC address or it won't work.

I didn't made a patch as I don't know if the correct way to handle this
is to pull up the ed_nic_outb() call from ed_probe_Novell_generic() to
ed_cbus_probe() or to move the ed_Novell_read_mac() call back in the
ed_probe_Novell_generic() function.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608150344.GL41050>