Skip to content
craftor edited this page Mar 26, 2013 · 3 revisions

This driver is developed on the reference :

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/altpciechdma?id=f3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b

And I did some other jobs:

  • Rewrite sg_*() functions, especially sg_write() and sg_read(). Now we can read/write function in user space (see test.c).
  • Migrated the driver from kernel 2.6 to 3.2 (pci_dev->dev->driver_data has been moved in 3.2, so I replaced it with pci_dev->dev->platform_data )
Clone this wiki locally