Changeset 8f12e89b in rtems-libbsd


Ignore:
Timestamp:
Mar 27, 2015, 10:14:22 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
d5ad68a
Parents:
c94bb49
git-author:
Sebastian Huber <sebastian.huber@…> (03/27/15 10:14:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/01/15 07:15:29)
Message:

if_dwc: Reduce DMA descriptor count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/dwc/if_dwc.c

    rc94bb49 r8f12e89b  
    136136 * Driver data and defines.
    137137 */
     138#ifndef __rtems__
    138139#define RX_DESC_COUNT   1024
     140#else /* __rtems__ */
     141#define RX_DESC_COUNT   64
     142#endif /* __rtems__ */
    139143#define RX_DESC_SIZE    (sizeof(struct dwc_hwdesc) * RX_DESC_COUNT)
     144#ifndef __rtems__
    140145#define TX_DESC_COUNT   1024
     146#else /* __rtems__ */
     147#define TX_DESC_COUNT   64
     148#endif /* __rtems__ */
    141149#define TX_DESC_SIZE    (sizeof(struct dwc_hwdesc) * TX_DESC_COUNT)
    142150
Note: See TracChangeset for help on using the changeset viewer.