projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bcm63xx: add driver for the internal hw trng on bcm6368
[openwrt.git]
/
target
/
linux
/
rdc
/
patches-2.6.32
/
014-r6040_phylib_support.patch
diff --git
a/target/linux/rdc/patches-2.6.32/014-r6040_phylib_support.patch
b/target/linux/rdc/patches-2.6.32/014-r6040_phylib_support.patch
index
1dc5c4b
..
bb25302
100644
(file)
--- a/
target/linux/rdc/patches-2.6.32/014-r6040_phylib_support.patch
+++ b/
target/linux/rdc/patches-2.6.32/014-r6040_phylib_support.patch
@@
-234,7
+234,7
@@
return 0;
}
return 0;
}
-@@ -10
20,40 +924
,22 @@ static void netdev_get_drvinfo(struct ne
+@@ -10
18,40 +922
,22 @@ static void netdev_get_drvinfo(struct ne
static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
{
struct r6040_private *rp = netdev_priv(dev);
static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
{
struct r6040_private *rp = netdev_priv(dev);
@@
-278,7
+278,7
@@
};
static const struct net_device_ops r6040_netdev_ops = {
};
static const struct net_device_ops r6040_netdev_ops = {
-@@ -107
2,6 +958
,86 @@ static const struct net_device_ops r6040
+@@ -107
0,6 +956
,86 @@ static const struct net_device_ops r6040
#endif
};
#endif
};
@@
-365,7
+365,7
@@
static int __devinit r6040_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
static int __devinit r6040_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
-@@ -108
2,6 +1048
,7 @@ static int __devinit r6040_init_one(stru
+@@ -108
0,6 +1046
,7 @@ static int __devinit r6040_init_one(stru
static int card_idx = -1;
int bar = 0;
u16 *adrp;
static int card_idx = -1;
int bar = 0;
u16 *adrp;
@@
-373,7
+373,7
@@
printk("%s\n", version);
printk("%s\n", version);
-@@ -116
9,7 +1136
,6 @@ static int __devinit r6040_init_one(stru
+@@ -116
7,7 +1134
,6 @@ static int __devinit r6040_init_one(stru
/* Init RDC private data */
lp->mcr0 = 0x1002;
lp->phy_addr = phy_table[card_idx];
/* Init RDC private data */
lp->mcr0 = 0x1002;
lp->phy_addr = phy_table[card_idx];
@@
-381,7
+381,7
@@
/* The RDC-specific entries in the device structure. */
dev->netdev_ops = &r6040_netdev_ops;
/* The RDC-specific entries in the device structure. */
dev->netdev_ops = &r6040_netdev_ops;
-@@ -117
7,28 +1143
,61 @@ static int __devinit r6040_init_one(stru
+@@ -117
5,28 +1141
,61 @@ static int __devinit r6040_init_one(stru
dev->watchdog_timeo = TX_TIMEOUT;
netif_napi_add(dev, &lp->napi, r6040_poll, 64);
dev->watchdog_timeo = TX_TIMEOUT;
netif_napi_add(dev, &lp->napi, r6040_poll, 64);
@@
-451,7
+451,7
@@
err_out_unmap:
pci_iounmap(pdev, ioaddr);
err_out_free_res:
err_out_unmap:
pci_iounmap(pdev, ioaddr);
err_out_free_res:
-@@ -121
2,8 +1211
,12 @@ err_out:
+@@ -121
0,8 +1209
,12 @@ err_out:
static void __devexit r6040_remove_one(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
static void __devexit r6040_remove_one(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
This page took
0.023843 seconds
and
4
git commands to generate.