Changeset 1b20da0 in mainline for uspace/drv/nic/rtl8139/defs.h


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/rtl8139/defs.h

    rdf6ded8 r1b20da0  
    310310        RCR_ACCEPT_MULTICAST  = 1 << 2,  /**< Accept multicast */
    311311        RCR_ACCEPT_PHYS_MATCH = 1 << 1,  /**< Accept device MAC address match */
    312         RCR_ACCEPT_ALL_PHYS   = 1 << 0,  /**< Accept all frames with 
    313                                           * phys. desticnation 
     312        RCR_ACCEPT_ALL_PHYS   = 1 << 0,  /**< Accept all frames with
     313                                          * phys. desticnation
    314314                                                                          */
    315315        RCR_ACCEPT_MASK = (1 << 6) - 1   /**< Mask of accept part */
     
    325325        CS_F_LINK100     = (1 << 6),
    326326        CS_F_CONNECT     = (1 << 5),
    327         CS_CON_STATUS    = (1 << 3),  /**< connection status: 
    328                                        *   1 = valid, 0 = disconnected 
     327        CS_CON_STATUS    = (1 << 3),  /**< connection status:
     328                                       *   1 = valid, 0 = disconnected
    329329                                                                   */
    330330        CS_CON_STATUS_EN = (1 << 2),  /**< LED1 pin connection status indication */
     
    361361enum rtl8139_anar {
    362362        ANAR_NEXT_PAGE    = (1 << 15),  /**< Next page bit, 0 - primary capability
    363                                          *  1 - protocol specific 
     363                                         *  1 - protocol specific
    364364                                                                         */
    365365        ANAR_ACK          = (1 << 14),  /**< Capability reception acknowledge */
     
    371371        ANAR_10_FD        = (1 << 6),   /**< 10BASE_T full duplex */
    372372        ANAR_10_HD        = (1 << 5),   /**< 10BASE_T half duplex */
    373         ANAR_SELECTOR     = 0x1         /**< Selector, 
     373        ANAR_SELECTOR     = 0x1         /**< Selector,
    374374                                         *   CSMA/CD (0x1) supported only
    375375                                                                         */
     
    391391
    392392        /** Descending/ascending grow of Rx/Tx FIFO (to test FIFO SRAM only) */
    393         CONFIG5_FIFO_ADDR_PTR = (1 << 3),   
     393        CONFIG5_FIFO_ADDR_PTR = (1 << 3),
    394394        /** Powersave if cable is disconnected */
    395         CONFIG5_LINK_DOWN_POWERSAVE = (1 << 2), 
     395        CONFIG5_LINK_DOWN_POWERSAVE = (1 << 2),
    396396
    397397        CONFIG5_LAN_WAKE     = (1 << 1),   /**< LANWake signal enabled */
     
    411411        CONFIG4_RxFIFOAutoClr = (1 << 7),  /**< Automatic RxFIFO owerflow clear */
    412412        CONFIG4_AnaOff        = (1 << 6),  /**< Analog poweroff */
    413         CONFIG4_LongWF        = (1 << 5),  /**< Long wakeup frame 
    414                                             *   (2xCRC8 + 3xCRC16) 
     413        CONFIG4_LongWF        = (1 << 5),  /**< Long wakeup frame
     414                                            *   (2xCRC8 + 3xCRC16)
    415415                                                                                */
    416416        CONFIG4_LWPME         = (1 << 4),  /**< LWAKE and PMEB assertion  */
     
    450450
    451451        LOOPBACK_SHIFT  = 17,           /**< Loopback mode shift */
    452         LOOPBACK_SIZE   = 2,            /**< Loopback mode size 
    453                                           *  00 = normal, 11 = loopback 
     452        LOOPBACK_SIZE   = 2,            /**< Loopback mode size
     453                                          *  00 = normal, 11 = loopback
    454454                                                                          */
    455455
     
    462462        TX_RETRY_COUNT_SIZE  = 4,            /**< Retries before aborting size */
    463463
    464         CLEAR_ABORT = 1 << 0    /**< Retransmit aborted frame at the last 
    465                                   *  transmitted descriptor 
     464        CLEAR_ABORT = 1 << 0    /**< Retransmit aborted frame at the last
     465                                  *  transmitted descriptor
    466466                                                          */
    467467};
     
    500500#define RTL8139_RXFLAGS_SIZE_64 3
    501501
    502 /** Get the buffer initial size without 16B padding 
     502/** Get the buffer initial size without 16B padding
    503503 *  Size is (8 + 2^flags) kB (^ in mean power)
    504504 *
Note: See TracChangeset for help on using the changeset viewer.