Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162365
b: refs/heads/master
c: a2171b6
h: refs/heads/master
i:
  162363: ef7bf4e
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent e86a10c commit 9acd396
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 194 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f3aa57f8244aaeb882a83a94c994b654160ddec
refs/heads/master: a2171b6807b01bb942de9524b01df29cf71b46c6
34 changes: 14 additions & 20 deletions trunk/drivers/staging/sep/sep_ext_with_pci_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,25 +170,6 @@ unsigned long jiffies_future;
private functions
--------------------------------*/

/*
function that is activated on the succesfull probe of the SEP device
*/
static int __devinit sep_probe(struct pci_dev *pdev, const struct pci_device_id *ent);

static struct pci_device_id sep_pci_id_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080c)},
{0}
};

MODULE_DEVICE_TABLE(pci, sep_pci_id_tbl);

/* field for registering driver to PCI device */
static struct pci_driver sep_pci_driver = {
.name = "sep_sec_driver",
.id_table = sep_pci_id_tbl,
.probe = sep_probe
};

/*
This functions locks the area of the resisnd and cache sep code
*/
Expand Down Expand Up @@ -453,6 +434,20 @@ static int __devinit sep_probe(struct pci_dev *pdev, const struct pci_device_id
return error;
}

static struct pci_device_id sep_pci_id_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080c)},
{0}
};

MODULE_DEVICE_TABLE(pci, sep_pci_id_tbl);

/* field for registering driver to PCI device */
static struct pci_driver sep_pci_driver = {
.name = "sep_sec_driver",
.id_table = sep_pci_id_tbl,
.probe = sep_probe
};

/*
this function registers th driver to
the device subsystem( either PCI, USB, etc)
Expand All @@ -463,4 +458,3 @@ int sep_register_driver_to_device(void)
}



Loading

0 comments on commit 9acd396

Please sign in to comment.