cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h

Marius Strobl marius at
Mon Mar 24 10:38:24 PDT 2008

marius      2008-03-24 17:38:24 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           if_dc.c if_dcreg.h 
  - Const'ify the dc_devs array.
  - Correct the maxsize parameter when creating the mbufs busdma tag to
    reflect the actual requirement of dc(4).
  - Move the KASSERT in dc_newbuf() to the right spot.
  - Also convert the TX side to take advantage of bus_dmamap_load_mbuf_sg(9).
  - Move the comment regarding dc_start_locked() to the right spot.
  MFC after:      2 weeks
  Revision  Changes    Path
  1.194     +83 -82    src/sys/dev/dc/if_dc.c
  1.55      +1 -3      src/sys/dev/dc/if_dcreg.h

More information about the cvs-src mailing list