summaryrefslogtreecommitdiff
path: root/sys/dev/ic/fxp.c
AgeCommit message (Expand)Author
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2017-01-22move counting if_opackets next to counting if_obytes in if_enqueue.David Gwynne
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2015-12-03Rewrite the tx handler to just use ifq_dequeue and drop packets thatClaudio Jeker
2015-12-02Simplify fxp tx dma handling by using m_defrag instead of rolling our ownClaudio Jeker
2015-11-25replace IFF_OACTIVE manipulation with mpsafe operations.David Gwynne
2015-11-24You need <netinet/ip.h> if you use "struct ip" for hw checksum.Martin Pieuchot
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-08-29firmware sizes are known; use them for free()Theo de Raadt
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-12Convert to if_input().Martin Pieuchot
2014-12-22unifdef INETTed Unangst
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
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-11-14replace workqs with tasks for handling resumeDavid Gwynne
2013-08-07Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
2012-10-10Avoid potential uninitialized variable access in fxp driver.Bret Lambert
2012-04-03After suspend/resume, reload the firmware. Skip firmware onTheo de Raadt
2011-12-19fxp_init could bail out on errors without calling slpx.Marco Pfatschbacher
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
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-31activate function should return result of config_activate_childrenTheo de Raadt
2010-08-27Since the pci-specific activate function does nothing, move it to fxp.c.Theo de Raadt
2010-08-06ca_activate for suspend/resume; tested by andrew@afresh1.comTheo de Raadt
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-25Don't setup multicast when in promiscuous mode. From Brad.Stuart Henderson
2009-08-13Rewrite part of the promiscuous/multicast handling; tested by myself,Stuart Henderson
2009-08-10More cases of shutdown hooks not needed after card is already stopped. InTheo de Raadt
2009-06-06Rewrite the SIOCSIFFLAGS ioctl handling code to clean it up a bit andChristian Weisgerber
2009-06-02Make fxp at pci detachable; untested.Jonathan Gray
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2008-02-21Some fxp(4) chips do not like having their status/command registers accessedBrad Smith
2008-02-20- Only clear the IFF_OACTIVE flag if packets were processed.Brad Smith
2007-10-13remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-08-31new format firmware load messageTheo de Raadt
2007-06-06do not include ipx headers (were not needed in the first place)Henning Brauer
2007-05-08put more foo_detach() routines where they are usedTheo de Raadt
2007-03-16Add missing "goto fail;" in an error path of fxp_attach().Claudio Jeker
2006-12-26Don't re-initialize the card every time the IP address is changed.Kenneth R Westerback
2006-12-13insufficient testing, martin, please do not be a moronTheo de Raadt