summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
...
* set IFF_OACTIVE to avoid hangs when the tx ring fills upkmacy2007-05-272-0/+10
|
* A careful reading of the disclaimer that is required to download theimp2007-05-268-0/+216
| | | | | | | | | SD Simplified specification, as well as other SD and SDIO implemenations I've examined, suggest this disclaimer may be required. It is unclear to me exactly what the license would be for, or why it might be required. Err on the side of caution and include this disclaimer so anybody deploying this code can judge for themselves. I have no further unformation about the details.
* - Use m_getcl() rather than m_getjcl() when we're allocating 2KBgallatin2007-05-251-1/+10
| | | | | | | | | clusters. This helps quite a bit on my low end machines (improves performance by about 300Kpps when being blasted by a hardware packet generator). - Include one extended f/w counter forgotten in earlier commit Sponsored by: Myricom Inc.
* add missed headerkmacy2007-05-251-0/+148
|
* update license headerskmacy2007-05-252-6/+6
|
* add toe device header missed by previous commitkmacy2007-05-251-0/+172
|
* Make the comparsion more obvious.delphij2007-05-251-1/+2
|
* (MFp4)kmacy2007-05-2521-1111/+4903
| | | | | | | | | | - upgrade to reflect state of 1.0.0.86 - move from firmware rev 3.2 to 4.0.0 - import driver bits for offload functionality - remove binary distribution clause from top level files as it runs counter to the intent of purely supporting the hardware MFC after: 3 days
* Add a sysctl, 'debug.acpi.suspend_bounce', that causes the system to bouncenjl2007-05-251-0/+8
| | | | | | | | | back in a simulated resume instead of entering the requested suspend state. This helps in testing drivers separately from the acpi suspend code. To test your drivers, set debug.acpi.suspend_bounce=1 and then run acpiconf -s3 (or 4). MFC after: 1 day
* Include stand.h for loader.simokawa2007-05-251-0/+3
| | | | MFC after: 3 days
* Fix for PR 112937, thanks to Ruslan Ermilov. I am stilljfv2007-05-241-1/+0
| | | | | | a bit confused how the 'link flap' was connected to the 'get' rather than 'set' address, but this seems the right thing to do here.
* Two minor fixes, keep old 82542 from using jumbo frames, and addjfv2007-05-231-2/+3
| | | | | | | missing htole64 in encap code. Reviewed by:Pdeuskar Approved by:Pdeuskar
* Add support for "hardware" vlan tag insertion & removal emulationgallatin2007-05-232-34/+131
| | | | | in the mxge driver so as to be able to do checksum offload on vlans. This is good enough to achieve 10GbE line rate on vlans.
* Fix a typo in pcib_alloc_msi{x} which resulted in thegallatin2007-05-231-2/+2
| | | | | | | | | | device's, not the bridge's, softc to be used to check the PCIB_DISABLE_MSI flag. This resulted in randomly allowing or denying MSI interrupts based on whatever value the driver happened to store at sizeof(device_t) bytes into its softc. I noticed this when I stopped getting MSI interrupts after slighly re-arranging mxge's softc yesterday.
* Remove an empty line.jkim2007-05-221-1/+0
|
* Remove BCM5704S specific tunable (hw.bge.fake_autoneg) andjkim2007-05-221-15/+13
| | | | auto-detect the condition.
* Rearrange DMA read/write control register settings based on document snippetjkim2007-05-222-46/+45
| | | | | | provided by davidch via glebius. PR: kern/96806
* Remove stale alpha support code.jkim2007-05-221-11/+0
|
* Fix time out check in EEPROM read and move delays to give some settle time.jkim2007-05-221-11/+12
| | | | Submitted by: mjacob
* Add delays in MI communication register R/W loops.jkim2007-05-221-0/+2
|
* mxge cleanups:gallatin2007-05-222-117/+93
| | | | | | | | | | | | | | | | | | | | | | - Remove code to use the special wc_fifo. It has been disabled by default in our other drivers as it actually slows down transmit by a small amount - Dynamically determine the amount of space required for the rx_done ring rather than hardcoding it. - Compute the number of tx descriptors we are willing to transmit per frame as the minimum of 128 or 1/4 the tx ring size. - Fix a typo in the tx dma tag setup which could lead to unnecessary defragging of TSO packets (and potentially even dropping TSO packets due to EFBIG being returned). - Add a counter to keep track of how many times we've needed to defragment a frame. It should always be zero. - Export new extended f/w counters via sysctl Sponsored by: Myricom, Inc.
* Improve mxge receive performance:gallatin2007-05-216-2216/+2717
| | | | | | | | | | | | | | | - Update to the latest (1.4.18) f/w. This f/w introduces a new receive mode which allows us to use FreeBSD's physically discontinuous MJUM9BYTES clusters. - Switch the driver from chaining MJUMPAGESIZE clusters to using MJUM9BYTES clusters to avoid mbuf chaining overheads. Due to this change, people running obsolete f/w images will be limited to an MTU of PAGE_SIZE - 16. - Add (disabled by default) support for Large Receive Offload. Sponsored by: Myricom, Inc.
* Make sure fwsid is not NULL.simokawa2007-05-211-1/+3
| | | | MFC after: 3 days
* Perhaps a better fix- make the called function do the (possible never reached)mjacob2007-05-211-8/+11
| | | | | | initialization. Do a token amount of style cleanup. Poked by: bde
* MFp4: Simplify the bus probe routin using a kthread.simokawa2007-05-212-349/+237
| | | | MFC after: 1 week
* Initialize irql to something prior to calls that (might) set it.mjacob2007-05-201-1/+1
| | | | Whined about: gcc 4.2
* Make gcc 4.2 happy by initiatlizing controller && channel priormjacob2007-05-201-1/+1
| | | | | | to a call to a function which *might* then initialize them. MFC after: 3 days
* Increase size of timer counter bitfield to accomodate the actual size of themjacob2007-05-201-1/+1
| | | | | | | | default timer value. Discovered By: gcc 4.2 MFC after: 3 days
* Fix randomly broken playback with Fortemedia FM801 XWave PCI soundcard.joel2007-05-191-8/+9
| | | | | | PR: kern/98898 Submitted by: Johannes Weiner <hnazfoo@googlemail.com> Approved by: ariff
* Turn off the AK452X De-emphasis filter for 44.1KHz. This should fix somejoel2007-05-192-2/+2
| | | | | | | | | sound quality problems. PR: kern/112688 Submitted by: Stefan Ehmann <shoesoft@gmx.net> Reviewed by: Konstantin Dimitrov <kosio.dimitrov@gmail.com> Approved by: ariff
* Fix detection of PC-9821 V166 internal sound card.joel2007-05-191-1/+1
| | | | | | PR: kern/105600 Submitted by: rotus <rotus@takamanohara.dyndns.org> Approved by: ariff
* Minor update to version 3.70.03.007scottl2007-05-192-2/+2
|
* Remove local static redefinition of ucom_devclass.kan2007-05-191-2/+0
|
* The HP Diva RMP3 uses BAR 0x14.marcel2007-05-171-1/+1
|
* Couple of changes, back down on last TSO change, instead make oldjfv2007-05-172-8/+31
| | | | | | | | | | | adapter list still capable, but only PCI-E adapters are now enabled. The user can enable older PCI-X or PCI adapters using ifconfig. Secondly, Arthur Hartwig pointed out my MSI change was not working correctly, changed to something that now does. Thanks Arthur. There was also a fundamental bug in the 82575 MSIX code, the MSIX registers had to be mapped, opps :) Rubber-stamped by: Pdeuskar
* Don't completely skip pci_cfg_save() in the PCI nomatch routine ifjhb2007-05-161-3/+1
| | | | | | | | the power_nodriver tunable is off. pci_cfg_save() already checks the tunable internally, and no other callers of pci_cfg_save() check the tunable. Reviewed by: imp
* Fix interrupt routing for some cards after the previous fix to clear BARsjhb2007-05-161-6/+7
| | | | | | | in cardbus cards: update the saved copy of the PCIR_INTLINE register in the PCI ivars in addition to the actual register. Reviewed by: imp
* - Added TSO supportdavidch2007-05-163-3485/+6212
| | | | | | | | | | | | - Updated firmware to latest release (v3.4.8) to fix TSO + jumbo frame lockup - Added MSI (hw.bce.msi_enable) and TSO (hw.bce.tso_enable) sysctls - Fixed kernel panic when MSI is used and module is unloaded - Added several new debug routines - Removed slack space for RX/TX chains since it only covers sloppy coding - Fixed a potential problem when programming jumbo MTU size in hardware - Various other comment changes MFC after: 4 weeks
* Write 0 to all the bars in cardbus_cardbus_setup_regs. This is neededimp2007-05-161-19/+18
| | | | | | | | because on at least my dc based cards there's garbage in there. The recent changes in the resource code appears to have unmasked this problem... At least dc now probes/attaches better than it did before. Also, we no longer need to write to the cfg for the other registers.
* o Don't hold lock over bus_teardown_intr when we're waiting for theimp2007-05-161-5/+3
| | | | | | thread to die, since that can cause deadlock with the ISR (in theory). o Minor cleanup o comment nit
* Better message on cbb resource alloc failureimp2007-05-161-1/+1
|
* Change PCIM_CIS_ASI_TUPLE to _CONFIG.imp2007-05-162-4/+6
| | | | | | Add PCI_MAX_BAR_0 minor style nit. Add PCIM_CIS_CONFIG_MASK
* Add some doxygen docs for pci_cfg_{save,restore}.imp2007-05-161-0/+10
|
* Catch up to driver changes required for the mfip sub-driver.scottl2007-05-163-4/+27
|
* Add the 'mfip' sub-driver for gaining SCSI-passthrough access to devicesscottl2007-05-161-0/+389
| | | | on an MFI controller.
* Fix a logic bug added in last commit where PNP0103 devices would no longernjl2007-05-161-17/+22
| | | | | | be probed but table-based devs would be ok. General style cleanup also. MFC after: 5 days
* This delta adds two bug fixes: one that makes HW Offload logic injfv2007-05-1630-989/+863
| | | | | | | | | | legacy codepath match the 82575, without this we were seeing bridging fail on 82546 adapters. Secondly, I have limited TSO to PCI Express adapters, I meant to do this and it got dropped in the earlier delta. Next, I am dropping in the latest shared code from our development team, consensus was that this should be done frequently, so I am :) Approved by: pdeuskar
* Add ACPI HPET table support.takawata2007-05-153-2/+42
| | | | Reviewed by:njl
* First cut at making detach work. also add sdh as a possible mmc bridge.imp2007-05-152-10/+65
| | | | | Submitted by: Andrea Bittau (Andrea may have updated patches, but I've tested these)
* Don't need mmc_mode ivarimp2007-05-151-2/+0
|
OpenPOWER on IntegriCloud