Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106147
b: refs/heads/master
c: 00412be
h: refs/heads/master
i:
  106145: 486a902
  106143: 93b3f55
v: v3
  • Loading branch information
Rene Herman authored and Linus Torvalds committed Jul 26, 2008
1 parent 63050f2 commit f2b8b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e86b19ce64a25d39bb0e10e0e695213fc5993dfb
refs/heads/master: 00412be1d7bdf451653c7dafeb09f4f83398d756
4 changes: 4 additions & 0 deletions trunk/drivers/base/isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <linux/isa.h>

static struct device isa_bus = {
Expand Down Expand Up @@ -141,6 +142,9 @@ int isa_register_driver(struct isa_driver *isa_driver, unsigned int ndev)
isa_dev->dev.release = isa_dev_release;
isa_dev->id = id;

isa_dev->dev.coherent_dma_mask = DMA_24BIT_MASK;
isa_dev->dev.dma_mask = &isa_dev->dev.coherent_dma_mask;

error = device_register(&isa_dev->dev);
if (error) {
put_device(&isa_dev->dev);
Expand Down

0 comments on commit f2b8b2c

Please sign in to comment.