VirtualBox

Changeset 7044 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 20, 2008 3:23:26 PM (17 years ago)
Author:
vboxsync
Message:

Realigning after RTGCPHYS change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r6833 r7044  
    166166
    167167    /** Transmit signaller */
     168    R3R0PTRTYPE(PPDMQUEUE)              pXmitQueueHC;
    168169    GCPTRTYPE(PPDMQUEUE)                pXmitQueueGC;
    169     R3R0PTRTYPE(PPDMQUEUE)              pXmitQueueHC;
    170170
    171171    /** Receive signaller */
     172    GCPTRTYPE(PPDMQUEUE)                pCanRxQueueGC;
    172173    R3R0PTRTYPE(PPDMQUEUE)              pCanRxQueueHC;
    173     GCPTRTYPE(PPDMQUEUE)                pCanRxQueueGC;
     174    /** Pointer to the device instance. */
     175    R3R0PTRTYPE(PPDMDEVINS)             pDevInsHC;
    174176    /** Pointer to the device instance. */
    175177    GCPTRTYPE(PPDMDEVINS)               pDevInsGC;
    176     /** Pointer to the device instance. */
    177     R3R0PTRTYPE(PPDMDEVINS)             pDevInsHC;
     178    /** Alignment padding. */
     179    RTGCPTR                             GCPtrAlignment0;
    178180    /** Restore timer.
    179181     *  This is used to disconnect and reconnect the link after a restore. */
     
    208210    PDMMAC                              MacConfigured;
    209211
     212#if HC_ARCH_BITS == 64
     213    uint32_t                            u32Alignment0; /** Alignment padding. */
     214#endif
    210215    /** The LED. */
    211216    PDMLED                              Led;
     
    27522757        case 2:
    27532758            /* PHY identifier 1. */
    2754             val = 0x22;     /* Am79C874 PHY */ 
     2759            val = 0x22;     /* Am79C874 PHY */
    27552760            break;
    27562761
    27572762        case 3:
    27582763            /* PHY identifier 2. */
    2759             val = 0x561b;   /* Am79C874 PHY */ 
     2764            val = 0x561b;   /* Am79C874 PHY */
    27602765            break;
    27612766
     
    27652770#if 0
    27662771                // Advertising flow control is a) not the default, and b) confuses
    2767                 // the link speed detection routine in Windows PCnet driver 
     2772                // the link speed detection routine in Windows PCnet driver
    27682773                  | 0x0400  /* Try flow control. */
    27692774#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette