summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* My last commit accidentally undid the changes made in rev 1.68roger1999-04-301-1/+5
| | | | regarding COMPAT_PCI_DRIVER. Put them back.
* Add a test to ti_encap() to try and prevent the transmit producer indexwpaul1999-04-291-2/+5
| | | | | | | from ever catching up to the transmit consumer index. We can't let this happen because ti_txeof() depends on the assumption that producer == consumer means the ring is empty, and producer != consumer means the ring has some number of active descriptors in it.
* Added initial code for VBI capture based on work byroger1999-04-291-36/+224
| | | | | | Hiroki Mori <mori@infocity.co.jp> and reworked by myself. This allows software decoding of teletext, intercast and subtitles via /dev/vbi.
* Add support for VBI capture from /dev/vbi.roger1999-04-291-2/+13
| | | | | | | | This will allow software teletext/intercast/subtitles decoding while watching a TV station. Based on code from Hiroki Mori <mori@infocity.co.jp> but reworked by myself.
* Added new cards: NEC PK-UG-X017 and I/O DATA GV-BCTV2/PCIroger1999-04-291-9/+217
| | | | | | | Added new tuner: ALPS_TSBH1 (plus FM Radio for ALPS_TSCH5) Added support for BCTV audio mux. Submitted by Hiroki Mori <mori@infocity.co.jp>
* Fix crashes caused by rows=0 or columns=0.roger1999-04-291-6/+45
| | | | | | | | | Add new #ifdef. By defining BKTR_NO_MSP_RESET you can prevent the MSP34xx being reset by the bt848 driver. This is handy if you pre-initialise the MSP34xx stereo audio chip in another operating system first (eg MS Windows). Suggested by: Randal Hopper<aa8vb@ipass.net> Suggested by: Yuri Gindin <yuri@xpert.com>
* s/static foo_devsw_installed = 0;/static int foo_devsw_installed;/.dt1999-04-2811-20/+20
| | | | (Edited automatically)
* Suser() simplification:phk1999-04-2716-52/+52
| | | | | | | | | | | | | | | | | | | 1: s/suser/suser_xxx/ 2: Add new function: suser(struct proc *), prototyped in <sys/proc.h>. 3: s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/ The remaining suser_xxx() calls will be scrutinized and dealt with later. There may be some unneeded #include <sys/cred.h>, but they are left as an exercise for Bruce. More changes to the suser() API will come along with the "jail" code.
* Fix from Justin for transfer negotiations for targets up to target ID 7.ken1999-04-261-39/+43
|
* Allow multiple opens.phk1999-04-251-5/+10
|
* Add $Id: $billf1999-04-241-0/+2
|
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-2420-23/+102
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Replace the pcidevice_set linker set based configuration mechanism for oldpeter1999-04-242-11/+29
| | | | | | | | | | style pci drivers with a simple one-line change to use a module that registers itself under new-bus and should in theory enable just about all of the pci drivers to be loadable (kldload and loader(8)) but without having the impact of converting the APIs yet. This also fixes the problem of having undefined variables when only new-style pci drivers are present.
* Modify the non-i386 version of disable_intr() and enable_intr() so that theydt1999-04-241-3/+3
| | | | don't produce a warning on every use.
* Revert part of 1.9; we don't need to reset the port after release now thatpeter1999-04-241-2/+1
| | | | the isa bus doesn't clear the hints at that point.
* Typo, use SYS_RES_IRQ when releasing the irq resource, not SYS_RES_IOPORT.peter1999-04-241-2/+2
|
* ahc_pci.c:gibbs1999-04-232-117/+152
| | | | | | | | | Convert to new bus and bus dma. Use latest PCI API. bt_pci.c: Fix a few bugs in how resourses are released left over from when this driver was converted to new bus.
* staticize.gibbs1999-04-231-2/+2
|
* ahb.c:gibbs1999-04-232-26/+18
| | | | | | | Synchronize malloc types for our softc. ahc_eisa.c: Sync to aic7xxx driver bus dma and new bus changes.
* bt.c:gibbs1999-04-232-10/+18
| | | | | | Simplify some inline functions. btreg.h: Correct a comment.
* Complete conversion to bus dma. This driver now works on the alpha.gibbs1999-04-234-435/+703
| | | | | | aicasm_symbol.c: Correct an unaligned access problem. You can't rely on DB to store your data in an aligned fashion.
* Kill a compiler warning.gibbs1999-04-231-1/+2
|
* Fix so that this driver works again when compiled with EGCS (whichdavidn1999-04-221-31/+31
| | | | | apparently has a much better optimiser, requiring 'volatile' memory to be declared as such).
* Return the port size from the probe.peter1999-04-221-2/+3
| | | | | "ppc0 at port 0x378 irq 7 drq 3 on isa0" becomes "ppc0 at port 0x378-0x37f irq 7 drq 3 on isa0"
* Fix the promise_intr function, it should use 'lun' not 'unit'sos1999-04-221-2/+2
| | | | to get the offset into ata_devices.
* Forgot one.n_hibma1999-04-211-1/+1
| | | | | | | | | Original log message: Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for convenience but we can do without it. Obtained from: Peter Wemm
* Merge a diff that Soren sent me to resolve some lun / unit problems.peter1999-04-211-29/+20
| | | | | While here, also fix my additions to use naming that's more consistant with Sorens. (ie: s/softc/scp/)
* Stage 1 of a cleanup of the i386 interrupt registration mechanism.peter1999-04-211-33/+28
| | | | | | | Interrupts under the new scheme are managed by the i386 nexus with the awareness of the resource manager. There is further room for optimizing the interfaces still. All the users of register_intr()/intr_create() should be gone, with the exception of pcic and i386/isa/clock.c.
* Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for conveniencen_hibma1999-04-202-0/+16
| | | | but we can do without it.
* 1) Change printf's into DPRINTF.n_hibma1999-04-202-85/+96
| | | | | | | 2) rename variables to be more conclusive. 3) fix a problem in uhci_ii_done. Avoid collecting all the status's of the TD's, we only need to one from the last inactive one. 4) Change the errorcount from 2 to 3 (see UHCI spec.).
* Add defines for Mass Storage Bulk-Only and COmmun. Class devices.n_hibma1999-04-201-19/+37
|
* Enclose .hcidebug in '#ifdef N.HCI'n_hibma1999-04-201-6/+20
|
* Make bt driver work on eisa again.dfr1999-04-201-2/+2
| | | | Submitted by: Matthew N. Dodd <winter@jurai.net>
* Preserve termination settings across the card reset in our shutdown hook.gibbs1999-04-191-4/+36
|
* Handle the case when auto sense retrieval fails.gibbs1999-04-192-3/+13
| | | | Give automatic request sense operations a 5 second timeout.
* 1) Add Rockfire vendor and gamepad product (MAEKAWA Masahide)n_hibma1999-04-193-20/+73
| | | | | | 2) Sort the list again (Roger Hardiman) 3) Reinstate a piece of code to look for a name for a device if none is found in the device itself.
* Fix a braino from last commit.peter1999-04-191-4/+0
|
* GC some now unused (and #if 0) code.peter1999-04-191-321/+3
|
* EISA can (or will) be a child of the i386 nexus on non-PCI systems.peter1999-04-191-1/+2
|
* Set the bus description for EISA, like it is for ISA.peter1999-04-191-2/+3
|
* Update to use the new-bus framework. No functional changes.sos1999-04-183-110/+220
| | | | Mostly done by Doug Rabson, minor fixes by me.
* Make the bt isa driver work..peter1999-04-181-5/+11
| | | | | | | | | | | - fix cut/paste problem. :-) - don't forget to call isa_dmacascade() - reset the port after we release resources. That last one is a trap to watch out for.. The isa bus driver uses the same port/irq/mem/etc variables for the initial probe hints as it does for allocation/deallocation tracking. Releasing a resource clears the variable and then you loose the hint during attach.. (ouch!)
* Check bus_setup_intr() as a seatbelt...peter1999-04-181-2/+7
|
* Implement an EISA new-bus framework. The old driver probe mechanismpeter1999-04-1813-1217/+1464
| | | | | | | | | had a quirk that made a shim rather hard to implement properly and it was just easier to convert the drivers in one go. The changes to the buslogic driver go beyond just this - the whole driver was new-bus'ed including pci and isa. I have only tested the EISA part of this so far. Submitted by: Doug Rabson <dfr@nlsystems.com>
* Merge revs 1.57 and 1.60 of i386/isa/psm.cpeter1999-04-181-53/+99
|
* Merge missing changes from i386/isa/sioreg.h (PC98 related)peter1999-04-181-1/+14
|
* Tidy up a few things left over from the conversion from i386/isa/sio.c.peter1999-04-181-4/+21
| | | | Leave two #if 0'd notes about the way things used to be done for reference.
* Register sio interrupts as fast (fixing some silo overflow messages).dfr1999-04-181-2/+2
|
* Set ifq_maxlen to IFQ_MAXLENpaul1999-04-181-2/+2
|
* Set ifq_maxlen to number of transmit descriptors.paul1999-04-181-1/+2
|
OpenPOWER on IntegriCloud