Date: Tue, 24 Aug 2004 11:20:34 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Marius =?iso-8859-1?Q?N=FCnnerich?= <marius.nuennerich@gmx.net> Cc: freebsd-current@freebsd.org Subject: Re: LOR re0 and acpi Message-ID: <20040824182034.GH29902@funkthat.com> In-Reply-To: <20040823223036.472c88aa@duron.hackerzberg.dyndns.org> References: <20040823223036.472c88aa@duron.hackerzberg.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--XOIedfhf+7KOe/yw
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Marius Nünnerich wrote this message on Mon, Aug 23, 2004 at 22:30 +0200:
> after enabling ACPI in my BIOS and booting with ACPI enabled i got this LOR during boot on my 6.0-CURRENT as of yesterday (this is copy'n pasted from dmesg):
[...]
> I looked at the list of known LOR's but didn't find this one.
> Machine runs fine so far :)
I happen to have recently purchased a card, and ran across the same
LOR... Try the attached patch. It works for me..
Next step is to lock down the driver.. :)
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
--XOIedfhf+7KOe/yw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="if_re.diff"
Index: if_re.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v
retrieving revision 1.28
diff -u -r1.28 if_re.c
--- if_re.c 2004/07/06 02:48:29 1.28
+++ if_re.c 2004/08/24 18:18:21
@@ -824,15 +824,9 @@
}
sc->rl_btag = rman_get_bustag(sc->rl_res);
sc->rl_bhandle = rman_get_bushandle(sc->rl_res);
- mtx_init(&sc->rl_mtx,
- device_get_nameunit(dev),
- MTX_NETWORK_LOCK, MTX_DEF);
- RL_LOCK(sc);
hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV;
bus_release_resource(dev, RL_RES,
RL_RID, sc->rl_res);
- RL_UNLOCK(sc);
- mtx_destroy(&sc->rl_mtx);
if (t->rl_basetype == hwrev) {
device_set_desc(dev, t->rl_name);
return (0);
--XOIedfhf+7KOe/yw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824182034.GH29902>
