Re: RFC: modules and 2.5

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Tue Jul 03 2001 - 02:05:18 EST


Sean Hunter wrote:
>
> Does this defeat my favourite module-related gothcha, that the machine panics
> if I have (say) a scsi driver builtin to the kernel and the same driver tries
> to load itself as a module?

Other, existing mechanisms should prevent conflicts here. If a builtin
SCSI driver loads successfully, then its calls to request_region,
request_mem_region, or pci_request_regions should have succeeded.

If so, any attempt to grab those I/O regions by another driver,
including another instance of the same driver, should fail.

-- 
Jeff Garzik      | "I respect faith, but doubt is
Building 1024    |  what gives you an education."
MandrakeSoft     |           -- Wilson Mizner
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:11 EST