Project

General

Profile

Bug #2467 ยป 0001-agp-possible-fix-for-bug-2467.patch

ftigeot, 12/04/2012 11:44 PM

View differences:

sys/dev/agp/agp.c
TAILQ_INIT(&sc->as_memory);
sc->as_nextid = 1;
make_dev(&agp_ops, device_get_unit(dev), UID_ROOT, GID_WHEEL,
0600, "agpgart");
sc->as_devnode = make_dev(&agp_ops,
0, UID_ROOT, GID_WHEEL, 0600, "agpgart");
sc->as_devnode->si_drv1 = dev;
return 0;
    (1-1/1)