Hello guys:   I'm new to Coccinelle, And now I wanna to develop a tool to 
translate Linux ethernet driver to freebsd.  the first problem is to convert an 
instance of "struct pci_driver" to  "device_method_t".  Can anybody give me 
some sample cocci code?  I have try the following code, but it does not work as 
expect.  @@@@ - static struct pci_driver alx_driver = {+ static device_method_t 
alx_methods[] = {   thanks                                          
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to