bge driver still causes freeze

Jirsa Ondrej contras at atlas.cz
Sat Nov 3 10:27:35 PDT 2007


Hello,

bge driver still causes freeze on my HP 6710b laptop, see also
http://lists.freebsd.org/pipermail/freebsd-current/2007-September/077368.html,
but commenting out a few lines in if_bge.c,v 1.198.2.1 makes driver to work:

--- if_bge.c.orig       2007-11-03 12:42:25.000000000 +0100
+++ if_bge.c    2007-11-03 12:08:53.000000000 +0100
@@ -1742,9 +1742,9 @@
 #if __FreeBSD_version > 700024
                                const char *pname;

-                               if (pci_get_vpd_ident(dev, &pname) == 0)
-                                       snprintf(model, 64, "%s", pname);
-                               else
+//                             if (pci_get_vpd_ident(dev, &pname) == 0)
+//                                     snprintf(model, 64, "%s", pname);
+//                             else
 #endif
                                        snprintf(model, 64, "%s %s",
                                            v->v_name,

Could someone investigate this?
------------------------------------------

http://mail.atlas.cz/wapmail/


More information about the freebsd-stable mailing list