Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@
and drahn@.
|
|
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
|
|
|
|
form of bus_dmamap_sync()
|
|
|
|
|
|
- better spl handling
|
|
|
|
IPsec offloading before claiming to have that capability.
- also add cksum offload capabilities (commented out for now)
|
|
|
|
- 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
|
|
- 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
|
|
|
|
- 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).
|
|
for now until folks comment on the dependent patch; pointed out by fgsch.
|
|
- use constants for bzero'n allocated memory instead of retrieving mapped size
|
|
|
|
out of resource handling a bit better).
- in txp_stop(), disable the rx process, too
|
|
- 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).
|
|
- 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
|
|
more to do here
- be sure to set maximum packet size early
- remove old debugging code and add new
|
|
(also fix CMD/RSP type fields)
|
|
put txp_set_filter() in the right places
|
|
|
|
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).
|
|
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
|
|
XXX: Status routine needs to really query device to get duplex/speed/link
|
|
- 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
|
|
bus_dma-ify ubsec)
- allocate rings and boot the card
Status: firmware loads, card appears to boot correctly
|
|
|
|
|
|
- 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()
|
|
|
|
- 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
|