summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_txpreg.h
AgeCommit message (Collapse)Author
2004-11-16fix bit defns for PFLAGsJason Wright
2004-05-31Replace local crc32 with ether_crc32_be.Ryan Thomas McBride
2003-06-043/4 cleanup for aaronTheo de Raadt
2001-11-05Switch everything to the new bus_dmamap_sync API.Artur Grabowski
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
2001-11-02- Set valid bit in transmit descriptors and tx fragment descriptors (previousJason Wright
firmware versions didn't use it, but newer ones might... play it safe). - add a bit of debugging code to tx so I can get dumps easier to send to 3com. (ifdef'd out). - ifdef both places that require modification to enable TX cksums to avoid errors like halfway enabling them (which caused me a bit of pain the other day). - TX UDP/TCP cksums still hang the firmware
2001-10-29defn for "versions read" command (not that the results match the docs mind you).Jason Wright
2001-08-24missing bus_dmamap_sync() calls on descriptors... also deal with 5 argument ↵Jason Wright
form of bus_dmamap_sync()
2001-06-23UDP and TCP bits are reversed with respect to documentationJason Wright
2001-06-22add more ipsec commandsJason Wright
2001-05-30- gather statistics (ipackets, ierrors, collisions, etc) from txp itselfJason Wright
- better spl handling
2001-05-30expand txp_command2 to handle extension desciptors for long commandsJason Wright
2001-05-30- better handling for capabilities: check the card to make sure it supportsJason Wright
IPsec offloading before claiming to have that capability. - also add cksum offload capabilities (commented out for now)
2001-05-16Use dm_mapsize instead of homegrown one; jason@ ok.Federico G. Schwindt
2001-05-15- correct some bus_dmamap_sync() usageJason Wright
- redo dma_alloc(), dma_free() a bit (I had them right to begin with) - add an alignment shim on rx buffers on strict alignment arch's (this is hideous, but hopefully temporary) Upshot: works on alpha now
2001-05-15- bus-dmaify txpJason Wright
- use symbolic name instead of value for maximum packet length - make this compile on alpha (be careful with pointers stored in device descriptors) - fix a mbuf leak in the tx full case
2001-05-09revert reverted patch now that bus_dma has been updated on i386Jason Wright
2001-05-08- add support for hardware vlan tag insertion and removalJason Wright
- add necessary definitions for extension descriptors, missing commands, and offload capabilities - rework command/response (again) to allow for long responses (still need support for long commands, though).
2001-05-03grr... part of the bus_dma change depended on local stuff: revert that partJason Wright
for now until folks comment on the dependent patch; pointed out by fgsch.
2001-05-02- somewhat better use of bus_dma interfaceJason Wright
- use constants for bzero'n allocated memory instead of retrieving mapped size
2001-04-30cleaningJason Wright
2001-04-15- setup a timeout that will try to refill the rxbuffer ring (this makesJason Wright
out of resource handling a bit better). - in txp_stop(), disable the rx process, too
2001-04-13- rx buffer ring management (working)Jason Wright
- simplify/encapsulate fully transmit ring handling - initialize sc_xcvr to be auto - initial rx descriptor ring handling (doesn't work yet) status: firmware, boot, media, tx, and rx buffer management work (actual received frames don't... yet).
2001-04-12- initial rx buffer ring management routines and allocationJason Wright
- go ahead and initialized the rx filter (but don't enable RX just yet) - correct descriptor definition for txp_rx_desc (not the same size as any other descriptor) - definition of txp_rxbuf_desc
2001-04-12- sort of working transmit routines and tx interrupt handling, definatelyJason Wright
more to do here - be sure to set maximum packet size early - remove old debugging code and add new
2001-04-11correct descriptor definitions for tx and fragJason Wright
(also fix CMD/RSP type fields)
2001-04-10add shutdown hook to stop the adapter completelyJason Wright
put txp_set_filter() in the right places
2001-04-10receive filter programmingJason Wright
2001-04-09- full media support (and remove all of the mii stuff... the firmware wantsJason Wright
to maintain write control over the phy... fine... but we query it to get current status). - fix several bugs in cmd/rsp handling: match responses to commands via id/seq, and add a routine to fixup the queue if it gets mangled).
2001-04-09partial mii support (commented out because the response queue freaks out)Jason Wright
get link status via media status query (unclear how to get speed/duplex this way) fix media command definitions to match documentation update the hostvar index for response queue on successful query
2001-04-09basic media handling/switchingJason Wright
XXX: Status routine needs to really query device to get duplex/speed/link
2001-04-09- implement command and response ring managementJason Wright
- rewrite definitions for command/response rings (bad aaron, shared memory structures are volatile and should not use nonportable bit slices, ':') Status: loads firmware, boots, gets mac address
2001-04-08- bring over some bus_dma allocation code (from failed attempt to ↵Jason Wright
bus_dma-ify ubsec) - allocate rings and boot the card Status: firmware loads, card appears to boot correctly
2001-04-08and host ring definitionJason Wright
2001-04-08define boot recordJason Wright
2001-04-08- load microcode from better directory (still not in tree)Jason Wright
- reg "definition" for soft reset register - make sure fileheader and section number are initialized before use - verify section checksum before use - add a skeleton txp_start()
2001-04-08cleanup, more register definitionsJason Wright
2001-04-08Skeleton driver for 3c990 (mainly so aaron/theo/myself can coordinate)Jason Wright
- the firmware image is still under a restrictive license, so it will not be in the tree yet - driver only knows how to (correctly) upload firmware - register definitions and such are incomplete