//driver's member function prode
static int __devinit adl_probe(struct pci_dev *pci_dev,const struct
pci_device_id *pco_id)
{
u16 vendor,device;
printk(KERN_ALERT "adlink modules is probing!\n");
pci_read_config_word(pci_dev,0,&vendor);
pci_read_config_word(pci_dev,2,&device);
printk(KERN_INFO "%x:%x\n",vendor,device);
return 0;
}
//driver's member function remove
static int __devexit adl_remove(struct pci_dev *pci_dev)
{
printk(KERN_ALERT "adlink modules is removed!\n");
return 0;
}