summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_txpreg.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to newer firmware needed by some txp(4) variants. Fixes PR 6085.kettenis2009-03-241-1/+2
| | | | | | From FreeBSD. ok deraadt@
* fix bit defns for PFLAGsjason2004-11-161-10/+10
|
* Replace local crc32 with ether_crc32_be.mcbride2004-05-311-4/+1
|
* 3/4 cleanup for aaronderaadt2003-06-041-6/+1
|
* Switch everything to the new bus_dmamap_sync API.art2001-11-051-8/+1
| | | | | Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
* - Set valid bit in transmit descriptors and tx fragment descriptors (previousjason2001-11-021-1/+2
| | | | | | | | | | 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
* defn for "versions read" command (not that the results match the docs mind you).jason2001-10-291-1/+2
|
* missing bus_dmamap_sync() calls on descriptors... also deal with 5 argument form of bus_dmamap_sync()jason2001-08-241-1/+9
|
* UDP and TCP bits are reversed with respect to documentationjason2001-06-231-5/+5
|
* add more ipsec commandsjason2001-06-221-1/+3
|
* - gather statistics (ipackets, ierrors, collisions, etc) from txp itselfjason2001-05-301-2/+2
| | | | - better spl handling
* expand txp_command2 to handle extension desciptors for long commandsjason2001-05-301-1/+2
|
* - better handling for capabilities: check the card to make sure it supportsjason2001-05-301-1/+2
| | | | | IPsec offloading before claiming to have that capability. - also add cksum offload capabilities (commented out for now)
* Use dm_mapsize instead of homegrown one; jason@ ok.fgsch2001-05-161-2/+1
|
* - correct some bus_dmamap_sync() usagejason2001-05-151-1/+4
| | | | | | | - 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
* - bus-dmaify txpjason2001-05-151-1/+10
| | | | | | - 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
* revert reverted patch now that bus_dma has been updated on i386jason2001-05-091-2/+1
|
* - add support for hardware vlan tag insertion and removaljason2001-05-081-3/+22
| | | | | | | - 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).
* grr... part of the bus_dma change depended on local stuff: revert that partjason2001-05-031-1/+2
| | | | for now until folks comment on the dependent patch; pointed out by fgsch.
* - somewhat better use of bus_dma interfacejason2001-05-021-5/+2
| | | | - use constants for bzero'n allocated memory instead of retrieving mapped size
* cleaningjason2001-04-301-8/+4
|
* - setup a timeout that will try to refill the rxbuffer ring (this makesjason2001-04-151-6/+4
| | | | | out of resource handling a bit better). - in txp_stop(), disable the rx process, too
* - rx buffer ring management (working)jason2001-04-131-2/+10
| | | | | | | | - 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).
* - initial rx buffer ring management routines and allocationjason2001-04-121-16/+61
| | | | | | | - 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
* - sort of working transmit routines and tx interrupt handling, definatelyjason2001-04-121-3/+28
| | | | | | more to do here - be sure to set maximum packet size early - remove old debugging code and add new
* correct descriptor definitions for tx and fragjason2001-04-111-33/+53
| | | | (also fix CMD/RSP type fields)
* add shutdown hook to stop the adapter completelyjason2001-04-101-3/+3
| | | | put txp_set_filter() in the right places
* receive filter programmingjason2001-04-101-1/+13
|
* - full media support (and remove all of the mii stuff... the firmware wantsjason2001-04-091-2/+2
| | | | | | | 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).
* partial mii support (commented out because the response queue freaks out)jason2001-04-091-8/+15
| | | | | | 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
* basic media handling/switchingjason2001-04-091-1/+12
| | | | XXX: Status routine needs to really query device to get duplex/speed/link
* - implement command and response ring managementjason2001-04-091-45/+70
| | | | | - 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
* - bring over some bus_dma allocation code (from failed attempt to bus_dma-ify ubsec)jason2001-04-081-4/+22
| | | | | - allocate rings and boot the card Status: firmware loads, card appears to boot correctly
* and host ring definitionjason2001-04-081-1/+18
|
* define boot recordjason2001-04-081-1/+31
|
* - load microcode from better directory (still not in tree)jason2001-04-081-1/+6
| | | | | | | - 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()
* cleanup, more register definitionsjason2001-04-081-160/+217
|
* Skeleton driver for 3c990 (mainly so aaron/theo/myself can coordinate)jason2001-04-081-0/+315
- 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