summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dc.c
AgeCommit message (Expand)Author
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2020-07-10Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use thePatrick Wildt
2017-01-22move counting if_opackets next to counting if_obytes in if_enqueue.David Gwynne
2016-05-04Use BUS_DMA_OVERRUN to cope with the broken DMA engine of the Davicom DM9102Mark Kettenis
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2015-11-28rework dc_start and dc_encap to take advantage of m_defrag.David Gwynne
2015-11-25replace IFF_OACTIVE manipulation with mpsafe operations.David Gwynne
2015-11-24The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.Martin Pieuchot
2015-11-20shuffle struct ifqueue so in flight mbufs are protected by a mutex.David Gwynne
2015-10-25arp_ifinit() is no longer needed.Martin Pieuchot
2015-09-12ifmedia64 fixes.Miod Vallat
2015-09-11Make room for media types of the future. Extend the ifmedia word to 64 bits.Stefan Sperling
2015-08-30Track rom size, for free()Theo de Raadt
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-04-13Now that if_input() set the receiving interface pointer on mbufs for usMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-03-13convert to if_input()Jasper Lievisse Adriaanse
2015-01-23break after return is useless.David Gwynne
2014-12-22unifdef INETTed Unangst
2014-11-18dc_init() calls dc_stop() and dc_reset() so remove some redundant callsBrad Smith
2014-07-22Fewer <netinet/in_systm.h>Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-04-18reaching into altq unconditionally (and w/o ifdef ALTQ) is bad, mmkay?Henning Brauer
2013-12-28The few network drivers that called their children's (ie. mii PHYTheo de Raadt
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2013-12-02Rewrite receive filter handling and ioctl bits. Fixes not being able toBrad Smith
2013-11-20Instead of comparing the lower and higher addresses of all the multicastMartin Pieuchot
2013-08-21get rid of the copy argument in m_devget that let you provide anDavid Gwynne
2013-08-07Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
2012-11-29Remove setting an initial assumed baudrate upon driver attach which is notBrad Smith
2011-07-07use IF_LEN/IFQ_LEN to access and ifqueue's length field. ryan okHenning Brauer
2011-06-21remove some unnecessary casts. ok blambert deraadt kettenis matthewTed Unangst
2011-03-05Wait until the DMA engine is stopped before unmapping buffers and descriptors.Mark Kettenis
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
2010-09-06initialize rv to 0 in the activate functionTheo de Raadt
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
2010-08-30activate functions, when they do not add value, should return the result of c...Theo de Raadt
2010-08-27Move the dc_pci_activate function to dc.c, and mangle it up with some ofTheo de Raadt
2010-08-05ca_activate function for suspend/resume; tested by mlarkin on aTheo de Raadt
2010-07-02timeout_add -> timeout_add_msecBret Lambert
2010-05-19BUS_DMA_ZERO instead of alloc, map, bzero.Owain Ainsworth
2009-10-15Add detach support to a few more drivers, and in others do the neccessaryTheo de Raadt
2009-08-10More cases of shutdown hooks not needed after card is already stopped. InTheo de Raadt
2009-06-26If we are going to move to the eeprom-based MAC address finding instead ofTheo de Raadt
2009-06-26Using information gleamed from the FreeBSD driver, change the MAC addressTheo de Raadt
2009-06-02make dc at pci detachable; untested.Jonathan Gray
2009-01-11Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)Bret Lambert
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
2008-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian Weisgerber