Skip to content

Commit b4aa9e0

Browse files
committed
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/bnx2x/bnx2x.h drivers/net/wireless/iwlwifi/iwl-1000.c drivers/net/wireless/iwlwifi/iwl-6000.c drivers/net/wireless/iwlwifi/iwl-core.h drivers/vhost/vhost.c
2 parents 1dc0f3c + 4b8fe66 commit b4aa9e0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+458
-202
lines changed

MAINTAINERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5943,7 +5943,6 @@ F: include/linux/tty.h
59435943

59445944
TULIP NETWORK DRIVERS
59455945
M: Grant Grundler <grundler@parisc-linux.org>
5946-
M: Kyle McMartin <kyle@mcmartin.ca>
59475946
L: netdev@vger.kernel.org
59485947
S: Maintained
59495948
F: drivers/net/tulip/

drivers/atm/adummy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static int __init adummy_init(void)
154154
err = -ENOMEM;
155155
goto out;
156156
}
157-
atm_dev = atm_dev_register(DEV_LABEL, &adummy_ops, -1, NULL);
157+
atm_dev = atm_dev_register(DEV_LABEL, NULL, &adummy_ops, -1, NULL);
158158
if (!atm_dev) {
159159
printk(KERN_ERR DEV_LABEL ": atm_dev_register() failed\n");
160160
err = -ENODEV;

drivers/atm/ambassador.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,8 @@ static int __devinit amb_probe(struct pci_dev *pci_dev, const struct pci_device_
22442244
goto out_reset;
22452245
}
22462246

2247-
dev->atm_dev = atm_dev_register (DEV_LABEL, &amb_ops, -1, NULL);
2247+
dev->atm_dev = atm_dev_register (DEV_LABEL, &pci_dev->dev, &amb_ops, -1,
2248+
NULL);
22482249
if (!dev->atm_dev) {
22492250
PRINTD (DBG_ERR, "failed to register Madge ATM adapter");
22502251
err = -EINVAL;

drivers/atm/atmtcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static int atmtcp_create(int itf,int persist,struct atm_dev **result)
366366
if (!dev_data)
367367
return -ENOMEM;
368368

369-
dev = atm_dev_register(DEV_LABEL,&atmtcp_v_dev_ops,itf,NULL);
369+
dev = atm_dev_register(DEV_LABEL,NULL,&atmtcp_v_dev_ops,itf,NULL);
370370
if (!dev) {
371371
kfree(dev_data);
372372
return itf == -1 ? -ENOMEM : -EBUSY;

drivers/atm/eni.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,7 @@ static int __devinit eni_init_one(struct pci_dev *pci_dev,
22442244
&zeroes);
22452245
if (!cpu_zeroes) goto out1;
22462246
}
2247-
dev = atm_dev_register(DEV_LABEL,&ops,-1,NULL);
2247+
dev = atm_dev_register(DEV_LABEL, &pci_dev->dev, &ops, -1, NULL);
22482248
if (!dev) goto out2;
22492249
pci_set_drvdata(pci_dev, dev);
22502250
eni_dev->pci_dev = pci_dev;

drivers/atm/firestream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ static int __devinit firestream_init_one (struct pci_dev *pci_dev,
19111911
fs_dev, sizeof (struct fs_dev));
19121912
if (!fs_dev)
19131913
goto err_out;
1914-
atm_dev = atm_dev_register("fs", &ops, -1, NULL);
1914+
atm_dev = atm_dev_register("fs", &pci_dev->dev, &ops, -1, NULL);
19151915
if (!atm_dev)
19161916
goto err_out_free_fs_dev;
19171917

drivers/atm/fore200e.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2567,14 +2567,14 @@ fore200e_load_and_start_fw(struct fore200e* fore200e)
25672567

25682568

25692569
static int __devinit
2570-
fore200e_register(struct fore200e* fore200e)
2570+
fore200e_register(struct fore200e* fore200e, struct device *parent)
25712571
{
25722572
struct atm_dev* atm_dev;
25732573

25742574
DPRINTK(2, "device %s being registered\n", fore200e->name);
25752575

2576-
atm_dev = atm_dev_register(fore200e->bus->proc_name, &fore200e_ops, -1,
2577-
NULL);
2576+
atm_dev = atm_dev_register(fore200e->bus->proc_name, parent, &fore200e_ops,
2577+
-1, NULL);
25782578
if (atm_dev == NULL) {
25792579
printk(FORE200E "unable to register device %s\n", fore200e->name);
25802580
return -ENODEV;
@@ -2594,9 +2594,9 @@ fore200e_register(struct fore200e* fore200e)
25942594

25952595

25962596
static int __devinit
2597-
fore200e_init(struct fore200e* fore200e)
2597+
fore200e_init(struct fore200e* fore200e, struct device *parent)
25982598
{
2599-
if (fore200e_register(fore200e) < 0)
2599+
if (fore200e_register(fore200e, parent) < 0)
26002600
return -ENODEV;
26012601

26022602
if (fore200e->bus->configure(fore200e) < 0)
@@ -2662,7 +2662,7 @@ static int __devinit fore200e_sba_probe(struct platform_device *op,
26622662

26632663
sprintf(fore200e->name, "%s-%d", bus->model_name, index);
26642664

2665-
err = fore200e_init(fore200e);
2665+
err = fore200e_init(fore200e, &op->dev);
26662666
if (err < 0) {
26672667
fore200e_shutdown(fore200e);
26682668
kfree(fore200e);
@@ -2740,7 +2740,7 @@ fore200e_pca_detect(struct pci_dev *pci_dev, const struct pci_device_id *pci_ent
27402740

27412741
sprintf(fore200e->name, "%s-%d", bus->model_name, index);
27422742

2743-
err = fore200e_init(fore200e);
2743+
err = fore200e_init(fore200e, &pci_dev->dev);
27442744
if (err < 0) {
27452745
fore200e_shutdown(fore200e);
27462746
goto out_free;

drivers/atm/he.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ he_init_one(struct pci_dev *pci_dev, const struct pci_device_id *pci_ent)
366366
goto init_one_failure;
367367
}
368368

369-
atm_dev = atm_dev_register(DEV_LABEL, &he_ops, -1, NULL);
369+
atm_dev = atm_dev_register(DEV_LABEL, &pci_dev->dev, &he_ops, -1, NULL);
370370
if (!atm_dev) {
371371
err = -ENODEV;
372372
goto init_one_failure;

drivers/atm/horizon.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,8 @@ static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_
27332733
PRINTD(DBG_INFO, "found Madge ATM adapter (hrz) at: IO %x, IRQ %u, MEM %p",
27342734
iobase, irq, membase);
27352735

2736-
dev->atm_dev = atm_dev_register(DEV_LABEL, &hrz_ops, -1, NULL);
2736+
dev->atm_dev = atm_dev_register(DEV_LABEL, &pci_dev->dev, &hrz_ops, -1,
2737+
NULL);
27372738
if (!(dev->atm_dev)) {
27382739
PRINTD(DBG_ERR, "failed to register Madge ATM adapter");
27392740
err = -EINVAL;

drivers/atm/idt77252.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3698,7 +3698,8 @@ idt77252_init_one(struct pci_dev *pcidev, const struct pci_device_id *id)
36983698
goto err_out_iounmap;
36993699
}
37003700

3701-
dev = atm_dev_register("idt77252", &idt77252_ops, -1, NULL);
3701+
dev = atm_dev_register("idt77252", &pcidev->dev, &idt77252_ops, -1,
3702+
NULL);
37023703
if (!dev) {
37033704
printk("%s: can't register atm device\n", card->name);
37043705
err = -EIO;

0 commit comments

Comments
 (0)