summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nxe.c
AgeCommit message (Expand)Author
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-11Replace mountroothook_establish(9) by config_mountroot(9) a narrower APIMartin Pieuchot
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
2014-12-22unifdef INETTed Unangst
2014-07-13Some reallocarray() use; review Jean-Philippe Ouellet, patrick keshishianTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-11-21missing pass DEVNAME(sc), fix format string; OK guenther@Gleydson Soares
2013-04-02Set the IFF_ALLMULTI flag as appropriate.Brad Smith
2011-02-15Copy pasto in comment. Fix by brad@ OK dlg@Claudio Jeker
2010-05-19BUS_DMA_ZERO instead of alloc, map, bzero.Owain Ainsworth
2009-06-02replace custom macro sizeofa() with nitems()Reyk Floeter
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
2008-11-23sizeofa -> nitemsDavid Gwynne
2008-10-29dlg says "well, that is embarassing"Theo de Raadt
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-05-05Correct defines for NXE_DB_PEGID_RX|TX. OK dlg@Claudio Jeker
2007-10-15enable ADDMULTI and DELMULTI in the ioctl handler now that the thtDavid Gwynne
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
2007-08-27start implementing the rx code. this puts pkts and descriptors onto theDavid Gwynne
2007-08-24enable interrupts when the interface comes up.David Gwynne
2007-08-24this is what the interrupt handler will look like. there'll be some addedDavid Gwynne
2007-08-24the chip has three rx rings, one for normal packets, one for jumbos, andDavid Gwynne
2007-08-24the ring sizes are reprresented by 32 bit fields in the context descirptor,David Gwynne
2007-08-23implement the completion half of the tx path. the driver keeps track ofDavid Gwynne
2007-08-23configure the NIU to rx packets that will fit into the mbufs we willDavid Gwynne
2007-08-23wrap writes to the doorbell register.David Gwynne
2007-08-23the first read or write in the crb space after you switch the windowsDavid Gwynne
2007-08-23program the niu with the mac address in the right order.David Gwynne
2007-08-23tweak the register macros a bit. add macros for the NIUs port registersDavid Gwynne
2007-08-15oops, forgot the print the intr string on attachDavid Gwynne
2007-08-15hook the interrupt upDavid Gwynne
2007-08-15implement nxe_start. this is enough to put packets on the wire. the sglDavid Gwynne
2007-08-15program the mac control thing according the the multicast or promiscDavid Gwynne
2007-08-15program the lladdr when the chip is brought up.David Gwynne
2007-08-15sync all the bits for use by the hardware, and then point the chip at them.David Gwynne
2007-08-15when the interface is brought up allocate all the things that are neededDavid Gwynne
2007-08-15allocate pkt lists when the interface is brought up.David Gwynne
2007-08-15here are the tx, rx, and status (rx completion) descriptors used in the ioDavid Gwynne
2007-08-15move the firmware to the right state before we start allocating everythingDavid Gwynne
2007-08-15lock accesses to the ioctl handler.David Gwynne
2007-08-15this code definitely uses queue.hDavid Gwynne
2007-08-15tell the ioctl handler to call nxe_up/down/iff at the right times. theyDavid Gwynne
2007-08-15code to allocate, free, sync, and iterate over rings. this is based looselyDavid Gwynne
2007-08-15steal pkt handling from tht. this lets us keep track of mbufs when theyreDavid Gwynne
2007-08-15implement link state monitoring. you have to poll the firmware to see theDavid Gwynne