Changeset 1b20da0 in mainline for uspace/drv/nic/rtl8139/defs.h
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8139/defs.h
rdf6ded8 r1b20da0 310 310 RCR_ACCEPT_MULTICAST = 1 << 2, /**< Accept multicast */ 311 311 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 314 314 */ 315 315 RCR_ACCEPT_MASK = (1 << 6) - 1 /**< Mask of accept part */ … … 325 325 CS_F_LINK100 = (1 << 6), 326 326 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 329 329 */ 330 330 CS_CON_STATUS_EN = (1 << 2), /**< LED1 pin connection status indication */ … … 361 361 enum rtl8139_anar { 362 362 ANAR_NEXT_PAGE = (1 << 15), /**< Next page bit, 0 - primary capability 363 * 1 - protocol specific 363 * 1 - protocol specific 364 364 */ 365 365 ANAR_ACK = (1 << 14), /**< Capability reception acknowledge */ … … 371 371 ANAR_10_FD = (1 << 6), /**< 10BASE_T full duplex */ 372 372 ANAR_10_HD = (1 << 5), /**< 10BASE_T half duplex */ 373 ANAR_SELECTOR = 0x1 /**< Selector, 373 ANAR_SELECTOR = 0x1 /**< Selector, 374 374 * CSMA/CD (0x1) supported only 375 375 */ … … 391 391 392 392 /** 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), 394 394 /** Powersave if cable is disconnected */ 395 CONFIG5_LINK_DOWN_POWERSAVE = (1 << 2), 395 CONFIG5_LINK_DOWN_POWERSAVE = (1 << 2), 396 396 397 397 CONFIG5_LAN_WAKE = (1 << 1), /**< LANWake signal enabled */ … … 411 411 CONFIG4_RxFIFOAutoClr = (1 << 7), /**< Automatic RxFIFO owerflow clear */ 412 412 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) 415 415 */ 416 416 CONFIG4_LWPME = (1 << 4), /**< LWAKE and PMEB assertion */ … … 450 450 451 451 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 454 454 */ 455 455 … … 462 462 TX_RETRY_COUNT_SIZE = 4, /**< Retries before aborting size */ 463 463 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 466 466 */ 467 467 }; … … 500 500 #define RTL8139_RXFLAGS_SIZE_64 3 501 501 502 /** Get the buffer initial size without 16B padding 502 /** Get the buffer initial size without 16B padding 503 503 * Size is (8 + 2^flags) kB (^ in mean power) 504 504 *
Note:
See TracChangeset
for help on using the changeset viewer.