LOR re0 and acpi

John-Mark Gurney gurney_j at resnet.uoregon.edu
Tue Aug 24 11:20:37 PDT 2004


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."
-------------- next part --------------
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);


More information about the freebsd-current mailing list