summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Remove PAO3 dependent part.non2001-11-039-344/+0
| | | | This will not affect either -current nor -stable.
* No FreeBSD/vax here either.peter2001-11-031-1/+1
|
* Add Id for 82801CA (ICH3?). The ich driver seems to work fine on thepeter2001-11-031-1/+5
| | | | laptop that had it.
* Add ICH3 (82801CA/CAM) and 460GXpeter2001-11-031-0/+24
|
* allocrqg: Don't ever try to write to a NULL pointer.grog2001-11-031-1/+1
| | | | Reported by: Jeff Roberson <jeff@midstream.com>
* Emit a warning if the mbuf or mbuf cluster allocation failed.jlemon2001-11-021-0/+4
| | | | Requested by: Mike Barcroft
* Oops, deleted wrong BIF acquisition timeout invocation by mistakeiwasaki2001-11-011-1/+1
| | | | | | in my previous commit. acpi_cmbat_get_bif() from taskqueue calls acpi_cmbat_timeout() so it's better for startup.
* Always compile in bridge hooks, or this code will not work (efficiently) withluigi2001-11-011-8/+4
| | | | the loadable bridge module.
* Some fix for the recent apm module changes.iwasaki2001-11-012-12/+77
| | | | | | | | | | | | | | - Now that apm loadable module can inform its existence to other kernel components (e.g. i386/isa/clock.c:startrtclock()'s TCS hack). - Exchange priority of SI_SUB_CPU and SI_SUB_KLD for above purpose. - Add simple arbitration mechanism for APM vs. ACPI. This prevents the kernel enables both of them. - Remove obsolete `#ifdef DEV_APM' related code. - Add abstracted interface for Powermanagement operations. Public apm(4) functions, such as apm_suspend(), should be replaced new interfaces. Currently only power_pm_suspend (successor of apm_suspend) is implemented. Reviewed by: peter, arch@ and audit@
* Add the TGA video driver. This is a great accomplishtment and will helpobrien2001-11-0110-716/+9539
| | | | | | | | us a lot on older Alphas. Andrew Gallatin, Thomas V. Crimi, and Peter Jeremy contributed to this work along with the submitter. Submitted by: Andrew M. Miklic <miklic@home.com>
* Use devclass_find_free_unit() in ata_pci_add_child() because no moreache2001-11-011-1/+2
| | | | | implicit auto-scanning up present in device_add_child(). Functionally it is fully equivalent to old code.
* Fix obvious bug where return from probe was botched.asmodai2001-10-311-1/+1
| | | | | | | People with HP PCLAN+ NICs can now happily use the card again PR: 21087 Submitted by: M. B. Buchanan <buchanan@orbitworld.net>
* Put a Band-Aid over the asr driver so that it hopefully won't causescottl2001-10-301-0/+2
| | | | panics until the author comes up with a real fix.
* Style(9) fix, mainly white spaces.iwasaki2001-10-301-85/+102
|
* Some improvements of control method battery driver.iwasaki2001-10-303-23/+56
| | | | | | | | | | | | | - Add a new MIB for battery info expire time in order to make it changeable. Battery info expire time can be specified by hw.acpi.battery.info_expire in sec. - Add own MALLOC type and fix some potential memory leakages. - Change some frequent printings to verbose printing. - Stop timeout during acpi_cmbat_get_bst() too. This should reduce the races with BIF evaluation. - Remove acpi_cmbat_get_bif() invocation from acpi_cmbat_attach(). This was redundant because this should be called from acpi_cmbat_timeout() now.
* Some small improvements of ACPI thermal driver.iwasaki2001-10-293-4/+62
| | | | | | | | | | - Give a guaranteed minimum cooling run time to avoid too frequent cooling system On/Off switching. The minimum cooling run time can be specified by hw.acpi.thermal.min_runtime in sec. - Refine message printing (_AC-1 -> NONE). - Add verbose mode enable/disable capability by hw.acpi.verbose in bool. Reviewed by: acpi-jp@ folks
* cast dev_t to int in printf to fix warning.dillon2001-10-291-1/+1
|
* Enable round-robin arbitration between transmit and receive unitluigi2001-10-271-0/+5
| | | | | | | | in the 21143, instead of giving priority to the receive unit. This gives a 10-15% performance improvement in the forwarding rate under heavy load. Reviewed-by: Bill Paul
* - Change the taskqueue locking to protect the necessary parts of a taskjhb2001-10-264-12/+0
| | | | | | | | while it is on a queue with the queue lock and remove the per-task locks. - Remove TASK_DESTROY now that it is no longer needed. - Go back to inlining TASK_INIT now that it is short again. Inspired by: dfr
* Add APM compatibility feature to ACPI.iwasaki2001-10-264-9/+54
| | | | | | | | | | | | | | | | | This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys
* Add locking to taskqueues. There is one mutex per task, one mutex perjhb2001-10-264-0/+12
| | | | | | | | queue, and a mutex to protect the global list of taskqueues. The only visible change is that a TASK_DESTROY() macro has been added to mirror the TASK_INIT() macro to destroy a task before it is free'd. Submitted by: Andrew Reiter <awr@watson.org>
* Use TASK_INIT to initialize taskqueue task instead of violating thejhb2001-10-251-6/+6
| | | | | | abstraction. Submitted by: Andrew Reiter <arr@watson.org>
* Aargh. I really shouldn't do late night commits. Remove a floating pointjlemon2001-10-251-1/+1
| | | | multiply, and replace it with a close equivalent. 1.488 =~ 1.5
* Defs for three (unused so far) bits in PCI command/status registerluigi2001-10-251-3/+3
| | | | were off by one bit.
* Add support for loadable microcode which implements interrupt coalescingjlemon2001-10-251-15/+162
| | | | | | | | | | | and packet bundling. Make the microcode settings controllable via sysctl and loader tunables. Submitted by: Marko Zec <zec@tel.fer.hr> (with some munging and dynamic sysctl support by me) Also extend the workaround for Dynamic Standby mode to later '559 chips, not just the ICH2 variants.
* . Add structure elements for sysctl.jlemon2001-10-251-3/+23
| | | | . Document default values for microcode
* . Add structure definition for microcode download.jlemon2001-10-251-7/+23
| | | | | | | Submitted by: Marko Zec <zec@tel.fer.hr> . Add some PCI chip revision entries. . Make size of txcb dependent on pointer size rather than arch #define
* Add Intel's loadable microcode to implement receive side bundling.jlemon2001-10-251-0/+1129
| | | | | | | This is taken verbatim from the Intel's e100-1.6.22 release, with the addition of their LICENSE file at the top. Submitted by: Marko Zec <zec@tel.fer.hr>
* Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.jlemon2001-10-251-0/+1
| | | | Submitted by: Andrew R. Reiter arr@watson.org
* Change the module name from 'snd_sonicvibes' to 'snd_vibes' as that isjhb2001-10-241-3/+3
| | | | | the filename (thus the "old" module name) and the name used by snd_driver.ko.
* Change module name from 'snd_als' to 'snd_als4000' to match name injhb2001-10-241-3/+3
| | | | snd_driver.ko.
* Change the module name from 'via' to 'snd_via82c686' to match the KLDjhb2001-10-241-5/+3
| | | | filename and in snd_driver.ko.
* Change the module name from 'snd_cmipci' to 'snd_cmi' to match thejhb2001-10-241-3/+3
| | | | | filename, module name in the loader, the dependency in snd_driver.ko, and to be consistent with other sound drivers.
* cn_tab no longer exists, use cnadd() to add a console device. Note thatjlemon2001-10-242-2/+2
| | | | this may result in duplicate console output in some cases.
* Don't enable write cacheing on devices that don't support tagged queuingdes2001-10-241-1/+1
| | | | | | | unless hw.ata.wc is set. Approved by: sos MFC after: 1 week
* fix SNDCTL_DSP_GETISPACE behaviourcg2001-10-241-3/+2
|
* improve recording behaviourcg2001-10-241-5/+10
|
* Tra-La, another QLogic f/w funny- this time with the 2300.mjacob2001-10-231-8/+25
| | | | | | | | If we get a completion status of RQCS_QUEUE_FULL, it means that the internal queues are full. Other QLogic boards set the QFULL SCSI status. But *nooooooooooo*, not the 2300. MFC after: 1 day
* Regen.n_hibma2001-10-232-2/+18
|
* Add Olympus C-700n_hibma2001-10-231-0/+4
|
* Allow hw.acpi.cpu.{economy,performance}_speed to be set from the loaderjhb2001-10-231-0/+9
| | | | via tunables.
* Add a siocnterm function for the CONS_DRIVER function vector.jlemon2001-10-231-1/+9
|
* Break out the bus front ends into their own files. Rewriteimp2001-10-236-418/+565
| | | | | | | | | | | sio_pccard_detach to use new siodetach. Add an extra arg to sioprobe to tell driver to probe/not probe the device for IRQs. This incorporates most of Bruce's review material. I'm at a good checkpoint, but there will be more to come based on bde's further reviews. Reviewed by: bde
* Add a bunch of new PCI ID's for Intel ATA chips.sos2001-10-232-0/+10
|
* Add experimental support for the HighPoint HPT372 ATA133 controller.sos2001-10-232-7/+41
| | | | | Based on docs kindly provided by HighPoint which we thank for the close cooperation with the FreeBSD project!.
* Add experimental support for the Promise ATA133 controller.sos2001-10-232-4/+10
| | | | | | | | This might need additional code for hotswapping use, but first I need to get my hands on actual hw... Based on docs kindly provided by Promise Inc which we thank for the close cooperation with the FreeBSD project!.
* Reduce frequency of Battery info (_BIF) acquisition. This helpsiwasaki2001-10-221-6/+38
| | | | | | | | | avoiding EC read errors on some laptops. - Stop updating Battery info for all user requests - Update Battery info by notify events and resume method - Poll Battery info every one minute Suggested by: takawata
* Fix reversed virtual/physical bus check, whoops!msmith2001-10-221-1/+1
| | | | Submitted by: HIROSHI OOTA <oota@LSi.nec.co.jp>
* Remove unused headers that were breaking LINT.jlemon2001-10-221-6/+0
|
* These two used sioreg.h as well. This is mildly bogus, but it is harderimp2001-10-222-2/+2
| | | | | | | | to fix right in a hurry. This (almost) fixes LINT. Submitted by: bde
OpenPOWER on IntegriCloud