。。。。。 endif info(DRIVER_VERSION ":" DRIVER_DESC); return retval; static const struct pci_device_id __devinitdata uhci_pci_ids [] = { {
/* handle any USB UHCI controller */ class: ((PCI_CLASS_SERIAL_USB << 8) | 0x00), class_mask: ~0,
/* no matter who makes it */ //不懂英语就谦虚点! vendor: PCI_ANY_ID, device: PCI_ANY_ID, subvendor: PCI_ANY_ID, subdevice: PCI_ANY_ID,
}, { /* end: all zeroes */ } }; static void __exit uhci_hcd_cleanup (void) { pci_unregister_driver (&uhci_pci_driver);//都是全名这些还用注解?? #ifdef DEBUG_SLAB if(kmem_cache_destroy(urb_priv_kmem)) err("urb_priv_kmem remained");#endif }
module_init (uhci_hcd_init); //uhci 有人看不明?hcd不知何解? module_exit (uhci_hcd_cleanup);
MODULE_AUTHOR( DRIVER_AUTHOR ); //这是全名字的函数名! MODULE_DESCRIPTION( DRIVER_DESC ); MODULE_LICENSE("GPL"); |