0001-agp-possible-fix-for-bug-2467.patch

ftigeot, 12/04/2012 11:44 PM

Download (770 Bytes)

View differences:

sys/dev/agp/agp.c
237 237
	TAILQ_INIT(&sc->as_memory);
238 238
	sc->as_nextid = 1;
239 239

  
240
	make_dev(&agp_ops, device_get_unit(dev), UID_ROOT, GID_WHEEL,
241
		 0600, "agpgart");
240
	sc->as_devnode = make_dev(&agp_ops,
241
	    0, UID_ROOT, GID_WHEEL, 0600, "agpgart");
242 242
	sc->as_devnode->si_drv1 = dev;
243 243

  
244 244
	return 0;
245
-