Commit 705e71d4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] meye driver update

From: Stelian Pop <stelian@popies.net>

This patchlet is just a resync with my tree, it only increments the meye
driver version number and makes some small comment changes as suggested by
Randy Dunlap.
parent 2860cb86
...@@ -160,13 +160,15 @@ static void rvfree(void * mem, unsigned long size) { ...@@ -160,13 +160,15 @@ static void rvfree(void * mem, unsigned long size) {
} }
} }
/* return a page table pointing to N pages of locked memory /*
* return a page table pointing to N pages of locked memory
* *
* NOTE: The meye device expects dma_addr_t size to be 32 bits * NOTE: The meye device expects dma_addr_t size to be 32 bits
* (the toc must be exactly 1024 entries each of them being 4 bytes * (the toc must be exactly 1024 entries each of them being 4 bytes
* in size, the whole result being 4096 bytes). We're using here * in size, the whole result being 4096 bytes). We're using here
* dma_addr_t for corectness but the compilation of this driver is * dma_addr_t for correctness but the compilation of this driver is
* disabled for HIGHMEM64G=y, where sizeof(dma_addr_t) != 4 */ * disabled for HIGHMEM64G=y, where sizeof(dma_addr_t) != 4
*/
static int ptable_alloc(void) { static int ptable_alloc(void) {
dma_addr_t *pt; dma_addr_t *pt;
int i; int i;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define _MEYE_PRIV_H_ #define _MEYE_PRIV_H_
#define MEYE_DRIVER_MAJORVERSION 1 #define MEYE_DRIVER_MAJORVERSION 1
#define MEYE_DRIVER_MINORVERSION 8 #define MEYE_DRIVER_MINORVERSION 9
#include <linux/config.h> #include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
......
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