The following patch moves linux-2.4.9/drivers/block/cpqarray.c
to the new module_{init,exit} interface and adds a pci_device_id table.
The advantages are as follows:
1. The pci_device_id table facilitates automatic module loading
with the pcimodules program (or something similar).
2. The user of module_{init,exit} removes the cpqarray reference
from drivers/block/genhd.c, a step toward eliminating the
genhd.c file.
3. #1 and #2 are simplify upgrading cpqarray to the new PCI
driver format.
arrays@compaq.com: Please examine these changes. If they
meet with your approval, please forward them to Linus.
Alan: please feel free to incorporate this patch into the
-ac kernels. I have eliminated drivers/block/genhd.c by changing the
few remaining drivers to use module_{init,exit}. If you would
like me send you all of the changes that implement that as a group
to you please let me know.
-- Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104 adam@yggdrasil.com \ / San Jose, California 95129-1034 +1 408 261-6630 | g g d r a s i l United States of America fax +1 408 261-6631 "Free Software For The Rest Of Us."
This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:35 EST