Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-29 | properly update RT2860_TX_RTS_CFG | Damien Bergamini | |
2008-12-29 | move the 802.11 header out of the TXWI structure. | Damien Bergamini | |
add some definitions for RT2870/RT3070. | |||
2008-12-22 | I swapped MGETHDR arguments in my m_defrag removal commit. | Damien Bergamini | |
2008-12-21 | Undo m_defrag(). | Damien Bergamini | |
m_defrag() does not work. It seems to assume that if the length of the mbuf passed as parameter is less than MHLEN, then it is an mbuf header and not a cluster (or something like that.) It thus fails miserably in the bcopy path. I don't have the time to investigate further into this. Thanks to Okan Demirmen for reporting the issue on a ral(4) RT2560. The RT2560 chipset does not support TX scatter and thus m_defrag() was called much more often than in other drivers using m_defrag() where it was less noticeable. | |||
2008-12-15 | in rt2860_rx_intr(), rely on RT2860_FS_DRX_IDX instead of the RX_DMA DDONE | Damien Bergamini | |
bit to know when to stop. | |||
2008-12-14 | Switch gem(4) over to using MCLGETI when allocating mbufs for the rx ring. | Mark Kettenis | |
help from dlg@, tested by a few, ok dlg@ | |||
2008-12-14 | Disable TX_DMA writing back DDONE into TXD. | Damien Bergamini | |
Some micro-optimizations while I'm here. | |||
2008-12-14 | - properly handle RT2860_TX_RX_COHERENT interrupts. | Damien Bergamini | |
- update ic_dtim_count and make use of the new ieee80211_notify_dtim function. - add explicit barriers. - cleanup as usual. | |||
2008-12-13 | use the hardware general-purpose timer interrupt instead of timeout(9). | Damien Bergamini | |
clean up the ctl_ridx mess. | |||
2008-12-13 | clear the WCID, pairwise keys, shared keys, IV/EIV tables in NIC memory | Damien Bergamini | |
*after* resetting the hardware. otherwise the tables contain garbage. should fix most of the weird issues people were facing. scary. | |||
2008-12-12 | fix a bug that slipped through my last commit. | Damien Bergamini | |
2008-12-12 | - fix HW crypto using group keys (this should fix the "ExtIV bit not set" | Damien Bergamini | |
logged by some WPA supplicants when connecting to a ral(4) WPA AP.) - get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs duration for all rates at node association time.) - lot of clean up, prepare for future enhancements | |||
2008-12-10 | Replace m_free() with m_freem() in foo_start() to ensure that upon error | Brad Smith | |
the full mbuf chain is freed. ok claudio@ kettenis@ | |||
2008-11-30 | Add initial 8168D/8111D support. | Brad Smith | |
2008-11-29 | Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from his | Ray Lai | |
licenses as well. Thanks! "Groovy" deraadt | |||
2008-11-28 | Eliminate the redundant bits of code for MTU and multicast handling | Brad Smith | |
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@ | |||
2008-11-26 | Stop maintaining internal queues of received scsi_xfer structures. | Kenneth R Westerback | |
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers. "Please do so" deraadt@ | |||
2008-11-26 | Use m_defrag instead of collapsing mbufs ourselves. | Mark Kettenis | |
ok dlg@ | |||
2008-11-26 | dont have bpf.h expose the kernel ticks variable wherever it is includeing. | David Gwynne | |
it is very confusing like this. ok deraadt@ canacar@ | |||
2008-11-26 | Stop maintaining internal queues of received scsi_xfer structures. | Kenneth R Westerback | |
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers. | |||
2008-11-26 | Stop maintaining internal queues of received scsi_xfer structures. | Kenneth R Westerback | |
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers. | |||
2008-11-26 | Use bus_dmamap_load_mbuf instead of loading mbuf fragments ourselves, and | Mark Kettenis | |
use m_defrag to linearize packets that don't fit in 16 segments. ok claudio@ | |||
2008-11-25 | use shiny new m_defrag() and nitems() instead of rolling our own. | Damien Bergamini | |
2008-11-25 | dontqueue is set but never used. garbage collect it. | Kenneth R Westerback | |
2008-11-24 | die die die | Theo de Raadt | |
2008-11-24 | Return NO_CCB instead of TRY_AGAIN_LATER when ccb's run out. | Kenneth R Westerback | |
"I'm all for it." marco@ "Yeah" deraadt@ | |||
2008-11-23 | pccom can finally die; ok kettenis dlg drahn, tested by okan | Theo de Raadt | |
2008-11-23 | enable bio | Marco Peereboom | |
ok dlg | |||
2008-11-23 | sizeofa -> nitems | David Gwynne | |
2008-11-23 | sizeofa is now nitems in param.h, so dont declare my own in mpi.c it was | David Gwynne | |
unused there anyway. use nitems in mpi_pci_match. | |||
2008-11-23 | Don't use ifp->if_xname if you can use the sc_dev.dv_xname instead. | Claudio Jeker | |
Removes some unneeded ifp pointers from the stack and don't assign ifp->if_softc twice in the same function. | |||
2008-11-19 | Make sure to check that the TX queue is empty before clearing the | Brad Smith | |
watchdog timer. From FreeBSD Tested on quite a few 3c905/B/C/575 adapters. | |||
2008-11-19 | Do not reset TX threshold value whenever xl_init() is called. Instead | Brad Smith | |
the initial threshould is initialized at device attach. Later the threshold could be increased if encountering a TX underrun error and the new threshold should be used in xl_init(). From FreeBSD Tested on quite a few 3c905/B/C/575 adapters. | |||
2008-11-18 | Remove dup proto from <alexey.suslikov@gmail.com> | Marco Peereboom | |
2008-11-17 | Sprinkle a few more tabs. | Brad Smith | |
2008-11-17 | NETBSD -> OPENBSD in #endif comment. | Kenneth R Westerback | |
2008-11-17 | Use new isp_library.c rather than isp_inline.h. No functional change. | Kenneth R Westerback | |
Tested by naddy@. 'go for it' marco@ | |||
2008-11-16 | Add new style replacement for isp_inline.h. | Kenneth R Westerback | |
2008-11-14 | Revert the reduction in the delays in the miibus read/write routines, | Christian Weisgerber | |
which broke on-board RTL8111C adapters. | |||
2008-11-10 | remove unused variable 'error' from two functions; llvm/clang; ok dlg | Constantine A. Murenin | |
2008-11-09 | Introduce bpf_mtap_ether(), which for the benefit of bpf listeners | Christian Weisgerber | |
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@ | |||
2008-11-08 | Reduce the delay's a bit in the miibus read/write routines. | Brad Smith | |
Based on the Linux r8169 driver. Tested on PCI/CardBus and PCIe adapters. | |||
2008-11-08 | Reduce the number of TX descriptors to 512, such a large number is not | Brad Smith | |
necessary without TSO. | |||
2008-11-07 | Try recollecting RX/TX descriptors if we are going to switch back to TX/RX | Brad Smith | |
interrupts. There seems to be a race between turning on TX/RX interrupt and asserting TX/RX interrupt by the hardware. From Sephe@DragonFly | |||
2008-11-07 | Simplify the interface flag handling in the ioctl handler. | Brad Smith | |
2008-11-07 | Remove storing the Ethernet header in the receve interrupt handler, the | Brad Smith | |
disabled code that used to use this was removed 7 years ago. | |||
2008-11-07 | Add more initialisation steps (read reset register; pause; set burst size | Brad Smith | |
in config register). From NetBSD | |||
2008-11-07 | - According to the Apple GMAC driver, the GEM ASIC specification and | Brad Smith | |
the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order to avoid TX underruns. - Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. - Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. From FreeBSD Tested by a few users with Apple GMAC's and Sun ERI. | |||
2008-11-03 | Don't attach bio unless we do RAID. | Marco Peereboom | |
2008-11-02 | Start updating isp. Just new defines, comments, whitespace, anything that | Kenneth R Westerback | |
doesn't change the .o. Use isp_stds.h. |