Commit 9a976cc6 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://kernel.bkbits.net/davem/sparc-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 60efec8e 96ab2dec
...@@ -2867,6 +2867,8 @@ int kblockd_schedule_work(struct work_struct *work) ...@@ -2867,6 +2867,8 @@ int kblockd_schedule_work(struct work_struct *work)
return queue_work(kblockd_workqueue, work); return queue_work(kblockd_workqueue, work);
} }
EXPORT_SYMBOL(kblockd_schedule_work);
void kblockd_flush(void) void kblockd_flush(void)
{ {
flush_workqueue(kblockd_workqueue); flush_workqueue(kblockd_workqueue);
......
...@@ -748,6 +748,8 @@ static int __devinit rhine_init_one(struct pci_dev *pdev, ...@@ -748,6 +748,8 @@ static int __devinit rhine_init_one(struct pci_dev *pdev,
} }
#endif /* USE_MMIO */ #endif /* USE_MMIO */
dev->base_addr = ioaddr; dev->base_addr = ioaddr;
rp = netdev_priv(dev);
rp->quirks = quirks;
rhine_power_init(dev); rhine_power_init(dev);
...@@ -792,10 +794,8 @@ static int __devinit rhine_init_one(struct pci_dev *pdev, ...@@ -792,10 +794,8 @@ static int __devinit rhine_init_one(struct pci_dev *pdev,
dev->irq = pdev->irq; dev->irq = pdev->irq;
rp = netdev_priv(dev);
spin_lock_init(&rp->lock); spin_lock_init(&rp->lock);
rp->pdev = pdev; rp->pdev = pdev;
rp->quirks = quirks;
rp->mii_if.dev = dev; rp->mii_if.dev = dev;
rp->mii_if.mdio_read = mdio_read; rp->mii_if.mdio_read = mdio_read;
rp->mii_if.mdio_write = mdio_write; rp->mii_if.mdio_write = mdio_write;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment