Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-04-30 | enough letoh-foo to get through firmware upload on big endian machines | Jason Wright | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-12 | sync with KAME | Kenjiro Cho | |
ALTQify more drivers. ok millert@ | |||
2002-02-15 | Don't cast nonexistent return value from splx to (void). ok art@ | Thomas Nordin | |
2002-02-07 | fix copyright; chris@ | Jason Wright | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-11-05 | Switch 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 (previous | Jason 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-09-21 | Correct some pryntf() usage: get the correct number of arguments in the | Miod Vallat | |
correct order. | |||
2001-09-11 | Don't include <vm/vm_kern.h> if you don't need foo_map. | Miod Vallat | |
2001-08-27 | get direction of read/write correct in calls to bus_dmamap_sync() | Jason Wright | |
2001-08-25 | Change pci_intr_map to take pci_attach_args as an argument. | Artur Grabowski | |
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD. | |||
2001-08-24 | missing bus_dmamap_sync() calls on descriptors... also deal with 5 argument ↵ | Jason Wright | |
form of bus_dmamap_sync() | |||
2001-08-17 | Oops, maxseglen and maxlen were backwards in call to bus_dmamap_create(). | Jason Wright | |
2001-08-12 | remove redundant vm includes | Michael Shalayeff | |
2001-08-10 | allocate tx dma maps in attach instead of creating/destroying them for each tx | Jason Wright | |
2001-06-27 | ALTQ'ify network drivers. | Kenjiro Cho | |
- use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting). | |||
2001-06-24 | - vlan_input_tag() takes 2 args now. | Federico G. Schwindt | |
- use ether_input_mbuf(). | |||
2001-06-23 | ether_input_mbuf() | Jason Wright | |
2001-06-23 | Go ahead and add the output checksum handling for tcp/udp (commented out) | Jason Wright | |
2001-06-23 | IPv4 transmit checksum offload handling | Jason Wright | |
2001-06-23 | - Add IPv4, UDP, and TCP RX checksum offloading support | Jason Wright | |
- Do not enable IPSEC offloading (don't know how that got there =) | |||
2001-06-22 | KNF | Theo de Raadt | |
2001-06-12 | Make pci_mapreg_map take an extra argument where we can | Niklas Hallqvist | |
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm. | |||
2001-06-05 | updated firmware from 3com (Thanks!); contains support for 3cr990B cards. | Jason Wright | |
2001-05-30 | - gather statistics (ipackets, ierrors, collisions, etc) from txp itself | Jason Wright | |
- better spl handling | |||
2001-05-30 | define txp_command() in terms of txp_command2(). | Jason Wright | |
2001-05-30 | expand txp_command2 to handle extension desciptors for long commands | Jason Wright | |
2001-05-30 | - better handling for capabilities: check the card to make sure it supports | Jason Wright | |
IPsec offloading before claiming to have that capability. - also add cksum offload capabilities (commented out for now) | |||
2001-05-29 | Set, don't OR the capabilities. | Angelos D. Keromytis | |
2001-05-28 | Set the IFCAP_IPSEC capability. | Angelos D. Keromytis | |
2001-05-25 | we just *love it* when official people at major vendors send us | Theo de Raadt | |
accurate information about upcoming models of their cards | |||
2001-05-16 | Use dm_mapsize instead of homegrown one; jason@ ok. | Federico G. Schwindt | |
2001-05-16 | update copyright | Jason Wright | |
use bcmp not strncmp for verifying the magic number in the firmware | |||
2001-05-16 | If we run out of transmit slots, try to copy the next mbuf into a single | Jason Wright | |
fragment and try again. Failing that, operate as normal. | |||
2001-05-15 | - correct some bus_dmamap_sync() usage | Jason 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 txp | Jason 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-10 | in txp_intr() only refill the rx buffer ring if it is empty; based on | Jason Wright | |
suggestion from Pankaj Chhabra. | |||
2001-05-09 | revert reverted patch now that bus_dma has been updated on i386 | Jason Wright | |
2001-05-08 | add transmit side of bpf tapping | Jason Wright | |
2001-05-08 | - add support for hardware vlan tag insertion and removal | Jason 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-03 | grr... part of the bus_dma change depended on local stuff: revert that part | Jason Wright | |
for now until folks comment on the dependent patch; pointed out by fgsch. | |||
2001-05-02 | - somewhat better use of bus_dma interface | Jason Wright | |
- use constants for bzero'n allocated memory instead of retrieving mapped size | |||
2001-04-30 | pretty up rx filter setup | Jason Wright | |
2001-04-15 | - in txp_intr(), don't call the rx/tx handlers unless necessary | Jason Wright | |
- make txp_rx_reclaim() run on offsets instead of indices (avoids several division/multiplication conversions) - remove vlan tag support for now (it doesn't work anyway) - optimize txp_start(), txp_rx_reclaim(), and txp_tx_reclaim() a bit (this is based on my original attempts at these functions... only now it works =) | |||
2001-04-15 | mask off Arm2Host_Comm_3 interrupts now that rx buffer reclamation has | Jason Wright | |
some out of resource handling (a2h_3 is a heartbeat generated every ~8ms and thus provides 125intrs/sec even when idle). | |||
2001-04-15 | - setup a timeout that will try to refill the rxbuffer ring (this makes | Jason Wright | |
out of resource handling a bit better). - in txp_stop(), disable the rx process, too | |||
2001-04-13 | - attempt to get dma coherent buffers for most of the shared memory uses | Jason Wright | |
- correct rx_reclaim (still needs some work) - rework txp_init() a bit to do the operations in the right order - wait for filter setup to complete before returning | |||
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 allocation | Jason 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 |