diff options
Diffstat (limited to 'drivers/staging/vt6655/upc.h')
-rw-r--r-- | drivers/staging/vt6655/upc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h index 6aabb0df747b..155e66439073 100644 --- a/drivers/staging/vt6655/upc.h +++ b/drivers/staging/vt6655/upc.h @@ -34,7 +34,6 @@ /*--------------------- Export Definitions -------------------------*/ - // // For IO mapped // @@ -71,14 +70,12 @@ do { \ // For memory mapped IO // - #define VNSvInPortB(dwIOAddress, pbyData) \ do { \ volatile unsigned char *pbyAddr = (unsigned char *)(dwIOAddress); \ *(pbyData) = readb(pbyAddr); \ } while (0) - #define VNSvInPortW(dwIOAddress, pwData) \ do { \ volatile unsigned short *pwAddr = (unsigned short *)(dwIOAddress); \ @@ -97,7 +94,6 @@ do { \ writeb((unsigned char)byData, pbyAddr); \ } while (0) - #define VNSvOutPortW(dwIOAddress, wData) \ do { \ volatile unsigned short *pwAddr = ((unsigned short *)(dwIOAddress)); \ @@ -112,7 +108,6 @@ do { \ #endif - // // ALWAYS IO-Mapped IO when in 16-bit/32-bit environment // @@ -153,15 +148,10 @@ do { \ } \ } while (0) - /*--------------------- Export Classes ----------------------------*/ /*--------------------- Export Variables --------------------------*/ /*--------------------- Export Functions --------------------------*/ - - - #endif // __UPC_H__ - |