Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304533
b: refs/heads/master
c: bf3313a
h: refs/heads/master
i:
  304531: 791758c
v: v3
  • Loading branch information
joseph daniel authored and Greg Kroah-Hartman committed May 2, 2012
1 parent 8631482 commit 599c405
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: ffc2825c2942b57c5dbfbcb3ad798696438aed62
refs/heads/master: bf3313a1b6bd819fc4ca6f54b465481fb8b5f0a8
10 changes: 6 additions & 4 deletions trunk/drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,8 @@ static int et131x_mdio_read(struct mii_bus *bus, int phy_addr, int reg)
return value;
}

static int et131x_mdio_write(struct mii_bus *bus, int phy_addr, int reg, u16 value)
static int et131x_mdio_write(struct mii_bus *bus, int phy_addr,
int reg, u16 value)
{
struct net_device *netdev = bus->priv;
struct et131x_adapter *adapter = netdev_priv(netdev);
Expand Down Expand Up @@ -4013,7 +4014,7 @@ static int et131x_pci_init(struct et131x_adapter *adapter,
dev_err(&pdev->dev, "Missing PCIe capabilities\n");
goto err_out;
}

/* Let's set up the PORT LOGIC Register. First we need to know what
* the max_payload_size is
*/
Expand Down Expand Up @@ -4060,7 +4061,7 @@ static int et131x_pci_init(struct et131x_adapter *adapter,
goto err_out;
}

ctl = (ctl & ~PCI_EXP_DEVCTL_READRQ) | ( 0x04 << 12);
ctl = (ctl & ~PCI_EXP_DEVCTL_READRQ) | (0x04 << 12);

if (pci_write_config_word(pdev, cap + PCI_EXP_DEVCTL, ctl)) {
dev_err(&pdev->dev,
Expand Down Expand Up @@ -4824,7 +4825,8 @@ static int et131x_open(struct net_device *netdev)
adapter->error_timer.data = (unsigned long)adapter;
add_timer(&adapter->error_timer);

result = request_irq(irq, et131x_isr, IRQF_SHARED, netdev->name, netdev);
result = request_irq(irq, et131x_isr,
IRQF_SHARED, netdev->name, netdev);
if (result) {
dev_err(&pdev->dev, "could not register IRQ %d\n", irq);
return result;
Expand Down

0 comments on commit 599c405

Please sign in to comment.