summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_tht.c
AgeCommit message (Expand)Author
2007-04-25format string fixDavid Gwynne
2007-04-25add some debug to the tx paths so i can see packets go on and off the hw.David Gwynne
2007-04-25fix the conditions that the tx free path keeps looping on so that it willDavid Gwynne
2007-04-25configure the 10G mac and enable (more) interrupts when the interface isDavid Gwynne
2007-04-25split tht_fifo_ready into tht_fifo_writable and tht_fifo_readable. the wayDavid Gwynne
2007-04-25start implementing interrupt handling.David Gwynne
2007-04-25add more register definitions, in particular the interrupt ones.David Gwynne
2007-04-25im an idiot. for (;;) { } while (condition); loops forever, no matter whatDavid Gwynne
2007-04-25add some debug goo to be used soonDavid Gwynne
2007-04-24use the fifos ready byte counter in the firmware loading.David Gwynne
2007-04-23increment opackets and ipackets. clear OACTIVE when tx completes.David Gwynne
2007-04-23spelling in comment fix.David Gwynne
2007-04-23when we use a fifo we always seem to need to know how much of the fifo isDavid Gwynne
2007-04-23replace the code in the rxf and txt fifo handlers that loads the dmaDavid Gwynne
2007-04-23add tht_write_dmap, and tht_write_pad.David Gwynne
2007-04-22process the tx free queue. this indicates when transmitted packets haveDavid Gwynne
2007-04-22this is the start of the transmit path. this takes packets off theDavid Gwynne
2007-04-22only printf if the firmware load failed.David Gwynne
2007-04-22hookup bpf. this pushes packets along bpf on the rx side. i need to writeDavid Gwynne
2007-04-22start implementing processing of the rx descriptor fifo. this is the oneDavid Gwynne
2007-04-22i seem to be having lots of trouble with writing bus_dmamap_sync callsDavid Gwynne
2007-04-22macros for accessing bits of the rx descriptorsDavid Gwynne
2007-04-21fill the rx free fifo on interface up, and drain it on interface down.David Gwynne
2007-04-21tht wants at least 128 bytes in the first physical segment of an rx bufferDavid Gwynne
2007-04-21rename tht_rx to tht_rxf_fill to avoid confusion.David Gwynne
2007-04-21add tht_rx. this function will try to fill as much of the rx free fifo asDavid Gwynne
2007-04-21simplify some maths in fw_load a bitDavid Gwynne
2007-04-21allocate a small list of tx and rx descriptors on interface up and down.David Gwynne
2007-04-21quick macro to figure out how many 64bit words a buffer will use.David Gwynne
2007-04-21create struct tht_pkt to keep track of mbufs that are on the hardware andDavid Gwynne
2007-04-21represent the uid field in all the descriptors as a u_int64_t instead ofDavid Gwynne
2007-04-21rename tht_rxf to tht_rx_free. tweak comments describing the hw structuresDavid Gwynne
2007-04-20add a lock around ioctl handling to prevent the posssibility that someoneDavid Gwynne
2007-04-20this implements up and down routines for the interface. currently whenDavid Gwynne
2007-04-20implement reads from a fifo.David Gwynne
2007-04-20add fifo descriptors for the rxf and rxd fifos.David Gwynne
2007-04-20we'd like to show if the nic has link regardless of whether the interfaceDavid Gwynne
2007-04-20implement checking of the link status according to the firmware, and teachDavid Gwynne
2007-04-20bits in the link status registerDavid Gwynne
2007-04-19this is two (and a half) changes, but im too lazy to split them up.David Gwynne
2007-04-18start implementing support for the fifos on these chips.David Gwynne
2007-04-18move the tht attach args up a bit, for greater feng shuiDavid Gwynne
2007-04-18add a wrapper around single segment dmaable memory allocations. this hasDavid Gwynne
2007-04-18callers of sw_reset will print an error message if anythign goes wrong, soDavid Gwynne
2007-04-18reset the port before establishing the interrupt handler during attachDavid Gwynne
2007-04-18implement the software reset of a port as per the specificationDavid Gwynne
2007-04-18code to busy wait on registers and bits in bus_spaceDavid Gwynne
2007-04-18tiny register additionsDavid Gwynne
2007-04-18define the bits in the RX_FLT registerDavid Gwynne
2007-04-17lots of registersDavid Gwynne