Changeset 31704 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/linux
- Timestamp:
- Aug 16, 2010 3:20:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r31697 r31704 63 63 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) 64 64 static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, 65 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ 66 static long VBoxNetAdpLinuxIOCtlUnlocked(struct file *pFilp, 67 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ 65 68 unsigned int uCmd, unsigned long ulArg); 66 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */67 static long VBoxNetAdpLinuxIOCtlUnlocked(struct file *pFilp, unsigned int uCmd,68 unsigned long ulArg);69 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */70 69 71 70 /******************************************************************************* … … 268 267 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) 269 268 static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, 269 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ 270 static long VBoxNetAdpLinuxIOCtlUnlocked(struct file *pFilp, 271 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ 270 272 unsigned int uCmd, unsigned long ulArg) 271 #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */272 static long VBoxNetAdpLinuxIOCtlUnlocked(struct file *pFilp, unsigned int uCmd,273 unsigned long ulArg)274 #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */275 273 { 276 274 VBOXNETADPREQ Req;
Note:
See TracChangeset
for help on using the changeset viewer.