summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_tht.c
AgeCommit message (Expand)Author
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
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-04-30Convert moar drivers to if_input().Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
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-04-02- Have the tht(4) ioctl handler for SIOCSIFFLAGS set ENETRESETBrad Smith
2013-01-14use one interrupt handler for the thtc headend, rather than seperateTheo de Raadt
2010-05-19BUS_DMA_ZERO instead of alloc, map, bzero.Owain Ainsworth
2010-04-08these files don't need to include proc.h anymore. ok oga for agpTed Unangst
2009-04-07dont enable checksumming. it appears to be broken on fragmented packets.David Gwynne
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
2008-11-23sizeofa -> nitemsDavid Gwynne
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-13Also report the duplex state of the connection when callingBrad Smith
2008-05-12Make this compile again.Mark Kettenis
2008-05-12Pass correct argument to timeout_set so that the timeout can break theCan Erkin Acar
2008-04-11introduce THT_{RXF/TXT}_PKT_NUM macros and use them instead of theThordur I. Bjornsson
2008-04-04tht is cool cos it generates interrupts when the link state change.David Gwynne
2008-02-02Correct the baudrate handling.Brad Smith
2008-01-17Set if_baudrate with IF_Gbps(10);Thordur I. Bjornsson
2008-01-14Zap two usless printfs.Thordur I. Bjornsson
2007-09-19M_ZERO. all the cool kids are doing it.David Gwynne
2007-07-22clear the IFF_ALLMULTI flag when the interface goes down.David Gwynne
2007-07-22the softc variable is sc, not sp.David Gwynne
2007-05-28use memcpy when copying to/from the fifos, apparently gcc can do a betterDavid Gwynne
2007-05-26chop ETHER_ALIGN off the size of the packet we tell the hw we can doDavid Gwynne
2007-05-26ETHER_ALIGN rx mbuf so that it works on strict alignment archs. OK dlg@Claudio Jeker
2007-05-26correctly byteswap the mac address when moving it on and off teh cardDavid Gwynne
2007-05-17copy the lladdr from the arpcom struct onto the hardware when the interfaceDavid Gwynne
2007-05-17support changing the mtu up to the maximum frame size it currentlyDavid Gwynne
2007-05-16add support for multicast addresses. this adds the add/del multi handlersDavid Gwynne
2007-05-08make a start at dealing with interface flags. this toggles the hardwareDavid Gwynne
2007-05-08add the multicast filter registersDavid Gwynne
2007-05-08write the mac back to the chip when we bring it up.David Gwynne
2007-05-06point the macros for the interrupt coalescing registers at the rightDavid Gwynne
2007-05-06typoDavid Gwynne
2007-05-04the hardware does checksumming on rx as well. mark the mbufs with what theDavid Gwynne
2007-05-04advertise tx checksumming to the network stack, and tell the hardware toDavid Gwynne
2007-05-04increase the number of tx and rx descriptors from 64 to 128 eachDavid Gwynne
2007-05-04call the right function to fill the rxf fifo after rxdDavid Gwynne
2007-05-04disable debugging outputDavid Gwynne
2007-05-04put more rx descriptors back on the chip straight after we've taken someDavid Gwynne