Skip to contentSkip to conversation

PATCH: linux-2.4.9/drivers/atm to new module_{init,exit} + some pci_device_id tables

DISCUSSION Adam J. Richter 2 participants 2 messages Aug 20, 2001 – Aug 21, 2001

lore
Share & tools
lore
#0 lore raw

The following patch moves linux-2.4.9/drivers/atm
to the relatively new module_{init,exit} interface, simplifying the code and removing the reference to the ATM drivers from linux/drivers/genhd.c (this is partly motivated by my effort to get rid of genhd.c). The changes also include some pci_device_id tables, which enable automatic loading of the modules via pcimodules (or a similar program). These changes are also all steps toward porting the atm drivers to the new PCI interface. In the case zatm.c, I have actually ported it to the new PCI interface, although it shares the stock zatm driver's deficiency of not supporting module removal.

Note that this change deletes linux-2.4.9/drivers/atmdev_init.c,
since the conversion to module_{init,exit} completely obseletes that file.

If these changes look OK, I would like to get them
into the stock kernel. If there is a maintainer on linux-atm-general who shepherds these patches to Alan and Linus, and if these changes are good, please let me know if you are going to "officially" send them to Alan and Linus or if you want me to do so or if there is some other procedure that I should follow.

Signature · 4 lines
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
[email protected]     \ /                  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."
#1 lore raw

Just a quick question. Please be gentl. I'm not a kernel hack. I just want to make sure that it will still be possible to build a monolythic kernel with ATM support. If not, that is a BAD thing.

Quoted 33 lines · Adam J. Richter

The following patch moves linux-2.4.9/drivers/atm
to the relatively new module_{init,exit} interface, simplifying the code and removing the reference to the ATM drivers from linux/drivers/genhd.c (this is partly motivated by my effort to get rid of genhd.c). The changes also include some pci_device_id tables, which enable automatic loading of the modules via pcimodules (or a similar program). These changes are also all steps toward porting the atm drivers to the new PCI interface. In the case zatm.c, I have actually ported it to the new PCI interface, although it shares the stock zatm driver's deficiency of not supporting module removal.

Note that this change deletes linux-2.4.9/drivers/atmdev_init.c,
since the conversion to module_{init,exit} completely obseletes that file.

If these changes look OK, I would like to get them
into the stock kernel. If there is a maintainer on linux-atm-general who shepherds these patches to Alan and Linus, and if these changes are good, please let me know if you are going to "officially" send them to Alan and Linus or if you want me to do so or if there is some other procedure that I should follow.

Signature · 9 lines
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
[email protected]     \ /                  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."

_______________________________________________
Linux-atm-general mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-atm-general