Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-31 | Some fixes for the receive filter handling. | Brad Smith | |
ok sf@ | |||
2012-10-30 | introduce specialized register read and write functions | Mike Belopuhov | |
oce_{read,write}_{cfg,csr,db} for different pci bars | |||
2012-10-30 | backout previous over the m_freem contention concerns | Mike Belopuhov | |
2012-10-30 | Bump the default number of descriptors. | Brad Smith | |
ok mikeb@ | |||
2012-10-29 | prefer to return oce_cmd and save on the error variable | Mike Belopuhov | |
2012-10-29 | shorten fwcmd to cmd | Mike Belopuhov | |
2012-10-29 | merge oce.c into if_oce.c and rename oce{reg,var}.h to if_oce{reg,var}.h | Mike Belopuhov | |
2012-10-29 | don't split mq sge paddr into low and high parts | Mike Belopuhov | |
2012-10-29 | rename oce_fw to oce_cmd and shorten MBX_SUBSYSTEM_* defines to SUBSYS_ | Mike Belopuhov | |
2012-10-29 | rearrange the function layout a bit | Mike Belopuhov | |
2012-10-29 | oce_get_fw_config is useless; ditch it | Mike Belopuhov | |
2012-10-29 | Add support for Elantech touchpads to pms(4). This allows the X synaptics(4) | Stefan Sperling | |
input driver to configure these touchpads properly, e.g. toggle tap-to-click, two-finger scrolling, edge-scrolling, etc. So far these pads were working only in PS/2 mouse compatibility mode. Support for up to hardware version 3 has been implemented. But only version 3 has been tested so versions 1 and 2 remain disabled via #ifdef notyet until someone tests (bugs in this code could seriously mess up the mouse and I don't want to end up shipping such bugs in 5.3). help and ok mpi@ shadchin@ | |||
2012-10-28 | Add braces to some code in ixgbe_setup_vlan_hw_support(). | Brad Smith | |
ok mikeb@ | |||
2012-10-27 | Implememnt AP side power saving for acx(4). Tested on acx11. | Claudio Jeker | |
With some input and OK from kettenis@ and OK sthen@ | |||
2012-10-27 | kill some unused definitions | Mike Belopuhov | |
2012-10-26 | oce_first_mcc_cmd doesn't return anything of value so make it void; | Mike Belopuhov | |
shorten it to oce_first_mcc while here | |||
2012-10-26 | simplify the way we collect statistics | Mike Belopuhov | |
2012-10-26 | remove stuff that either is no longer or was never used | Mike Belopuhov | |
2012-10-26 | cleanup oce_init_fw; use less bitfields | Mike Belopuhov | |
2012-10-26 | rename oce_config_nic_rss to oce_config_rss and merge oce_rss_itbl_init in; | Mike Belopuhov | |
cleanup oce_set_promisc and oce_config_vlan function arguments, a bunch of defines and prototypes while at it. | |||
2012-10-25 | make oce_mbox_{dispatch,wait} more readable and use less bitfields | Mike Belopuhov | |
2012-10-25 | simplify/unify writes to the rx and tx doorbell registers | Mike Belopuhov | |
2012-10-25 | don't use bitfields in oce_pci_alloc; kill some unused structures | Mike Belopuhov | |
2012-10-25 | cleanup interrupt register defines | Mike Belopuhov | |
2012-10-25 | Fix a hilarious bug where oce_set_promisc wouldn't zero out the | Mike Belopuhov | |
command buffer it sent to the card but an incorrect assignment of the DMA address pointing to this buffer would offset the problem. Once I've fixed an incorrect assignment oce_init started to fail. Turns out that oce_set_promisc is about the only function whose command size is larger than the payload of the standard command buffer and needs an external chunk of DMA memory. | |||
2012-10-25 | simplify oce_arm_eq and oce_arm_cq | Mike Belopuhov | |
2012-10-22 | - Provide flow control status | Brad Smith | |
- Use ANAR_PAUSE_TOWARDS define - Only advertise flow control if the MAC sets MIIF_DOPAUSE ok jsg@ | |||
2012-10-22 | Add flow control support. | Brad Smith | |
ok jsg@ | |||
2012-10-22 | Provide flow control status. | Brad Smith | |
ok jsg@ | |||
2012-10-22 | Add flow control support. | Brad Smith | |
Tested with Apple/Sun gem(4) with and without flow control (Sun ERI/Apple GEM with FastE PHY). ok kettenis@ | |||
2012-10-22 | Rewrite the receive filter handling code and cleanup the ioctl bits. | Brad Smith | |
Tested by and ok stsp@ | |||
2012-10-22 | Fix the multicast filter full size check. | Brad Smith | |
ok mikeb@ | |||
2012-10-21 | repair pci powerstate handling. The extra timeouts were not needed. | Theo de Raadt | |
Furthermore, all the extra powering up and down caused resumes to not work. ok ratchov | |||
2012-10-20 | driver xxactivate() functins are run even if a driver xxattach() has | Theo de Raadt | |
"failed"; no indication is given up to the autoconf framework since xxattach() returns void. Until this situation is improved, there are a handful of drivers which must use driver-specific checks in xxactivate() to see if the xxattach() function succeeded or failed. Add such a check here. ok kettenis | |||
2012-10-20 | Implement transmit DMA segments. The descriptor usage is from FreeBSD, | Chris Cappuccio | |
which contradicts the datasheet (but actually works). Also, use a segment (instead of a new mbuf and data copy) to zero-pad small packets, modeled after if_myx. ok sthen@, gerhard@, henning@ | |||
2012-10-20 | Init values for the AR9485 were for version 1.0 of this chip, which according | Stefan Sperling | |
to Atheros Linux developers was never sold. So update initvals to what Linux is using for the 1.1 generation. Because the serdes values are written to different registers on the AR9485 this involves tweaking the serdes init code for all athn(4) chip families. This commit doesn't make AR9485 devices work yet but is a step in the right direction. Tested by krw, kettenis, and Andrew Ngo. ok kettenis@ | |||
2012-10-20 | Fix hardware kill switch detection for the ar9300 chip family. The driver was | Stefan Sperling | |
checking the wrong bits of eeprom to determine rfkill switch pin and polarity, and was reading the wrong register to determine rfkill gpio pin state. ok kettenis@ | |||
2012-10-19 | andre.s@list.ru has a laptop which does not bring the azalia out of | Theo de Raadt | |
D3 state, so the attach funciton must do this. ok kettenis | |||
2012-10-19 | small cleanups and output prettying | Theo de Raadt | |
ok yuo matthieu | |||
2012-10-19 | Simplify xl_iff_90x() a bit and only check ac->ac_multicnt since ac_multicnt | Brad Smith | |
is also bumped for multicast ranges. ok mikeb@ | |||
2012-10-18 | Convert a number of old private copies of code which predates | Theo de Raadt | |
pci_set_powerstate() to using it instead. Many of these chunks of code had bugs in them, especially missing delay() calls. Some of them were doing things our PCI subsystem is now responsible for handling. If you have any of the affected devices, please keep an eye out for regressions. ok kettenis | |||
2012-10-18 | Use pci_set_powerstate() unconditionally for all chip variants, rather | Theo de Raadt | |
than a kludged together chunk of code for just one chip, which happens to be entirely wrong. We need to watch for regressions on cardbus, though. ok kettenis | |||
2012-10-18 | make oce_arm_{eq,cq} functions look like the other queue | Mike Belopuhov | |
manupulation functions in this file; do some minor style cleanup while here. | |||
2012-10-17 | Swap arguments to wdog_register() since it is nicer, and prepare | Theo de Raadt | |
wdog_shutdown() for external usage. | |||
2012-10-17 | Narrow the spltty/splx pair in com_activate to only enclose the minimum | Theo de Raadt | |
operation which requires it. | |||
2012-10-17 | cleanup more of the driver soft-state when suspending; in certain | Theo de Raadt | |
async operational modes a timeout and some requests on a queue were still active helps a machine mlarkin has ok miod shadchin mlarkin | |||
2012-10-17 | AH_BYTE_ORDER and AH_BIG_ENDIAN are holdovers from the old FreeBSD | Jonathan Gray | |
code, we test but don't define them. Replace with _BYTE_ORDER and _BIG_ENDIAN to make the iv show up properly for big endian bpf consumers. ok stsp@ reyk@ | |||
2012-10-17 | #if NWSDISPLAY > 0 not #if WSDISPLAY > 0 | Jonathan Gray | |
ok miod@ | |||
2012-10-16 | Remove uneeded <net/bpf.h> include which was never used as it | Jonathan Gray | |
was protected by #if NBPFILTER > 0 and "bpfilter.h" wasn't included. | |||
2012-10-15 | eliminate a couple of gotos | Mike Belopuhov | |