Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162376
b: refs/heads/master
c: 6343cef
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 0e9ee67 commit 3064ba3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 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: 904290c0b7b48e757b3dc9451f4b014f42c25098
refs/heads/master: 6343cefdc8174f2d00abf8201ecd17d354e5ddf7
3 changes: 0 additions & 3 deletions trunk/drivers/staging/sep/sep_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ struct sep_device {
unsigned long resident_size;
void *resident_addr;

/* device interrupt (as retrieved from PCI) */
int sep_irq;

unsigned long rar_region_addr;

/* start address of the access to the SEP registers from driver */
Expand Down
8 changes: 1 addition & 7 deletions trunk/drivers/staging/sep/sep_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2494,15 +2494,9 @@ static int __devinit sep_probe(struct pci_dev *pdev, const struct pci_device_id
/* set the IMR register - open only GPR 2 */
sep_write_reg(sep_dev, HW_HOST_IMR_REG_ADDR, (~(0x1 << 13)));

/* figure out our irq */
/* FIXME: */
error = pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, (u8 *) & sep_dev->irq);

edbg("SEP Driver: my irq is %d\n", sep_dev->irq);

edbg("SEP Driver: about to call request_irq\n");
/* get the interrupt line */
error = request_irq(sep_dev->irq, sep_inthandler, IRQF_SHARED, "sep_driver", &sep_dev->reg_addr);
error = request_irq(pdev->irq, sep_inthandler, IRQF_SHARED, "sep_driver", &sep_dev->reg_addr);
if (error)
goto end_function;

Expand Down

0 comments on commit 3064ba3

Please sign in to comment.