Re: AGPGart / AMD K7

From: Greg KH
Date: Fri Apr 20 2007 - 20:17:50 EST


On Fri, Apr 20, 2007 at 07:42:33PM -0400, Preston A. Elder wrote:
> Final followup,
>
> If I compile EDAC out of the kernel completely, everything works now.
>
> This should be resolved though.
> 1) dd.c should produce some kind of warning when it wants to assign a
> driver to a device, but it can't because a driver is already assigned to
> a device
>
> ie. change:
> if (!dev->driver)
> driver_probe_device(drv, dev);
> to:
> if (!dev->driver)
> driver_probe_device(drv, dev);
> else
> printk(KERN_WARNING "__driver_attach (%s): alreay registered
> with driver %s\n",
> dev->bus_id, dev->driver->name);
>
> 2) Possibly a device should be able to have more than one driver
> associated with it - so the AGP driver and EDAC could both use the
> device in question here (though this would probably be a sizable change).

I'm working on this change for PCI devices right now, but it's slow
going due to some other external things (OLS paper that I am woefully
behind on, etc...)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/