summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-0417-60/+60
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Use LIST_FOREACH() to traverse ifp->if_multiaddrs list, instead ofphk2001-02-0313-34/+17
| | | | | | | <sys/queue.h> implementation details. Created with: /usr/sbin/sed Reviewed with: /sbin/md5
* quieten the esscontrol devicecg2001-02-021-1/+6
|
* Allocate lock table and mutex not only for parity plexes, but also forgrog2001-02-021-3/+3
| | | | | | | striped plexes. This prevents various panics introduced in the last rewrite of the locking code. Suffered by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
* Driver for the ESS Maestro3 and Allegro sound chips. Note that due to thescottl2001-02-012-0/+1504
| | | | | | amount of GPL'd firmware in the driver, it will only be built as a module. Approved by: cg
* Converted to new-bus.bde2001-02-011-57/+85
| | | | Reviewed by: imp
* Remove count for NSIO. The only places it was used it were incorrect.peter2001-01-311-1/+0
| | | | (alpha-gdbstub.c got sync'ed up a bit with the i386 version)
* Add some debugging.msmith2001-01-311-8/+72
| | | | | | Turn off semaphores. Nobody else implements them, and there is lots of AML out there which does totally absurd things with them, meaning that if we try to do the right thing we are guaranteed to fail.
* Add some debugging statements.msmith2001-01-313-26/+67
|
* Tidy up.msmith2001-01-311-48/+47
| | | | | | Don't print temperatures at attach time - they're usually wrong. Use acpi_EvaluateInteger instead of doing things the hard way.
* Add some debugging.msmith2001-01-311-35/+17
| | | | | | | | | Use acpi_EvaluateInteger where possible. Use FuncName rather than &FuncName when passing function addresses. Don't evaluate the _REG method when we attach to an address space - AcpiInstallAddressSpaceHandler does it for us.
* ACPI_NUMBER becomes ACPI_INTEGER. acpi_EvaluateNumber becomesmsmith2001-01-318-46/+24
| | | | | | | | | | | acpi_EvaluateInteger. Use acpi_EvaluateInteger instead of doing things the hard way where possible. AcpiSetSystemSleepState (unofficial) becomes AcpiEnterSleepState. Use the AcpiGbl_FADT pointer rather than searching for the FADT.
* Exterminate the use of PSEUDO_SET() with extreme prejudice.peter2001-01-311-10/+22
|
* Added used include of <sys/mutex.h>. The SMP case was broken bybde2001-01-302-0/+2
| | | | | | incompletely converting simplelocks to mutexes (COM_LOCK() is supposed to hide the SMP locking internals, but it now depends on mutex interfaces being visible).
* Newbusify the sr device and move it to its new location.jhay2001-01-304-3797/+700
|
* Update include files to reflect the new location of the ar device.jhay2001-01-302-5/+5
|
* Add option ATA_ENABLE_WC for enabling write caching (now off by default).sos2001-01-291-1/+6
|
* Stop counting sppp interfaces, we were just testing its presence to givepeter2001-01-294-28/+0
| | | | a warning if it was missing.
* Zap silly #if NPCI > 0 and the hoops that we jump through for the modulepeter2001-01-291-9/+0
| | | | | case. Use an 'and' case in conf/files so that it only gets compiled if pci is present.
* Remove unused #include "lnc.h"peter2001-01-291-1/+0
|
* Remove unused #include "snp.h"peter2001-01-291-1/+0
|
* Convert ata and atapi #if NATA* > 0 to options instead. Stop configpeter2001-01-292-32/+24
| | | | trying to count the number of ata* devs since they were not used anyway.
* Send "#if NISA > 0" to the bit-bucket and replace it with an option.peter2001-01-291-2/+2
| | | | | These were compile-time "is the isa code present?" tests and not 'how many isa busses' tests.
* Fix a braino in ccd's clone routine.phk2001-01-291-1/+1
| | | | Submitted by: tegge
* Remove devstat entries in mddelete()phk2001-01-281-0/+1
| | | | Spotted: tegge
* A couple of chip errata work-arounds refined:groudier2001-01-281-3/+3
| | | | | | | | | | | | | - When used on a 33MHz PCI BUS, the 53C1010-66 revision 0 requires extra clocks to be inserted in data out phase. Revision 1 is fixed. - The 53C1010-33 revision 1 requires internal cycles to be disabled due to possible contentions on IO registers. Revision 2 is fixed. Fix: - The probing of HVD from GPIO3 bit by the driver was reversed. The driver could misprobe the bus mode of a 825 or 875 chip that was not previously initialized (no BIOS for example).
* Update Copyright notices for new year. (should have been in last commit).gibbs2001-01-2713-13/+18
|
* Back out proc locking to protect p_ucred for obtaining additionaljhb2001-01-272-53/+11
| | | | references along with the actual obtaining of additional references.
* - Don't pass in MTX_NORECURSE, as that is only used with spin mutexes andjhb2001-01-261-23/+23
| | | | | | is going away soon anyways. Instead, don't pass MTX_RECURSE to mtx_init, so that WITNESS will panic if the driver mutex is recursed on. - Use MTX_DEF in mtx_init() instead of assuming that it will be 0.
* Discard extra status information if -1. This has been breaking thensouch2001-01-251-0/+5
| | | | | | PS/2 mode for ZIP+ drives for a long time. Thanks Jonathon. Submitted by: j mckitrick <jcm@FreeBSD-uk.eu.org>
* Consider that the chipset may be in ECP mode (from BIOS settings)nsouch2001-01-252-36/+37
| | | | | | | even if mode PS/2 is forced with bootflags. As a matter of fact, chipsets needs some extra configuration for accessing PS/2 mode from ECP. The current patch is only relevant for generic chipsets since specific code is supposed to deal with this during detection.
* Added necessary include for pc98.nyan2001-01-251-0/+1
|
* Disable cy - it is now completely broken and needs non-trivial work.peter2001-01-251-5/+0
|
* Newbusify ar(4).jhay2001-01-244-408/+725
|
* - Proc locking around the vinumdaemon dinking with its flags.jhb2001-01-241-1/+6
| | | | - P_INMEM -> PS_INMEM.
* don't grope around inside snd_dbuf structures as they will change in futurecg2001-01-241-11/+0
|
* fix certain cards failing to attachcg2001-01-241-4/+6
| | | | Submitted by: Russell Cattelan <cattelan@thebarn.com>
* fix blocksizing for playback, implement blocksizing for recordcg2001-01-241-1/+12
|
* some cosmetics, changed channel setup and revamped irq handling - ignorecg2001-01-242-26/+57
| | | | repeated interrupts
* prevent excessively small buffer sizes resulting in hundreds of irqs percg2001-01-241-13/+15
| | | | second
* Allow fxp to configure in I/O space if the user wants it and specifiesmjacob2001-01-232-10/+42
| | | | | | | | an override as a loader settable variable (fxp_iomap). fxp_iomap is a bitmap of fxp units that should be configured to use PCI I/O space in stead of PCI Memory space. Reviewed by: Kees Jan Koster <dutchman@tccn.cs.kun.nl>, dg@freebsd.org
* Tag unused functions with __unused.jhb2001-01-231-2/+2
|
* Proc locking to protect p_ucred while we obtain another reference to it.jhb2001-01-231-5/+19
|
* Use suser(9) instead of checking p->p_ucred->cr_uid directly.jhb2001-01-231-1/+1
|
* Remove a prototype for an unused and undefined debugging function.jhb2001-01-231-1/+0
|
* Tag unused functions with __unused.jhb2001-01-233-35/+36
|
* - Move stg_card_intr()'s prototype and definition inside appropriatejhb2001-01-231-8/+10
| | | | | #ifdef's as it is is only used on older versions of FreeBSD. - #ifdef a local variable only used on older versions of FreeBSD.
* When flipping the first entry in the qinfifo with the "next queued SCB",gibbs2001-01-231-1/+4
| | | | | | | | we must also inform the card of this change. Otherwise the sequencer will traverse a corrupt list of SCBS. The side effects of this problem were unknown SCBs completing in the qoutfifo or worse yet, panics due to sequencer interrupts that referenced what, to the kernel, were invalid SCB ids.
* Relocate the 'hwfuncs' functions below the inlined functions they attemptjhb2001-01-231-85/+85
| | | | to call so that the other functions can actually be inlined.
* Move nsp_card_intr()'s prototype and definition inside the appropriatejhb2001-01-231-8/+8
| | | | #ifdef's as it is only used in older versions of FreeBSD.
OpenPOWER on IntegriCloud