Messages in this thread | | | Date | Fri, 15 Nov 2002 16:19:14 -0800 | From | Mike Anderson <> | Subject | Re: [RFC][PATCH] move dma_mask into struct device |
| |
J.E.J. Bottomley [James.Bottomley@steeleye.com] wrote:
> ===== drivers/pci/probe.c 1.17 vs edited ===== > --- 1.17/drivers/pci/probe.c Fri Nov 1 12:33:02 2002 > +++ edited/drivers/pci/probe.c Fri Nov 15 14:00:46 2002 > @@ -449,6 +449,7 @@ > /* now put in global tree */ > strcpy(dev->dev.name,dev->name); > strcpy(dev->dev.bus_id,dev->slot_name); > + dev->dev->dma_mask = &dev->dma_mask;
I got a compile error here. This should be. dev->dev.dma_mask = &dev->dma_mask;
I did not have a current bk handy on the lab machine, but I ran it on a 2.5.47 view with a few offset warnings.
The machine is a 2x pci systems with the following drivers loaded: aic7xxx, ips, qlogicisp.
It just booted and ran a little IO.
-andmike -- Michael Anderson andmike@us.ibm.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |