Changeset 33540 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp
- Timestamp:
- Oct 28, 2010 9:27:05 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 67140
- Location:
- trunk/src/VBox/HostDrivers/VBoxNetAdp
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk
r32183 r33540 94 94 ifeq ($(KBUILD_TARGET),linux) 95 95 # 96 # Install source files for comp liation on Linux.96 # Install source files for compilation on Linux. 97 97 # files_vboxnetadp defines VBOX_VBOXNETADP_SOURCES. 98 98 # … … 143 143 ifeq ($(KBUILD_TARGET),freebsd) 144 144 # 145 # Install source files for comp liation on FreeBSD.145 # Install source files for compilation on FreeBSD. 146 146 # files_vboxnetadp defines VBOX_VBOXNETADP_SOURCES. 147 147 # -
trunk/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c
r28830 r33540 45 45 #include <VBox/version.h> 46 46 47 /** r=bird: why is this here in the agnos itc code? */47 /** r=bird: why is this here in the agnostic code? */ 48 48 #ifdef RT_OS_DARWIN 49 49 # include <net/ethernet.h> … … 803 803 * though the "base is still needed for the driver to functions". 804 804 * @param pGlobals 805 * @return VINF_SUCCESS on succes , VERR_WRONG_ORDER if we're busy.805 * @return VINF_SUCCESS on success, VERR_WRONG_ORDER if we're busy. 806 806 */ 807 807 DECLHIDDEN(int) vboxNetAdpTryDeleteIdc(PVBOXNETADPGLOBALS pGlobals) … … 926 926 * Called by the native part when the OS wants the driver to unload. 927 927 * 928 * @returns VINF_SUCCESS on succes , VERR_WRONG_ORDER if we're busy.928 * @returns VINF_SUCCESS on success, VERR_WRONG_ORDER if we're busy. 929 929 * 930 930 * @param pGlobals Pointer to the globals. -
trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c
r31556 r33540 202 202 /** 203 203 * Transmit packets. 204 * netflt has al dready done everything for us so we just hand the204 * netflt has already done everything for us so we just hand the 205 205 * packets to BPF and increment the packet stats. 206 206 */ -
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
r32537 r33540 179 179 180 180 # By default we use remap_pfn_range() kernel API to make kernel pages 181 # visible for userland. Unfortu ately, it leads to situation that181 # visible for userland. Unfortunately, it leads to situation that 182 182 # during debug session all structures on that page (such as PVM pointer) 183 183 # are not accessible to the debugger (see #3214). -
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r31730 r33540 279 279 280 280 Log(("VBoxNetAdpLinuxIOCtl: param len %#x; uCmd=%#x; add=%#x\n", _IOC_SIZE(uCmd), uCmd, VBOXNETADP_CTL_ADD)); 281 if (RT_UNLIKELY(_IOC_SIZE(uCmd) != sizeof(Req))) /* para onia */281 if (RT_UNLIKELY(_IOC_SIZE(uCmd) != sizeof(Req))) /* paranoia */ 282 282 { 283 283 Log(("VBoxNetAdpLinuxIOCtl: bad ioctl sizeof(Req)=%#x _IOC_SIZE=%#x; uCmd=%#x.\n", sizeof(Req), _IOC_SIZE(uCmd), uCmd)); -
trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c
r28800 r33540 296 296 297 297 /* 298 * Setup GLD MAC layer regist eration info.298 * Setup GLD MAC layer registration info. 299 299 */ 300 300 pMacInfo->gldm_reset = vboxNetAdpSolarisStub; … … 334 334 /* 335 335 * Now try registering our GLD with the MAC layer. 336 * Regist eration can fail on some S10 versions when the MTU size is more than 1500.336 * Registration can fail on some S10 versions when the MTU size is more than 1500. 337 337 * When we implement jumbo frames we should probably retry with MTU 1500 for S10. 338 338 */
Note:
See TracChangeset
for help on using the changeset viewer.