summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* add copyright notice to something I wrote that didn't have oneimp2005-01-061-1/+1
|
* Fix KASSERT inversion that was introduced in 1.150, resulting in instantkeramida2005-01-051-1/+1
| | | | | | panic curlen != 0, which is perfectly normal. Approved by: mux
* Add support for Chase/Perle PCI FAST-4 4 port serial cards which appearwilko2005-01-051-0/+36
| | | | | | | | | to be the same as Boca Research Turbo Serial 654 (4 serial port). While add the 8 port variants as well. Submitted by: sten@blinkenlights.nl PR: kern/75793 MFC after: 1 week
* Changes corresponding to the 9.1.5.2 release of twa on the 3ware website.vkashyap2005-01-058-19555/+22218
| | | | | | | | | | | | The main changes are: 1. Use of multiple bus dma tags. 2. Timing of CAM requests by the driver. 3, Firmware interface change relating to retrieving AEN's. 4. Removal of twa_intrhook. 5. Bundling of latest firmware with BBU capability. Reviewed by:re Approved by:re
* Add needed synchronization to the error handling code that was introducedalc2005-01-051-0/+6
| | | | | | in revision 1.141. Lock assertion failures reported by: Kris Kennaway
* Fix comment. One of the two "Step 4" shuold be a "step 5"julian2005-01-051-1/+1
|
* Disable checksum offloading by default. It seems to produce corrupted packetscognet2005-01-051-2/+2
| | | | | | | with some revisions of the chip (particularly when using multiple TX descriptors). MFC after: 1 week
* Allow fxp(4) cards with a revision id of 0 to use the 82503 serialmux2005-01-041-1/+1
| | | | | | | | | interface as well. This is not an expected revision id per the datasheet, but unfortunately there are such cards out there with a 82557 chipset, and they want to use the 82503. PR: kern/75739 Reported by: Andre Albsmeier <andre.albsmeier@siemens.com>
* return after freeing data element, instead of falling through, and usingjmg2005-01-041-0/+1
| | | | | | the free'd element, and ultimate NULL deref of the failed allocation. MFC after: 1 week
* Reduce diffs to work in progress before checking in serious changes.philip2005-01-031-19/+20
| | | | | | | | | | | | | | | | o Move the sysctls under debug.psm.* and hw.psm.* making them a bit clearer and more consistent with other drivers. o Remove the debug.psm_soft_timeout sysctl. It was introduced many moons ago in r1.64 but never referenced anywhere. o Introduce hw.psm.tap_threshold and hw.psm.tap_timeout to control the behaviour of taps on touchpads. People might like to fiddle with these if tapping seems to slow or too fast for them. o Add debug.psm.loglevel as a tunable so that verbosity can be set easily at boot-time (to watch probes and such) without having to compile a kernel with options PSM_DEBUG=N.
* Remove comment that doesn't seem to be true and add comments describingjulian2005-01-031-17/+16
| | | | | | what is going on, to replace it. Slight formatting changes Code here is alredy different to NetBSD. MFC after: 1 week
* A much simpler way to work out if the required transfer can be done in 2julian2005-01-031-3/+2
| | | | | | scatter gather segments. MFC after: 1 week
* Add support for the Pixelview PlayTVjulian2005-01-022-1/+14
| | | | | | PR: 68362 Submitted by: Carl Makin <carl@stagecraft.cx> MFC after: 1 week
* In re_detach(), remove an extra call to ether_ifdetach().cognet2005-01-021-1/+0
| | | | | | This fixes a panic that occurs when unloading the kernel module. MFC after: 3 days
* Corrected a workaround that should only be applied to one adapter. Workaroundtackerman2005-01-011-2/+14
| | | | | | was causing device hangs when incorrectly applied to other adapters. PR: kern/66634
* Added device id support for Intel 82541ER and 82546GB dual port PCIE adapter.tackerman2005-01-011-0/+2
| | | | PR: None
* Further update to the Promise code.sos2005-01-011-39/+70
| | | | Support should now cover all old and current products.
* Attempt to fix Symbios driver on amd64. The private memory allocationse2005-01-011-0/+10
| | | | | | | | | | | | | | function provided by the driver limits allocations to the page size, i.e. 4KB on i385 and 8KB on typical 64 bit processors. Since amd64 has 64 bit pointers, but only 4KB pages, an array of pointers that just fits into one page on all the other processors, does require 2 pages on amd64. In order to make this driver useful on amd64, the allocation unit has been increased to 2 pages on amd64 and contigmalloc() is used instead of malloc(). All other processor types are unaffected by this change. This modification has only been compile-tested on amd64, yet, but should just work (FLW).
* Eliminate some of the egregious bypass of the 802.11 statesam2005-01-011-18/+20
| | | | | | machine; instead use the intended entry points. There's still too much incestuous knowledge about the internals of the 802.11 layer but this at least fixes adhoc mode.
* Fix last second typos that crept in :-(.imp2004-12-311-2/+2
|
* bump copyright for 2005sam2004-12-319-9/+9
|
* Implement mimimum system software delays, per PCI PM 1.1 spec, asimp2004-12-311-38/+55
| | | | | | suggested by Peter Edwards. This seems to fix my fxp problems and likely will fix his as well. Use DELAY rather than *sleep because we can be called from any context.
* correct some typossam2004-12-311-4/+4
| | | | Submitted by: Tai-hwa Liang
* Radiotap fixups:sam2004-12-312-21/+69
| | | | | | | | | | | | | | | | | o catch one place where we were not using ath_chan_change to switch channels; this fixes a problem where the channel settings were not being correctly reported in captured packets o return unique channel identification in the channel flags; ethereal gets confused if you return merged flags (e.g. ofdm, cck, and 2Ghz) (this is workaround and should be removed if we can ever cleanup radiotap consumers) o correct short/long preamble flag state for rx and treat tx the same--use a new hwflags array that gives us the data based on the h/w rate index/cookie o add gross hack to handle radiotap capture of frames that come in with hardware padding; should be replaced by a flag in the radiotap header and more smarts in the apps that decode radiotap data
* for parts that require split keycache entries report thesam2004-12-311-1/+4
| | | | | the index of the first entry on a mic error so we're consistent with parts that don't have split keycache
* Correct beacon timer setup logic:sam2004-12-311-15/+14
| | | | | | | | | | | o lintval is in ms; must convert to TU's for passing to the hal o roundup to calculate nexttbtt (should look at current tsf and pull the calculated nextbtt forward but this'll do for now) o don't or- in HAL_BEACON_RESET_TSF when doing station timer setup; this is not needed and messes up the sleep timer calcs, though it's unclear if it mattered as the hal masks these values before use Submitted by: Thorsten von Eicken
* no need to sweep the tx q's for node references in ath_node_free; we knowsam2004-12-311-29/+0
| | | | there are none since we're only called when the ref count goes to zero
* cleanup some assertionssam2004-12-311-12/+6
|
* First pass at shortening names. Likely more can be done. Generallyimp2004-12-311-88/+88
| | | | prefer ethernet and serial to \1 adapter.
* Eliminate the redundant/verbose portion of the company names.imp2004-12-311-195/+195
| | | | | | | Generally omit semiconductor, electronics, inc, corp, pny, ltd and the like. This saves almost 3k for the usb module.
* Finish merging usb vendors from NetBSD.imp2004-12-311-6/+45
|
* Roger is away, note that his maintainership isjulian2004-12-311-1/+4
| | | | | | on vacation until he gets back. (hopefully next year) Submitted by: linimon
* Stop explicitly touching td_base_pri outside of the scheduler and simplyjhb2004-12-301-1/+4
| | | | | set a thread's priority via sched_prio() when that is the desired action. The schedulers will start managing td_base_pri internally shortly.
* [1] Remove the generic bridge support from those drivers that had it. Theanholt2004-12-304-15/+55
| | | | | | | | | | | generic bridge support was biting us more than it helped, whenever a new chipset came out from a vendor and misprogramming it caused strange hangs or corruption. [2] Add a large number of PCI IDs based on what the linux drivers support. Note that the new PCI IDs haven't been tested, they're just *likely* to work. In particular the VIA AGP 8x chipsets are concerning, due to lack of testing, possible issues (kern/69953), and not having a nice "does this bridge say it would do 8x" function. However, this shouldn't make the situation worse, since these chips would have probed in the past anyway.
* Don't call ugen_destroy_devnodes(). it is called from ugen_set_config()julian2004-12-291-3/+0
| | | | | | | which is the very next line. Submitted by: stefanf MFC after: 3 days
* Move WINBOND 4 port hub to its proper location in the file. It belongsimp2004-12-291-1/+3
| | | | | in a section of its own, not arbitrarily grouped in the hawking section just because hawking sells it...
* Add the Winbond made Hawking UH104 4-port hub.obrien2004-12-291-0/+6
| | | | Add a note where to find the offical USB assigned numbers.
* Rewrite ehci_abort_xfer() to use the method hinted at in the EHCI spec.julian2004-12-292-45/+108
| | | | | | | | | | | | | to remove a transaction from the async schedule. The previous method didn't work well and led to the hardware writing to free'd buffers etc, as it didn't always know that the transaction had been aborted. Written after consultation with David Brownell who wrote the Linux EHCI driver. As part of this give the sqh structure a "previous" pointer. MFC after: 1 week
* Pass an explicit pointer to the bus structure in the 'usb' device ivarjb2004-12-283-3/+3
| | | | | | | | rather than a softc pointer (with the bus structure at the start). This is a non-functional change. It just helps when reading the code to know that the ehci, ohci and uhci drivers share the bus structure, not the entire softc.
* Don't probe for a disk unless explicitly enabled by a tunable.grehan2004-12-281-0/+6
| | | | | | | | | This allows boot to proceed on a real system until the issue of calling back into certain OpenFirmware calls (e.g. finddevice) in thread context is understood. (this commit only affects psim users, of which I think I am the only one...)
* Rewrite piece of code which I committed some time ago that allows topjd2004-12-271-10/+8
| | | | | | | | | show file name for 'mdconfig -l -u <x>' command. This allows to preserve API/ABI compatibility with version 0 (that's why I changed version number back to 0) and will allow to merge this change to RELENG_5. MFC after: 5 days
* Remove duplicate CHPRODUCTS entry.imp2004-12-271-3/+2
| | | | Use tab religiously in the vendor section.
* Minor cleanup: Reduce stack usage in probe method. Outdent probe. Usenjl2004-12-271-41/+38
| | | | TRUE/FALSE instead of 1/0 for booleans. Remove trailing and extra whitespace.
* Remove trailing whitespace.njl2004-12-276-10/+10
|
* More minor diff reduction against netbsd:imp2004-12-261-4/+5
| | | | | | | ADVANCELOGIC->AVANCELOGIC (nothing in the tree uses it, so safe to do) sort HAGIWARA vendor entry sort ACTIONTAR vendor entry Minor change to SYSTEMTALKS vendor entry.
* Minor merges from NetBSD (up through 1.388):imp2004-12-261-27/+36
| | | | | | | | | | | | | | | | Add $NetBSD$ in a comment at the top Update copyright dates Update header comment Add some of the entries not present in FreeBSD's usbdevs file Harmonize some descriptions with NetBSD where NetBSD's were shorter More work needs to happen here, as there's many conflicting vendor names. There's also more harmonization that can happen before that problem is tackled. This was inspired by recent discussions, but none of the patches posted were consulted to produce this commit. Other, similar ones will follow.
* Allow selection of a recording source on USB audio devices.julian2004-12-253-8/+95
| | | | | | | PR: 75316 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD plus changes MFC after: 2 weeks
* Allow recording on at least some USB audio devices.julian2004-12-253-2/+73
| | | | | | | PR: 75311 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD plus changes MFC after: 2 weeks
* Allow volume control on more channels/inputsjulian2004-12-251-18/+129
| | | | | | | PR: 75276 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD with changes MFC after: 2 weeks
* MFNetBSD:julian2004-12-254-724/+1762
| | | | | | | | | | One of a set of patches submitted by Kazuhito HONDA to make the usb audio driver a lot more capable. PR: 75274 Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot jp) Obtained from: NetBSD (indirectly) MFC after: 2 weeks
OpenPOWER on IntegriCloud