summaryrefslogtreecommitdiffstats
path: root/sys/dev/lge
Commit message (Collapse)AuthorAgeFilesLines
* Do not call mii_polltick() immediately after mii_tick().jlemon2001-09-291-1/+0
| | | | Poiinted out by: wpaul
* Have the driver announce its rxcsum capabilities.jlemon2001-09-181-0/+2
|
* Apply patch supplied by Jonathan Chen: use the correct arguments towpaul2001-07-091-2/+2
| | | | | pci_enable_io(). We need to use SYS_RES_IOPORT/SYS_RES_MEMORY instead of PCIM_CMD_PORTEN/PCIM_CMD_MEMEN.
* Change m_devget()'s outdated and unused `offset' argument to actually meanbmilekic2001-06-201-3/+2
| | | | | | | | | | | | | | | | | | | | something: offset into the first mbuf of the target chain before copying the source data over. Make drivers using m_devget() with a first argument "data - ETHER_ALIGN" to use the offset argument to pass ETHER_ALIGN in. The way it was previously done is potentially dangerous if the source data was at the top of a page and the offset caused the previous page to be copied (if the previous page has not yet been appropriately mapped). The old `offset' argument in m_devget() is not used anywhere (it's always 0) and dates back to ~1995 (and earlier?) when support for ethernet trailers existed. With that support gone, it was merely collecting dust. Tested on alpha by: jlemon Partially submitted by: jlemon Reviewed by: jlemon MFC after: 3 weeks
* Fix some memory bugs with regard to jumbo buffers. I made a mistake whenwpaul2001-06-182-8/+5
| | | | | | | | | | converting from the old external mbuf buffer code to the new (with the MEXTADD() macro). Also free free list memory correctly in foo_free_jumbo_mem() routines: grab the head of the list, then remove it, _then_ free() it. This fixes the memory corruption problem I've been chasing in the level 1 driver.
* Turn TCP and UDP hardware RX checksumming back on. jlemon pointed out wherewpaul2001-06-151-3/+2
| | | | I'd gone wrong before: we have to set csum_data to 0xffff, not 0.
* Use LGE_INC() macro to increment tx producer index in lge_encap().wpaul2001-06-061-2/+3
| | | | | Disable the extra TCP/UCP checksum checking in lge_rxeof() since it doesn't appear to actually work as advertised.
* In lge_detach(), don't contigfree() the jumbogram buffer memory;wpaul2001-06-051-1/+0
| | | | lge_free_jumbo_mem() does it for us.
* Add device driver support for the Level 1 LXT1001 NetCelleratorwpaul2001-05-312-0/+2240
gigabit ethernet controller chip. This device is used on some fiber optic gigE cards from SMC, D-Link and Addtron. Jumbograms and TCP/IP checksum offload on receive are supported. Hardware VLAN filtering is not, because it doesn't play well with our existing VLAN code. Also add manual page. There is a 4.x version of this driver available at http://www.freebsd.org/~wpaul/Level1/4.x if anyone feels adventurous and wants to test it. I still need to do performance testing and tuning with this device. (For my next trick, I will make the 3Com 3cR990 sit up and beg.)
OpenPOWER on IntegriCloud