summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Changes to support NetBSD and the new ifmedia extensions.dg1997-09-053-243/+842
| | | | Submitted by: Jason Thorpe <thorpej@netbsd.org>
* Add a new compile option SC_HISTORY_SIZE to specify the history bufferyokota1997-09-042-14/+19
| | | | | | | | | | | | size in terms of lines (instead of bytes). When changing video mode in ioctl SW_XXX commands, syscons checks scp->history_size and allocate a history buffer at least as large as the new screen size. (This was unnecessary before, because HISTORY_SIZE was as large as 100 lines and this is bigger than the maximum screen size: 60 lines). Similar adjustment is done in ioctl CONS_HISTORY command too. PR: kern/4169 Reviewed by: sos
* Make the aic7xxx sequencer assembler compile in the kernel's objectgibbs1997-09-0316-2763/+50
| | | | | | | directory. Rename (via repository copy) some files so that the potential for future conflicts is minimized. PR: conf/4363
* Cleaned up revs 1.36-1.40 (mainly disordered declarations, non-bogusbde1997-09-032-242/+294
| | | | indentation (it is supposed to be bogus to match sio.c), and long lines).
* Removed unused #includes.bde1997-09-024-27/+3
|
* Struct arpcom should be in the beginning of a softc struct for arp andjhay1997-09-021-1/+1
| | | | | ether_ioctl() to work correctly. Tested by: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
* Added used #include - don't depend on <sys/mbuf.h> includingbde1997-09-028-7/+15
| | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
* Oops, the previous change applied a reversed patch.bde1997-09-011-1/+3
|
* General cleanup of the sub-system locking macros.fsmp1997-09-013-75/+56
| | | | | | | | Eliminated the RECURSIVE_MPINTRLOCK. clock.c and microtime use clock_lock. sio.c and cy.c use com_lock. Suggestions by: Bruce Evans <bde@zeta.org.au>
* Removed unused #includes.bde1997-09-012-22/+1
|
* Fixed absolute pathnames in #includes.bde1997-09-011-2/+2
|
* Removed unused #includes. The !KERNEL case may be more broken than before.bde1997-09-016-61/+6
|
* Added #include of <sys/queue.h> to make this self-sufficient.bde1997-09-011-1/+3
| | | | | | Includers of this file apparently didn't know that <sys/queue.h> was a prerequisite and include a semi-random collection headers until one happened to include it.
* Created a private simple_lock to control accesses to com data structsfsmp1997-08-311-51/+76
| | | | | | | | | | and hardware. There is now another simple_lock around clock data/hardware accesses in clock.c and microtime.s. It is my belief that this is the only area sio/cy might stumble into during an unblocked INTerrupt. Thus I separated the sio/cy code from the generic disable_intr()/enable_intr() routines. Controlled by smptests.h: USE_COMLOCK, ON by default.
* Another round of lock pushdown.fsmp1997-08-303-105/+31
| | | | | | | | | Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel. UP kernel expects that this is enough to guarantee exclusive access to regions of code bracketed by these 2 functions. Add a simplelock to bracket clock accesses in clock.c: clock_lock. Help from: Bruce Evans <bde@zeta.org.au>
* Make the devfs code actually compile. Oops.msmith1997-08-291-6/+5
| | | | Submitted by: jkh
* Patch for 3.0: #include <sys/fcntl.h> instead of <sys/ioctl.h>jkh1997-08-281-1/+1
|
* ISA driver for Comtrol Rocketport serial cards. No PCI probe stubjkh1997-08-283-0/+3227
| | | | | was submitted to me. Submitted by: Amir Farah <amir@comtrol.com>
* Remove bogus timeout_func_t casts.msmith1997-08-281-195/+201
| | | | | | | | | Remove unused headers. Remove all but one instance of the device base name. Prototype some local static functions. Consistently reference the softc structure as "sc" rather than "lpt". Prompted-by: bde
* Remove bogus i386/* includes.msmith1997-08-285-21/+6
|
* Removed unused misplaced definition of TIMER_FREQ.bde1997-08-251-3/+2
| | | | Use less-magic numbers in the definition of HISTORY_SIZE.
* Fixed type mismatch for a (low quality interface) function with anbde1997-08-251-5/+2
| | | | | | arg of type u_short (just write the function in ANSI C like most other functions in this file instead of fixing the interface or depending on a gcc feature).
* #include <machine/limits.h> explicitly in the few places that it is required.bde1997-08-211-1/+3
|
* Yank the casts.fsmp1997-08-211-1/+1
|
* Reorder function decls alphabetically.fsmp1997-08-211-2/+2
|
* Add several casts and include several header files to eliminate compilerfsmp1997-08-212-3/+6
| | | | warnings.
* Add a cast to eliminate a compiler warning.fsmp1997-08-211-1/+1
|
* A few more casts and a function declaration for warning free kernel builds.fsmp1997-08-211-1/+2
|
* Fixed a warning about undefined isa_irq_pending(). (UP kernel only)fsmp1997-08-211-4/+4
|
* Moved the COM_LOCK and COM_UNLOCK macros to machine/param.h.fsmp1997-08-213-30/+3
|
* Attempt to make cy.c MP-safe.fsmp1997-08-202-2/+84
| | | | | | I have no way of testing this one, first SMP/cy user please let me know... It is my belief that sio and cy are the only FAST_INTR() ISRs. If this is a bad assumption please educate me.
* Preperation for moving cpl into critical region access.fsmp1997-08-201-1/+48
| | | | | | | | Several new fine-grained locks. New FAST_INTR() methods: - separate simplelock for FAST_INTR, no more giant lock. - FAST_INTR()s no longer checks ipending on way out of ISR. sio made MP-safe (I hope).
* Added frequencies for north american HRC cable.fsmp1997-08-171-2/+19
| | | | | Submitted by: Yixin Jin <yjin@rain.cs.ucla.edu> (I think) Resubmitted by: Kenneth Merry <ken@gt.ed.net>
* Use cdev major 82 instead of the (reserved-for-local-use) original 14msmith1997-08-161-3/+3
|
* Minor ppc_data structure tweak.msmith1997-08-161-3/+3
| | | | Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
* Sync with ppbus-970815 from the author :msmith1997-08-1610-245/+900
| | | | | | | | | - interrupt-driven printing now works (nlpt) - Rearrangement of bus-related functions into ppb_base/ppbconf - Addition of ieee1284 interface functions, preliminary parallel-port PnP support Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
* ISA Parallel-Port Bus chipset driver.msmith1997-08-142-0/+901
| | | | Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
* New directory and drivers for Parallel Port Bus devices.msmith1997-08-148-0/+2597
| | | | Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
* Fixed locking violation of vnode operation. VOP_READ, VOP_WRITE andkato1997-08-141-2/+7
| | | | VOP_BMAP require locked vnode, and they will keep lock on exit.
* Add the NetVin 5000 series NE2000 PCI card vendor and device IDs.danny1997-08-141-1/+2
|
* Add a spin lock that prevents the sequencer from attempting to add angibbs1997-08-132-2/+26
| | | | | | | | | | | | | entry to the QOUTFIFO when it is full. This should eliminate the "Timed out while idle" problems that many have reported. In truth, this is somewhat of a hack. Although are interrupt latency is low enough that we should be able to always service the queue in time, since each entry must be passed up to the higher SCSI layer for what can be a large amount of processing (perhaps even resulting in a new command being queued) with interrupts disabled, we need this mechanism to avoid overflow. In the future, these additional tasks will be offloaded to a software interrupt handler which should make this hack unnecessary.
* Fix the checks for screenborder for the mousepointer.sos1997-08-091-14/+12
|
* Yeah I'm back hacking syscons !!sos1997-08-081-6/+56
| | | | | | | Add support for MODEX 320x240x256color with "unchained" adressing, giving access to all 256K on all VGA's, those with that much memory that is :) Also make sysmouse use the right resolution in graphics modes.
* Added include of intr_machdep.h to eliminate compiler warning for APIC_IO.fsmp1997-08-041-2/+3
|
* Merge Matt's if_de.c changes in.peter1997-08-031-286/+546
|
* Import Matt's if_de driver 970703 release. This (apparently) supportspeter1997-08-032-8/+88
| | | | some newer Cogent (Adaptec) cards and has some other internal changes.
* Removed unused #includes.bde1997-08-024-47/+4
|
* Reinstate some of the previous fixes which were clobbered in r1.6.msmith1997-08-021-11/+8
|
* Significant bugfix and upgrade for the Wavelan (wl) driver.msmith1997-08-011-56/+495
| | | | | | This now includes code to handle the 2.4GHz WaveModem-based cards. Submitted by: Jim Binkley <jrb@cs.pdx.edu>
* Fix a brino in my last commit.phk1997-07-261-2/+5
| | | | Noticed by: smp
OpenPOWER on IntegriCloud